2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for jellyfish 1.1.4.
5 # Report bugs to <gmarcais@umd.edu>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec
; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo
; then
592 # Avoid inline document here, it may be left over
594 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $ECHO works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo
; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
615 if test -z "$lt_ECHO"; then
616 if test "X${echo_test_string+set}" != Xset
; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
621 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
628 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
633 # The Solaris, AIX, and Digital Unix default echo programs unquote
634 # backslashes. This makes it impossible to quote backslashes using
635 # echo "$something" | sed 's/\\/\\\\/g'
637 # So, first we look for a working echo in the user's PATH.
639 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
640 for dir
in $PATH /usr
/ucb
; do
642 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
643 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645 test "X$echo_testing_string" = "X$echo_test_string"; then
652 if test "X$ECHO" = Xecho
; then
653 # We didn't find a better echo, so look for alternatives.
654 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656 test "X$echo_testing_string" = "X$echo_test_string"; then
657 # This shell has a builtin print -r that does the trick.
659 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
660 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
661 # If we have ksh, try running configure again with it.
662 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
663 export ORIGINAL_CONFIG_SHELL
664 CONFIG_SHELL
=/bin
/ksh
666 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
675 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676 test "X$echo_testing_string" = 'X\t' &&
677 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678 test "X$echo_testing_string" = "X$echo_test_string"; then
679 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
681 SHELL
="$CONFIG_SHELL"
683 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
684 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685 test "X$echo_testing_string" = 'X\t' &&
686 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687 test "X$echo_testing_string" = "X$echo_test_string"; then
688 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
690 # maybe with a smaller string...
693 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
701 if test "$prev" != 'sed 50q "$0"'; then
702 echo_test_string
=`eval $prev`
703 export echo_test_string
704 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706 # Oops. We lost completely, so just stick with echo.
715 # Copy echo and quote the copy suitably for passing to libtool from
716 # the Makefile, instead of quoting the original, which is used later.
718 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725 exec 7<&0 </dev
/null
6>&1
728 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729 # so uname gets run too.
730 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
735 ac_default_prefix
=/usr
/local
737 ac_config_libobj_dir
=.
743 SHELL
=${CONFIG_SHELL-/bin/sh}
745 # Identity of this package.
746 PACKAGE_NAME
='jellyfish'
747 PACKAGE_TARNAME
='jellyfish'
748 PACKAGE_VERSION
='1.1.4'
749 PACKAGE_STRING
='jellyfish 1.1.4'
750 PACKAGE_BUGREPORT
='gmarcais@umd.edu'
752 # Factoring default headers for most tests.
753 ac_includes_default
="\
755 #ifdef HAVE_SYS_TYPES_H
756 # include <sys/types.h>
758 #ifdef HAVE_SYS_STAT_H
759 # include <sys/stat.h>
765 # ifdef HAVE_STDLIB_H
770 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
775 #ifdef HAVE_STRINGS_H
776 # include <strings.h>
778 #ifdef HAVE_INTTYPES_H
779 # include <inttypes.h>
788 ac_subst_vars
='am__EXEEXT_FALSE
846 INSTALL_STRIP_PROGRAM
896 program_transform_name
908 enable_option_checking
910 enable_dependency_tracking
920 ac_precious_vars
='build_alias
936 # Initialize some variables set by options.
938 ac_init_version
=false
939 ac_unrecognized_opts
=
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name
=s
,x
,x
,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir
='${exec_prefix}/bin'
965 sbindir
='${exec_prefix}/sbin'
966 libexecdir
='${exec_prefix}/libexec'
967 datarootdir
='${prefix}/share'
968 datadir
='${datarootdir}'
969 sysconfdir
='${prefix}/etc'
970 sharedstatedir
='${prefix}/com'
971 localstatedir
='${prefix}/var'
972 includedir
='${prefix}/include'
973 oldincludedir
='/usr/include'
974 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir
='${datarootdir}/info'
980 libdir
='${exec_prefix}/lib'
981 localedir
='${datarootdir}/locale'
982 mandir
='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\
$ac_option
996 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 # Accept the important Cygnus configure options, so we can diagnose typos.
1002 case $ac_dashdash$ac_option in
1006 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1008 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1009 bindir
=$ac_optarg ;;
1011 -build |
--build |
--buil |
--bui |
--bu)
1012 ac_prev
=build_alias
;;
1013 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1014 build_alias
=$ac_optarg ;;
1016 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1017 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1018 ac_prev
=cache_file
;;
1019 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1020 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1021 cache_file
=$ac_optarg ;;
1023 --config-cache |
-C)
1024 cache_file
=config.cache
;;
1026 -datadir |
--datadir |
--datadi |
--datad)
1028 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1029 datadir
=$ac_optarg ;;
1031 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1032 |
--dataroo |
--dataro |
--datar)
1033 ac_prev
=datarootdir
;;
1034 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1035 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1036 datarootdir
=$ac_optarg ;;
1038 -disable-* |
--disable-*)
1039 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_
$ac_useropt"
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval enable_
$ac_useropt=no
;;
1055 -docdir |
--docdir |
--docdi |
--doc |
--do)
1057 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1058 docdir
=$ac_optarg ;;
1060 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1062 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1063 dvidir
=$ac_optarg ;;
1065 -enable-* |
--enable-*)
1066 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_
$ac_useropt"
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval enable_
$ac_useropt=\
$ac_optarg ;;
1082 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1083 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1084 |
--exec |
--exe |
--ex)
1085 ac_prev
=exec_prefix
;;
1086 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1087 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1088 |
--exec=* |
--exe=* |
--ex=*)
1089 exec_prefix
=$ac_optarg ;;
1091 -gas |
--gas |
--ga |
--g)
1092 # Obsolete; use --with-gas.
1095 -help |
--help |
--hel |
--he |
-h)
1096 ac_init_help
=long
;;
1097 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1098 ac_init_help
=recursive
;;
1099 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1100 ac_init_help
=short
;;
1102 -host |
--host |
--hos |
--ho)
1103 ac_prev
=host_alias
;;
1104 -host=* |
--host=* |
--hos=* |
--ho=*)
1105 host_alias
=$ac_optarg ;;
1107 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1109 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1111 htmldir
=$ac_optarg ;;
1113 -includedir |
--includedir |
--includedi |
--included |
--include \
1114 |
--includ |
--inclu |
--incl |
--inc)
1115 ac_prev
=includedir
;;
1116 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1117 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1118 includedir
=$ac_optarg ;;
1120 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1122 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1123 infodir
=$ac_optarg ;;
1125 -libdir |
--libdir |
--libdi |
--libd)
1127 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1128 libdir
=$ac_optarg ;;
1130 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1131 |
--libexe |
--libex |
--libe)
1132 ac_prev
=libexecdir
;;
1133 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1134 |
--libexe=* |
--libex=* |
--libe=*)
1135 libexecdir
=$ac_optarg ;;
1137 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1138 ac_prev
=localedir
;;
1139 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1140 localedir
=$ac_optarg ;;
1142 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1143 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1144 ac_prev
=localstatedir
;;
1145 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1146 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1147 localstatedir
=$ac_optarg ;;
1149 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1151 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1152 mandir
=$ac_optarg ;;
1154 -nfp |
--nfp |
--nf)
1155 # Obsolete; use --without-fp.
1158 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1159 |
--no-cr |
--no-c |
-n)
1162 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1163 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1166 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1167 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1168 |
--oldin |
--oldi |
--old |
--ol |
--o)
1169 ac_prev
=oldincludedir
;;
1170 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1171 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1172 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1173 oldincludedir
=$ac_optarg ;;
1175 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1177 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1178 prefix
=$ac_optarg ;;
1180 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1181 |
--program-pre |
--program-pr |
--program-p)
1182 ac_prev
=program_prefix
;;
1183 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1184 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1185 program_prefix
=$ac_optarg ;;
1187 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1188 |
--program-suf |
--program-su |
--program-s)
1189 ac_prev
=program_suffix
;;
1190 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1191 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1192 program_suffix
=$ac_optarg ;;
1194 -program-transform-name |
--program-transform-name \
1195 |
--program-transform-nam |
--program-transform-na \
1196 |
--program-transform-n |
--program-transform- \
1197 |
--program-transform |
--program-transfor \
1198 |
--program-transfo |
--program-transf \
1199 |
--program-trans |
--program-tran \
1200 |
--progr-tra |
--program-tr |
--program-t)
1201 ac_prev
=program_transform_name
;;
1202 -program-transform-name=* |
--program-transform-name=* \
1203 |
--program-transform-nam=* |
--program-transform-na=* \
1204 |
--program-transform-n=* |
--program-transform-=* \
1205 |
--program-transform=* |
--program-transfor=* \
1206 |
--program-transfo=* |
--program-transf=* \
1207 |
--program-trans=* |
--program-tran=* \
1208 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1209 program_transform_name
=$ac_optarg ;;
1211 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1213 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1214 pdfdir
=$ac_optarg ;;
1216 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1218 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1222 |
-silent |
--silent |
--silen |
--sile |
--sil)
1225 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1227 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1229 sbindir
=$ac_optarg ;;
1231 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1232 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1233 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1235 ac_prev
=sharedstatedir
;;
1236 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1237 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1238 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1240 sharedstatedir
=$ac_optarg ;;
1242 -site |
--site |
--sit)
1244 -site=* |
--site=* |
--sit=*)
1247 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1249 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1250 srcdir
=$ac_optarg ;;
1252 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1253 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1254 ac_prev
=sysconfdir
;;
1255 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1256 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1257 sysconfdir
=$ac_optarg ;;
1259 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1260 ac_prev
=target_alias
;;
1261 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1262 target_alias
=$ac_optarg ;;
1264 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1267 -version |
--version |
--versio |
--versi |
--vers |
-V)
1268 ac_init_version
=: ;;
1271 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1275 { (exit 1); exit 1; }; }
1276 ac_useropt_orig
=$ac_useropt
1277 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1283 ac_unrecognized_sep
=', ';;
1285 eval with_
$ac_useropt=\
$ac_optarg ;;
1287 -without-* |
--without-*)
1288 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1292 { (exit 1); exit 1; }; }
1293 ac_useropt_orig
=$ac_useropt
1294 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300 ac_unrecognized_sep
=', ';;
1302 eval with_
$ac_useropt=no
;;
1305 # Obsolete; use --with-x.
1308 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1309 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1310 ac_prev
=x_includes
;;
1311 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1312 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1313 x_includes
=$ac_optarg ;;
1315 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1316 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1317 ac_prev
=x_libraries
;;
1318 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1319 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1320 x_libraries
=$ac_optarg ;;
1322 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1323 Try \`$0 --help' for more information." >&2
1324 { (exit 1); exit 1; }; }
1328 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1329 # Reject names that are not valid shell variable names.
1330 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1331 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1332 { (exit 1); exit 1; }; }
1333 eval $ac_envvar=\
$ac_optarg
1334 export $ac_envvar ;;
1337 # FIXME: should be removed in autoconf 3.0.
1338 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1340 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1347 if test -n "$ac_prev"; then
1348 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1349 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1350 { (exit 1); exit 1; }; }
1353 if test -n "$ac_unrecognized_opts"; then
1354 case $enable_option_checking in
1356 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1357 { (exit 1); exit 1; }; } ;;
1358 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 # Check all directory arguments for consistency.
1363 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val
=\$
$ac_var
1369 # Remove trailing slashes.
1372 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1373 eval $ac_var=\
$ac_val;;
1375 # Be sure to have absolute directory names.
1377 [\\/$
]* | ?
:[\\/]* ) continue;;
1378 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1380 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1381 { (exit 1); exit 1; }; }
1384 # There might be people who depend on the old broken behavior: `$host'
1385 # used to hold the argument of --host etc.
1386 # FIXME: To remove some day.
1389 target
=$target_alias
1391 # FIXME: To remove some day.
1392 if test "x$host_alias" != x
; then
1393 if test "x$build_alias" = x
; then
1394 cross_compiling
=maybe
1395 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396 If a cross compiler is detected then cross compile mode will be used." >&2
1397 elif test "x$build_alias" != "x$host_alias"; then
1403 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1405 test "$silent" = yes && exec 6>/dev
/null
1408 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1409 ac_ls_di
=`ls -di .` &&
1410 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1411 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1412 { (exit 1); exit 1; }; }
1413 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1414 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1415 { (exit 1); exit 1; }; }
1418 # Find the source files, if location was not specified.
1419 if test -z "$srcdir"; then
1420 ac_srcdir_defaulted
=yes
1421 # Try the directory containing this script, then the parent directory.
1422 ac_confdir
=`$as_dirname -- "$as_myself" ||
1423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1424 X"$as_myself" : 'X\(//\)[^/]' \| \
1425 X"$as_myself" : 'X\(//\)$' \| \
1426 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1427 $as_echo X"$as_myself" |
1428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446 if test ! -r "$srcdir/$ac_unique_file"; then
1450 ac_srcdir_defaulted
=no
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1453 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1454 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1455 { (exit 1); exit 1; }; }
1457 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1459 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1460 { (exit 1); exit 1; }; }
1462 # When building in place, set srcdir=.
1463 if test "$ac_abs_confdir" = "$ac_pwd"; then
1466 # Remove unnecessary trailing slashes from srcdir.
1467 # Double slashes in file names in object file debugging info
1468 # mess up M-x gdb in Emacs.
1470 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1472 for ac_var
in $ac_precious_vars; do
1473 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1474 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1475 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1476 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1480 # Report the --help message.
1482 if test "$ac_init_help" = "long"; then
1483 # Omit some internal or obsolete options to make the list less imposing.
1484 # This message is too long to be a string in the A/UX 3.1 sh.
1486 \`configure' configures jellyfish 1.1.4 to adapt to many kinds of systems.
1488 Usage: $0 [OPTION]... [VAR=VALUE]...
1490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1491 VAR=VALUE. See below for descriptions of some of the useful variables.
1493 Defaults for the options are specified in brackets.
1496 -h, --help display this help and exit
1497 --help=short display options specific to this package
1498 --help=recursive display the short help of all the included packages
1499 -V, --version display version information and exit
1500 -q, --quiet, --silent do not print \`checking...' messages
1501 --cache-file=FILE cache test results in FILE [disabled]
1502 -C, --config-cache alias for \`--cache-file=config.cache'
1503 -n, --no-create do not create output files
1504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1506 Installation directories:
1507 --prefix=PREFIX install architecture-independent files in PREFIX
1508 [$ac_default_prefix]
1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1512 By default, \`make install' will install all the files in
1513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1515 for instance \`--prefix=\$HOME'.
1517 For better control, use the options below.
1519 Fine tuning of the installation directories:
1520 --bindir=DIR user executables [EPREFIX/bin]
1521 --sbindir=DIR system admin executables [EPREFIX/sbin]
1522 --libexecdir=DIR program executables [EPREFIX/libexec]
1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/jellyfish]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1544 --program-prefix=PREFIX prepend PREFIX to installed program names
1545 --program-suffix=SUFFIX append SUFFIX to installed program names
1546 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1549 --build=BUILD configure
for building on BUILD
[guessed
]
1550 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short | recursive
) echo "Configuration of jellyfish 1.1.4:";;
1561 --disable-option-checking ignore unrecognized
--enable/--with options
1562 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1563 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1564 --enable-silent-rules less verbose build output
(undo
: `make V=1')
1565 --disable-silent-rules verbose build output (undo: `make V
=0')
1566 --disable-dependency-tracking speeds up one-time build
1567 --enable-dependency-tracking do not reject slow dependency extractors
1568 --enable-shared[=PKGS] build shared libraries [default=yes]
1569 --enable-static[=PKGS] build static libraries [default=yes]
1570 --enable-fast-install[=PKGS]
1571 optimize for fast installation [default=yes]
1572 --disable-libtool-lock avoid locking (might break parallel builds)
1575 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1576 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1577 --with-sse enable SSE
1578 --with-half enable half float (16 bits)
1579 --with-pic try to use only PIC/non-PIC objects [default=use
1581 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1583 Some influential environment variables:
1584 CXX C++ compiler command
1585 CXXFLAGS C++ compiler flags
1586 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1587 nonstandard directory <lib dir>
1588 LIBS libraries to pass to the linker, e.g. -l<library>
1589 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1590 you have headers in a nonstandard directory <include dir>
1591 MD5 Path to md5 hashing program
1592 CC C compiler command
1593 CFLAGS C compiler flags
1595 CXXCPP C++ preprocessor
1597 Use these variables to override the choices made by `configure' or to
help
1598 it to
find libraries and programs with nonstandard names
/locations.
1600 Report bugs to
<gmarcais@umd.edu
>.
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1614 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1616 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1621 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1624 ac_abs_top_builddir
=$ac_pwd
1625 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir
=$ac_top_build_prefix
1630 .
) # We are building in place.
1632 ac_top_srcdir
=$ac_top_builddir_sub
1633 ac_abs_top_srcdir
=$ac_pwd ;;
1634 [\\/]* | ?
:[\\/]* ) # Absolute name.
1635 ac_srcdir
=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir
=$srcdir
1637 ac_abs_top_srcdir
=$srcdir ;;
1639 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1643 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1645 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1656 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1663 jellyfish configure
1.1.4
1664 generated by GNU Autoconf
2.63
1666 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1667 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1668 This configure
script is free software
; the Free Software Foundation
1669 gives unlimited permission to copy
, distribute and modify it.
1673 cat >config.log
<<_ACEOF
1674 This file contains any messages produced by compilers while
1675 running configure, to aid debugging if configure makes a mistake.
1677 It was created by jellyfish $as_me 1.1.4, which was
1678 generated by GNU Autoconf 2.63. Invocation command line was
1690 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1691 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1692 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1693 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1694 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1696 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1697 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1699 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1700 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1701 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1702 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1703 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1704 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1705 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1709 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir
=.
1714 $as_echo "PATH: $as_dir"
1730 # Keep a trace of the command line.
1731 # Strip out --no-create and --no-recursion so they do not pile up.
1732 # Strip out --silent because we don't want to record it for future runs.
1733 # Also quote any args containing shell meta-characters.
1734 # Make two passes to allow for proper duplicate-argument suppression.
1738 ac_must_keep_next
=false
1744 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1745 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1746 |
-silent |
--silent |
--silen |
--sile |
--sil)
1749 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1752 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1754 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1755 if test $ac_must_keep_next = true
; then
1756 ac_must_keep_next
=false
# Got value, back to normal.
1759 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1760 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1761 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1762 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1763 case "$ac_configure_args0 " in
1764 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1767 -* ) ac_must_keep_next
=true
;;
1770 ac_configure_args
="$ac_configure_args '$ac_arg'"
1775 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1776 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1778 # When interrupted or exit'd, cleanup temporary files, and complete
1779 # config.log. We remove comments because anyway the quotes in there
1780 # would cause problems or look ugly.
1781 # WARNING: Use '\'' to represent an apostrophe within the trap.
1782 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1783 trap 'exit_status=$?
1784 # Save into config.log some information that might help in debugging.
1789 ## ---------------- ##
1790 ## Cache variables. ##
1791 ## ---------------- ##
1794 # The following way of writing the cache mishandles newlines in values,
1796 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1797 eval ac_val=\$$ac_var
1801 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1802 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1805 _ | IFS | as_nl) ;; #(
1806 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1807 *) $as_unset $ac_var ;;
1812 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1813 *${as_nl}ac_space=\ *)
1815 "s/'\''/'\''\\\\'\'''\''/g;
1816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1827 ## ----------------- ##
1828 ## Output variables. ##
1829 ## ----------------- ##
1832 for ac_var in $ac_subst_vars
1834 eval ac_val=\$$ac_var
1836 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838 $as_echo "$ac_var='\''$ac_val'\''"
1842 if test -n "$ac_subst_files"; then
1844 ## ------------------- ##
1845 ## File substitutions. ##
1846 ## ------------------- ##
1849 for ac_var
in $ac_subst_files
1851 eval ac_val
=\$
$ac_var
1853 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855 $as_echo "$ac_var='\''$ac_val'\''"
1860 if test -s confdefs.h; then
1870 test "$ac_signal" != 0 &&
1871 $as_echo "$as_me: caught signal $ac_signal"
1872 $as_echo "$as_me: exit $exit_status"
1874 rm -f core *.core core.conftest.* &&
1875 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1878 for ac_signal
in 1 2 13 15; do
1879 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1883 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1884 rm -f -r conftest
* confdefs.h
1886 # Predefined preprocessor variables.
1888 cat >>confdefs.h
<<_ACEOF
1889 #define PACKAGE_NAME "$PACKAGE_NAME"
1893 cat >>confdefs.h
<<_ACEOF
1894 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1898 cat >>confdefs.h
<<_ACEOF
1899 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1903 cat >>confdefs.h
<<_ACEOF
1904 #define PACKAGE_STRING "$PACKAGE_STRING"
1908 cat >>confdefs.h
<<_ACEOF
1909 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1913 # Let the site file select an alternate cache file if it wants to.
1914 # Prefer an explicitly selected file to automatically selected ones.
1917 if test -n "$CONFIG_SITE"; then
1918 ac_site_file1
=$CONFIG_SITE
1919 elif test "x$prefix" != xNONE
; then
1920 ac_site_file1
=$prefix/share
/config.site
1921 ac_site_file2
=$prefix/etc
/config.site
1923 ac_site_file1
=$ac_default_prefix/share
/config.site
1924 ac_site_file2
=$ac_default_prefix/etc
/config.site
1926 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1928 test "x$ac_site_file" = xNONE
&& continue
1929 if test -r "$ac_site_file"; then
1930 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1931 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1932 sed 's/^/| /' "$ac_site_file" >&5
1937 if test -r "$cache_file"; then
1938 # Some versions of bash will fail to source /dev/null (special
1939 # files actually), so we avoid doing that.
1940 if test -f "$cache_file"; then
1941 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1942 $as_echo "$as_me: loading cache $cache_file" >&6;}
1944 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1945 *) .
"./$cache_file";;
1949 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1950 $as_echo "$as_me: creating cache $cache_file" >&6;}
1954 # Check that the precious variables saved in the cache have kept the same
1956 ac_cache_corrupted
=false
1957 for ac_var
in $ac_precious_vars; do
1958 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1959 eval ac_new_set
=\
$ac_env_${ac_var}_set
1960 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1961 eval ac_new_val
=\
$ac_env_${ac_var}_value
1962 case $ac_old_set,$ac_new_set in
1964 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1965 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1966 ac_cache_corrupted
=: ;;
1968 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1969 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1970 ac_cache_corrupted
=: ;;
1973 if test "x$ac_old_val" != "x$ac_new_val"; then
1974 # differences in whitespace do not lead to failure.
1975 ac_old_val_w
=`echo x $ac_old_val`
1976 ac_new_val_w
=`echo x $ac_new_val`
1977 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1978 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1979 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1980 ac_cache_corrupted
=:
1982 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1983 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1984 eval $ac_var=\
$ac_old_val
1986 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1987 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1988 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1989 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1992 # Pass precious variables to config.status.
1993 if test "$ac_new_set" = set; then
1995 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1996 *) ac_arg
=$ac_var=$ac_new_val ;;
1998 case " $ac_configure_args " in
1999 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2000 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2004 if $ac_cache_corrupted; then
2005 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2007 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2008 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2009 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2010 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2011 { (exit 1); exit 1; }; }
2039 ac_cpp
='$CPP $CPPFLAGS'
2040 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2046 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2047 if test -f "$ac_dir/install-sh"; then
2049 ac_install_sh
="$ac_aux_dir/install-sh -c"
2051 elif test -f "$ac_dir/install.sh"; then
2053 ac_install_sh
="$ac_aux_dir/install.sh -c"
2055 elif test -f "$ac_dir/shtool"; then
2057 ac_install_sh
="$ac_aux_dir/shtool install -c"
2061 if test -z "$ac_aux_dir"; then
2062 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2063 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2064 { (exit 1); exit 1; }; }
2067 # These three variables are undocumented and unsupported,
2068 # and are intended to be withdrawn in a future Autoconf release.
2069 # They can cause serious problems if a builder's source tree is in a directory
2070 # whose full name contains unusual characters.
2071 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2072 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2073 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2076 # Make sure we can run config.sub.
2077 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2078 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2079 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2080 { (exit 1); exit 1; }; }
2082 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2083 $as_echo_n "checking build system type... " >&6; }
2084 if test "${ac_cv_build+set}" = set; then
2085 $as_echo_n "(cached) " >&6
2087 ac_build_alias
=$build_alias
2088 test "x$ac_build_alias" = x
&&
2089 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2090 test "x$ac_build_alias" = x
&&
2091 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2092 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2093 { (exit 1); exit 1; }; }
2094 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2095 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2096 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2097 { (exit 1); exit 1; }; }
2100 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2101 $as_echo "$ac_cv_build" >&6; }
2102 case $ac_cv_build in
2104 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2105 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2106 { (exit 1); exit 1; }; };;
2109 ac_save_IFS
=$IFS; IFS
='-'
2115 # Remember, the first character of IFS is used to create $*,
2116 # except with old shells:
2119 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2122 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2123 $as_echo_n "checking host system type... " >&6; }
2124 if test "${ac_cv_host+set}" = set; then
2125 $as_echo_n "(cached) " >&6
2127 if test "x$host_alias" = x
; then
2128 ac_cv_host
=$ac_cv_build
2130 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2131 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2132 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2133 { (exit 1); exit 1; }; }
2137 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2138 $as_echo "$ac_cv_host" >&6; }
2141 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2142 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2143 { (exit 1); exit 1; }; };;
2146 ac_save_IFS
=$IFS; IFS
='-'
2152 # Remember, the first character of IFS is used to create $*,
2153 # except with old shells:
2156 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2160 am__api_version
='1.11'
2162 # Find a good install program. We prefer a C program (faster),
2163 # so one script is as good as another. But avoid the broken or
2164 # incompatible versions:
2165 # SysV /etc/install, /usr/sbin/install
2166 # SunOS /usr/etc/install
2167 # IRIX /sbin/install
2169 # AmigaOS /C/install, which installs bootblocks on floppy discs
2170 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2171 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2172 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2173 # OS/2's system install, which has a completely different semantic
2174 # ./install, which can be erroneously created by make from ./install.sh.
2175 # Reject install programs that cannot install multiple files.
2176 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2177 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2178 if test -z "$INSTALL"; then
2179 if test "${ac_cv_path_install+set}" = set; then
2180 $as_echo_n "(cached) " >&6
2182 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2186 test -z "$as_dir" && as_dir
=.
2187 # Account for people who put trailing slashes in PATH elements.
2189 .
/ | .
// |
/cC
/* | \
2190 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2191 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2194 # OSF1 and SCO ODT 3.0 have their own names for install.
2195 # Don't use installbsd from OSF since it installs stuff as root
2197 for ac_prog
in ginstall scoinst
install; do
2198 for ac_exec_ext
in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2200 if test $ac_prog = install &&
2201 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2202 # AIX install. It has an incompatible calling convention.
2204 elif test $ac_prog = install &&
2205 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2206 # program-specific install script used by HP pwplus--don't use.
2209 rm -rf conftest.one conftest.two conftest.dir
2210 echo one
> conftest.one
2211 echo two
> conftest.two
2213 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2214 test -s conftest.one
&& test -s conftest.two
&&
2215 test -s conftest.dir
/conftest.one
&&
2216 test -s conftest.dir
/conftest.two
2218 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2231 rm -rf conftest.one conftest.two conftest.dir
2234 if test "${ac_cv_path_install+set}" = set; then
2235 INSTALL
=$ac_cv_path_install
2237 # As a last resort, use the slow shell script. Don't cache a
2238 # value for INSTALL within a source directory, because that will
2239 # break other packages using the cache if that directory is
2240 # removed, or if the value is a relative name.
2241 INSTALL
=$ac_install_sh
2244 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2245 $as_echo "$INSTALL" >&6; }
2247 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2248 # It thinks the first close brace ends the variable substitution.
2249 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2251 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2253 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2255 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2256 $as_echo_n "checking whether build environment is sane... " >&6; }
2259 echo timestamp
> conftest.
file
2260 # Reject unsafe characters in $srcdir or the absolute working directory
2261 # name. Accept space and tab only in the latter.
2265 *[\\\"\
#\$\&\'\`$am_lf]*)
2266 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2267 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2268 { (exit 1); exit 1; }; };;
2271 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2272 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2273 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2274 { (exit 1); exit 1; }; };;
2277 # Do `set' in a subshell so we don't clobber the current shell's
2278 # arguments. Must try -L first in case configure is actually a
2279 # symlink; some systems play weird games with the mod time of symlinks
2280 # (eg FreeBSD returns the mod time of the symlink's containing
2283 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2284 if test "$*" = "X"; then
2286 set X
`ls -t "$srcdir/configure" conftest.file`
2289 if test "$*" != "X $srcdir/configure conftest.file" \
2290 && test "$*" != "X conftest.file $srcdir/configure"; then
2292 # If neither matched, then we have a broken ls. This can happen
2293 # if, for instance, CONFIG_SHELL is bash and it inherits a
2294 # broken ls alias from the environment. This has actually
2295 # happened. Such a system could not be considered "sane".
2296 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2297 alias in your environment" >&5
2298 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2299 alias in your environment" >&2;}
2300 { (exit 1); exit 1; }; }
2303 test "$2" = conftest.
file
2309 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2310 Check your system clock" >&5
2311 $as_echo "$as_me: error: newly created file is older than distributed files!
2312 Check your system clock" >&2;}
2313 { (exit 1); exit 1; }; }
2315 { $as_echo "$as_me:$LINENO: result: yes" >&5
2316 $as_echo "yes" >&6; }
2317 test "$program_prefix" != NONE
&&
2318 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2319 # Use a double $ so make ignores it.
2320 test "$program_suffix" != NONE
&&
2321 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2322 # Double any \ or $.
2323 # By default was `s,x,x', remove it if useless.
2324 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2325 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2327 # expand $ac_aux_dir to an absolute path
2328 am_aux_dir
=`cd $ac_aux_dir && pwd`
2330 if test x
"${MISSING+set}" != xset
; then
2333 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2335 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2338 # Use eval to expand $SHELL
2339 if eval "$MISSING --run true"; then
2340 am_missing_run
="$MISSING --run "
2343 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2344 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2347 if test x
"${install_sh}" != xset
; then
2350 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2352 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2356 # Installed binaries are usually stripped using `strip' when the user
2357 # run `make install-strip'. However `strip' might not be the right
2358 # tool to use in cross-compilation environments, therefore Automake
2359 # will honor the `STRIP' environment variable to overrule this program.
2360 if test "$cross_compiling" != no
; then
2361 if test -n "$ac_tool_prefix"; then
2362 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2363 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2364 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2365 $as_echo_n "checking for $ac_word... " >&6; }
2366 if test "${ac_cv_prog_STRIP+set}" = set; then
2367 $as_echo_n "(cached) " >&6
2369 if test -n "$STRIP"; then
2370 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2376 test -z "$as_dir" && as_dir
=.
2377 for ac_exec_ext
in '' $ac_executable_extensions; do
2378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2379 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2380 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2389 STRIP
=$ac_cv_prog_STRIP
2390 if test -n "$STRIP"; then
2391 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2392 $as_echo "$STRIP" >&6; }
2394 { $as_echo "$as_me:$LINENO: result: no" >&5
2395 $as_echo "no" >&6; }
2400 if test -z "$ac_cv_prog_STRIP"; then
2402 # Extract the first word of "strip", so it can be a program name with args.
2403 set dummy strip
; ac_word
=$2
2404 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2405 $as_echo_n "checking for $ac_word... " >&6; }
2406 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2407 $as_echo_n "(cached) " >&6
2409 if test -n "$ac_ct_STRIP"; then
2410 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir
=.
2417 for ac_exec_ext
in '' $ac_executable_extensions; do
2418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2419 ac_cv_prog_ac_ct_STRIP
="strip"
2420 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2430 if test -n "$ac_ct_STRIP"; then
2431 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2432 $as_echo "$ac_ct_STRIP" >&6; }
2434 { $as_echo "$as_me:$LINENO: result: no" >&5
2435 $as_echo "no" >&6; }
2438 if test "x$ac_ct_STRIP" = x
; then
2441 case $cross_compiling:$ac_tool_warned in
2443 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2445 ac_tool_warned
=yes ;;
2450 STRIP
="$ac_cv_prog_STRIP"
2454 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2456 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2457 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2458 if test -z "$MKDIR_P"; then
2459 if test "${ac_cv_path_mkdir+set}" = set; then
2460 $as_echo_n "(cached) " >&6
2462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2463 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2466 test -z "$as_dir" && as_dir
=.
2467 for ac_prog
in mkdir gmkdir
; do
2468 for ac_exec_ext
in '' $ac_executable_extensions; do
2469 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2470 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2471 'mkdir (GNU coreutils) '* | \
2472 'mkdir (coreutils) '* | \
2473 'mkdir (fileutils) '4.1*)
2474 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2484 if test "${ac_cv_path_mkdir+set}" = set; then
2485 MKDIR_P
="$ac_cv_path_mkdir -p"
2487 # As a last resort, use the slow shell script. Don't cache a
2488 # value for MKDIR_P within a source directory, because that will
2489 # break other packages using the cache if that directory is
2490 # removed, or if the value is a relative name.
2491 test -d .
/--version && rmdir .
/--version
2492 MKDIR_P
="$ac_install_sh -d"
2495 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2496 $as_echo "$MKDIR_P" >&6; }
2500 [\\/$
]* | ?
:[\\/]*) ;;
2501 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2504 for ac_prog
in gawk mawk nawk
awk
2506 # Extract the first word of "$ac_prog", so it can be a program name with args.
2507 set dummy
$ac_prog; ac_word
=$2
2508 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2509 $as_echo_n "checking for $ac_word... " >&6; }
2510 if test "${ac_cv_prog_AWK+set}" = set; then
2511 $as_echo_n "(cached) " >&6
2513 if test -n "$AWK"; then
2514 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2520 test -z "$as_dir" && as_dir
=.
2521 for ac_exec_ext
in '' $ac_executable_extensions; do
2522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2523 ac_cv_prog_AWK
="$ac_prog"
2524 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 if test -n "$AWK"; then
2535 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2536 $as_echo "$AWK" >&6; }
2538 { $as_echo "$as_me:$LINENO: result: no" >&5
2539 $as_echo "no" >&6; }
2543 test -n "$AWK" && break
2546 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2547 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2549 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2550 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2551 $as_echo_n "(cached) " >&6
2553 cat >conftest.
make <<\_ACEOF
2556 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2558 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2559 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2561 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2563 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2567 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2568 { $as_echo "$as_me:$LINENO: result: yes" >&5
2569 $as_echo "yes" >&6; }
2572 { $as_echo "$as_me:$LINENO: result: no" >&5
2573 $as_echo "no" >&6; }
2574 SET_MAKE
="MAKE=${MAKE-make}"
2577 rm -rf .tst
2>/dev
/null
2578 mkdir .tst
2>/dev
/null
2579 if test -d .tst
; then
2584 rmdir .tst
2>/dev
/null
2586 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2587 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2588 # is not polluted with repeated "-I."
2589 am__isrc
=' -I$(srcdir)'
2590 # test to see if srcdir already configured
2591 if test -f $srcdir/config.status
; then
2592 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2593 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2594 { (exit 1); exit 1; }; }
2598 # test whether we have cygpath
2599 if test -z "$CYGPATH_W"; then
2600 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2601 CYGPATH_W
='cygpath -w'
2608 # Define the identity of the package.
2613 cat >>confdefs.h
<<_ACEOF
2614 #define PACKAGE "$PACKAGE"
2618 cat >>confdefs.h
<<_ACEOF
2619 #define VERSION "$VERSION"
2622 # Some tools Automake needs.
2624 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2627 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2630 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2633 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2636 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2638 # We need awk for the "check" target. The system "awk" is bad on
2640 # Always define AMTAR for backward compatibility.
2642 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2644 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2650 # Check whether --enable-silent-rules was given.
2651 if test "${enable_silent_rules+set}" = set; then
2652 enableval
=$enable_silent_rules;
2655 case $enable_silent_rules in
2656 yes) AM_DEFAULT_VERBOSITY
=0;;
2657 no
) AM_DEFAULT_VERBOSITY
=1;;
2658 *) AM_DEFAULT_VERBOSITY
=0;;
2665 ac_cpp='$CXXCPP $CPPFLAGS'
2666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
2667 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
2668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2669 if test -z "$CXX"; then
2670 if test -n "$CCC"; then
2673 if test -n "$ac_tool_prefix"; then
2674 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2676 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2677 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2679 $as_echo_n "checking for $ac_word... " >&6; }
2680 if test "${ac_cv_prog_CXX+set}" = set; then
2681 $as_echo_n "(cached) " >&6
2683 if test -n "$CXX"; then
2684 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir=.
2691 for ac_exec_ext in '' $ac_executable_extensions; do
2692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2693 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2694 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 if test -n "$CXX"; then
2705 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
2706 $as_echo "$CXX" >&6; }
2708 { $as_echo "$as_me:$LINENO: result: no" >&5
2709 $as_echo "no" >&6; }
2713 test -n "$CXX" && break
2716 if test -z "$CXX"; then
2718 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2720 # Extract the first word of "$ac_prog", so it can be a program name with args.
2721 set dummy $ac_prog; ac_word=$2
2722 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2723 $as_echo_n "checking for $ac_word... " >&6; }
2724 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2725 $as_echo_n "(cached) " >&6
2727 if test -n "$ac_ct_CXX"; then
2728 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2734 test -z "$as_dir" && as_dir=.
2735 for ac_exec_ext in '' $ac_executable_extensions; do
2736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2737 ac_cv_prog_ac_ct_CXX="$ac_prog"
2738 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2748 if test -n "$ac_ct_CXX"; then
2749 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2750 $as_echo "$ac_ct_CXX" >&6; }
2752 { $as_echo "$as_me:$LINENO: result: no" >&5
2753 $as_echo "no" >&6; }
2757 test -n "$ac_ct_CXX" && break
2760 if test "x$ac_ct_CXX" = x; then
2763 case $cross_compiling:$ac_tool_warned in
2765 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2766 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2767 ac_tool_warned=yes ;;
2775 # Provide some information about the compiler.
2776 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2779 { (ac_try="$ac_compiler --version >&5"
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2785 $as_echo "$ac_try_echo") >&5
2786 (eval "$ac_compiler --version >&5") 2>&5
2788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }
2790 { (ac_try="$ac_compiler -v >&5"
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2796 $as_echo "$ac_try_echo") >&5
2797 (eval "$ac_compiler -v >&5") 2>&5
2799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }
2801 { (ac_try="$ac_compiler -V >&5"
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2807 $as_echo "$ac_try_echo") >&5
2808 (eval "$ac_compiler -V >&5") 2>&5
2810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }
2813 cat >conftest.$ac_ext <<_ACEOF
2816 cat confdefs.h >>conftest.$ac_ext
2817 cat >>conftest.$ac_ext <<_ACEOF
2818 /* end confdefs.h. */
2828 ac_clean_files_save=$ac_clean_files
2829 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2830 # Try to create an executable without -o first, disregard a.out.
2831 # It will help us diagnose broken compilers, and finding out an intuition
2833 { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2834 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
2835 ac_link_default=`$as_echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
2837 # The possible output files:
2838 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2841 for ac_file in $ac_files
2844 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2845 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2850 if { (ac_try="$ac_link_default"
2852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2853 *) ac_try_echo=$ac_try;;
2855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2856 $as_echo "$ac_try_echo") >&5
2857 (eval "$ac_link_default") 2>&5
2859 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); }; then
2861 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2862 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2863 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2864 # so that the user can short-circuit this test for compilers unknown to
2866 for ac_file
in $ac_files ''
2868 test -f "$ac_file" ||
continue
2870 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2873 # We found the default executable, but exeext='' is most
2877 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2879 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2881 # We set ac_cv_exeext here because the later test for it is not
2882 # safe: cross compilers may not add the suffix if given an `-o'
2883 # argument, so we may need to know it at that point already.
2884 # Even if this section looks crufty: it has the advantage of
2891 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2897 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2898 $as_echo "$ac_file" >&6; }
2899 if test -z "$ac_file"; then
2900 $as_echo "$as_me: failed program was:" >&5
2901 sed 's/^/| /' conftest.
$ac_ext >&5
2903 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2905 { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2906 See \`config.log' for more details." >&5
2907 $as_echo "$as_me: error: C++ compiler cannot create executables
2908 See \`config.log' for more details." >&2;}
2909 { (exit 77); exit 77; }; }; }
2912 ac_exeext
=$ac_cv_exeext
2914 # Check that the compiler produces executables we can run. If not, either
2915 # the compiler is broken, or we cross compile.
2916 { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2917 $as_echo_n "checking whether the C++ compiler works... " >&6; }
2918 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2919 # If not cross compiling, check that we can run a simple program.
2920 if test "$cross_compiling" != yes; then
2921 if { ac_try
='./$ac_file'
2922 { (case "(($ac_try" in
2923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2924 *) ac_try_echo=$ac_try;;
2926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2927 $as_echo "$ac_try_echo") >&5
2928 (eval "$ac_try") 2>&5
2930 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931 (exit $ac_status); }; }; then
2934 if test "$cross_compiling" = maybe; then
2937 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2939 { { $as_echo "$as_me:$LINENO: error
: cannot run C
++ compiled programs.
2940 If you meant to cross compile
, use \
`--host'.
2941 See \`config.log
' for more details." >&5
2942 $as_echo "$as_me: error: cannot run C++ compiled programs.
2943 If you meant to cross compile, use \`--host'.
2944 See \
`config.log' for more details." >&2;}
2945 { (exit 1); exit 1; }; }; }
2949 { $as_echo "$as_me:$LINENO: result: yes" >&5
2950 $as_echo "yes" >&6; }
2952 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2953 ac_clean_files=$ac_clean_files_save
2954 # Check that the compiler produces executables we can run. If not, either
2955 # the compiler is broken, or we cross compile.
2956 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2957 $as_echo_n "checking whether we are cross compiling... " >&6; }
2958 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2959 $as_echo "$cross_compiling" >&6; }
2961 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2962 $as_echo_n "checking for suffix of executables... " >&6; }
2963 if { (ac_try="$ac_link"
2965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2966 *) ac_try_echo
=$ac_try;;
2968 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2969 $as_echo "$ac_try_echo") >&5
2970 (eval "$ac_link") 2>&5
2972 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; then
2974 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2975 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2976 # work properly (i.e., refer to `conftest.exe'), while it won't with
2978 for ac_file
in conftest.exe conftest conftest.
*; do
2979 test -f "$ac_file" ||
continue
2981 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2982 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2988 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2989 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2990 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2991 See \`config.log' for more details." >&5
2992 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2993 See \`config.log' for more details." >&2;}
2994 { (exit 1); exit 1; }; }; }
2997 rm -f conftest
$ac_cv_exeext
2998 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2999 $as_echo "$ac_cv_exeext" >&6; }
3001 rm -f conftest.
$ac_ext
3002 EXEEXT
=$ac_cv_exeext
3004 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3005 $as_echo_n "checking for suffix of object files... " >&6; }
3006 if test "${ac_cv_objext+set}" = set; then
3007 $as_echo_n "(cached) " >&6
3009 cat >conftest.
$ac_ext <<_ACEOF
3012 cat confdefs.h
>>conftest.
$ac_ext
3013 cat >>conftest.
$ac_ext <<_ACEOF
3014 /* end confdefs.h. */
3024 rm -f conftest.o conftest.obj
3025 if { (ac_try
="$ac_compile"
3027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3028 *) ac_try_echo=$ac_try;;
3030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3031 $as_echo "$ac_try_echo") >&5
3032 (eval "$ac_compile") 2>&5
3034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); }; then
3036 for ac_file in conftest.o conftest.obj conftest.*; do
3037 test -f "$ac_file" || continue;
3039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3040 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3045 $as_echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3048 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3051 See \
`config.log' for more details." >&5
3052 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3053 See \`config.log
' for more details." >&2;}
3054 { (exit 1); exit 1; }; }; }
3057 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3059 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3060 $as_echo "$ac_cv_objext" >&6; }
3061 OBJEXT=$ac_cv_objext
3063 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3064 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3065 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3066 $as_echo_n "(cached) " >&6
3068 cat >conftest.$ac_ext <<_ACEOF
3071 cat confdefs.h >>conftest.$ac_ext
3072 cat >>conftest.$ac_ext <<_ACEOF
3073 /* end confdefs.h. */
3086 rm -f conftest.$ac_objext
3087 if { (ac_try="$ac_compile"
3089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3090 *) ac_try_echo=$ac_try;;
3092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3093 $as_echo "$ac_try_echo") >&5
3094 (eval "$ac_compile") 2>conftest.er1
3096 grep -v '^
*+' conftest.er1 >conftest.err
3098 cat conftest.err >&5
3099 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); } && {
3101 test -z "$ac_cxx_werror_flag" ||
3102 test ! -s conftest.err
3103 } && test -s conftest.$ac_objext; then
3106 $as_echo "$as_me: failed program was:" >&5
3107 sed 's
/^
/|
/' conftest.$ac_ext >&5
3112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3113 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3116 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3117 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3118 if test $ac_compiler_gnu = yes; then
3123 ac_test_CXXFLAGS=${CXXFLAGS+set}
3124 ac_save_CXXFLAGS=$CXXFLAGS
3125 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3126 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3127 if test "${ac_cv_prog_cxx_g+set}" = set; then
3128 $as_echo_n "(cached) " >&6
3130 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3131 ac_cxx_werror_flag=yes
3134 cat >conftest.$ac_ext <<_ACEOF
3137 cat confdefs.h >>conftest.$ac_ext
3138 cat >>conftest.$ac_ext <<_ACEOF
3139 /* end confdefs.h. */
3149 rm -f conftest.$ac_objext
3150 if { (ac_try="$ac_compile"
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3156 $as_echo "$ac_try_echo") >&5
3157 (eval "$ac_compile") 2>conftest.er1
3159 grep -v '^
*+' conftest.er1 >conftest.err
3161 cat conftest.err >&5
3162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163 (exit $ac_status); } && {
3164 test -z "$ac_cxx_werror_flag" ||
3165 test ! -s conftest.err
3166 } && test -s conftest.$ac_objext; then
3167 ac_cv_prog_cxx_g=yes
3169 $as_echo "$as_me: failed program was:" >&5
3170 sed 's
/^
/|
/' conftest.$ac_ext >&5
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3195 $as_echo "$ac_try_echo") >&5
3196 (eval "$ac_compile") 2>conftest.er1
3198 grep -v '^
*+' conftest.er1 >conftest.err
3200 cat conftest.err >&5
3201 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); } && {
3203 test -z "$ac_cxx_werror_flag" ||
3204 test ! -s conftest.err
3205 } && test -s conftest.$ac_objext; then
3208 $as_echo "$as_me: failed program was:" >&5
3209 sed 's
/^
/|
/' conftest.$ac_ext >&5
3211 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3213 cat >conftest.$ac_ext <<_ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3234 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3235 $as_echo "$ac_try_echo") >&5
3236 (eval "$ac_compile") 2>conftest.er1
3238 grep -v '^
*+' conftest.er1 >conftest.err
3240 cat conftest.err >&5
3241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } && {
3243 test -z "$ac_cxx_werror_flag" ||
3244 test ! -s conftest.err
3245 } && test -s conftest.$ac_objext; then
3246 ac_cv_prog_cxx_g=yes
3248 $as_echo "$as_me: failed program was:" >&5
3249 sed 's
/^
/|
/' conftest.$ac_ext >&5
3254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3261 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3263 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3264 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3265 if test "$ac_test_CXXFLAGS" = set; then
3266 CXXFLAGS=$ac_save_CXXFLAGS
3267 elif test $ac_cv_prog_cxx_g = yes; then
3268 if test "$GXX" = yes; then
3274 if test "$GXX" = yes; then
3281 ac_cpp='$CPP $CPPFLAGS'
3282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3283 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3285 DEPDIR="${am__leading_dot}deps"
3287 ac_config_commands="$ac_config_commands depfiles"
3290 am_make=${MAKE-make}
3291 cat > confinc << 'END
'
3293 @echo this is the am__doit target
3296 # If we don't
find an include directive
, just comment out the code.
3297 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3298 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3302 # First try GNU make style include.
3303 echo "include confinc" > confmf
3304 # Ignore all kinds of additional output from `make'.
3305 case `$am_make -s -f confmf 2> /dev/null` in #(
3306 *the\ am__doit\ target
*)
3312 # Now try BSD make style include.
3313 if test "$am__include" = "#"; then
3314 echo '.include "confinc"' > confmf
3315 case `$am_make -s -f confmf 2> /dev/null` in #(
3316 *the\ am__doit\ target
*)
3317 am__include
=.include
3325 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3326 $as_echo "$_am_result" >&6; }
3327 rm -f confinc confmf
3329 # Check whether --enable-dependency-tracking was given.
3330 if test "${enable_dependency_tracking+set}" = set; then
3331 enableval
=$enable_dependency_tracking;
3334 if test "x$enable_dependency_tracking" != xno
; then
3335 am_depcomp
="$ac_aux_dir/depcomp"
3338 if test "x$enable_dependency_tracking" != xno; then
3348 depcc
="$CXX" am_compiler_list
=
3350 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3351 $as_echo_n "checking dependency style of $depcc... " >&6; }
3352 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3353 $as_echo_n "(cached) " >&6
3355 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3356 # We make a subdir and do the tests there. Otherwise we can end up
3357 # making bogus files that we don't know about and never remove. For
3358 # instance it was reported that on HP-UX the gcc test will end up
3359 # making a dummy file named `D' -- because `-MD' means `put the output
3362 # Copy depcomp to subdir because otherwise we won't find it if we're
3363 # using a relative directory.
3364 cp "$am_depcomp" conftest.dir
3366 # We will build objects and dependencies in a subdirectory because
3367 # it helps to detect inapplicable dependency modes. For instance
3368 # both Tru64's cc and ICC support -MD to output dependencies as a
3369 # side effect of compilation, but ICC will put the dependencies in
3370 # the current directory while Tru64 will put them in the object
3374 am_cv_CXX_dependencies_compiler_type
=none
3375 if test "$am_compiler_list" = ""; then
3376 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3379 case " $depcc " in #(
3380 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
3383 for depmode
in $am_compiler_list; do
3384 # Setup a source with many dependencies, because some compilers
3385 # like to wrap large dependency lists on column 80 (with \), and
3386 # we should not choose a depcomp mode which is confused by this.
3388 # We need to recreate these files for each test, as the compiler may
3389 # overwrite some of them when testing with obscure command lines.
3390 # This happens at least with the AIX C compiler.
3392 for i
in 1 2 3 4 5 6; do
3393 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3394 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3395 # Solaris 8's {/usr,}/bin/sh.
3396 touch sub
/conftst
$i.h
3398 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3400 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3401 # mode. It turns out that the SunPro C++ compiler does not properly
3402 # handle `-M -o', and we need to detect this. Also, some Intel
3403 # versions had trouble with output in subdirs
3404 am__obj
=sub
/conftest.
${OBJEXT-o}
3405 am__minus_obj
="-o $am__obj"
3408 # This depmode causes a compiler race in universal mode.
3409 test "$am__universal" = false ||
continue
3412 # after this tag, mechanisms are not by side-effect, so they'll
3413 # only be used when explicitly requested
3414 if test "x$enable_dependency_tracking" = xyes
; then
3420 msvisualcpp | msvcmsys
)
3421 # This compiler won't grok `-c -o', but also, the minuso test has
3422 # not run yet. These depmodes are late enough in the game, and
3423 # so weak that their functioning should not be impacted.
3424 am__obj
=conftest.
${OBJEXT-o}
3429 if depmode
=$depmode \
3430 source=sub
/conftest.c object
=$am__obj \
3431 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3432 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
3433 >/dev
/null
2>conftest.err
&&
3434 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3435 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3436 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
3437 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3438 # icc doesn't choke on unknown options, it will just issue warnings
3439 # or remarks (even with -Werror). So we grep stderr for any message
3440 # that says an option was ignored or not supported.
3441 # When given -MP, icc 7.0 and 7.1 complain thusly:
3442 # icc: Command line warning: ignoring option '-M'; no argument required
3443 # The diagnosis changed in icc 8.0:
3444 # icc: Command line remark: option '-MP' not supported
3445 if (grep 'ignoring option' conftest.err ||
3446 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3447 am_cv_CXX_dependencies_compiler_type
=$depmode
3456 am_cv_CXX_dependencies_compiler_type
=none
3460 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3461 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3462 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3465 test "x$enable_dependency_tracking" != xno \
3466 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3467 am__fastdepCXX_TRUE
=
3468 am__fastdepCXX_FALSE
='#'
3470 am__fastdepCXX_TRUE
='#'
3471 am__fastdepCXX_FALSE
=
3477 ac_config_headers
="$ac_config_headers config.h"
3481 ac_config_files
="$ac_config_files Makefile tests/compat.sh jellyfish-1.1.pc"
3485 if test "x$MD5" = "x"; then
3486 # Extract the first word of "md5sum", so it can be a program name with args.
3487 set dummy
md5sum; ac_word
=$2
3488 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3489 $as_echo_n "checking for $ac_word... " >&6; }
3490 if test "${ac_cv_prog_MD5+set}" = set; then
3491 $as_echo_n "(cached) " >&6
3493 if test -n "$MD5"; then
3494 ac_cv_prog_MD5
="$MD5" # Let the user override the test.
3496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3500 test -z "$as_dir" && as_dir
=.
3501 for ac_exec_ext
in '' $ac_executable_extensions; do
3502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3503 ac_cv_prog_MD5
="md5sum"
3504 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 if test -n "$MD5"; then
3515 { $as_echo "$as_me:$LINENO: result: $MD5" >&5
3516 $as_echo "$MD5" >&6; }
3518 { $as_echo "$as_me:$LINENO: result: no" >&5
3519 $as_echo "no" >&6; }
3525 if test "x$MD5" = "x"; then
3526 # Extract the first word of "md5", so it can be a program name with args.
3527 set dummy md5
; ac_word
=$2
3528 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3529 $as_echo_n "checking for $ac_word... " >&6; }
3530 if test "${ac_cv_prog_MD5+set}" = set; then
3531 $as_echo_n "(cached) " >&6
3533 if test -n "$MD5"; then
3534 ac_cv_prog_MD5
="$MD5" # Let the user override the test.
3536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3540 test -z "$as_dir" && as_dir
=.
3541 for ac_exec_ext
in '' $ac_executable_extensions; do
3542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3543 ac_cv_prog_MD5
="md5 -r"
3544 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 if test -n "$MD5"; then
3555 { $as_echo "$as_me:$LINENO: result: $MD5" >&5
3556 $as_echo "$MD5" >&6; }
3558 { $as_echo "$as_me:$LINENO: result: no" >&5
3559 $as_echo "no" >&6; }
3565 if test "x$MD5" = "x"; then
3566 { { $as_echo "$as_me:$LINENO: error: Could not find md5 hashing program in your path" >&5
3567 $as_echo "$as_me: error: Could not find md5 hashing program in your path" >&2;}
3568 { (exit 1); exit 1; }; }
3573 # Check whether --with-sse was given.
3574 if test "${with_sse+set}" = set; then
3580 if test "x$with_sse" != xno
; then
3582 cat >>confdefs.h
<<\_ACEOF
3590 # Check whether --with-half was given.
3591 if test "${with_half+set}" = set; then
3597 if test "x$with_half" = "xyes"; then
3599 cat >>confdefs.h
<<\_ACEOF
3600 #define HALF_FLOATS 1
3606 # Check the version of strerror_r
3608 ac_cpp
='$CPP $CPPFLAGS'
3609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3612 if test -n "$ac_tool_prefix"; then
3613 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3614 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3615 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3616 $as_echo_n "checking for $ac_word... " >&6; }
3617 if test "${ac_cv_prog_CC+set}" = set; then
3618 $as_echo_n "(cached) " >&6
3620 if test -n "$CC"; then
3621 ac_cv_prog_CC
="$CC" # Let the user override the test.
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3630 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3631 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 if test -n "$CC"; then
3642 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3643 $as_echo "$CC" >&6; }
3645 { $as_echo "$as_me:$LINENO: result: no" >&5
3646 $as_echo "no" >&6; }
3651 if test -z "$ac_cv_prog_CC"; then
3653 # Extract the first word of "gcc", so it can be a program name with args.
3654 set dummy gcc
; ac_word
=$2
3655 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3656 $as_echo_n "checking for $ac_word... " >&6; }
3657 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3658 $as_echo_n "(cached) " >&6
3660 if test -n "$ac_ct_CC"; then
3661 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir
=.
3668 for ac_exec_ext
in '' $ac_executable_extensions; do
3669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3670 ac_cv_prog_ac_ct_CC
="gcc"
3671 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3681 if test -n "$ac_ct_CC"; then
3682 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3683 $as_echo "$ac_ct_CC" >&6; }
3685 { $as_echo "$as_me:$LINENO: result: no" >&5
3686 $as_echo "no" >&6; }
3689 if test "x$ac_ct_CC" = x
; then
3692 case $cross_compiling:$ac_tool_warned in
3694 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3696 ac_tool_warned
=yes ;;
3704 if test -z "$CC"; then
3705 if test -n "$ac_tool_prefix"; then
3706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3707 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3708 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3709 $as_echo_n "checking for $ac_word... " >&6; }
3710 if test "${ac_cv_prog_CC+set}" = set; then
3711 $as_echo_n "(cached) " >&6
3713 if test -n "$CC"; then
3714 ac_cv_prog_CC
="$CC" # Let the user override the test.
3716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3720 test -z "$as_dir" && as_dir
=.
3721 for ac_exec_ext
in '' $ac_executable_extensions; do
3722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3723 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3724 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 if test -n "$CC"; then
3735 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3736 $as_echo "$CC" >&6; }
3738 { $as_echo "$as_me:$LINENO: result: no" >&5
3739 $as_echo "no" >&6; }
3745 if test -z "$CC"; then
3746 # Extract the first word of "cc", so it can be a program name with args.
3747 set dummy cc
; ac_word
=$2
3748 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3749 $as_echo_n "checking for $ac_word... " >&6; }
3750 if test "${ac_cv_prog_CC+set}" = set; then
3751 $as_echo_n "(cached) " >&6
3753 if test -n "$CC"; then
3754 ac_cv_prog_CC
="$CC" # Let the user override the test.
3757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3761 test -z "$as_dir" && as_dir
=.
3762 for ac_exec_ext
in '' $ac_executable_extensions; do
3763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3764 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3765 ac_prog_rejected
=yes
3769 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3776 if test $ac_prog_rejected = yes; then
3777 # We found a bogon in the path, so make sure we never use it.
3778 set dummy
$ac_cv_prog_CC
3780 if test $# != 0; then
3781 # We chose a different compiler from the bogus one.
3782 # However, it has the same basename, so the bogon will be chosen
3783 # first if we set CC to just the basename; use the full file name.
3785 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3791 if test -n "$CC"; then
3792 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3793 $as_echo "$CC" >&6; }
3795 { $as_echo "$as_me:$LINENO: result: no" >&5
3796 $as_echo "no" >&6; }
3801 if test -z "$CC"; then
3802 if test -n "$ac_tool_prefix"; then
3803 for ac_prog
in cl.exe
3805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3806 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3807 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3808 $as_echo_n "checking for $ac_word... " >&6; }
3809 if test "${ac_cv_prog_CC+set}" = set; then
3810 $as_echo_n "(cached) " >&6
3812 if test -n "$CC"; then
3813 ac_cv_prog_CC
="$CC" # Let the user override the test.
3815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3819 test -z "$as_dir" && as_dir
=.
3820 for ac_exec_ext
in '' $ac_executable_extensions; do
3821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3822 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3823 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 if test -n "$CC"; then
3834 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3835 $as_echo "$CC" >&6; }
3837 { $as_echo "$as_me:$LINENO: result: no" >&5
3838 $as_echo "no" >&6; }
3842 test -n "$CC" && break
3845 if test -z "$CC"; then
3847 for ac_prog
in cl.exe
3849 # Extract the first word of "$ac_prog", so it can be a program name with args.
3850 set dummy
$ac_prog; ac_word
=$2
3851 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3852 $as_echo_n "checking for $ac_word... " >&6; }
3853 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3854 $as_echo_n "(cached) " >&6
3856 if test -n "$ac_ct_CC"; then
3857 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_exec_ext
in '' $ac_executable_extensions; do
3865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3866 ac_cv_prog_ac_ct_CC
="$ac_prog"
3867 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3877 if test -n "$ac_ct_CC"; then
3878 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3879 $as_echo "$ac_ct_CC" >&6; }
3881 { $as_echo "$as_me:$LINENO: result: no" >&5
3882 $as_echo "no" >&6; }
3886 test -n "$ac_ct_CC" && break
3889 if test "x$ac_ct_CC" = x
; then
3892 case $cross_compiling:$ac_tool_warned in
3894 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3896 ac_tool_warned
=yes ;;
3905 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3907 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3908 See \`config.log' for more details." >&5
3909 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3910 See \`config.log' for more details." >&2;}
3911 { (exit 1); exit 1; }; }; }
3913 # Provide some information about the compiler.
3914 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3917 { (ac_try
="$ac_compiler --version >&5"
3919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3920 *) ac_try_echo=$ac_try;;
3922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3923 $as_echo "$ac_try_echo") >&5
3924 (eval "$ac_compiler --version >&5") 2>&5
3926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); }
3928 { (ac_try="$ac_compiler -v >&5"
3930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3931 *) ac_try_echo
=$ac_try;;
3933 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3934 $as_echo "$ac_try_echo") >&5
3935 (eval "$ac_compiler -v >&5") 2>&5
3937 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }
3939 { (ac_try
="$ac_compiler -V >&5"
3941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3942 *) ac_try_echo=$ac_try;;
3944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3945 $as_echo "$ac_try_echo") >&5
3946 (eval "$ac_compiler -V >&5") 2>&5
3948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); }
3951 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3952 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3953 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3954 $as_echo_n "(cached) " >&6
3956 cat >conftest.$ac_ext <<_ACEOF
3959 cat confdefs.h >>conftest.$ac_ext
3960 cat >>conftest.$ac_ext <<_ACEOF
3961 /* end confdefs.h. */
3974 rm -f conftest.$ac_objext
3975 if { (ac_try="$ac_compile"
3977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3978 *) ac_try_echo
=$ac_try;;
3980 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3981 $as_echo "$ac_try_echo") >&5
3982 (eval "$ac_compile") 2>conftest.er1
3984 grep -v '^ *+' conftest.er1
>conftest.err
3986 cat conftest.err
>&5
3987 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3988 (exit $ac_status); } && {
3989 test -z "$ac_c_werror_flag" ||
3990 test ! -s conftest.err
3991 } && test -s conftest.
$ac_objext; then
3994 $as_echo "$as_me: failed program was:" >&5
3995 sed 's/^/| /' conftest.
$ac_ext >&5
4000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4001 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4004 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4005 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4006 if test $ac_compiler_gnu = yes; then
4011 ac_test_CFLAGS
=${CFLAGS+set}
4012 ac_save_CFLAGS
=$CFLAGS
4013 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4014 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4015 if test "${ac_cv_prog_cc_g+set}" = set; then
4016 $as_echo_n "(cached) " >&6
4018 ac_save_c_werror_flag
=$ac_c_werror_flag
4019 ac_c_werror_flag
=yes
4022 cat >conftest.
$ac_ext <<_ACEOF
4025 cat confdefs.h
>>conftest.
$ac_ext
4026 cat >>conftest.
$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4037 rm -f conftest.
$ac_objext
4038 if { (ac_try
="$ac_compile"
4040 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4041 *) ac_try_echo=$ac_try;;
4043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4044 $as_echo "$ac_try_echo") >&5
4045 (eval "$ac_compile") 2>conftest.er1
4047 grep -v '^ *+' conftest.er1 >conftest.err
4049 cat conftest.err >&5
4050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); } && {
4052 test -z "$ac_c_werror_flag" ||
4053 test ! -s conftest.err
4054 } && test -s conftest.$ac_objext; then
4057 $as_echo "$as_me: failed program was:" >&5
4058 sed 's/^/| /' conftest.$ac_ext >&5
4061 cat >conftest.$ac_ext <<_ACEOF
4064 cat confdefs.h >>conftest.$ac_ext
4065 cat >>conftest.$ac_ext <<_ACEOF
4066 /* end confdefs.h. */
4076 rm -f conftest.$ac_objext
4077 if { (ac_try="$ac_compile"
4079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4080 *) ac_try_echo
=$ac_try;;
4082 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4083 $as_echo "$ac_try_echo") >&5
4084 (eval "$ac_compile") 2>conftest.er1
4086 grep -v '^ *+' conftest.er1
>conftest.err
4088 cat conftest.err
>&5
4089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4090 (exit $ac_status); } && {
4091 test -z "$ac_c_werror_flag" ||
4092 test ! -s conftest.err
4093 } && test -s conftest.
$ac_objext; then
4096 $as_echo "$as_me: failed program was:" >&5
4097 sed 's/^/| /' conftest.
$ac_ext >&5
4099 ac_c_werror_flag
=$ac_save_c_werror_flag
4101 cat >conftest.
$ac_ext <<_ACEOF
4104 cat confdefs.h
>>conftest.
$ac_ext
4105 cat >>conftest.
$ac_ext <<_ACEOF
4106 /* end confdefs.h. */
4116 rm -f conftest.
$ac_objext
4117 if { (ac_try
="$ac_compile"
4119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4123 $as_echo "$ac_try_echo") >&5
4124 (eval "$ac_compile") 2>conftest.er1
4126 grep -v '^ *+' conftest.er1 >conftest.err
4128 cat conftest.err >&5
4129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); } && {
4131 test -z "$ac_c_werror_flag" ||
4132 test ! -s conftest.err
4133 } && test -s conftest.$ac_objext; then
4136 $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4149 ac_c_werror_flag=$ac_save_c_werror_flag
4151 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4152 $as_echo "$ac_cv_prog_cc_g" >&6; }
4153 if test "$ac_test_CFLAGS" = set; then
4154 CFLAGS=$ac_save_CFLAGS
4155 elif test $ac_cv_prog_cc_g = yes; then
4156 if test "$GCC" = yes; then
4162 if test "$GCC" = yes; then
4168 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4169 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4170 if test "${ac_cv_prog_cc_c89+set}" = set; then
4171 $as_echo_n "(cached) " >&6
4173 ac_cv_prog_cc_c89=no
4175 cat >conftest.$ac_ext <<_ACEOF
4178 cat confdefs.h >>conftest.$ac_ext
4179 cat >>conftest.$ac_ext <<_ACEOF
4180 /* end confdefs.h. */
4183 #include <sys/types.h>
4184 #include <sys/stat.h>
4185 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4186 struct buf { int x; };
4187 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4188 static char *e (p, i)
4194 static char *f (char * (*g) (char **, int), char **p, ...)
4199 s = g (p, va_arg (v,int));
4204 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4205 function prototypes and stuff, but not '\xHH' hex character constants.
4206 These don't provoke an error unfortunately, instead are silently treated
4207 as 'x'. The following induces an error, until -std is added to get
4208 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4209 array size at least. It's necessary to write '\x00'==0 to get something
4210 that's true only with -std. */
4211 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4213 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4214 inside strings and character constants. */
4216 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4218 int test (int i, double x);
4219 struct s1 {int (*f) (int a);};
4220 struct s2 {int (*f) (double a);};
4221 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4227 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4232 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4233 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4235 CC="$ac_save_CC $ac_arg"
4236 rm -f conftest.$ac_objext
4237 if { (ac_try="$ac_compile"
4239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4240 *) ac_try_echo
=$ac_try;;
4242 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4243 $as_echo "$ac_try_echo") >&5
4244 (eval "$ac_compile") 2>conftest.er1
4246 grep -v '^ *+' conftest.er1
>conftest.err
4248 cat conftest.err
>&5
4249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } && {
4251 test -z "$ac_c_werror_flag" ||
4252 test ! -s conftest.err
4253 } && test -s conftest.
$ac_objext; then
4254 ac_cv_prog_cc_c89
=$ac_arg
4256 $as_echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.
$ac_ext >&5
4262 rm -f core conftest.err conftest.
$ac_objext
4263 test "x$ac_cv_prog_cc_c89" != "xno" && break
4265 rm -f conftest.
$ac_ext
4270 case "x$ac_cv_prog_cc_c89" in
4272 { $as_echo "$as_me:$LINENO: result: none needed" >&5
4273 $as_echo "none needed" >&6; } ;;
4275 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
4276 $as_echo "unsupported" >&6; } ;;
4278 CC
="$CC $ac_cv_prog_cc_c89"
4279 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4280 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4285 ac_cpp
='$CPP $CPPFLAGS'
4286 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4287 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4288 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4290 depcc
="$CC" am_compiler_list
=
4292 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4293 $as_echo_n "checking dependency style of $depcc... " >&6; }
4294 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4295 $as_echo_n "(cached) " >&6
4297 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4298 # We make a subdir and do the tests there. Otherwise we can end up
4299 # making bogus files that we don't know about and never remove. For
4300 # instance it was reported that on HP-UX the gcc test will end up
4301 # making a dummy file named `D' -- because `-MD' means `put the output
4304 # Copy depcomp to subdir because otherwise we won't find it if we're
4305 # using a relative directory.
4306 cp "$am_depcomp" conftest.dir
4308 # We will build objects and dependencies in a subdirectory because
4309 # it helps to detect inapplicable dependency modes. For instance
4310 # both Tru64's cc and ICC support -MD to output dependencies as a
4311 # side effect of compilation, but ICC will put the dependencies in
4312 # the current directory while Tru64 will put them in the object
4316 am_cv_CC_dependencies_compiler_type
=none
4317 if test "$am_compiler_list" = ""; then
4318 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4321 case " $depcc " in #(
4322 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4325 for depmode
in $am_compiler_list; do
4326 # Setup a source with many dependencies, because some compilers
4327 # like to wrap large dependency lists on column 80 (with \), and
4328 # we should not choose a depcomp mode which is confused by this.
4330 # We need to recreate these files for each test, as the compiler may
4331 # overwrite some of them when testing with obscure command lines.
4332 # This happens at least with the AIX C compiler.
4334 for i
in 1 2 3 4 5 6; do
4335 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4336 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4337 # Solaris 8's {/usr,}/bin/sh.
4338 touch sub
/conftst
$i.h
4340 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4342 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4343 # mode. It turns out that the SunPro C++ compiler does not properly
4344 # handle `-M -o', and we need to detect this. Also, some Intel
4345 # versions had trouble with output in subdirs
4346 am__obj
=sub
/conftest.
${OBJEXT-o}
4347 am__minus_obj
="-o $am__obj"
4350 # This depmode causes a compiler race in universal mode.
4351 test "$am__universal" = false ||
continue
4354 # after this tag, mechanisms are not by side-effect, so they'll
4355 # only be used when explicitly requested
4356 if test "x$enable_dependency_tracking" = xyes
; then
4362 msvisualcpp | msvcmsys
)
4363 # This compiler won't grok `-c -o', but also, the minuso test has
4364 # not run yet. These depmodes are late enough in the game, and
4365 # so weak that their functioning should not be impacted.
4366 am__obj
=conftest.
${OBJEXT-o}
4371 if depmode
=$depmode \
4372 source=sub
/conftest.c object
=$am__obj \
4373 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4374 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4375 >/dev
/null
2>conftest.err
&&
4376 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4377 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4378 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4379 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4380 # icc doesn't choke on unknown options, it will just issue warnings
4381 # or remarks (even with -Werror). So we grep stderr for any message
4382 # that says an option was ignored or not supported.
4383 # When given -MP, icc 7.0 and 7.1 complain thusly:
4384 # icc: Command line warning: ignoring option '-M'; no argument required
4385 # The diagnosis changed in icc 8.0:
4386 # icc: Command line remark: option '-MP' not supported
4387 if (grep 'ignoring option' conftest.err ||
4388 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4389 am_cv_CC_dependencies_compiler_type
=$depmode
4398 am_cv_CC_dependencies_compiler_type
=none
4402 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4403 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4404 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4407 test "x$enable_dependency_tracking" != xno \
4408 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4410 am__fastdepCC_FALSE
='#'
4412 am__fastdepCC_TRUE
='#'
4413 am__fastdepCC_FALSE
=
4419 ac_cpp
='$CPP $CPPFLAGS'
4420 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4421 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4422 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4423 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4424 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4425 # On Suns, sometimes $CPP names a directory.
4426 if test -n "$CPP" && test -d "$CPP"; then
4429 if test -z "$CPP"; then
4430 if test "${ac_cv_prog_CPP+set}" = set; then
4431 $as_echo_n "(cached) " >&6
4433 # Double quotes because CPP needs to be expanded
4434 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4437 for ac_c_preproc_warn_flag
in '' yes
4439 # Use a header file that comes with gcc, so configuring glibc
4440 # with a fresh cross-compiler works.
4441 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4442 # <limits.h> exists even on freestanding compilers.
4443 # On the NeXT, cc -E runs the code through the compiler's parser,
4444 # not just through cpp. "Syntax error" is here to catch this case.
4445 cat >conftest.
$ac_ext <<_ACEOF
4448 cat confdefs.h
>>conftest.
$ac_ext
4449 cat >>conftest.
$ac_ext <<_ACEOF
4450 /* end confdefs.h. */
4452 # include <limits.h>
4454 # include <assert.h>
4458 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4461 *) ac_try_echo=$ac_try;;
4463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4464 $as_echo "$ac_try_echo") >&5
4465 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4467 grep -v '^ *+' conftest.er1 >conftest.err
4469 cat conftest.err >&5
4470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); } >/dev/null && {
4472 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4473 test ! -s conftest.err
4477 $as_echo "$as_me: failed program was:" >&5
4478 sed 's/^/| /' conftest.$ac_ext >&5
4480 # Broken: fails on valid input.
4484 rm -f conftest.err conftest.$ac_ext
4486 # OK, works on sane cases. Now check whether nonexistent headers
4487 # can be detected and how.
4488 cat >conftest.$ac_ext <<_ACEOF
4491 cat confdefs.h >>conftest.$ac_ext
4492 cat >>conftest.$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4494 #include <ac_nonexistent.h>
4496 if { (ac_try="$ac_cpp conftest.$ac_ext"
4498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4499 *) ac_try_echo
=$ac_try;;
4501 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4502 $as_echo "$ac_try_echo") >&5
4503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4505 grep -v '^ *+' conftest.er1
>conftest.err
4507 cat conftest.err
>&5
4508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4509 (exit $ac_status); } >/dev
/null
&& {
4510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4511 test ! -s conftest.err
4513 # Broken: success on invalid input.
4516 $as_echo "$as_me: failed program was:" >&5
4517 sed 's/^/| /' conftest.
$ac_ext >&5
4519 # Passes both tests.
4524 rm -f conftest.err conftest.
$ac_ext
4527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4528 rm -f conftest.err conftest.
$ac_ext
4529 if $ac_preproc_ok; then
4541 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4542 $as_echo "$CPP" >&6; }
4544 for ac_c_preproc_warn_flag
in '' yes
4546 # Use a header file that comes with gcc, so configuring glibc
4547 # with a fresh cross-compiler works.
4548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4549 # <limits.h> exists even on freestanding compilers.
4550 # On the NeXT, cc -E runs the code through the compiler's parser,
4551 # not just through cpp. "Syntax error" is here to catch this case.
4552 cat >conftest.
$ac_ext <<_ACEOF
4555 cat confdefs.h
>>conftest.
$ac_ext
4556 cat >>conftest.
$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4559 # include <limits.h>
4561 # include <assert.h>
4565 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4567 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4568 *) ac_try_echo=$ac_try;;
4570 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4571 $as_echo "$ac_try_echo") >&5
4572 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4574 grep -v '^ *+' conftest.er1 >conftest.err
4576 cat conftest.err >&5
4577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); } >/dev/null && {
4579 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4580 test ! -s conftest.err
4584 $as_echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4587 # Broken: fails on valid input.
4591 rm -f conftest.err conftest.$ac_ext
4593 # OK, works on sane cases. Now check whether nonexistent headers
4594 # can be detected and how.
4595 cat >conftest.$ac_ext <<_ACEOF
4598 cat confdefs.h >>conftest.$ac_ext
4599 cat >>conftest.$ac_ext <<_ACEOF
4600 /* end confdefs.h. */
4601 #include <ac_nonexistent.h>
4603 if { (ac_try="$ac_cpp conftest.$ac_ext"
4605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4606 *) ac_try_echo
=$ac_try;;
4608 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4609 $as_echo "$ac_try_echo") >&5
4610 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4612 grep -v '^ *+' conftest.er1
>conftest.err
4614 cat conftest.err
>&5
4615 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); } >/dev
/null
&& {
4617 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4618 test ! -s conftest.err
4620 # Broken: success on invalid input.
4623 $as_echo "$as_me: failed program was:" >&5
4624 sed 's/^/| /' conftest.
$ac_ext >&5
4626 # Passes both tests.
4631 rm -f conftest.err conftest.
$ac_ext
4634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4635 rm -f conftest.err conftest.
$ac_ext
4636 if $ac_preproc_ok; then
4639 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4641 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4642 See \`config.log' for more details." >&5
4643 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4644 See \`config.log' for more details." >&2;}
4645 { (exit 1); exit 1; }; }; }
4649 ac_cpp
='$CPP $CPPFLAGS'
4650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4655 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4656 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4657 if test "${ac_cv_path_GREP+set}" = set; then
4658 $as_echo_n "(cached) " >&6
4660 if test -z "$GREP"; then
4661 ac_path_GREP_found
=false
4662 # Loop through the user's path and test for each of PROGNAME-LIST
4663 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4667 test -z "$as_dir" && as_dir
=.
4668 for ac_prog
in grep ggrep
; do
4669 for ac_exec_ext
in '' $ac_executable_extensions; do
4670 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4671 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4672 # Check for GNU ac_path_GREP and select it if it is found.
4673 # Check for GNU $ac_path_GREP
4674 case `"$ac_path_GREP" --version 2>&1` in
4676 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4679 $as_echo_n 0123456789 >"conftest.in"
4682 cat "conftest.in" "conftest.in" >"conftest.tmp"
4683 mv "conftest.tmp" "conftest.in"
4684 cp "conftest.in" "conftest.nl"
4685 $as_echo 'GREP' >> "conftest.nl"
4686 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4687 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4688 ac_count
=`expr $ac_count + 1`
4689 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4690 # Best one so far, save it but keep looking for a better one
4691 ac_cv_path_GREP
="$ac_path_GREP"
4692 ac_path_GREP_max
=$ac_count
4694 # 10*(2^10) chars as input seems more than enough
4695 test $ac_count -gt 10 && break
4697 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4700 $ac_path_GREP_found && break 3
4705 if test -z "$ac_cv_path_GREP"; then
4706 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4707 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4708 { (exit 1); exit 1; }; }
4711 ac_cv_path_GREP
=$GREP
4715 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4716 $as_echo "$ac_cv_path_GREP" >&6; }
4717 GREP
="$ac_cv_path_GREP"
4720 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4721 $as_echo_n "checking for egrep... " >&6; }
4722 if test "${ac_cv_path_EGREP+set}" = set; then
4723 $as_echo_n "(cached) " >&6
4725 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4726 then ac_cv_path_EGREP
="$GREP -E"
4728 if test -z "$EGREP"; then
4729 ac_path_EGREP_found
=false
4730 # Loop through the user's path and test for each of PROGNAME-LIST
4731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4735 test -z "$as_dir" && as_dir
=.
4736 for ac_prog
in egrep; do
4737 for ac_exec_ext
in '' $ac_executable_extensions; do
4738 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4739 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4740 # Check for GNU ac_path_EGREP and select it if it is found.
4741 # Check for GNU $ac_path_EGREP
4742 case `"$ac_path_EGREP" --version 2>&1` in
4744 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4747 $as_echo_n 0123456789 >"conftest.in"
4750 cat "conftest.in" "conftest.in" >"conftest.tmp"
4751 mv "conftest.tmp" "conftest.in"
4752 cp "conftest.in" "conftest.nl"
4753 $as_echo 'EGREP' >> "conftest.nl"
4754 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4755 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4756 ac_count
=`expr $ac_count + 1`
4757 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4758 # Best one so far, save it but keep looking for a better one
4759 ac_cv_path_EGREP
="$ac_path_EGREP"
4760 ac_path_EGREP_max
=$ac_count
4762 # 10*(2^10) chars as input seems more than enough
4763 test $ac_count -gt 10 && break
4765 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4768 $ac_path_EGREP_found && break 3
4773 if test -z "$ac_cv_path_EGREP"; then
4774 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4775 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4776 { (exit 1); exit 1; }; }
4779 ac_cv_path_EGREP
=$EGREP
4784 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4785 $as_echo "$ac_cv_path_EGREP" >&6; }
4786 EGREP
="$ac_cv_path_EGREP"
4789 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4790 $as_echo_n "checking for ANSI C header files... " >&6; }
4791 if test "${ac_cv_header_stdc+set}" = set; then
4792 $as_echo_n "(cached) " >&6
4794 cat >conftest.
$ac_ext <<_ACEOF
4797 cat confdefs.h
>>conftest.
$ac_ext
4798 cat >>conftest.
$ac_ext <<_ACEOF
4799 /* end confdefs.h. */
4813 rm -f conftest.
$ac_objext
4814 if { (ac_try
="$ac_compile"
4816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4817 *) ac_try_echo=$ac_try;;
4819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4820 $as_echo "$ac_try_echo") >&5
4821 (eval "$ac_compile") 2>conftest.er1
4823 grep -v '^ *+' conftest.er1 >conftest.err
4825 cat conftest.err >&5
4826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } && {
4828 test -z "$ac_c_werror_flag" ||
4829 test ! -s conftest.err
4830 } && test -s conftest.$ac_objext; then
4831 ac_cv_header_stdc=yes
4833 $as_echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.$ac_ext >&5
4836 ac_cv_header_stdc=no
4839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4841 if test $ac_cv_header_stdc = yes; then
4842 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4843 cat >conftest.$ac_ext <<_ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4853 $EGREP "memchr" >/dev/null 2>&1; then
4856 ac_cv_header_stdc=no
4862 if test $ac_cv_header_stdc = yes; then
4863 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4864 cat >conftest.$ac_ext <<_ACEOF
4867 cat confdefs.h >>conftest.$ac_ext
4868 cat >>conftest.$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4874 $EGREP "free" >/dev/null 2>&1; then
4877 ac_cv_header_stdc=no
4883 if test $ac_cv_header_stdc = yes; then
4884 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4885 if test "$cross_compiling" = yes; then
4888 cat >conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4896 #if ((' ' & 0x0FF) == 0x020)
4897 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4898 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4900 # define ISLOWER(c) \
4901 (('a' <= (c) && (c) <= 'i') \
4902 || ('j' <= (c) && (c) <= 'r') \
4903 || ('s' <= (c) && (c) <= 'z'))
4904 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4907 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4912 for (i = 0; i < 256; i++)
4913 if (XOR (islower (i), ISLOWER (i))
4914 || toupper (i) != TOUPPER (i))
4919 rm -f conftest$ac_exeext
4920 if { (ac_try="$ac_link"
4922 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4923 *) ac_try_echo
=$ac_try;;
4925 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4926 $as_echo "$ac_try_echo") >&5
4927 (eval "$ac_link") 2>&5
4929 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4931 { (case "(($ac_try" in
4932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4933 *) ac_try_echo=$ac_try;;
4935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4936 $as_echo "$ac_try_echo") >&5
4937 (eval "$ac_try") 2>&5
4939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; }; then
4943 $as_echo "$as_me: program exited with status $ac_status" >&5
4944 $as_echo "$as_me: failed program was:" >&5
4945 sed 's/^/| /' conftest.$ac_ext >&5
4948 ac_cv_header_stdc=no
4950 rm -rf conftest.dSYM
4951 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4957 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4958 $as_echo "$ac_cv_header_stdc" >&6; }
4959 if test $ac_cv_header_stdc = yes; then
4961 cat >>confdefs.h <<\_ACEOF
4962 #define STDC_HEADERS 1
4967 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4977 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4978 inttypes.h stdint.h unistd.h
4980 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4981 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4982 $as_echo_n "checking for $ac_header... " >&6; }
4983 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4984 $as_echo_n "(cached) " >&6
4986 cat >conftest.$ac_ext <<_ACEOF
4989 cat confdefs.h >>conftest.$ac_ext
4990 cat >>conftest.$ac_ext <<_ACEOF
4991 /* end confdefs.h. */
4992 $ac_includes_default
4994 #include <$ac_header>
4996 rm -f conftest.$ac_objext
4997 if { (ac_try="$ac_compile"
4999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5000 *) ac_try_echo
=$ac_try;;
5002 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5003 $as_echo "$ac_try_echo") >&5
5004 (eval "$ac_compile") 2>conftest.er1
5006 grep -v '^ *+' conftest.er1
>conftest.err
5008 cat conftest.err
>&5
5009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); } && {
5011 test -z "$ac_c_werror_flag" ||
5012 test ! -s conftest.err
5013 } && test -s conftest.
$ac_objext; then
5014 eval "$as_ac_Header=yes"
5016 $as_echo "$as_me: failed program was:" >&5
5017 sed 's/^/| /' conftest.
$ac_ext >&5
5019 eval "$as_ac_Header=no"
5022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5024 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5025 $as_echo "$as_val"'`
5026 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5027 $as_echo "$ac_res" >&6; }
5028 as_val
=`eval 'as_val=${'$as_ac_Header'}
5029 $as_echo "$as_val"'`
5030 if test "x$as_val" = x
""yes; then
5031 cat >>confdefs.h
<<_ACEOF
5032 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5040 { $as_echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
5041 $as_echo_n "checking whether strerror_r is declared... " >&6; }
5042 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
5043 $as_echo_n "(cached) " >&6
5045 cat >conftest.
$ac_ext <<_ACEOF
5048 cat confdefs.h
>>conftest.
$ac_ext
5049 cat >>conftest.
$ac_ext <<_ACEOF
5050 /* end confdefs.h. */
5051 $ac_includes_default
5063 rm -f conftest.
$ac_objext
5064 if { (ac_try
="$ac_compile"
5066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5067 *) ac_try_echo=$ac_try;;
5069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5070 $as_echo "$ac_try_echo") >&5
5071 (eval "$ac_compile") 2>conftest.er1
5073 grep -v '^ *+' conftest.er1 >conftest.err
5075 cat conftest.err >&5
5076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } && {
5078 test -z "$ac_c_werror_flag" ||
5079 test ! -s conftest.err
5080 } && test -s conftest.$ac_objext; then
5081 ac_cv_have_decl_strerror_r=yes
5083 $as_echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.$ac_ext >&5
5086 ac_cv_have_decl_strerror_r=no
5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5091 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
5092 $as_echo "$ac_cv_have_decl_strerror_r" >&6; }
5093 if test "x$ac_cv_have_decl_strerror_r" = x""yes; then
5095 cat >>confdefs.h <<_ACEOF
5096 #define HAVE_DECL_STRERROR_R 1
5101 cat >>confdefs.h <<_ACEOF
5102 #define HAVE_DECL_STRERROR_R 0
5110 for ac_func in strerror_r
5112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
5113 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5114 $as_echo_n "checking for $ac_func... " >&6; }
5115 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5116 $as_echo_n "(cached) " >&6
5118 cat >conftest.$ac_ext <<_ACEOF
5121 cat confdefs.h >>conftest.$ac_ext
5122 cat >>conftest.$ac_ext <<_ACEOF
5123 /* end confdefs.h. */
5124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5126 #define $ac_func innocuous_$ac_func
5128 /* System header to define __stub macros and hopefully few prototypes,
5129 which can conflict with char $ac_func (); below.
5130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5131 <limits.h> exists even on freestanding compilers. */
5134 # include <limits.h>
5136 # include <assert.h>
5141 /* Override any GCC internal prototype to avoid an error.
5142 Use char because int might match the return type of a GCC
5143 builtin and then its argument prototype would still apply. */
5148 /* The GNU C library defines this for functions which it implements
5149 to always fail with ENOSYS. Some functions are actually named
5150 something starting with __ and the normal name is an alias. */
5151 #if defined __stub_$ac_func || defined __stub___$ac_func
5163 rm -f conftest.$ac_objext conftest$ac_exeext
5164 if { (ac_try="$ac_link"
5166 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5167 *) ac_try_echo
=$ac_try;;
5169 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5170 $as_echo "$ac_try_echo") >&5
5171 (eval "$ac_link") 2>conftest.er1
5173 grep -v '^ *+' conftest.er1
>conftest.err
5175 cat conftest.err
>&5
5176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5177 (exit $ac_status); } && {
5178 test -z "$ac_c_werror_flag" ||
5179 test ! -s conftest.err
5180 } && test -s conftest
$ac_exeext && {
5181 test "$cross_compiling" = yes ||
5182 $as_test_x conftest
$ac_exeext
5184 eval "$as_ac_var=yes"
5186 $as_echo "$as_me: failed program was:" >&5
5187 sed 's/^/| /' conftest.
$ac_ext >&5
5189 eval "$as_ac_var=no"
5192 rm -rf conftest.dSYM
5193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5194 conftest
$ac_exeext conftest.
$ac_ext
5196 ac_res
=`eval 'as_val=${'$as_ac_var'}
5197 $as_echo "$as_val"'`
5198 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5199 $as_echo "$ac_res" >&6; }
5200 as_val
=`eval 'as_val=${'$as_ac_var'}
5201 $as_echo "$as_val"'`
5202 if test "x$as_val" = x
""yes; then
5203 cat >>confdefs.h
<<_ACEOF
5204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5210 { $as_echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
5211 $as_echo_n "checking whether strerror_r returns char *... " >&6; }
5212 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
5213 $as_echo_n "(cached) " >&6
5216 ac_cv_func_strerror_r_char_p
=no
5217 if test $ac_cv_have_decl_strerror_r = yes; then
5218 cat >conftest.
$ac_ext <<_ACEOF
5221 cat confdefs.h
>>conftest.
$ac_ext
5222 cat >>conftest.
$ac_ext <<_ACEOF
5223 /* end confdefs.h. */
5224 $ac_includes_default
5230 char x = *strerror_r (0, buf, sizeof buf);
5231 char *p = strerror_r (0, buf, sizeof buf);
5238 rm -f conftest.
$ac_objext
5239 if { (ac_try
="$ac_compile"
5241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5242 *) ac_try_echo=$ac_try;;
5244 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5245 $as_echo "$ac_try_echo") >&5
5246 (eval "$ac_compile") 2>conftest.er1
5248 grep -v '^ *+' conftest.er1 >conftest.err
5250 cat conftest.err >&5
5251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); } && {
5253 test -z "$ac_c_werror_flag" ||
5254 test ! -s conftest.err
5255 } && test -s conftest.$ac_objext; then
5256 ac_cv_func_strerror_r_char_p=yes
5258 $as_echo "$as_me: failed program was:" >&5
5259 sed 's/^/| /' conftest.$ac_ext >&5
5264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5266 # strerror_r is not declared. Choose between
5267 # systems that have relatively inaccessible declarations for the
5268 # function. BeOS and DEC UNIX 4.0 fall in this category, but the
5269 # former has a strerror_r that returns char*, while the latter
5270 # has a strerror_r that returns `int
'.
5271 # This test should segfault on the DEC system.
5272 if test "$cross_compiling" = yes; then
5275 cat >conftest.$ac_ext <<_ACEOF
5278 cat confdefs.h >>conftest.$ac_ext
5279 cat >>conftest.$ac_ext <<_ACEOF
5280 /* end confdefs.h. */
5281 $ac_includes_default
5282 extern char *strerror_r ();
5287 char x = *strerror_r (0, buf, sizeof buf);
5288 return ! isalpha (x);
5293 rm -f conftest$ac_exeext
5294 if { (ac_try="$ac_link"
5296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5297 *) ac_try_echo=$ac_try;;
5299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5300 $as_echo "$ac_try_echo") >&5
5301 (eval "$ac_link") 2>&5
5303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
5305 { (case "(($ac_try" in
5306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5307 *) ac_try_echo=$ac_try;;
5309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5310 $as_echo "$ac_try_echo") >&5
5311 (eval "$ac_try") 2>&5
5313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); }; }; then
5315 ac_cv_func_strerror_r_char_p=yes
5317 $as_echo "$as_me: program exited with status $ac_status" >&5
5318 $as_echo "$as_me: failed program was:" >&5
5319 sed 's
/^
/|
/' conftest.$ac_ext >&5
5322 rm -rf conftest.dSYM
5323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5330 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
5331 $as_echo "$ac_cv_func_strerror_r_char_p" >&6; }
5332 if test $ac_cv_func_strerror_r_char_p = yes; then
5334 cat >>confdefs.h <<\_ACEOF
5335 #define STRERROR_R_CHAR_P 1
5342 for ac_header in execinfo.h
5344 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5345 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5346 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5347 $as_echo_n "checking for $ac_header... " >&6; }
5348 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5349 $as_echo_n "(cached) " >&6
5351 ac_res=`eval 'as_val
=${'$as_ac_Header'}
5352 $as_echo "$as_val"'`
5353 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5354 $as_echo "$ac_res" >&6; }
5356 # Is the header compilable?
5357 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5358 $as_echo_n "checking $ac_header usability... " >&6; }
5359 cat >conftest.$ac_ext <<_ACEOF
5362 cat confdefs.h >>conftest.$ac_ext
5363 cat >>conftest.$ac_ext <<_ACEOF
5364 /* end confdefs.h. */
5365 $ac_includes_default
5366 #include <$ac_header>
5368 rm -f conftest.$ac_objext
5369 if { (ac_try="$ac_compile"
5371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5372 *) ac_try_echo=$ac_try;;
5374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5375 $as_echo "$ac_try_echo") >&5
5376 (eval "$ac_compile") 2>conftest.er1
5378 grep -v '^
*+' conftest.er1 >conftest.err
5380 cat conftest.err >&5
5381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); } && {
5383 test -z "$ac_c_werror_flag" ||
5384 test ! -s conftest.err
5385 } && test -s conftest.$ac_objext; then
5386 ac_header_compiler=yes
5388 $as_echo "$as_me: failed program was:" >&5
5389 sed 's
/^
/|
/' conftest.$ac_ext >&5
5391 ac_header_compiler=no
5394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5395 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5396 $as_echo "$ac_header_compiler" >&6; }
5398 # Is the header present?
5399 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5400 $as_echo_n "checking $ac_header presence... " >&6; }
5401 cat >conftest.$ac_ext <<_ACEOF
5404 cat confdefs.h >>conftest.$ac_ext
5405 cat >>conftest.$ac_ext <<_ACEOF
5406 /* end confdefs.h. */
5407 #include <$ac_header>
5409 if { (ac_try="$ac_cpp conftest.$ac_ext"
5411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5412 *) ac_try_echo=$ac_try;;
5414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5415 $as_echo "$ac_try_echo") >&5
5416 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5418 grep -v '^
*+' conftest.er1 >conftest.err
5420 cat conftest.err >&5
5421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); } >/dev/null && {
5423 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5424 test ! -s conftest.err
5426 ac_header_preproc=yes
5428 $as_echo "$as_me: failed program was:" >&5
5429 sed 's
/^
/|
/' conftest.$ac_ext >&5
5431 ac_header_preproc=no
5434 rm -f conftest.err conftest.$ac_ext
5435 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5436 $as_echo "$ac_header_preproc" >&6; }
5438 # So? What about this header?
5439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5442 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5443 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result
" >&5
5444 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the compiler
's result" >&2;}
5445 ac_header_preproc=yes
5448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5449 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5451 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5452 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5453 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5454 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5455 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5456 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result
" >&5
5457 $as_echo "$as_me: WARNING
: $ac_header: proceeding with the preprocessor
's result" >&2;}
5458 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5459 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5461 ## ------------------------------- ##
5462 ## Report this to gmarcais@umd.edu ##
5463 ## ------------------------------- ##
5465 ) | sed "s/^/$as_me: WARNING: /" >&2
5468 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5469 $as_echo_n "checking for $ac_header... " >&6; }
5470 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5471 $as_echo_n "(cached) " >&6
5473 eval "$as_ac_Header=\$ac_header_preproc"
5475 ac_res=`eval 'as_val
=${'$as_ac_Header'}
5476 $as_echo "$as_val"'`
5477 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5478 $as_echo "$ac_res" >&6; }
5481 as_val=`eval 'as_val
=${'$as_ac_Header'}
5482 $as_echo "$as_val"'`
5483 if test "x$as_val" = x""yes; then
5484 cat >>confdefs.h <<_ACEOF
5485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5493 { $as_echo "$as_me:$LINENO: checking for siginfo_t.si_int" >&5
5494 $as_echo_n "checking for siginfo_t.si_int... " >&6; }
5495 if test "${ac_cv_member_siginfo_t_si_int+set}" = set; then
5496 $as_echo_n "(cached) " >&6
5498 cat >conftest.$ac_ext <<_ACEOF
5501 cat confdefs.h >>conftest.$ac_ext
5502 cat >>conftest.$ac_ext <<_ACEOF
5503 /* end confdefs.h. */
5509 static siginfo_t ac_aggr;
5516 rm -f conftest.$ac_objext
5517 if { (ac_try="$ac_compile"
5519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5520 *) ac_try_echo=$ac_try;;
5522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5523 $as_echo "$ac_try_echo") >&5
5524 (eval "$ac_compile") 2>conftest.er1
5526 grep -v '^
*+' conftest.er1 >conftest.err
5528 cat conftest.err >&5
5529 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); } && {
5531 test -z "$ac_c_werror_flag" ||
5532 test ! -s conftest.err
5533 } && test -s conftest.$ac_objext; then
5534 ac_cv_member_siginfo_t_si_int=yes
5536 $as_echo "$as_me: failed program was:" >&5
5537 sed 's
/^
/|
/' conftest.$ac_ext >&5
5539 cat >conftest.$ac_ext <<_ACEOF
5542 cat confdefs.h >>conftest.$ac_ext
5543 cat >>conftest.$ac_ext <<_ACEOF
5544 /* end confdefs.h. */
5550 static siginfo_t ac_aggr;
5551 if (sizeof ac_aggr.si_int)
5557 rm -f conftest.$ac_objext
5558 if { (ac_try="$ac_compile"
5560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5561 *) ac_try_echo=$ac_try;;
5563 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5564 $as_echo "$ac_try_echo") >&5
5565 (eval "$ac_compile") 2>conftest.er1
5567 grep -v '^
*+' conftest.er1 >conftest.err
5569 cat conftest.err >&5
5570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); } && {
5572 test -z "$ac_c_werror_flag" ||
5573 test ! -s conftest.err
5574 } && test -s conftest.$ac_objext; then
5575 ac_cv_member_siginfo_t_si_int=yes
5577 $as_echo "$as_me: failed program was:" >&5
5578 sed 's
/^
/|
/' conftest.$ac_ext >&5
5580 ac_cv_member_siginfo_t_si_int=no
5583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5588 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_int" >&5
5589 $as_echo "$ac_cv_member_siginfo_t_si_int" >&6; }
5590 if test "x$ac_cv_member_siginfo_t_si_int" = x""yes; then
5592 cat >>confdefs.h <<\_ACEOF
5593 #define HAVE_SI_INT 1
5601 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5602 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5607 macro_version='2.2.6b
'
5608 macro_revision='1.3017'
5622 ltmain="$ac_aux_dir/ltmain.sh"
5624 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5625 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5626 if test "${ac_cv_path_SED+set}" = set; then
5627 $as_echo_n "(cached) " >&6
5629 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5630 for ac_i in 1 2 3 4 5 6 7; do
5631 ac_script="$ac_script$as_nl$ac_script"
5633 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5634 $as_unset ac_script || ac_script=
5635 if test -z "$SED"; then
5636 ac_path_SED_found=false
5637 # Loop through the user's path and
test for each of PROGNAME-LIST
5638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir
=.
5643 for ac_prog
in sed gsed
; do
5644 for ac_exec_ext
in '' $ac_executable_extensions; do
5645 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5646 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
5647 # Check for GNU ac_path_SED and select it if it is found.
5648 # Check for GNU $ac_path_SED
5649 case `"$ac_path_SED" --version 2>&1` in
5651 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5654 $as_echo_n 0123456789 >"conftest.in"
5657 cat "conftest.in" "conftest.in" >"conftest.tmp"
5658 mv "conftest.tmp" "conftest.in"
5659 cp "conftest.in" "conftest.nl"
5660 $as_echo '' >> "conftest.nl"
5661 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5662 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5663 ac_count
=`expr $ac_count + 1`
5664 if test $ac_count -gt ${ac_path_SED_max-0}; then
5665 # Best one so far, save it but keep looking for a better one
5666 ac_cv_path_SED
="$ac_path_SED"
5667 ac_path_SED_max
=$ac_count
5669 # 10*(2^10) chars as input seems more than enough
5670 test $ac_count -gt 10 && break
5672 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5675 $ac_path_SED_found && break 3
5680 if test -z "$ac_cv_path_SED"; then
5681 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5682 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5683 { (exit 1); exit 1; }; }
5690 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5691 $as_echo "$ac_cv_path_SED" >&6; }
5692 SED
="$ac_cv_path_SED"
5695 test -z "$SED" && SED
=sed
5696 Xsed
="$SED -e 1s/^X//"
5708 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5709 $as_echo_n "checking for fgrep... " >&6; }
5710 if test "${ac_cv_path_FGREP+set}" = set; then
5711 $as_echo_n "(cached) " >&6
5713 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5714 then ac_cv_path_FGREP
="$GREP -F"
5716 if test -z "$FGREP"; then
5717 ac_path_FGREP_found
=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5720 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5723 test -z "$as_dir" && as_dir
=.
5724 for ac_prog
in fgrep
; do
5725 for ac_exec_ext
in '' $ac_executable_extensions; do
5726 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } ||
continue
5728 # Check for GNU ac_path_FGREP and select it if it is found.
5729 # Check for GNU $ac_path_FGREP
5730 case `"$ac_path_FGREP" --version 2>&1` in
5732 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5735 $as_echo_n 0123456789 >"conftest.in"
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 $as_echo 'FGREP' >> "conftest.nl"
5742 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5743 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5744 ac_count
=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_FGREP
="$ac_path_FGREP"
5748 ac_path_FGREP_max
=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5753 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5756 $ac_path_FGREP_found && break 3
5761 if test -z "$ac_cv_path_FGREP"; then
5762 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5763 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5764 { (exit 1); exit 1; }; }
5767 ac_cv_path_FGREP
=$FGREP
5772 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5773 $as_echo "$ac_cv_path_FGREP" >&6; }
5774 FGREP
="$ac_cv_path_FGREP"
5777 test -z "$GREP" && GREP
=grep
5797 # Check whether --with-gnu-ld was given.
5798 if test "${with_gnu_ld+set}" = set; then
5799 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5805 if test "$GCC" = yes; then
5806 # Check if gcc -print-prog-name=ld gives a path.
5807 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5808 $as_echo_n "checking for ld used by $CC... " >&6; }
5811 # gcc leaves a trailing carriage return which upsets mingw
5812 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5814 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5817 # Accept absolute paths.
5819 re_direlt
='/[^/][^/]*/\.\./'
5820 # Canonicalize the pathname of ld
5821 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5822 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5823 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5825 test -z "$LD" && LD
="$ac_prog"
5828 # If it fails, then pretend we aren't using GCC.
5832 # If it is relative, then search for the first ld in PATH.
5836 elif test "$with_gnu_ld" = yes; then
5837 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5838 $as_echo_n "checking for GNU ld... " >&6; }
5840 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5841 $as_echo_n "checking for non-GNU ld... " >&6; }
5843 if test "${lt_cv_path_LD+set}" = set; then
5844 $as_echo_n "(cached) " >&6
5846 if test -z "$LD"; then
5847 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5848 for ac_dir
in $PATH; do
5850 test -z "$ac_dir" && ac_dir
=.
5851 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5852 lt_cv_path_LD
="$ac_dir/$ac_prog"
5853 # Check to see if the program is GNU ld. I'd rather use --version,
5854 # but apparently some variants of GNU ld only accept -v.
5855 # Break only if it was the GNU/non-GNU ld that we prefer.
5856 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5857 *GNU
* |
*'with BFD'*)
5858 test "$with_gnu_ld" != no
&& break
5861 test "$with_gnu_ld" != yes && break
5868 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5873 if test -n "$LD"; then
5874 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5875 $as_echo "$LD" >&6; }
5877 { $as_echo "$as_me:$LINENO: result: no" >&5
5878 $as_echo "no" >&6; }
5880 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5881 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5882 { (exit 1); exit 1; }; }
5883 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5884 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5885 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5886 $as_echo_n "(cached) " >&6
5888 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5889 case `$LD -v 2>&1 </dev/null` in
5890 *GNU
* |
*'with BFD'*)
5891 lt_cv_prog_gnu_ld
=yes
5894 lt_cv_prog_gnu_ld
=no
5898 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5899 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5900 with_gnu_ld
=$lt_cv_prog_gnu_ld
5910 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5911 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5912 if test "${lt_cv_path_NM+set}" = set; then
5913 $as_echo_n "(cached) " >&6
5915 if test -n "$NM"; then
5916 # Let the user override the test.
5919 lt_nm_to_check
="${ac_tool_prefix}nm"
5920 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5921 lt_nm_to_check
="$lt_nm_to_check nm"
5923 for lt_tmp_nm
in $lt_nm_to_check; do
5924 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5925 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5927 test -z "$ac_dir" && ac_dir
=.
5928 tmp_nm
="$ac_dir/$lt_tmp_nm"
5929 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5930 # Check to see if the nm accepts a BSD-compat flag.
5931 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5932 # nm: unknown option "B" ignored
5933 # Tru64's nm complains that /dev/null is an invalid object file
5934 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5935 */dev
/null
* |
*'Invalid file or object type'*)
5936 lt_cv_path_NM
="$tmp_nm -B"
5940 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5942 lt_cv_path_NM
="$tmp_nm -p"
5946 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5947 continue # so that we can try to find one that supports BSD flags
5956 : ${lt_cv_path_NM=no}
5959 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5960 $as_echo "$lt_cv_path_NM" >&6; }
5961 if test "$lt_cv_path_NM" != "no"; then
5964 # Didn't find any BSD compatible name lister, look for dumpbin.
5965 if test -n "$ac_tool_prefix"; then
5966 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5968 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5969 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5971 $as_echo_n "checking for $ac_word... " >&6; }
5972 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5973 $as_echo_n "(cached) " >&6
5975 if test -n "$DUMPBIN"; then
5976 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5982 test -z "$as_dir" && as_dir
=.
5983 for ac_exec_ext
in '' $ac_executable_extensions; do
5984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5985 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5986 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 DUMPBIN
=$ac_cv_prog_DUMPBIN
5996 if test -n "$DUMPBIN"; then
5997 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5998 $as_echo "$DUMPBIN" >&6; }
6000 { $as_echo "$as_me:$LINENO: result: no" >&5
6001 $as_echo "no" >&6; }
6005 test -n "$DUMPBIN" && break
6008 if test -z "$DUMPBIN"; then
6009 ac_ct_DUMPBIN
=$DUMPBIN
6010 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
6012 # Extract the first word of "$ac_prog", so it can be a program name with args.
6013 set dummy
$ac_prog; ac_word
=$2
6014 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6015 $as_echo_n "checking for $ac_word... " >&6; }
6016 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
6017 $as_echo_n "(cached) " >&6
6019 if test -n "$ac_ct_DUMPBIN"; then
6020 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6026 test -z "$as_dir" && as_dir
=.
6027 for ac_exec_ext
in '' $ac_executable_extensions; do
6028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6029 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6030 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6039 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6040 if test -n "$ac_ct_DUMPBIN"; then
6041 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
6042 $as_echo "$ac_ct_DUMPBIN" >&6; }
6044 { $as_echo "$as_me:$LINENO: result: no" >&5
6045 $as_echo "no" >&6; }
6049 test -n "$ac_ct_DUMPBIN" && break
6052 if test "x$ac_ct_DUMPBIN" = x
; then
6055 case $cross_compiling:$ac_tool_warned in
6057 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6058 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6059 ac_tool_warned
=yes ;;
6061 DUMPBIN
=$ac_ct_DUMPBIN
6066 if test "$DUMPBIN" != ":"; then
6070 test -z "$NM" && NM
=nm
6077 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
6078 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6079 if test "${lt_cv_nm_interface+set}" = set; then
6080 $as_echo_n "(cached) " >&6
6082 lt_cv_nm_interface
="BSD nm"
6083 echo "int some_variable = 0;" > conftest.
$ac_ext
6084 (eval echo "\"\$as_me:6084: $ac_compile\"" >&5)
6085 (eval "$ac_compile" 2>conftest.err
)
6086 cat conftest.err
>&5
6087 (eval echo "\"\$as_me:6087: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6088 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6089 cat conftest.err
>&5
6090 (eval echo "\"\$as_me:6090: output\"" >&5)
6091 cat conftest.out
>&5
6092 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6093 lt_cv_nm_interface
="MS dumpbin"
6097 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
6098 $as_echo "$lt_cv_nm_interface" >&6; }
6100 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
6101 $as_echo_n "checking whether ln -s works... " >&6; }
6103 if test "$LN_S" = "ln -s"; then
6104 { $as_echo "$as_me:$LINENO: result: yes" >&5
6105 $as_echo "yes" >&6; }
6107 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6108 $as_echo "no, using $LN_S" >&6; }
6111 # find the maximum length of command line arguments
6112 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6113 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6114 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6115 $as_echo_n "(cached) " >&6
6122 # On DJGPP, this test can blow up pretty badly due to problems in libc
6123 # (any single argument exceeding 2000 bytes causes a buffer overrun
6124 # during glob expansion). Even if it were fixed, the result of this
6125 # check would be larger than it should be.
6126 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6130 # Under GNU Hurd, this test is not required because there is
6131 # no limit to the length of command line arguments.
6132 # Libtool will interpret -1 as no limit whatsoever
6133 lt_cv_sys_max_cmd_len
=-1;
6136 cygwin
* | mingw
* | cegcc
*)
6137 # On Win9x/ME, this test blows up -- it succeeds, but takes
6138 # about 5 minutes as the teststring grows exponentially.
6139 # Worse, since 9x/ME are not pre-emptively multitasking,
6140 # you end up with a "frozen" computer, even though with patience
6141 # the test eventually succeeds (with a max line length of 256k).
6142 # Instead, let's just punt: use the minimum linelength reported by
6143 # all of the supported platforms: 8192 (on NT/2K/XP).
6144 lt_cv_sys_max_cmd_len
=8192;
6148 # On AmigaOS with pdksh, this test takes hours, literally.
6149 # So we just punt and use a minimum line length of 8192.
6150 lt_cv_sys_max_cmd_len
=8192;
6153 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6154 # This has been around since 386BSD, at least. Likely further.
6155 if test -x /sbin
/sysctl
; then
6156 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6157 elif test -x /usr
/sbin
/sysctl
; then
6158 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6160 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6162 # And add a safety zone
6163 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6164 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6168 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6169 lt_cv_sys_max_cmd_len
=196608
6173 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6174 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6175 # nice to cause kernel panics so lets avoid the loop below.
6176 # First set a reasonable default.
6177 lt_cv_sys_max_cmd_len
=16384
6179 if test -x /sbin
/sysconfig
; then
6180 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6181 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6186 lt_cv_sys_max_cmd_len
=102400
6188 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6189 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6190 if test -n "$kargmax"; then
6191 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6193 lt_cv_sys_max_cmd_len
=32768
6197 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6198 if test -n "$lt_cv_sys_max_cmd_len"; then
6199 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6200 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6202 # Make teststring a little bigger before we do anything with it.
6203 # a 1K string should be a reasonable start.
6204 for i
in 1 2 3 4 5 6 7 8 ; do
6205 teststring
=$teststring$teststring
6207 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6208 # If test is not a shell built-in, we'll probably end up computing a
6209 # maximum length that is only half of the actual maximum length, but
6211 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6212 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
6213 test $i != 17 # 1/2 MB should be enough
6216 teststring
=$teststring$teststring
6218 # Only check the string length outside the loop.
6219 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6221 # Add a significant safety factor because C++ compilers can tack on
6222 # massive amounts of additional arguments before passing them to the
6223 # linker. It appears as though 1/2 is a usable value.
6224 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6231 if test -n $lt_cv_sys_max_cmd_len ; then
6232 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6233 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6235 { $as_echo "$as_me:$LINENO: result: none" >&5
6236 $as_echo "none" >&6; }
6238 max_cmd_len
=$lt_cv_sys_max_cmd_len
6249 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
6250 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6251 # Try some XSI features
6254 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6256 && eval 'test $(( 1 + 1 )) -eq 2 \
6257 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6259 { $as_echo "$as_me:$LINENO: result
: $xsi_shell" >&5
6260 $as_echo "$xsi_shell" >&6; }
6263 { $as_echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
6264 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6266 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6268 && lt_shell_append=yes
6269 { $as_echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
6270 $as_echo "$lt_shell_append" >&6; }
6273 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6283 # test EBCDIC or ASCII
6284 case `echo X|tr X '\101'` in
6285 A) # ASCII based system
6286 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6287 lt_SP2NL='tr \040 \012'
6288 lt_NL2SP='tr \015\012 \040\040'
6290 *) # EBCDIC based system
6291 lt_SP2NL='tr \100 \n'
6292 lt_NL2SP='tr \r\n \100\100'
6304 { $as_echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
6305 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6306 if test "${lt_cv_ld_reload_flag+set}" = set; then
6307 $as_echo_n "(cached
) " >&6
6309 lt_cv_ld_reload_flag='-r'
6311 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
6312 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6313 reload_flag=$lt_cv_ld_reload_flag
6314 case $reload_flag in
6316 *) reload_flag=" $reload_flag" ;;
6318 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6321 if test "$GCC" = yes; then
6322 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6324 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6337 if test -n "$ac_tool_prefix"; then
6338 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6339 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6340 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6341 $as_echo_n "checking
for $ac_word...
" >&6; }
6342 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
6343 $as_echo_n "(cached
) " >&6
6345 if test -n "$OBJDUMP"; then
6346 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6352 test -z "$as_dir" && as_dir=.
6353 for ac_exec_ext in '' $ac_executable_extensions; do
6354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6356 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6365 OBJDUMP=$ac_cv_prog_OBJDUMP
6366 if test -n "$OBJDUMP"; then
6367 { $as_echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
6368 $as_echo "$OBJDUMP" >&6; }
6370 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6371 $as_echo "no
" >&6; }
6376 if test -z "$ac_cv_prog_OBJDUMP"; then
6377 ac_ct_OBJDUMP=$OBJDUMP
6378 # Extract the first word of "objdump
", so it can be a program name with args.
6379 set dummy objdump; ac_word=$2
6380 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6381 $as_echo_n "checking
for $ac_word...
" >&6; }
6382 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6383 $as_echo_n "(cached
) " >&6
6385 if test -n "$ac_ct_OBJDUMP"; then
6386 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6396 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6405 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6406 if test -n "$ac_ct_OBJDUMP"; then
6407 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
6408 $as_echo "$ac_ct_OBJDUMP" >&6; }
6410 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6411 $as_echo "no
" >&6; }
6414 if test "x
$ac_ct_OBJDUMP" = x; then
6417 case $cross_compiling:$ac_tool_warned in
6419 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6420 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6421 ac_tool_warned=yes ;;
6423 OBJDUMP=$ac_ct_OBJDUMP
6426 OBJDUMP="$ac_cv_prog_OBJDUMP"
6429 test -z "$OBJDUMP" && OBJDUMP=objdump
6439 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
6440 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6441 if test "${lt_cv_deplibs_check_method+set}" = set; then
6442 $as_echo_n "(cached
) " >&6
6444 lt_cv_file_magic_cmd='$MAGIC_CMD'
6445 lt_cv_file_magic_test_file=
6446 lt_cv_deplibs_check_method='unknown'
6447 # Need to set the preceding variable on all platforms that support
6448 # interlibrary dependencies.
6449 # 'none' -- dependencies not supported.
6450 # `unknown' -- same as none, but documents that we really don't know.
6451 # 'pass_all' -- all dependencies passed with no checks.
6452 # 'test_compile' -- check by making test program.
6453 # 'file_magic [[regex]]' -- check by looking for files in library path
6454 # which responds to the $file_magic_cmd with a given extended regex.
6455 # If you have `file' or equivalent on your system and you're not sure
6456 # whether `pass_all' will *always* work, you probably want this one.
6460 lt_cv_deplibs_check_method=pass_all
6464 lt_cv_deplibs_check_method=pass_all
6468 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6469 lt_cv_file_magic_cmd='/usr/bin/file -L'
6470 lt_cv_file_magic_test_file=/shlib/libc.so
6474 # func_win32_libid is a shell function defined in ltmain.sh
6475 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6476 lt_cv_file_magic_cmd='func_win32_libid'
6480 # Base MSYS/MinGW do not provide the 'file' command needed by
6481 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6482 # unless we find 'file', for example because we are cross-compiling.
6483 if ( file / ) >/dev/null 2>&1; then
6484 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6485 lt_cv_file_magic_cmd='func_win32_libid'
6487 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6488 lt_cv_file_magic_cmd='$OBJDUMP -f'
6493 # use the weaker test based on 'objdump'. See mingw*.
6494 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6495 lt_cv_file_magic_cmd='$OBJDUMP -f'
6498 darwin* | rhapsody*)
6499 lt_cv_deplibs_check_method=pass_all
6502 freebsd* | dragonfly*)
6503 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6506 # Not sure whether the presence of OpenBSD here was a mistake.
6507 # Let's accept both of them until this is cleared up.
6508 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6509 lt_cv_file_magic_cmd=/usr/bin/file
6510 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6514 lt_cv_deplibs_check_method=pass_all
6519 lt_cv_deplibs_check_method=pass_all
6522 hpux10.20* | hpux11*)
6523 lt_cv_file_magic_cmd=/usr/bin/file
6526 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6527 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6530 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]'
6531 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6534 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6535 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6541 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6542 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6545 irix5* | irix6* | nonstopux*)
6547 *-32|*"-32 ") libmagic=32-bit;;
6548 *-n32|*"-n32 ") libmagic=N32;;
6549 *-64|*"-64 ") libmagic=64-bit;;
6550 *) libmagic=never-match;;
6552 lt_cv_deplibs_check_method=pass_all
6555 # This must be Linux ELF.
6556 linux* | k*bsd*-gnu)
6557 lt_cv_deplibs_check_method=pass_all
6561 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6562 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6564 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6569 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6570 lt_cv_file_magic_cmd=/usr/bin/file
6571 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6575 lt_cv_deplibs_check_method=pass_all
6579 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6580 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6582 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6586 osf3* | osf4* | osf5*)
6587 lt_cv_deplibs_check_method=pass_all
6591 lt_cv_deplibs_check_method=pass_all
6595 lt_cv_deplibs_check_method=pass_all
6598 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6599 lt_cv_deplibs_check_method=pass_all
6603 case $host_vendor in
6605 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]'
6606 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6609 lt_cv_deplibs_check_method=pass_all
6612 lt_cv_file_magic_cmd='/bin/file'
6613 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6616 lt_cv_file_magic_cmd='/bin/file'
6617 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6618 lt_cv_file_magic_test_file=/lib/libc.so
6621 lt_cv_deplibs_check_method=pass_all
6624 lt_cv_deplibs_check_method=pass_all
6630 lt_cv_deplibs_check_method=pass_all
6635 { $as_echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
6636 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6637 file_magic_cmd=$lt_cv_file_magic_cmd
6638 deplibs_check_method=$lt_cv_deplibs_check_method
6639 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6652 if test -n "$ac_tool_prefix"; then
6653 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6654 set dummy ${ac_tool_prefix}ar; ac_word=$2
6655 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6656 $as_echo_n "checking
for $ac_word...
" >&6; }
6657 if test "${ac_cv_prog_AR+set}" = set; then
6658 $as_echo_n "(cached
) " >&6
6660 if test -n "$AR"; then
6661 ac_cv_prog_AR="$AR" # Let the user override the test.
6663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6667 test -z "$as_dir" && as_dir=.
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6670 ac_cv_prog_AR="${ac_tool_prefix}ar"
6671 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6681 if test -n "$AR"; then
6682 { $as_echo "$as_me:$LINENO: result
: $AR" >&5
6683 $as_echo "$AR" >&6; }
6685 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6686 $as_echo "no
" >&6; }
6691 if test -z "$ac_cv_prog_AR"; then
6693 # Extract the first word of "ar", so it can be a program name with args.
6694 set dummy ar; ac_word=$2
6695 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6696 $as_echo_n "checking
for $ac_word...
" >&6; }
6697 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6698 $as_echo_n "(cached
) " >&6
6700 if test -n "$ac_ct_AR"; then
6701 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 test -z "$as_dir" && as_dir=.
6708 for ac_exec_ext in '' $ac_executable_extensions; do
6709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6710 ac_cv_prog_ac_ct_AR="ar"
6711 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6720 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6721 if test -n "$ac_ct_AR"; then
6722 { $as_echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
6723 $as_echo "$ac_ct_AR" >&6; }
6725 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6726 $as_echo "no
" >&6; }
6729 if test "x
$ac_ct_AR" = x; then
6732 case $cross_compiling:$ac_tool_warned in
6734 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6735 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6736 ac_tool_warned=yes ;;
6744 test -z "$AR" && AR=ar
6745 test -z "$AR_FLAGS" && AR_FLAGS=cru
6757 if test -n "$ac_tool_prefix"; then
6758 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6759 set dummy ${ac_tool_prefix}strip; ac_word=$2
6760 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6761 $as_echo_n "checking
for $ac_word...
" >&6; }
6762 if test "${ac_cv_prog_STRIP+set}" = set; then
6763 $as_echo_n "(cached
) " >&6
6765 if test -n "$STRIP"; then
6766 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6772 test -z "$as_dir" && as_dir=.
6773 for ac_exec_ext in '' $ac_executable_extensions; do
6774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6775 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6776 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6785 STRIP=$ac_cv_prog_STRIP
6786 if test -n "$STRIP"; then
6787 { $as_echo "$as_me:$LINENO: result
: $STRIP" >&5
6788 $as_echo "$STRIP" >&6; }
6790 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6791 $as_echo "no
" >&6; }
6796 if test -z "$ac_cv_prog_STRIP"; then
6798 # Extract the first word of "strip
", so it can be a program name with args.
6799 set dummy strip; ac_word=$2
6800 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6801 $as_echo_n "checking
for $ac_word...
" >&6; }
6802 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6803 $as_echo_n "(cached
) " >&6
6805 if test -n "$ac_ct_STRIP"; then
6806 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6815 ac_cv_prog_ac_ct_STRIP="strip
"
6816 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6825 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6826 if test -n "$ac_ct_STRIP"; then
6827 { $as_echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
6828 $as_echo "$ac_ct_STRIP" >&6; }
6830 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6831 $as_echo "no
" >&6; }
6834 if test "x
$ac_ct_STRIP" = x; then
6837 case $cross_compiling:$ac_tool_warned in
6839 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6840 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6841 ac_tool_warned=yes ;;
6846 STRIP="$ac_cv_prog_STRIP"
6849 test -z "$STRIP" && STRIP=:
6856 if test -n "$ac_tool_prefix"; then
6857 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6858 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6859 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6860 $as_echo_n "checking
for $ac_word...
" >&6; }
6861 if test "${ac_cv_prog_RANLIB+set}" = set; then
6862 $as_echo_n "(cached
) " >&6
6864 if test -n "$RANLIB"; then
6865 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6874 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6875 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6884 RANLIB=$ac_cv_prog_RANLIB
6885 if test -n "$RANLIB"; then
6886 { $as_echo "$as_me:$LINENO: result
: $RANLIB" >&5
6887 $as_echo "$RANLIB" >&6; }
6889 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6890 $as_echo "no
" >&6; }
6895 if test -z "$ac_cv_prog_RANLIB"; then
6896 ac_ct_RANLIB=$RANLIB
6897 # Extract the first word of "ranlib
", so it can be a program name with args.
6898 set dummy ranlib; ac_word=$2
6899 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
6900 $as_echo_n "checking
for $ac_word...
" >&6; }
6901 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6902 $as_echo_n "(cached
) " >&6
6904 if test -n "$ac_ct_RANLIB"; then
6905 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6911 test -z "$as_dir" && as_dir=.
6912 for ac_exec_ext in '' $ac_executable_extensions; do
6913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6915 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6924 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6925 if test -n "$ac_ct_RANLIB"; then
6926 { $as_echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
6927 $as_echo "$ac_ct_RANLIB" >&6; }
6929 { $as_echo "$as_me:$LINENO: result
: no
" >&5
6930 $as_echo "no
" >&6; }
6933 if test "x
$ac_ct_RANLIB" = x; then
6936 case $cross_compiling:$ac_tool_warned in
6938 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6939 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6940 ac_tool_warned=yes ;;
6942 RANLIB=$ac_ct_RANLIB
6945 RANLIB="$ac_cv_prog_RANLIB"
6948 test -z "$RANLIB" && RANLIB=:
6955 # Determine commands to create old-style static archives.
6956 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6957 old_postinstall_cmds='chmod 644 $oldlib'
6958 old_postuninstall_cmds=
6960 if test -n "$RANLIB"; then
6963 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6966 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6969 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7005 # If no C compiler was specified, use CC.
7008 # If no C compiler flags were specified, use CFLAGS.
7009 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7011 # Allow CC to be a program name with arguments.
7015 # Check for command to grab the raw symbol name followed by C symbol from nm.
7016 { $as_echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
7017 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7018 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
7019 $as_echo_n "(cached
) " >&6
7022 # These are sane defaults that work on at least a few old systems.
7023 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7025 # Character class describing NM global symbol codes.
7026 symcode='[BCDEGRST]'
7028 # Regexp to match symbols that can be accessed directly from C.
7029 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7031 # Define system-specific variables.
7036 cygwin* | mingw* | pw32* | cegcc*)
7037 symcode='[ABCDGISTW]'
7040 if test "$host_cpu" = ia64; then
7041 symcode='[ABCDEGRST]'
7045 symcode='[BCDEGRST]'
7048 symcode='[BCDEGQRST]'
7059 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7067 # If we're using GNU nm, then use its standard symbol codes.
7068 case `$NM -V 2>&1` in
7069 *GNU* | *'with BFD'*)
7070 symcode='[ABCDGIRSTW]' ;;
7073 # Transform an extracted symbol line into a proper C declaration.
7074 # Some systems (esp. on ia64) link data and code symbols differently,
7075 # so use this general approach.
7076 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7078 # Transform an extracted symbol line into symbol name and symbol address
7079 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7080 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7082 # Handle CRLF in mingw tool chain
7086 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7090 # Try without a prefix underscore, then with it.
7091 for ac_symprfx in "" "_
"; do
7093 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7094 symxfrm="\\1 $ac_symprfx\\2 \\2"
7096 # Write the raw and C identifiers.
7097 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7098 # Fake it for dumpbin and say T for any non-static function
7099 # and D for any global variable.
7100 # Also find C++ and __fastcall symbols from MSVC++,
7101 # which start with @ or ?.
7102 lt_cv_sys_global_symbol_pipe="$AWK '"\
7103 " {last_section=section; section=\$ 3};"\
7104 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7105 " \$ 0!~/External *\|/{next};"\
7106 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7107 " {if(hide[section]) next};"\
7108 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7109 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7110 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7111 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7112 " ' prfx
=^
$ac_symprfx"
7114 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7117 # Check to see that the pipe works correctly.
7121 cat > conftest.$ac_ext <<_LT_EOF
7126 void nm_test_func(void);
7127 void nm_test_func(void){}
7131 int main(){nm_test_var='a';nm_test_func();return(0);}
7134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7135 (eval $ac_compile) 2>&5
7137 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7138 (exit $ac_status); }; then
7139 # Now try to grab the symbols.
7141 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
7142 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7144 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7145 (exit $ac_status); } && test -s "$nlist"; then
7146 # Try sorting and uniquifying the output.
7147 if sort "$nlist" | uniq > "$nlist"T; then
7148 mv -f "$nlist"T "$nlist"
7153 # Make sure that we snagged all the symbols we need.
7154 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7155 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7156 cat <<_LT_EOF > conftest.$ac_ext
7162 # Now generate the symbol file.
7163 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7165 cat <<_LT_EOF >> conftest.$ac_ext
7167 /* The mapping between symbol names and symbols. */
7172 lt__PROGRAM__LTX_preloaded_symbols[] =
7174 { "@PROGRAM@
", (void *) 0 },
7176 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7177 cat <<\_LT_EOF >> conftest.$ac_ext
7181 /* This works around a problem in FreeBSD linker */
7182 #ifdef FREEBSD_WORKAROUND
7183 static const void *lt_preloaded_setup() {
7184 return lt__PROGRAM__LTX_preloaded_symbols;
7192 # Now try linking the two files.
7193 mv conftest.$ac_objext conftstm.$ac_objext
7194 lt_save_LIBS="$LIBS"
7195 lt_save_CFLAGS="$CFLAGS"
7196 LIBS="conftstm.
$ac_objext"
7197 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7199 (eval $ac_link) 2>&5
7201 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7202 (exit $ac_status); } && test -s conftest${ac_exeext}; then
7205 LIBS="$lt_save_LIBS"
7206 CFLAGS="$lt_save_CFLAGS"
7208 echo "cannot
find nm_test_func
in $nlist" >&5
7211 echo "cannot
find nm_test_var
in $nlist" >&5
7214 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7217 echo "$progname: failed program was
:" >&5
7218 cat conftest.$ac_ext >&5
7220 rm -rf conftest* conftst*
7222 # Do not use the global_symbol_pipe unless it works.
7223 if test "$pipe_works" = yes; then
7226 lt_cv_sys_global_symbol_pipe=
7232 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7233 lt_cv_sys_global_symbol_to_cdecl=
7235 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7236 { $as_echo "$as_me:$LINENO: result
: failed
" >&5
7237 $as_echo "failed
" >&6; }
7239 { $as_echo "$as_me:$LINENO: result
: ok
" >&5
7240 $as_echo "ok
" >&6; }
7264 # Check whether --enable-libtool-lock was given.
7265 if test "${enable_libtool_lock+set}" = set; then
7266 enableval=$enable_libtool_lock;
7269 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7271 # Some flags need to be propagated to the compiler or linker for good
7275 # Find out which ABI we are using.
7276 echo 'int i;' > conftest.$ac_ext
7277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7278 (eval $ac_compile) 2>&5
7280 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7281 (exit $ac_status); }; then
7282 case `/usr/bin/file conftest.$ac_objext` in
7294 # Find out which ABI we are using.
7295 echo '#line 7295 "configure
"' > conftest.$ac_ext
7296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7297 (eval $ac_compile) 2>&5
7299 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7300 (exit $ac_status); }; then
7301 if test "$lt_cv_prog_gnu_ld" = yes; then
7302 case `/usr/bin/file conftest.$ac_objext` in
7304 LD="${LD-ld} -melf32bsmip"
7307 LD="${LD-ld} -melf32bmipn32"
7310 LD="${LD-ld} -melf64bmip"
7314 case `/usr/bin/file conftest.$ac_objext` in
7330 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7331 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7332 # Find out which ABI we are using.
7333 echo 'int i;' > conftest.$ac_ext
7334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7335 (eval $ac_compile) 2>&5
7337 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7338 (exit $ac_status); }; then
7339 case `/usr/bin/file conftest.o` in
7342 x86_64-*kfreebsd*-gnu)
7343 LD="${LD-ld} -m elf_i386_fbsd
"
7346 LD="${LD-ld} -m elf_i386
"
7348 ppc64-*linux*|powerpc64-*linux*)
7349 LD="${LD-ld} -m elf32ppclinux
"
7352 LD="${LD-ld} -m elf_s390
"
7355 LD="${LD-ld} -m elf32_sparc
"
7361 x86_64-*kfreebsd*-gnu)
7362 LD="${LD-ld} -m elf_x86_64_fbsd
"
7365 LD="${LD-ld} -m elf_x86_64
"
7367 ppc*-*linux*|powerpc*-*linux*)
7368 LD="${LD-ld} -m elf64ppc
"
7370 s390*-*linux*|s390*-*tpf*)
7371 LD="${LD-ld} -m elf64_s390
"
7374 LD="${LD-ld} -m elf64_sparc
"
7384 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7385 SAVE_CFLAGS="$CFLAGS"
7386 CFLAGS="$CFLAGS -belf"
7387 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
7388 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7389 if test "${lt_cv_cc_needs_belf+set}" = set; then
7390 $as_echo_n "(cached
) " >&6
7393 ac_cpp='$CPP $CPPFLAGS'
7394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7398 cat >conftest.$ac_ext <<_ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7413 rm -f conftest.$ac_objext conftest$ac_exeext
7414 if { (ac_try="$ac_link"
7416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7417 *) ac_try_echo=$ac_try;;
7419 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
7420 $as_echo "$ac_try_echo") >&5
7421 (eval "$ac_link") 2>conftest.er1
7423 grep -v '^ *+' conftest.er1 >conftest.err
7425 cat conftest.err >&5
7426 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7427 (exit $ac_status); } && {
7428 test -z "$ac_c_werror_flag" ||
7429 test ! -s conftest.err
7430 } && test -s conftest$ac_exeext && {
7431 test "$cross_compiling" = yes ||
7432 $as_test_x conftest$ac_exeext
7434 lt_cv_cc_needs_belf=yes
7436 $as_echo "$as_me: failed program was
:" >&5
7437 sed 's/^/| /' conftest.$ac_ext >&5
7439 lt_cv_cc_needs_belf=no
7442 rm -rf conftest.dSYM
7443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7444 conftest$ac_exeext conftest.$ac_ext
7446 ac_cpp='$CPP $CPPFLAGS'
7447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7452 { $as_echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
7453 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7454 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7455 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7456 CFLAGS="$SAVE_CFLAGS"
7460 # Find out which ABI we are using.
7461 echo 'int i;' > conftest.$ac_ext
7462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7463 (eval $ac_compile) 2>&5
7465 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
7466 (exit $ac_status); }; then
7467 case `/usr/bin/file conftest.o` in
7469 case $lt_cv_prog_gnu_ld in
7470 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7472 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7484 need_locks="$enable_libtool_lock"
7488 rhapsody* | darwin*)
7489 if test -n "$ac_tool_prefix"; then
7490 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7491 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7492 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7493 $as_echo_n "checking
for $ac_word...
" >&6; }
7494 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7495 $as_echo_n "(cached
) " >&6
7497 if test -n "$DSYMUTIL"; then
7498 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7504 test -z "$as_dir" && as_dir=.
7505 for ac_exec_ext in '' $ac_executable_extensions; do
7506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7507 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7508 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7517 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7518 if test -n "$DSYMUTIL"; then
7519 { $as_echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
7520 $as_echo "$DSYMUTIL" >&6; }
7522 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7523 $as_echo "no
" >&6; }
7528 if test -z "$ac_cv_prog_DSYMUTIL"; then
7529 ac_ct_DSYMUTIL=$DSYMUTIL
7530 # Extract the first word of "dsymutil
", so it can be a program name with args.
7531 set dummy dsymutil; ac_word=$2
7532 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7533 $as_echo_n "checking
for $ac_word...
" >&6; }
7534 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7535 $as_echo_n "(cached
) " >&6
7537 if test -n "$ac_ct_DSYMUTIL"; then
7538 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7544 test -z "$as_dir" && as_dir=.
7545 for ac_exec_ext in '' $ac_executable_extensions; do
7546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7547 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7548 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7557 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7558 if test -n "$ac_ct_DSYMUTIL"; then
7559 { $as_echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
7560 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7562 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7563 $as_echo "no
" >&6; }
7566 if test "x
$ac_ct_DSYMUTIL" = x; then
7569 case $cross_compiling:$ac_tool_warned in
7571 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7572 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7573 ac_tool_warned=yes ;;
7575 DSYMUTIL=$ac_ct_DSYMUTIL
7578 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7581 if test -n "$ac_tool_prefix"; then
7582 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7583 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7584 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7585 $as_echo_n "checking
for $ac_word...
" >&6; }
7586 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7587 $as_echo_n "(cached
) " >&6
7589 if test -n "$NMEDIT"; then
7590 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7596 test -z "$as_dir" && as_dir=.
7597 for ac_exec_ext in '' $ac_executable_extensions; do
7598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7599 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7600 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7609 NMEDIT=$ac_cv_prog_NMEDIT
7610 if test -n "$NMEDIT"; then
7611 { $as_echo "$as_me:$LINENO: result
: $NMEDIT" >&5
7612 $as_echo "$NMEDIT" >&6; }
7614 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7615 $as_echo "no
" >&6; }
7620 if test -z "$ac_cv_prog_NMEDIT"; then
7621 ac_ct_NMEDIT=$NMEDIT
7622 # Extract the first word of "nmedit
", so it can be a program name with args.
7623 set dummy nmedit; ac_word=$2
7624 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7625 $as_echo_n "checking
for $ac_word...
" >&6; }
7626 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7627 $as_echo_n "(cached
) " >&6
7629 if test -n "$ac_ct_NMEDIT"; then
7630 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 test -z "$as_dir" && as_dir=.
7637 for ac_exec_ext in '' $ac_executable_extensions; do
7638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7639 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7640 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7649 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7650 if test -n "$ac_ct_NMEDIT"; then
7651 { $as_echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
7652 $as_echo "$ac_ct_NMEDIT" >&6; }
7654 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7655 $as_echo "no
" >&6; }
7658 if test "x
$ac_ct_NMEDIT" = x; then
7661 case $cross_compiling:$ac_tool_warned in
7663 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7664 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7665 ac_tool_warned=yes ;;
7667 NMEDIT=$ac_ct_NMEDIT
7670 NMEDIT="$ac_cv_prog_NMEDIT"
7673 if test -n "$ac_tool_prefix"; then
7674 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7675 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7676 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7677 $as_echo_n "checking
for $ac_word...
" >&6; }
7678 if test "${ac_cv_prog_LIPO+set}" = set; then
7679 $as_echo_n "(cached
) " >&6
7681 if test -n "$LIPO"; then
7682 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 test -z "$as_dir" && as_dir=.
7689 for ac_exec_ext in '' $ac_executable_extensions; do
7690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7691 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7692 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7701 LIPO=$ac_cv_prog_LIPO
7702 if test -n "$LIPO"; then
7703 { $as_echo "$as_me:$LINENO: result
: $LIPO" >&5
7704 $as_echo "$LIPO" >&6; }
7706 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7707 $as_echo "no
" >&6; }
7712 if test -z "$ac_cv_prog_LIPO"; then
7714 # Extract the first word of "lipo
", so it can be a program name with args.
7715 set dummy lipo; ac_word=$2
7716 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7717 $as_echo_n "checking
for $ac_word...
" >&6; }
7718 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7719 $as_echo_n "(cached
) " >&6
7721 if test -n "$ac_ct_LIPO"; then
7722 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728 test -z "$as_dir" && as_dir=.
7729 for ac_exec_ext in '' $ac_executable_extensions; do
7730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7731 ac_cv_prog_ac_ct_LIPO="lipo
"
7732 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7741 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7742 if test -n "$ac_ct_LIPO"; then
7743 { $as_echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
7744 $as_echo "$ac_ct_LIPO" >&6; }
7746 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7747 $as_echo "no
" >&6; }
7750 if test "x
$ac_ct_LIPO" = x; then
7753 case $cross_compiling:$ac_tool_warned in
7755 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7756 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7757 ac_tool_warned=yes ;;
7762 LIPO="$ac_cv_prog_LIPO"
7765 if test -n "$ac_tool_prefix"; then
7766 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7767 set dummy ${ac_tool_prefix}otool; ac_word=$2
7768 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7769 $as_echo_n "checking
for $ac_word...
" >&6; }
7770 if test "${ac_cv_prog_OTOOL+set}" = set; then
7771 $as_echo_n "(cached
) " >&6
7773 if test -n "$OTOOL"; then
7774 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780 test -z "$as_dir" && as_dir=.
7781 for ac_exec_ext in '' $ac_executable_extensions; do
7782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7783 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7784 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7793 OTOOL=$ac_cv_prog_OTOOL
7794 if test -n "$OTOOL"; then
7795 { $as_echo "$as_me:$LINENO: result
: $OTOOL" >&5
7796 $as_echo "$OTOOL" >&6; }
7798 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7799 $as_echo "no
" >&6; }
7804 if test -z "$ac_cv_prog_OTOOL"; then
7806 # Extract the first word of "otool
", so it can be a program name with args.
7807 set dummy otool; ac_word=$2
7808 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7809 $as_echo_n "checking
for $ac_word...
" >&6; }
7810 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7811 $as_echo_n "(cached
) " >&6
7813 if test -n "$ac_ct_OTOOL"; then
7814 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7823 ac_cv_prog_ac_ct_OTOOL="otool
"
7824 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7833 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7834 if test -n "$ac_ct_OTOOL"; then
7835 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
7836 $as_echo "$ac_ct_OTOOL" >&6; }
7838 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7839 $as_echo "no
" >&6; }
7842 if test "x
$ac_ct_OTOOL" = x; then
7845 case $cross_compiling:$ac_tool_warned in
7847 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7848 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7849 ac_tool_warned=yes ;;
7854 OTOOL="$ac_cv_prog_OTOOL"
7857 if test -n "$ac_tool_prefix"; then
7858 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7859 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7860 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7861 $as_echo_n "checking
for $ac_word...
" >&6; }
7862 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7863 $as_echo_n "(cached
) " >&6
7865 if test -n "$OTOOL64"; then
7866 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872 test -z "$as_dir" && as_dir=.
7873 for ac_exec_ext in '' $ac_executable_extensions; do
7874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7875 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7876 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7885 OTOOL64=$ac_cv_prog_OTOOL64
7886 if test -n "$OTOOL64"; then
7887 { $as_echo "$as_me:$LINENO: result
: $OTOOL64" >&5
7888 $as_echo "$OTOOL64" >&6; }
7890 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7891 $as_echo "no
" >&6; }
7896 if test -z "$ac_cv_prog_OTOOL64"; then
7897 ac_ct_OTOOL64=$OTOOL64
7898 # Extract the first word of "otool64
", so it can be a program name with args.
7899 set dummy otool64; ac_word=$2
7900 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
7901 $as_echo_n "checking
for $ac_word...
" >&6; }
7902 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7903 $as_echo_n "(cached
) " >&6
7905 if test -n "$ac_ct_OTOOL64"; then
7906 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 test -z "$as_dir" && as_dir=.
7913 for ac_exec_ext in '' $ac_executable_extensions; do
7914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7915 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7916 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
7925 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7926 if test -n "$ac_ct_OTOOL64"; then
7927 { $as_echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
7928 $as_echo "$ac_ct_OTOOL64" >&6; }
7930 { $as_echo "$as_me:$LINENO: result
: no
" >&5
7931 $as_echo "no
" >&6; }
7934 if test "x
$ac_ct_OTOOL64" = x; then
7937 case $cross_compiling:$ac_tool_warned in
7939 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7940 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7941 ac_tool_warned=yes ;;
7943 OTOOL64=$ac_ct_OTOOL64
7946 OTOOL64="$ac_cv_prog_OTOOL64"
7975 { $as_echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
7976 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7977 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7978 $as_echo_n "(cached
) " >&6
7980 lt_cv_apple_cc_single_mod=no
7981 if test -z "${LT_MULTI_MODULE}"; then
7982 # By default we will add the -single_module flag. You can override
7983 # by either setting the environment variable LT_MULTI_MODULE
7984 # non-empty at configure time, or by adding -multi_module to the
7986 rm -rf libconftest.dylib*
7987 echo "int foo
(void
){return 1;}" > conftest.c
7988 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7989 -dynamiclib -Wl,-single_module conftest.c
" >&5
7990 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7991 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7993 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7994 lt_cv_apple_cc_single_mod=yes
7996 cat conftest.err >&5
7998 rm -rf libconftest.dylib*
8002 { $as_echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
8003 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8004 { $as_echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
8005 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8006 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8007 $as_echo_n "(cached
) " >&6
8009 lt_cv_ld_exported_symbols_list=no
8010 save_LDFLAGS=$LDFLAGS
8011 echo "_main
" > conftest.sym
8012 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8013 cat >conftest.$ac_ext <<_ACEOF
8016 cat confdefs.h >>conftest.$ac_ext
8017 cat >>conftest.$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8028 rm -f conftest.$ac_objext conftest$ac_exeext
8029 if { (ac_try="$ac_link"
8031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8032 *) ac_try_echo=$ac_try;;
8034 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8035 $as_echo "$ac_try_echo") >&5
8036 (eval "$ac_link") 2>conftest.er1
8038 grep -v '^ *+' conftest.er1 >conftest.err
8040 cat conftest.err >&5
8041 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8042 (exit $ac_status); } && {
8043 test -z "$ac_c_werror_flag" ||
8044 test ! -s conftest.err
8045 } && test -s conftest$ac_exeext && {
8046 test "$cross_compiling" = yes ||
8047 $as_test_x conftest$ac_exeext
8049 lt_cv_ld_exported_symbols_list=yes
8051 $as_echo "$as_me: failed program was
:" >&5
8052 sed 's/^/| /' conftest.$ac_ext >&5
8054 lt_cv_ld_exported_symbols_list=no
8057 rm -rf conftest.dSYM
8058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8059 conftest$ac_exeext conftest.$ac_ext
8060 LDFLAGS="$save_LDFLAGS"
8063 { $as_echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
8064 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8066 rhapsody* | darwin1.[012])
8067 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8069 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8070 darwin*) # darwin 5.x on
8071 # if running on 10.5 or later, the deployment target defaults
8072 # to the OS version, if on x86, and 10.4, the deployment
8073 # target defaults to 10.4. Don't you love it?
8074 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8075 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8076 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8078 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8080 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8084 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8085 _lt_dar_single_mod='$single_module'
8087 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8088 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8090 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8092 if test "$DSYMUTIL" != ":"; then
8093 _lt_dsymutil='~$DSYMUTIL $lib || :'
8101 for ac_header in dlfcn.h
8103 as_ac_Header=`$as_echo "ac_cv_header_
$ac_header" | $as_tr_sh`
8104 { $as_echo "$as_me:$LINENO: checking
for $ac_header" >&5
8105 $as_echo_n "checking
for $ac_header...
" >&6; }
8106 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
8107 $as_echo_n "(cached
) " >&6
8109 cat >conftest.$ac_ext <<_ACEOF
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8115 $ac_includes_default
8117 #include <$ac_header>
8119 rm -f conftest.$ac_objext
8120 if { (ac_try="$ac_compile"
8122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8123 *) ac_try_echo=$ac_try;;
8125 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8126 $as_echo "$ac_try_echo") >&5
8127 (eval "$ac_compile") 2>conftest.er1
8129 grep -v '^ *+' conftest.er1 >conftest.err
8131 cat conftest.err >&5
8132 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8133 (exit $ac_status); } && {
8134 test -z "$ac_c_werror_flag" ||
8135 test ! -s conftest.err
8136 } && test -s conftest.$ac_objext; then
8137 eval "$as_ac_Header=yes"
8139 $as_echo "$as_me: failed program was
:" >&5
8140 sed 's/^/| /' conftest.$ac_ext >&5
8142 eval "$as_ac_Header=no
"
8145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8147 ac_res=`eval 'as_val=${'$as_ac_Header'}
8148 $as_echo "$as_val"'`
8149 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
8150 $as_echo "$ac_res" >&6; }
8151 as_val=`eval 'as_val=${'$as_ac_Header'}
8152 $as_echo "$as_val"'`
8153 if test "x
$as_val" = x""yes; then
8154 cat >>confdefs.h <<_ACEOF
8155 #define `$as_echo "HAVE_
$ac_header" | $as_tr_cpp` 1
8165 ac_cpp='$CXXCPP $CPPFLAGS'
8166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8169 if test -z "$CXX"; then
8170 if test -n "$CCC"; then
8173 if test -n "$ac_tool_prefix"; then
8174 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8176 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8177 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8178 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8179 $as_echo_n "checking
for $ac_word...
" >&6; }
8180 if test "${ac_cv_prog_CXX+set}" = set; then
8181 $as_echo_n "(cached
) " >&6
8183 if test -n "$CXX"; then
8184 ac_cv_prog_CXX="$CXX" # Let the user override the test.
8186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8190 test -z "$as_dir" && as_dir=.
8191 for ac_exec_ext in '' $ac_executable_extensions; do
8192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8193 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8194 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8204 if test -n "$CXX"; then
8205 { $as_echo "$as_me:$LINENO: result
: $CXX" >&5
8206 $as_echo "$CXX" >&6; }
8208 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8209 $as_echo "no
" >&6; }
8213 test -n "$CXX" && break
8216 if test -z "$CXX"; then
8218 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
8220 # Extract the first word of "$ac_prog", so it can be a program name with args.
8221 set dummy $ac_prog; ac_word=$2
8222 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
8223 $as_echo_n "checking
for $ac_word...
" >&6; }
8224 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
8225 $as_echo_n "(cached
) " >&6
8227 if test -n "$ac_ct_CXX"; then
8228 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
8230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 test -z "$as_dir" && as_dir=.
8235 for ac_exec_ext in '' $ac_executable_extensions; do
8236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8237 ac_cv_prog_ac_ct_CXX="$ac_prog"
8238 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
8247 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
8248 if test -n "$ac_ct_CXX"; then
8249 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
8250 $as_echo "$ac_ct_CXX" >&6; }
8252 { $as_echo "$as_me:$LINENO: result
: no
" >&5
8253 $as_echo "no
" >&6; }
8257 test -n "$ac_ct_CXX" && break
8260 if test "x
$ac_ct_CXX" = x; then
8263 case $cross_compiling:$ac_tool_warned in
8265 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8266 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8267 ac_tool_warned=yes ;;
8275 # Provide some information about the compiler.
8276 $as_echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
8279 { (ac_try="$ac_compiler --version >&5"
8281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8282 *) ac_try_echo=$ac_try;;
8284 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8285 $as_echo "$ac_try_echo") >&5
8286 (eval "$ac_compiler --version >&5") 2>&5
8288 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8289 (exit $ac_status); }
8290 { (ac_try="$ac_compiler -v >&5"
8292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8293 *) ac_try_echo=$ac_try;;
8295 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8296 $as_echo "$ac_try_echo") >&5
8297 (eval "$ac_compiler -v >&5") 2>&5
8299 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8300 (exit $ac_status); }
8301 { (ac_try="$ac_compiler -V >&5"
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8306 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8307 $as_echo "$ac_try_echo") >&5
8308 (eval "$ac_compiler -V >&5") 2>&5
8310 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8311 (exit $ac_status); }
8313 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
8314 $as_echo_n "checking whether we are using the GNU C
++ compiler...
" >&6; }
8315 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
8316 $as_echo_n "(cached
) " >&6
8318 cat >conftest.$ac_ext <<_ACEOF
8321 cat confdefs.h >>conftest.$ac_ext
8322 cat >>conftest.$ac_ext <<_ACEOF
8323 /* end confdefs.h. */
8336 rm -f conftest.$ac_objext
8337 if { (ac_try="$ac_compile"
8339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8340 *) ac_try_echo=$ac_try;;
8342 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8343 $as_echo "$ac_try_echo") >&5
8344 (eval "$ac_compile") 2>conftest.er1
8346 grep -v '^ *+' conftest.er1 >conftest.err
8348 cat conftest.err >&5
8349 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8350 (exit $ac_status); } && {
8351 test -z "$ac_cxx_werror_flag" ||
8352 test ! -s conftest.err
8353 } && test -s conftest.$ac_objext; then
8356 $as_echo "$as_me: failed program was
:" >&5
8357 sed 's/^/| /' conftest.$ac_ext >&5
8362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8363 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
8366 { $as_echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
8367 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
8368 if test $ac_compiler_gnu = yes; then
8373 ac_test_CXXFLAGS=${CXXFLAGS+set}
8374 ac_save_CXXFLAGS=$CXXFLAGS
8375 { $as_echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
8376 $as_echo_n "checking whether
$CXX accepts
-g...
" >&6; }
8377 if test "${ac_cv_prog_cxx_g+set}" = set; then
8378 $as_echo_n "(cached
) " >&6
8380 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8381 ac_cxx_werror_flag=yes
8384 cat >conftest.$ac_ext <<_ACEOF
8387 cat confdefs.h >>conftest.$ac_ext
8388 cat >>conftest.$ac_ext <<_ACEOF
8389 /* end confdefs.h. */
8399 rm -f conftest.$ac_objext
8400 if { (ac_try="$ac_compile"
8402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8403 *) ac_try_echo=$ac_try;;
8405 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8406 $as_echo "$ac_try_echo") >&5
8407 (eval "$ac_compile") 2>conftest.er1
8409 grep -v '^ *+' conftest.er1 >conftest.err
8411 cat conftest.err >&5
8412 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8413 (exit $ac_status); } && {
8414 test -z "$ac_cxx_werror_flag" ||
8415 test ! -s conftest.err
8416 } && test -s conftest.$ac_objext; then
8417 ac_cv_prog_cxx_g=yes
8419 $as_echo "$as_me: failed program was
:" >&5
8420 sed 's/^/| /' conftest.$ac_ext >&5
8423 cat >conftest.$ac_ext <<_ACEOF
8426 cat confdefs.h >>conftest.$ac_ext
8427 cat >>conftest.$ac_ext <<_ACEOF
8428 /* end confdefs.h. */
8438 rm -f conftest.$ac_objext
8439 if { (ac_try="$ac_compile"
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8442 *) ac_try_echo=$ac_try;;
8444 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8445 $as_echo "$ac_try_echo") >&5
8446 (eval "$ac_compile") 2>conftest.er1
8448 grep -v '^ *+' conftest.er1 >conftest.err
8450 cat conftest.err >&5
8451 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8452 (exit $ac_status); } && {
8453 test -z "$ac_cxx_werror_flag" ||
8454 test ! -s conftest.err
8455 } && test -s conftest.$ac_objext; then
8458 $as_echo "$as_me: failed program was
:" >&5
8459 sed 's/^/| /' conftest.$ac_ext >&5
8461 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8463 cat >conftest.$ac_ext <<_ACEOF
8466 cat confdefs.h >>conftest.$ac_ext
8467 cat >>conftest.$ac_ext <<_ACEOF
8468 /* end confdefs.h. */
8478 rm -f conftest.$ac_objext
8479 if { (ac_try="$ac_compile"
8481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8482 *) ac_try_echo=$ac_try;;
8484 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8485 $as_echo "$ac_try_echo") >&5
8486 (eval "$ac_compile") 2>conftest.er1
8488 grep -v '^ *+' conftest.er1 >conftest.err
8490 cat conftest.err >&5
8491 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8492 (exit $ac_status); } && {
8493 test -z "$ac_cxx_werror_flag" ||
8494 test ! -s conftest.err
8495 } && test -s conftest.$ac_objext; then
8496 ac_cv_prog_cxx_g=yes
8498 $as_echo "$as_me: failed program was
:" >&5
8499 sed 's/^/| /' conftest.$ac_ext >&5
8504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8511 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8513 { $as_echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
8514 $as_echo "$ac_cv_prog_cxx_g" >&6; }
8515 if test "$ac_test_CXXFLAGS" = set; then
8516 CXXFLAGS=$ac_save_CXXFLAGS
8517 elif test $ac_cv_prog_cxx_g = yes; then
8518 if test "$GXX" = yes; then
8524 if test "$GXX" = yes; then
8531 ac_cpp='$CPP $CPPFLAGS'
8532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8536 depcc="$CXX" am_compiler_list=
8538 { $as_echo "$as_me:$LINENO: checking dependency style of
$depcc" >&5
8539 $as_echo_n "checking dependency style of
$depcc...
" >&6; }
8540 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
8541 $as_echo_n "(cached
) " >&6
8543 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
8544 # We make a subdir and do the tests there. Otherwise we can end up
8545 # making bogus files that we don't know about and never remove. For
8546 # instance it was reported that on HP-UX the gcc test will end up
8547 # making a dummy file named `D' -- because `-MD' means `put the output
8550 # Copy depcomp to subdir because otherwise we won't find it if we're
8551 # using a relative directory.
8552 cp "$am_depcomp" conftest.dir
8554 # We will build objects and dependencies in a subdirectory because
8555 # it helps to detect inapplicable dependency modes. For instance
8556 # both Tru64's cc and ICC support -MD to output dependencies as a
8557 # side effect of compilation, but ICC will put the dependencies in
8558 # the current directory while Tru64 will put them in the object
8562 am_cv_CXX_dependencies_compiler_type=none
8563 if test "$am_compiler_list" = ""; then
8564 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8567 case " $depcc " in #(
8568 *\ -arch\ *\ -arch\ *) am__universal=true ;;
8571 for depmode in $am_compiler_list; do
8572 # Setup a source with many dependencies, because some compilers
8573 # like to wrap large dependency lists on column 80 (with \), and
8574 # we should not choose a depcomp mode which is confused by this.
8576 # We need to recreate these files for each test, as the compiler may
8577 # overwrite some of them when testing with obscure command lines.
8578 # This happens at least with the AIX C compiler.
8580 for i in 1 2 3 4 5 6; do
8581 echo '#include "conftst
'$i'.h
"' >> sub/conftest.c
8582 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8583 # Solaris 8's {/usr,}/bin/sh.
8584 touch sub/conftst$i.h
8586 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8588 # We check with `-c' and `-o' for the sake of the "dashmstdout
"
8589 # mode. It turns out that the SunPro C++ compiler does not properly
8590 # handle `-M -o', and we need to detect this. Also, some Intel
8591 # versions had trouble with output in subdirs
8592 am__obj=sub/conftest.${OBJEXT-o}
8593 am__minus_obj="-o $am__obj"
8596 # This depmode causes a compiler race in universal mode.
8597 test "$am__universal" = false || continue
8600 # after this tag, mechanisms are not by side-effect, so they'll
8601 # only be used when explicitly requested
8602 if test "x
$enable_dependency_tracking" = xyes; then
8608 msvisualcpp | msvcmsys)
8609 # This compiler won't grok `-c -o', but also, the minuso test has
8610 # not run yet. These depmodes are late enough in the game, and
8611 # so weak that their functioning should not be impacted.
8612 am__obj=conftest.${OBJEXT-o}
8617 if depmode=$depmode \
8618 source=sub/conftest.c object=$am__obj \
8619 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8620 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8621 >/dev/null 2>conftest.err &&
8622 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8623 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8624 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8625 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8626 # icc doesn't choke on unknown options, it will just issue warnings
8627 # or remarks (even with -Werror). So we grep stderr for any message
8628 # that says an option was ignored or not supported.
8629 # When given -MP, icc 7.0 and 7.1 complain thusly:
8630 # icc: Command line warning: ignoring option '-M'; no argument required
8631 # The diagnosis changed in icc 8.0:
8632 # icc: Command line remark: option '-MP' not supported
8633 if (grep 'ignoring option' conftest.err ||
8634 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8635 am_cv_CXX_dependencies_compiler_type=$depmode
8644 am_cv_CXX_dependencies_compiler_type=none
8648 { $as_echo "$as_me:$LINENO: result
: $am_cv_CXX_dependencies_compiler_type" >&5
8649 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8650 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8653 test "x
$enable_dependency_tracking" != xno \
8654 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8655 am__fastdepCXX_TRUE=
8656 am__fastdepCXX_FALSE='#'
8658 am__fastdepCXX_TRUE='#'
8659 am__fastdepCXX_FALSE=
8663 if test -n "$CXX" && ( test "X
$CXX" != "Xno
" &&
8664 ( (test "X
$CXX" = "Xg
++" && `g++ -v >/dev/null 2>&1` ) ||
8665 (test "X
$CXX" != "Xg
++"))) ; then
8667 ac_cpp='$CXXCPP $CPPFLAGS'
8668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8671 { $as_echo "$as_me:$LINENO: checking how to run the C
++ preprocessor
" >&5
8672 $as_echo_n "checking how to run the C
++ preprocessor...
" >&6; }
8673 if test -z "$CXXCPP"; then
8674 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8675 $as_echo_n "(cached
) " >&6
8677 # Double quotes because CXXCPP needs to be expanded
8678 for CXXCPP in "$CXX -E" "/lib
/cpp
"
8681 for ac_cxx_preproc_warn_flag in '' yes
8683 # Use a header file that comes with gcc, so configuring glibc
8684 # with a fresh cross-compiler works.
8685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8686 # <limits.h> exists even on freestanding compilers.
8687 # On the NeXT, cc -E runs the code through the compiler's parser,
8688 # not just through cpp. "Syntax error
" is here to catch this case.
8689 cat >conftest.$ac_ext <<_ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8696 # include <limits.h>
8698 # include <assert.h>
8702 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8705 *) ac_try_echo=$ac_try;;
8707 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8708 $as_echo "$ac_try_echo") >&5
8709 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8711 grep -v '^ *+' conftest.er1 >conftest.err
8713 cat conftest.err >&5
8714 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8715 (exit $ac_status); } >/dev/null && {
8716 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8717 test ! -s conftest.err
8721 $as_echo "$as_me: failed program was
:" >&5
8722 sed 's/^/| /' conftest.$ac_ext >&5
8724 # Broken: fails on valid input.
8728 rm -f conftest.err conftest.$ac_ext
8730 # OK, works on sane cases. Now check whether nonexistent headers
8731 # can be detected and how.
8732 cat >conftest.$ac_ext <<_ACEOF
8735 cat confdefs.h >>conftest.$ac_ext
8736 cat >>conftest.$ac_ext <<_ACEOF
8737 /* end confdefs.h. */
8738 #include <ac_nonexistent.h>
8740 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8743 *) ac_try_echo=$ac_try;;
8745 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8746 $as_echo "$ac_try_echo") >&5
8747 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8749 grep -v '^ *+' conftest.er1 >conftest.err
8751 cat conftest.err >&5
8752 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8753 (exit $ac_status); } >/dev/null && {
8754 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8755 test ! -s conftest.err
8757 # Broken: success on invalid input.
8760 $as_echo "$as_me: failed program was
:" >&5
8761 sed 's/^/| /' conftest.$ac_ext >&5
8763 # Passes both tests.
8768 rm -f conftest.err conftest.$ac_ext
8771 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8772 rm -f conftest.err conftest.$ac_ext
8773 if $ac_preproc_ok; then
8778 ac_cv_prog_CXXCPP=$CXXCPP
8781 CXXCPP=$ac_cv_prog_CXXCPP
8783 ac_cv_prog_CXXCPP=$CXXCPP
8785 { $as_echo "$as_me:$LINENO: result
: $CXXCPP" >&5
8786 $as_echo "$CXXCPP" >&6; }
8788 for ac_cxx_preproc_warn_flag in '' yes
8790 # Use a header file that comes with gcc, so configuring glibc
8791 # with a fresh cross-compiler works.
8792 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8793 # <limits.h> exists even on freestanding compilers.
8794 # On the NeXT, cc -E runs the code through the compiler's parser,
8795 # not just through cpp. "Syntax error
" is here to catch this case.
8796 cat >conftest.$ac_ext <<_ACEOF
8799 cat confdefs.h >>conftest.$ac_ext
8800 cat >>conftest.$ac_ext <<_ACEOF
8801 /* end confdefs.h. */
8803 # include <limits.h>
8805 # include <assert.h>
8809 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8812 *) ac_try_echo=$ac_try;;
8814 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8815 $as_echo "$ac_try_echo") >&5
8816 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8818 grep -v '^ *+' conftest.er1 >conftest.err
8820 cat conftest.err >&5
8821 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8822 (exit $ac_status); } >/dev/null && {
8823 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8824 test ! -s conftest.err
8828 $as_echo "$as_me: failed program was
:" >&5
8829 sed 's/^/| /' conftest.$ac_ext >&5
8831 # Broken: fails on valid input.
8835 rm -f conftest.err conftest.$ac_ext
8837 # OK, works on sane cases. Now check whether nonexistent headers
8838 # can be detected and how.
8839 cat >conftest.$ac_ext <<_ACEOF
8842 cat confdefs.h >>conftest.$ac_ext
8843 cat >>conftest.$ac_ext <<_ACEOF
8844 /* end confdefs.h. */
8845 #include <ac_nonexistent.h>
8847 if { (ac_try="$ac_cpp conftest.
$ac_ext"
8849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8850 *) ac_try_echo=$ac_try;;
8852 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
8853 $as_echo "$ac_try_echo") >&5
8854 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
8856 grep -v '^ *+' conftest.er1 >conftest.err
8858 cat conftest.err >&5
8859 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
8860 (exit $ac_status); } >/dev/null && {
8861 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8862 test ! -s conftest.err
8864 # Broken: success on invalid input.
8867 $as_echo "$as_me: failed program was
:" >&5
8868 sed 's/^/| /' conftest.$ac_ext >&5
8870 # Passes both tests.
8875 rm -f conftest.err conftest.$ac_ext
8878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8879 rm -f conftest.err conftest.$ac_ext
8880 if $ac_preproc_ok; then
8883 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
8884 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8885 _lt_caught_CXX_error=yes; }
8889 ac_cpp='$CPP $CPPFLAGS'
8890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
8891 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
8892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8895 _lt_caught_CXX_error=yes
8912 # Check whether --enable-shared was given.
8913 if test "${enable_shared+set}" = set; then
8914 enableval=$enable_shared; p=${PACKAGE-default}
8916 yes) enable_shared=yes ;;
8917 no) enable_shared=no ;;
8920 # Look at the argument we got. We use all the common list separators.
8921 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8922 for pkg in $enableval; do
8924 if test "X$pkg" = "X$p"; then
8943 # Check whether --enable-static was given.
8944 if test "${enable_static+set}" = set; then
8945 enableval=$enable_static; p=${PACKAGE-default}
8947 yes) enable_static=yes ;;
8948 no) enable_static=no ;;
8951 # Look at the argument we got. We use all the common list separators.
8952 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8953 for pkg in $enableval; do
8955 if test "X$pkg" = "X$p"; then
8975 # Check whether --with-pic was given.
8976 if test "${with_pic+set}" = set; then
8977 withval=$with_pic; pic_mode="$withval"
8983 test -z "$pic_mode" && pic_mode=default
8991 # Check whether --enable-fast-install was given.
8992 if test "${enable_fast_install+set}" = set; then
8993 enableval=$enable_fast_install; p=${PACKAGE-default}
8995 yes) enable_fast_install=yes ;;
8996 no) enable_fast_install=no ;;
8998 enable_fast_install=no
8999 # Look at the argument we got. We use all the common list separators.
9000 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9001 for pkg in $enableval; do
9003 if test "X$pkg" = "X$p"; then
9004 enable_fast_install=yes
9011 enable_fast_install=yes
9024 # This can be used to rebuild libtool when needed
9025 LIBTOOL_DEPS="$ltmain"
9027 # Always use our own libtool.
9028 LIBTOOL='$
(SHELL
) $
(top_builddir
)/libtool
'
9054 test -z "$LN_S" && LN_S="ln -s"
9069 if test -n "${ZSH_VERSION+set}" ; then
9070 setopt NO_GLOB_SUBST
9073 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
9074 $as_echo_n "checking for objdir... " >&6; }
9075 if test "${lt_cv_objdir+set}" = set; then
9076 $as_echo_n "(cached) " >&6
9078 rm -f .libs 2>/dev/null
9079 mkdir .libs 2>/dev/null
9080 if test -d .libs; then
9083 # MS-DOS does not allow filenames that begin with a dot.
9086 rmdir .libs 2>/dev/null
9088 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
9089 $as_echo "$lt_cv_objdir" >&6; }
9090 objdir=$lt_cv_objdir
9096 cat >>confdefs.h <<_ACEOF
9097 #define LT_OBJDIR "$lt_cv_objdir/"
9118 # AIX sometimes has problems with the GCC collect2 program. For some
9119 # reason, if we set the COLLECT_NAMES environment variable, the problems
9120 # vanish in a puff of smoke.
9121 if test "X${COLLECT_NAMES+set}" != Xset; then
9123 export COLLECT_NAMES
9128 # Sed substitution that helps us do robust quoting. It backslashifies
9129 # metacharacters that are still active within double-quoted strings.
9130 sed_quote_subst='s
/\
(["`$\\]\)/\\\1/g'
9132 # Same as above, but do not quote variable references.
9133 double_quote_subst='s/\(["`\\]\)/\\\1/g'
9135 # Sed substitution to delay expansion of an escaped shell variable in a
9136 # double_quote_subst'ed string.
9137 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9139 # Sed substitution to delay expansion of an escaped single quote.
9140 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9142 # Sed substitution to avoid accidental globbing in evaled expressions
9143 no_glob_subst='s/\*/\\\*/g'
9147 can_build_shared=yes
9149 # All known linkers require a `.a
' archive for static linking (except MSVC,
9150 # which needs '.lib
').
9153 with_gnu_ld="$lt_cv_prog_gnu_ld"
9156 old_CFLAGS="$CFLAGS"
9158 # Set sane defaults for various variables
9159 test -z "$CC" && CC=cc
9160 test -z "$LTCC" && LTCC=$CC
9161 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9162 test -z "$LD" && LD=ld
9163 test -z "$ac_objext" && ac_objext=o
9165 for cc_temp in $compiler""; do
9167 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9168 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9173 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's
%.
*/%%' -e "s%^$host_alias-%%"`
9176 # Only perform the check for file, if the check method requires it
9177 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9178 case $deplibs_check_method in
9180 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9181 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
9182 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9183 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9184 $as_echo_n "(cached) " >&6
9188 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9191 lt_save_MAGIC_CMD="$MAGIC_CMD"
9192 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9193 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9194 for ac_dir in $ac_dummy; do
9196 test -z "$ac_dir" && ac_dir=.
9197 if test -f $ac_dir/${ac_tool_prefix}file; then
9198 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9199 if test -n "$file_magic_test_file"; then
9200 case $deplibs_check_method in
9202 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9203 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9204 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9205 $EGREP "$file_magic_regex" > /dev/null; then
9210 *** Warning: the command libtool uses to detect shared libraries,
9211 *** $file_magic_cmd, produces output that libtool cannot recognize.
9212 *** The result is that libtool may fail to recognize shared libraries
9213 *** as such. This will affect the creation of libtool libraries that
9214 *** depend on shared libraries, but programs linked with such libtool
9215 *** libraries will work regardless of this problem. Nevertheless, you
9216 *** may want to report the problem to your system manager and/or to
9217 *** bug-libtool@gnu.org
9227 MAGIC_CMD="$lt_save_MAGIC_CMD"
9232 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9233 if test -n "$MAGIC_CMD"; then
9234 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9235 $as_echo "$MAGIC_CMD" >&6; }
9237 { $as_echo "$as_me:$LINENO: result: no" >&5
9238 $as_echo "no" >&6; }
9245 if test -z "$lt_cv_path_MAGIC_CMD"; then
9246 if test -n "$ac_tool_prefix"; then
9247 { $as_echo "$as_me:$LINENO: checking for file" >&5
9248 $as_echo_n "checking for file... " >&6; }
9249 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
9250 $as_echo_n "(cached) " >&6
9254 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9257 lt_save_MAGIC_CMD="$MAGIC_CMD"
9258 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9259 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9260 for ac_dir in $ac_dummy; do
9262 test -z "$ac_dir" && ac_dir=.
9263 if test -f $ac_dir/file; then
9264 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9265 if test -n "$file_magic_test_file"; then
9266 case $deplibs_check_method in
9268 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9269 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9270 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9271 $EGREP "$file_magic_regex" > /dev/null; then
9276 *** Warning: the command libtool uses to detect shared libraries,
9277 *** $file_magic_cmd, produces output that libtool cannot recognize.
9278 *** The result is that libtool may fail to recognize shared libraries
9279 *** as such. This will affect the creation of libtool libraries that
9280 *** depend on shared libraries, but programs linked with such libtool
9281 *** libraries will work regardless of this problem. Nevertheless, you
9282 *** may want to report the problem to your system manager and/or to
9283 *** bug-libtool@gnu.org
9293 MAGIC_CMD="$lt_save_MAGIC_CMD"
9298 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9299 if test -n "$MAGIC_CMD"; then
9300 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
9301 $as_echo "$MAGIC_CMD" >&6; }
9303 { $as_echo "$as_me:$LINENO: result: no" >&5
9304 $as_echo "no" >&6; }
9317 # Use C for the default configuration in the libtool script
9321 ac_cpp='$CPP $CPPFLAGS'
9322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
9323 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
9324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9327 # Source file extension for C test sources.
9330 # Object file extension for compiled C test sources.
9334 # Code to be used in simple compile tests
9335 lt_simple_compile_test_code="int some_variable = 0;"
9337 # Code to be used in simple link tests
9338 lt_simple_link_test_code='int main
(){return(0);}'
9346 # If no C compiler was specified, use CC.
9349 # If no C compiler flags were specified, use CFLAGS.
9350 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9352 # Allow CC to be a program name with arguments.
9355 # Save the default compiler, since it gets overwritten when the other
9356 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9357 compiler_DEFAULT=$CC
9359 # save warnings/boilerplate of simple test code
9360 ac_outfile=conftest.$ac_objext
9361 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9362 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
9363 _lt_compiler_boilerplate=`cat conftest.err`
9366 ac_outfile=conftest.$ac_objext
9367 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9368 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$
/d
; /^
*+/d
' >conftest.err
9369 _lt_linker_boilerplate=`cat conftest.err`
9374 ## There is no encapsulation within the following macros, do not change
9375 ## the running order or otherwise move them around unless you know exactly
9376 ## what you are doing...
9377 if test -n "$compiler"; then
9379 lt_prog_compiler_no_builtin_flag=
9381 if test "$GCC" = yes; then
9382 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9384 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9385 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9386 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
9387 $as_echo_n "(cached) " >&6
9389 lt_cv_prog_compiler_rtti_exceptions=no
9390 ac_outfile=conftest.$ac_objext
9391 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9392 lt_compiler_flag="-fno-rtti -fno-exceptions"
9393 # Insert the option either (1) after the last *FLAGS variable, or
9394 # (2) before a word containing "conftest.", or (3) at the end.
9395 # Note that $ac_compile itself does not contain backslashes and begins
9396 # with a dollar sign (not a hyphen), so the echo should work correctly.
9397 # The option is referenced via a variable to avoid confusing sed.
9398 lt_compile=`echo "$ac_compile" | $SED \
9399 -e 's
:.
*FLAGS
}\
{0,1\
} :&$lt_compiler_flag :; t
' \
9400 -e 's
: [^
]*conftest\.
: $lt_compiler_flag&:; t
' \
9401 -e 's
:$
: $lt_compiler_flag:'`
9402 (eval echo "\"\$as_me:9402: $lt_compile\"" >&5)
9403 (eval "$lt_compile" 2>conftest.err)
9405 cat conftest.err >&5
9406 echo "$as_me:9406: \$? = $ac_status" >&5
9407 if (exit $ac_status) && test -s "$ac_outfile"; then
9408 # The compiler can only warn and ignore the option if not recognized
9409 # So say no if there are warnings other than the usual output.
9410 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$
/d
' >conftest.exp
9411 $SED '/^$
/d
; /^
*+/d
' conftest.err >conftest.er2
9412 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9413 lt_cv_prog_compiler_rtti_exceptions=yes
9419 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9420 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9422 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9423 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9435 lt_prog_compiler_wl=
9436 lt_prog_compiler_pic=
9437 lt_prog_compiler_static=
9439 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9440 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9442 if test "$GCC" = yes; then
9443 lt_prog_compiler_wl='-Wl,'
9444 lt_prog_compiler_static='-static'
9448 # All AIX code is PIC.
9449 if test "$host_cpu" = ia64; then
9450 # AIX 5 now supports IA64 processor
9451 lt_prog_compiler_static='-Bstatic'
9458 # see comment about AmigaOS4 .so support
9459 lt_prog_compiler_pic='-fPIC'
9462 # FIXME: we need at least 68020 code to build shared libraries, but
9463 # adding the `-m68020' flag to GCC prevents building anything better
,
9465 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9470 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9471 # PIC is the default for these OSes.
9474 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9475 # This hack is so that the source file can tell whether it is being
9476 # built for inclusion in a dll (and should export symbols for example).
9477 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9478 # (--disable-auto-import) libraries
9479 lt_prog_compiler_pic
='-DDLL_EXPORT'
9482 darwin
* | rhapsody
*)
9483 # PIC is the default on this platform
9484 # Common symbols not allowed in MH_DYLIB files
9485 lt_prog_compiler_pic
='-fno-common'
9489 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9490 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9491 # sets the default TLS model and affects inlining.
9497 lt_prog_compiler_pic
='-fPIC'
9503 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9504 # Instead, we relocate shared libraries at runtime.
9508 # Just because we use GCC doesn't mean we suddenly get shared libraries
9509 # on systems that don't support them.
9510 lt_prog_compiler_can_build_shared
=no
9515 # QNX uses GNU C++, but need to define -shared option too, otherwise
9517 lt_prog_compiler_pic
='-fPIC -shared'
9521 if test -d /usr
/nec
; then
9522 lt_prog_compiler_pic
=-Kconform_pic
9527 lt_prog_compiler_pic
='-fPIC'
9531 # PORTME Check for flag to pass linker flags through the system compiler.
9534 lt_prog_compiler_wl
='-Wl,'
9535 if test "$host_cpu" = ia64
; then
9536 # AIX 5 now supports IA64 processor
9537 lt_prog_compiler_static
='-Bstatic'
9539 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9543 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9544 # This hack is so that the source file can tell whether it is being
9545 # built for inclusion in a dll (and should export symbols for example).
9546 lt_prog_compiler_pic
='-DDLL_EXPORT'
9549 hpux9
* | hpux10
* | hpux11
*)
9550 lt_prog_compiler_wl
='-Wl,'
9551 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9558 lt_prog_compiler_pic
='+Z'
9561 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9562 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9565 irix5
* | irix6
* | nonstopux
*)
9566 lt_prog_compiler_wl
='-Wl,'
9567 # PIC (with -KPIC) is the default.
9568 lt_prog_compiler_static
='-non_shared'
9571 linux
* | k
*bsd
*-gnu)
9572 case $cc_basename in
9573 # old Intel for x86_64 which still supported -KPIC.
9575 lt_prog_compiler_wl
='-Wl,'
9576 lt_prog_compiler_pic
='-KPIC'
9577 lt_prog_compiler_static
='-static'
9579 # icc used to be incompatible with GCC.
9580 # ICC 10 doesn't accept -KPIC any more.
9582 lt_prog_compiler_wl
='-Wl,'
9583 lt_prog_compiler_pic
='-fPIC'
9584 lt_prog_compiler_static
='-static'
9586 # Lahey Fortran 8.1.
9588 lt_prog_compiler_wl
='-Wl,'
9589 lt_prog_compiler_pic
='--shared'
9590 lt_prog_compiler_static
='--static'
9592 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
9593 # Portland Group compilers (*not* the Pentium gcc compiler,
9594 # which looks to be a dead project)
9595 lt_prog_compiler_wl
='-Wl,'
9596 lt_prog_compiler_pic
='-fpic'
9597 lt_prog_compiler_static
='-Bstatic'
9600 lt_prog_compiler_wl
='-Wl,'
9601 # All Alpha code is PIC.
9602 lt_prog_compiler_static
='-non_shared'
9605 # IBM XL C 8.0/Fortran 10.1 on PPC
9606 lt_prog_compiler_wl
='-Wl,'
9607 lt_prog_compiler_pic
='-qpic'
9608 lt_prog_compiler_static
='-qstaticlink'
9611 case `$CC -V 2>&1 | sed 5q` in
9614 lt_prog_compiler_pic
='-KPIC'
9615 lt_prog_compiler_static
='-Bstatic'
9616 lt_prog_compiler_wl
='-Wl,'
9619 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9620 lt_prog_compiler_pic
='-KPIC'
9621 lt_prog_compiler_static
='-Bstatic'
9622 lt_prog_compiler_wl
=''
9630 lt_prog_compiler_pic
='-KPIC'
9631 lt_prog_compiler_static
='-Bstatic'
9635 # QNX uses GNU C++, but need to define -shared option too, otherwise
9637 lt_prog_compiler_pic
='-fPIC -shared'
9640 osf3
* | osf4
* | osf5
*)
9641 lt_prog_compiler_wl
='-Wl,'
9642 # All OSF/1 code is PIC.
9643 lt_prog_compiler_static
='-non_shared'
9647 lt_prog_compiler_static
='-non_shared'
9651 lt_prog_compiler_pic
='-KPIC'
9652 lt_prog_compiler_static
='-Bstatic'
9653 case $cc_basename in
9655 lt_prog_compiler_wl
='-Qoption ld ';;
9657 lt_prog_compiler_wl
='-Wl,';;
9662 lt_prog_compiler_wl
='-Qoption ld '
9663 lt_prog_compiler_pic
='-PIC'
9664 lt_prog_compiler_static
='-Bstatic'
9667 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9668 lt_prog_compiler_wl
='-Wl,'
9669 lt_prog_compiler_pic
='-KPIC'
9670 lt_prog_compiler_static
='-Bstatic'
9674 if test -d /usr
/nec
;then
9675 lt_prog_compiler_pic
='-Kconform_pic'
9676 lt_prog_compiler_static
='-Bstatic'
9680 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9681 lt_prog_compiler_wl
='-Wl,'
9682 lt_prog_compiler_pic
='-KPIC'
9683 lt_prog_compiler_static
='-Bstatic'
9687 lt_prog_compiler_wl
='-Wl,'
9688 lt_prog_compiler_can_build_shared
=no
9692 lt_prog_compiler_pic
='-pic'
9693 lt_prog_compiler_static
='-Bstatic'
9697 lt_prog_compiler_can_build_shared
=no
9703 # For platforms which do not support PIC, -DPIC is meaningless:
9705 lt_prog_compiler_pic
=
9708 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9711 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9712 $as_echo "$lt_prog_compiler_pic" >&6; }
9720 # Check to make sure the PIC flag actually works.
9722 if test -n "$lt_prog_compiler_pic"; then
9723 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9724 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9725 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9726 $as_echo_n "(cached) " >&6
9728 lt_cv_prog_compiler_pic_works
=no
9729 ac_outfile
=conftest.
$ac_objext
9730 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9731 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9732 # Insert the option either (1) after the last *FLAGS variable, or
9733 # (2) before a word containing "conftest.", or (3) at the end.
9734 # Note that $ac_compile itself does not contain backslashes and begins
9735 # with a dollar sign (not a hyphen), so the echo should work correctly.
9736 # The option is referenced via a variable to avoid confusing sed.
9737 lt_compile
=`echo "$ac_compile" | $SED \
9738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9740 -e 's:$: $lt_compiler_flag:'`
9741 (eval echo "\"\$as_me:9741: $lt_compile\"" >&5)
9742 (eval "$lt_compile" 2>conftest.err
)
9744 cat conftest.err
>&5
9745 echo "$as_me:9745: \$? = $ac_status" >&5
9746 if (exit $ac_status) && test -s "$ac_outfile"; then
9747 # The compiler can only warn and ignore the option if not recognized
9748 # So say no if there are warnings other than the usual output.
9749 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
9750 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9751 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9752 lt_cv_prog_compiler_pic_works
=yes
9758 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9759 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9761 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9762 case $lt_prog_compiler_pic in
9764 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9767 lt_prog_compiler_pic
=
9768 lt_prog_compiler_can_build_shared
=no
9779 # Check to make sure the static flag actually works.
9781 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9782 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9783 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9784 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9785 $as_echo_n "(cached) " >&6
9787 lt_cv_prog_compiler_static_works
=no
9788 save_LDFLAGS
="$LDFLAGS"
9789 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9790 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9791 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9792 # The linker can only warn and ignore the option if not recognized
9793 # So say no if there are warnings
9794 if test -s conftest.err
; then
9795 # Append any errors to the config.log.
9796 cat conftest.err
1>&5
9797 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
9798 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9799 if diff conftest.exp conftest.er2
>/dev
/null
; then
9800 lt_cv_prog_compiler_static_works
=yes
9803 lt_cv_prog_compiler_static_works
=yes
9807 LDFLAGS
="$save_LDFLAGS"
9810 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9811 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9813 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9816 lt_prog_compiler_static
=
9825 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9826 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9827 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9828 $as_echo_n "(cached) " >&6
9830 lt_cv_prog_compiler_c_o
=no
9831 $RM -r conftest
2>/dev
/null
9835 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9837 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9838 # Insert the option either (1) after the last *FLAGS variable, or
9839 # (2) before a word containing "conftest.", or (3) at the end.
9840 # Note that $ac_compile itself does not contain backslashes and begins
9841 # with a dollar sign (not a hyphen), so the echo should work correctly.
9842 lt_compile
=`echo "$ac_compile" | $SED \
9843 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9844 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9845 -e 's:$: $lt_compiler_flag:'`
9846 (eval echo "\"\$as_me:9846: $lt_compile\"" >&5)
9847 (eval "$lt_compile" 2>out
/conftest.err
)
9849 cat out
/conftest.err
>&5
9850 echo "$as_me:9850: \$? = $ac_status" >&5
9851 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9853 # The compiler can only warn and ignore the option if not recognized
9854 # So say no if there are warnings
9855 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9856 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9857 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9858 lt_cv_prog_compiler_c_o
=yes
9863 # SGI C++ compiler will create directory out/ii_files/ for
9864 # template instantiation
9865 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9866 $RM out
/* && rmdir out
9872 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9873 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9880 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9881 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9882 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9883 $as_echo_n "(cached) " >&6
9885 lt_cv_prog_compiler_c_o
=no
9886 $RM -r conftest
2>/dev
/null
9890 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9892 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9893 # Insert the option either (1) after the last *FLAGS variable, or
9894 # (2) before a word containing "conftest.", or (3) at the end.
9895 # Note that $ac_compile itself does not contain backslashes and begins
9896 # with a dollar sign (not a hyphen), so the echo should work correctly.
9897 lt_compile
=`echo "$ac_compile" | $SED \
9898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9900 -e 's:$: $lt_compiler_flag:'`
9901 (eval echo "\"\$as_me:9901: $lt_compile\"" >&5)
9902 (eval "$lt_compile" 2>out
/conftest.err
)
9904 cat out
/conftest.err
>&5
9905 echo "$as_me:9905: \$? = $ac_status" >&5
9906 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9908 # The compiler can only warn and ignore the option if not recognized
9909 # So say no if there are warnings
9910 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
9911 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9912 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9913 lt_cv_prog_compiler_c_o
=yes
9918 # SGI C++ compiler will create directory out/ii_files/ for
9919 # template instantiation
9920 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9921 $RM out
/* && rmdir out
9927 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9928 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9933 hard_links
="nottested"
9934 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9935 # do not overwrite the value of need_locks provided by the user
9936 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9937 $as_echo_n "checking if we can lock with hard links... " >&6; }
9940 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9942 ln conftest.a conftest.b
2>&5 || hard_links
=no
9943 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9944 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9945 $as_echo "$hard_links" >&6; }
9946 if test "$hard_links" = no
; then
9947 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9948 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9960 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9961 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9964 allow_undefined_flag
=
9965 always_export_symbols
=no
9967 archive_expsym_cmds
=
9968 compiler_needs_object
=no
9969 enable_shared_with_static_runtimes
=no
9970 export_dynamic_flag_spec
=
9971 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9972 hardcode_automatic
=no
9974 hardcode_direct_absolute
=no
9975 hardcode_libdir_flag_spec
=
9976 hardcode_libdir_flag_spec_ld
=
9977 hardcode_libdir_separator
=
9979 hardcode_shlibpath_var
=unsupported
9981 link_all_deplibs
=unknown
9984 old_archive_from_new_cmds
=
9985 old_archive_from_expsyms_cmds
=
9986 thread_safe_flag_spec
=
9987 whole_archive_flag_spec
=
9988 # include_expsyms should be a list of space-separated symbols to be *always*
9989 # included in the symbol list
9991 # exclude_expsyms can be an extended regexp of symbols to exclude
9992 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9993 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9994 # as well as any symbol that contains `d'.
9995 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9996 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9997 # platforms (ab)use it in PIC code, but their linkers get confused if
9998 # the symbol is explicitly referenced. Since portable code cannot
9999 # rely on this symbol name, it's probably fine to never include it in
10000 # preloaded symbol tables.
10001 # Exclude shared library initialization/finalization symbols.
10002 extract_expsyms_cmds
=
10005 cygwin
* | mingw
* | pw32
* | cegcc
*)
10006 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10007 # When not using gcc, we currently assume that we are using
10008 # Microsoft Visual C++.
10009 if test "$GCC" != yes; then
10014 # we just hope/assume this is gcc and not c89 (= MSVC++)
10023 if test "$with_gnu_ld" = yes; then
10024 # If archive_cmds runs LD, not CC, wlarc should be empty
10027 # Set some defaults for GNU ld with shared library support. These
10028 # are reset later if shared libraries are not supported. Putting them
10029 # here allows them to be overridden if necessary.
10030 runpath_var
=LD_RUN_PATH
10031 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10032 export_dynamic_flag_spec
='${wl}--export-dynamic'
10033 # ancient GNU ld didn't support --whole-archive et. al.
10034 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10035 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10037 whole_archive_flag_spec
=
10039 supports_anon_versioning
=no
10040 case `$LD -v 2>&1` in
10041 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10042 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10043 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10044 *\
2.11.
*) ;; # other 2.11 versions
10045 *) supports_anon_versioning
=yes ;;
10048 # See if GNU ld supports shared libraries.
10051 # On AIX/PPC, the GNU linker is very broken
10052 if test "$host_cpu" != ia64
; then
10056 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10057 *** to be unable to reliably create shared libraries on AIX.
10058 *** Therefore, libtool is disabling shared libraries support. If you
10059 *** really care for shared libraries, you may want to modify your PATH
10060 *** so that a non-GNU linker is found, and then restart.
10069 # see comment about AmigaOS4 .so support
10070 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10071 archive_expsym_cmds
=''
10074 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)'
10075 hardcode_libdir_flag_spec
='-L$libdir'
10076 hardcode_minus_L
=yes
10082 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10083 allow_undefined_flag
=unsupported
10084 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10085 # support --undefined. This deserves some investigation. FIXME
10086 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10092 cygwin
* | mingw
* | pw32
* | cegcc
*)
10093 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10094 # as there is no search path for DLLs.
10095 hardcode_libdir_flag_spec
='-L$libdir'
10096 allow_undefined_flag
=unsupported
10097 always_export_symbols
=no
10098 enable_shared_with_static_runtimes
=yes
10099 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10101 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10102 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10103 # If the export-symbols file already is a .def file (1st line
10104 # is EXPORTS), use it as is; otherwise, prepend...
10105 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10106 cp $export_symbols $output_objdir/$soname.def;
10108 echo EXPORTS > $output_objdir/$soname.def;
10109 cat $export_symbols >> $output_objdir/$soname.def;
10111 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10119 hardcode_shlibpath_var
=no
10120 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10121 export_dynamic_flag_spec
='${wl}-E'
10122 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10123 # Instead, shared libraries are loaded at an image base (0x10000000 by
10124 # default) and relocated if they conflict, which is a slow very memory
10125 # consuming and fragmenting process. To avoid this, we pick a random,
10126 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10127 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10128 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10129 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'
10132 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
10134 if test "$host_os" = linux-dietlibc
; then
10135 case $cc_basename in
10136 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10139 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10140 && test "$tmp_diet" = no
10143 tmp_sharedflag
='-shared'
10144 case $cc_basename,$host_cpu in
10145 pgcc
*) # Portland Group C compiler
10146 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'
10147 tmp_addflag
=' $pic_flag'
10149 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
10150 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'
10151 tmp_addflag
=' $pic_flag -Mnomain' ;;
10152 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10153 tmp_addflag
=' -i_dynamic' ;;
10154 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10155 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10156 ifc
* | ifort
*) # Intel Fortran compiler
10157 tmp_addflag
=' -nofor_main' ;;
10158 lf95
*) # Lahey Fortran 8.1
10159 whole_archive_flag_spec
=
10160 tmp_sharedflag
='--shared' ;;
10161 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10162 tmp_sharedflag
='-qmkshrobj'
10165 case `$CC -V 2>&1 | sed 5q` in
10166 *Sun\ C
*) # Sun C 5.9
10167 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'
10168 compiler_needs_object
=yes
10169 tmp_sharedflag
='-G' ;;
10170 *Sun\ F
*) # Sun Fortran 8.3
10171 tmp_sharedflag
='-G' ;;
10173 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10175 if test "x$supports_anon_versioning" = xyes
; then
10176 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10177 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10178 echo "local: *; };" >> $output_objdir/$libname.ver~
10179 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10182 case $cc_basename in
10184 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10185 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10186 hardcode_libdir_flag_spec
=
10187 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10188 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10189 if test "x$supports_anon_versioning" = xyes
; then
10190 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10191 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10192 echo "local: *; };" >> $output_objdir/$libname.ver~
10193 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10203 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10204 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10207 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10208 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10213 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10217 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10218 *** create shared libraries on Solaris systems. Therefore, libtool
10219 *** is disabling shared libraries support. We urge you to upgrade GNU
10220 *** binutils to release 2.9.1 or newer. Another option is to modify
10221 *** your PATH or compiler configuration so that the native linker is
10222 *** used, and then restart.
10225 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10226 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10227 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10233 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10234 case `$LD -v 2>&1` in
10235 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10239 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10240 *** reliably create shared libraries on SCO systems. Therefore, libtool
10241 *** is disabling shared libraries support. We urge you to upgrade GNU
10242 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10243 *** your PATH or compiler configuration so that the native linker is
10244 *** used, and then restart.
10249 # For security reasons, it is highly recommended that you always
10250 # use absolute paths for naming shared libraries, and exclude the
10251 # DT_RUNPATH tag from executables and libraries. But doing so
10252 # requires that you compile everything twice, which is a pain.
10253 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10254 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10255 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10256 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10265 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_direct
=yes
10268 hardcode_shlibpath_var
=no
10272 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10273 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10274 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10281 if test "$ld_shlibs" = no
; then
10283 hardcode_libdir_flag_spec
=
10284 export_dynamic_flag_spec
=
10285 whole_archive_flag_spec
=
10288 # PORTME fill in a description of your system's linker (not GNU ld)
10291 allow_undefined_flag
=unsupported
10292 always_export_symbols
=yes
10293 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'
10294 # Note: this linker hardcodes the directories in LIBPATH if there
10295 # are no directories specified by -L.
10296 hardcode_minus_L
=yes
10297 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10298 # Neither direct hardcoding nor static linking is supported with a
10300 hardcode_direct
=unsupported
10305 if test "$host_cpu" = ia64
; then
10306 # On IA64, the linker does run time linking by default, so we don't
10307 # have to do anything special.
10308 aix_use_runtimelinking
=no
10309 exp_sym_flag
='-Bexport'
10312 # If we're using GNU nm, then we don't want the "-C" option.
10313 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10314 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10315 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'
10317 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'
10319 aix_use_runtimelinking
=no
10321 # Test if we are trying to use run time linking or normal
10322 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10323 # need to do runtime linking.
10324 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10325 for ld_flag
in $LDFLAGS; do
10326 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10327 aix_use_runtimelinking
=yes
10334 exp_sym_flag
='-bexport'
10335 no_entry_flag
='-bnoentry'
10338 # When large executables or shared objects are built, AIX ld can
10339 # have problems creating the table of contents. If linking a library
10340 # or program results in "error TOC overflow" add -mminimal-toc to
10341 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10342 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10345 hardcode_direct
=yes
10346 hardcode_direct_absolute
=yes
10347 hardcode_libdir_separator
=':'
10348 link_all_deplibs
=yes
10349 file_list_spec
='${wl}-f,'
10351 if test "$GCC" = yes; then
10352 case $host_os in aix4.
[012]|aix4.
[012].
*)
10353 # We only want to do this on AIX 4.2 and lower, the check
10354 # below for broken collect2 doesn't work under 4.3+
10355 collect2name
=`${CC} -print-prog-name=collect2`
10356 if test -f "$collect2name" &&
10357 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10359 # We have reworked collect2
10362 # We have old collect2
10363 hardcode_direct
=unsupported
10364 # It fails to find uninstalled libraries when the uninstalled
10365 # path is not listed in the libpath. Setting hardcode_minus_L
10366 # to unsupported forces relinking
10367 hardcode_minus_L
=yes
10368 hardcode_libdir_flag_spec
='-L$libdir'
10369 hardcode_libdir_separator
=
10373 shared_flag
='-shared'
10374 if test "$aix_use_runtimelinking" = yes; then
10375 shared_flag
="$shared_flag "'${wl}-G'
10379 if test "$host_cpu" = ia64
; then
10380 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10381 # chokes on -Wl,-G. The following line is correct:
10384 if test "$aix_use_runtimelinking" = yes; then
10385 shared_flag
='${wl}-G'
10387 shared_flag
='${wl}-bM:SRE'
10392 export_dynamic_flag_spec
='${wl}-bexpall'
10393 # It seems that -bexpall does not export symbols beginning with
10394 # underscore (_), so it is better to generate a list of symbols to export.
10395 always_export_symbols
=yes
10396 if test "$aix_use_runtimelinking" = yes; then
10397 # Warning - without using the other runtime loading flags (-brtl),
10398 # -berok will link without error, but may produce a broken library.
10399 allow_undefined_flag
='-berok'
10400 # Determine the default libpath from the value encoded in an
10401 # empty executable.
10402 cat >conftest.
$ac_ext <<_ACEOF
10405 cat confdefs.h
>>conftest.
$ac_ext
10406 cat >>conftest.
$ac_ext <<_ACEOF
10407 /* end confdefs.h. */
10417 rm -f conftest.
$ac_objext conftest
$ac_exeext
10418 if { (ac_try
="$ac_link"
10419 case "(($ac_try" in
10420 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10421 *) ac_try_echo=$ac_try;;
10423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10424 $as_echo "$ac_try_echo") >&5
10425 (eval "$ac_link") 2>conftest.er1
10427 grep -v '^ *+' conftest.er1 >conftest.err
10429 cat conftest.err >&5
10430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10431 (exit $ac_status); } && {
10432 test -z "$ac_c_werror_flag" ||
10433 test ! -s conftest.err
10434 } && test -s conftest$ac_exeext && {
10435 test "$cross_compiling" = yes ||
10436 $as_test_x conftest$ac_exeext
10439 lt_aix_libpath_sed='
10440 /Import File Strings/,/^$/ {
10446 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10447 # Check for a 64-bit object if we didn't find anything.
10448 if test -z "$aix_libpath"; then
10449 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
10452 $as_echo "$as_me: failed program was:" >&5
10453 sed 's/^/| /' conftest.$ac_ext >&5
10458 rm -rf conftest.dSYM
10459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10460 conftest$ac_exeext conftest.$ac_ext
10461 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10463 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10464 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10466 if test "$host_cpu" = ia64; then
10467 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10468 allow_undefined_flag="-z nodefs"
10469 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"
10471 # Determine the default libpath from the value encoded in an
10472 # empty executable.
10473 cat >conftest.$ac_ext <<_ACEOF
10476 cat confdefs.h >>conftest.$ac_ext
10477 cat >>conftest.$ac_ext <<_ACEOF
10478 /* end confdefs.h. */
10488 rm -f conftest.$ac_objext conftest$ac_exeext
10489 if { (ac_try="$ac_link"
10490 case "(($ac_try" in
10491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10492 *) ac_try_echo
=$ac_try;;
10494 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10495 $as_echo "$ac_try_echo") >&5
10496 (eval "$ac_link") 2>conftest.er1
10498 grep -v '^ *+' conftest.er1
>conftest.err
10500 cat conftest.err
>&5
10501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); } && {
10503 test -z "$ac_c_werror_flag" ||
10504 test ! -s conftest.err
10505 } && test -s conftest
$ac_exeext && {
10506 test "$cross_compiling" = yes ||
10507 $as_test_x conftest
$ac_exeext
10510 lt_aix_libpath_sed
='
10511 /Import File Strings/,/^$/ {
10517 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10518 # Check for a 64-bit object if we didn't find anything.
10519 if test -z "$aix_libpath"; then
10520 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10523 $as_echo "$as_me: failed program was:" >&5
10524 sed 's/^/| /' conftest.
$ac_ext >&5
10529 rm -rf conftest.dSYM
10530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10531 conftest
$ac_exeext conftest.
$ac_ext
10532 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10534 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10535 # Warning - without using the other run time loading flags,
10536 # -berok will link without error, but may produce a broken library.
10537 no_undefined_flag
=' ${wl}-bernotok'
10538 allow_undefined_flag
=' ${wl}-berok'
10539 # Exported symbols can be pulled into shared objects from archives
10540 whole_archive_flag_spec
='$convenience'
10541 archive_cmds_need_lc
=yes
10542 # This is similar to how AIX traditionally builds its shared libraries.
10543 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'
10551 # see comment about AmigaOS4 .so support
10552 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10553 archive_expsym_cmds
=''
10556 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)'
10557 hardcode_libdir_flag_spec
='-L$libdir'
10558 hardcode_minus_L
=yes
10564 export_dynamic_flag_spec
=-rdynamic
10567 cygwin
* | mingw
* | pw32
* | cegcc
*)
10568 # When not using gcc, we currently assume that we are using
10569 # Microsoft Visual C++.
10570 # hardcode_libdir_flag_spec is actually meaningless, as there is
10571 # no search path for DLLs.
10572 hardcode_libdir_flag_spec
=' '
10573 allow_undefined_flag
=unsupported
10574 # Tell ltmain to make .lib files, not .a files.
10576 # Tell ltmain to make .dll files, not .so files.
10578 # FIXME: Setting linknames here is a bad hack.
10579 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10580 # The linker will automatically build a .lib file if we build a DLL.
10581 old_archive_from_new_cmds
='true'
10582 # FIXME: Should let the user specify the lib program.
10583 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10584 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10585 enable_shared_with_static_runtimes
=yes
10588 darwin
* | rhapsody
*)
10591 archive_cmds_need_lc
=no
10593 hardcode_automatic
=yes
10594 hardcode_shlibpath_var
=unsupported
10595 whole_archive_flag_spec
=''
10596 link_all_deplibs
=yes
10597 allow_undefined_flag
="$_lt_dar_allow_undefined"
10598 case $cc_basename in
10599 ifort
*) _lt_dar_can_shared
=yes ;;
10600 *) _lt_dar_can_shared
=$GCC ;;
10602 if test "$_lt_dar_can_shared" = "yes"; then
10603 output_verbose_link_cmd
=echo
10604 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10605 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10606 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}"
10607 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}"
10616 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10617 hardcode_libdir_flag_spec
='-L$libdir'
10618 hardcode_shlibpath_var
=no
10625 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10626 # support. Future versions do this automatically, but an explicit c++rt0.o
10627 # does not break anything, and helps significantly (at the cost of a little
10630 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10631 hardcode_libdir_flag_spec
='-R$libdir'
10632 hardcode_direct
=yes
10633 hardcode_shlibpath_var
=no
10636 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10638 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10639 hardcode_direct
=yes
10640 hardcode_minus_L
=yes
10641 hardcode_shlibpath_var
=no
10644 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10645 freebsd
* | dragonfly
*)
10646 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10647 hardcode_libdir_flag_spec
='-R$libdir'
10648 hardcode_direct
=yes
10649 hardcode_shlibpath_var
=no
10653 if test "$GCC" = yes; then
10654 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'
10656 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'
10658 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10659 hardcode_libdir_separator
=:
10660 hardcode_direct
=yes
10662 # hardcode_minus_L: Not really in the search PATH,
10663 # but as the default location of the library.
10664 hardcode_minus_L
=yes
10665 export_dynamic_flag_spec
='${wl}-E'
10669 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10670 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10672 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10674 if test "$with_gnu_ld" = no
; then
10675 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10676 hardcode_libdir_flag_spec_ld
='+b $libdir'
10677 hardcode_libdir_separator
=:
10678 hardcode_direct
=yes
10679 hardcode_direct_absolute
=yes
10680 export_dynamic_flag_spec
='${wl}-E'
10681 # hardcode_minus_L: Not really in the search PATH,
10682 # but as the default location of the library.
10683 hardcode_minus_L
=yes
10688 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
10691 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10694 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10697 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10703 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10706 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10709 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10713 if test "$with_gnu_ld" = no
; then
10714 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10715 hardcode_libdir_separator
=:
10720 hardcode_shlibpath_var
=no
10723 hardcode_direct
=yes
10724 hardcode_direct_absolute
=yes
10725 export_dynamic_flag_spec
='${wl}-E'
10727 # hardcode_minus_L: Not really in the search PATH,
10728 # but as the default location of the library.
10729 hardcode_minus_L
=yes
10735 irix5
* | irix6
* | nonstopux
*)
10736 if test "$GCC" = yes; then
10737 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10738 # Try to use the -exported_symbol ld option, if it does not
10739 # work, assume that -exports_file does not work either and
10740 # implicitly export all symbols.
10741 save_LDFLAGS
="$LDFLAGS"
10742 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10743 cat >conftest.
$ac_ext <<_ACEOF
10746 rm -f conftest.
$ac_objext conftest
$ac_exeext
10747 if { (ac_try
="$ac_link"
10748 case "(($ac_try" in
10749 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10750 *) ac_try_echo=$ac_try;;
10752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10753 $as_echo "$ac_try_echo") >&5
10754 (eval "$ac_link") 2>conftest.er1
10756 grep -v '^ *+' conftest.er1 >conftest.err
10758 cat conftest.err >&5
10759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); } && {
10761 test -z "$ac_c_werror_flag" ||
10762 test ! -s conftest.err
10763 } && test -s conftest$ac_exeext && {
10764 test "$cross_compiling" = yes ||
10765 $as_test_x conftest$ac_exeext
10767 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10770 $as_echo "$as_me: failed program was:" >&5
10771 sed 's/^/| /' conftest.$ac_ext >&5
10776 rm -rf conftest.dSYM
10777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10778 conftest$ac_exeext conftest.$ac_ext
10779 LDFLAGS="$save_LDFLAGS"
10781 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10782 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10784 archive_cmds_need_lc='no'
10785 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10786 hardcode_libdir_separator=:
10788 link_all_deplibs=yes
10792 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10793 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10795 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10797 hardcode_libdir_flag_spec='-R$libdir'
10798 hardcode_direct=yes
10799 hardcode_shlibpath_var=no
10803 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10804 hardcode_direct=yes
10805 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10806 hardcode_libdir_separator=:
10807 hardcode_shlibpath_var=no
10814 if test -f /usr/libexec/ld.so; then
10815 hardcode_direct=yes
10816 hardcode_shlibpath_var=no
10817 hardcode_direct_absolute=yes
10818 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10819 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10820 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10821 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10822 export_dynamic_flag_spec='${wl}-E'
10825 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10826 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10827 hardcode_libdir_flag_spec='-R$libdir'
10830 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10831 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10841 hardcode_libdir_flag_spec='-L$libdir'
10842 hardcode_minus_L=yes
10843 allow_undefined_flag=unsupported
10844 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'
10845 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10849 if test "$GCC" = yes; then
10850 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10851 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10853 allow_undefined_flag=' -expect_unresolved \*'
10854 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10856 archive_cmds_need_lc='no'
10857 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10858 hardcode_libdir_separator=:
10861 osf4* | osf5*) # as osf3* with the addition of -msym flag
10862 if test "$GCC" = yes; then
10863 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10864 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10865 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10867 allow_undefined_flag=' -expect_unresolved \*'
10868 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" |
$Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10869 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10870 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10872 # Both c and cxx compiler support -rpath directly
10873 hardcode_libdir_flag_spec='-rpath $libdir'
10875 archive_cmds_need_lc='no'
10876 hardcode_libdir_separator=:
10880 no_undefined_flag=' -z defs'
10881 if test "$GCC" = yes; then
10883 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10884 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10885 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10887 case `$CC -V 2>&1` in
10890 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10891 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10892 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10896 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10897 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10898 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10902 hardcode_libdir_flag_spec='-R$libdir'
10903 hardcode_shlibpath_var=no
10905 solaris2.[0-5] | solaris2.[0-5].*) ;;
10907 # The compiler driver will combine and reorder linker options,
10908 # but understands `-z linker_flag
'. GCC discards it without `$wl',
10909 # but is careful enough not to reorder.
10910 # Supported since Solaris 2.6 (maybe 2.5.1?)
10911 if test "$GCC" = yes; then
10912 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10914 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10918 link_all_deplibs
=yes
10922 if test "x$host_vendor" = xsequent
; then
10923 # Use $CC to link under sequent, because it throws in some extra .o
10924 # files that make .init and .fini sections work.
10925 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10927 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10929 hardcode_libdir_flag_spec
='-L$libdir'
10930 hardcode_direct
=yes
10931 hardcode_minus_L
=yes
10932 hardcode_shlibpath_var
=no
10936 case $host_vendor in
10938 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10939 hardcode_direct
=yes # is this really true???
10942 ## LD is ld it makes a PLAMLIB
10943 ## CC just makes a GrossModule.
10944 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10945 reload_cmds
='$CC -r -o $output$reload_objs'
10949 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10950 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10953 runpath_var
='LD_RUN_PATH'
10954 hardcode_shlibpath_var
=no
10958 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10959 hardcode_shlibpath_var
=no
10960 export_dynamic_flag_spec
='-Bexport'
10964 if test -d /usr
/nec
; then
10965 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10966 hardcode_shlibpath_var
=no
10967 runpath_var
=LD_RUN_PATH
10968 hardcode_runpath_var
=yes
10973 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10974 no_undefined_flag
='${wl}-z,text'
10975 archive_cmds_need_lc
=no
10976 hardcode_shlibpath_var
=no
10977 runpath_var
='LD_RUN_PATH'
10979 if test "$GCC" = yes; then
10980 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10981 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10983 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10984 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10988 sysv5
* | sco3.2v5
* | sco5v6
*)
10989 # Note: We can NOT use -z defs as we might desire, because we do not
10990 # link with -lc, and that would cause any symbols used from libc to
10991 # always be unresolved, which means just about no library would
10992 # ever link correctly. If we're not using GNU ld we use -z text
10993 # though, which does catch some bad symbols but isn't as heavy-handed
10995 no_undefined_flag
='${wl}-z,text'
10996 allow_undefined_flag
='${wl}-z,nodefs'
10997 archive_cmds_need_lc
=no
10998 hardcode_shlibpath_var
=no
10999 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11000 hardcode_libdir_separator
=':'
11001 link_all_deplibs
=yes
11002 export_dynamic_flag_spec
='${wl}-Bexport'
11003 runpath_var
='LD_RUN_PATH'
11005 if test "$GCC" = yes; then
11006 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11007 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11009 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11010 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11015 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11016 hardcode_libdir_flag_spec
='-L$libdir'
11017 hardcode_shlibpath_var
=no
11025 if test x
$host_vendor = xsni
; then
11027 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11028 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11034 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
11035 $as_echo "$ld_shlibs" >&6; }
11036 test "$ld_shlibs" = no
&& can_build_shared
=no
11038 with_gnu_ld
=$with_gnu_ld
11055 # Do we need to explicitly link libc?
11057 case "x$archive_cmds_need_lc" in
11059 # Assume -lc should be added
11060 archive_cmds_need_lc
=yes
11062 if test "$enable_shared" = yes && test "$GCC" = yes; then
11063 case $archive_cmds in
11065 # FIXME: we may have to deal with multi-command sequences.
11068 # Test whether the compiler implicitly links with -lc since on some
11069 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11070 # to ld, don't add -lc before -lgcc.
11071 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11072 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11074 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11077 (eval $ac_compile) 2>&5
11079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11080 (exit $ac_status); } 2>conftest.err
; then
11083 libobjs
=conftest.
$ac_objext
11085 wl
=$lt_prog_compiler_wl
11086 pic_flag
=$lt_prog_compiler_pic
11092 lt_save_allow_undefined_flag
=$allow_undefined_flag
11093 allow_undefined_flag
=
11094 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
11095 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11097 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11098 (exit $ac_status); }
11100 archive_cmds_need_lc
=no
11102 archive_cmds_need_lc
=yes
11104 allow_undefined_flag
=$lt_save_allow_undefined_flag
11106 cat conftest.err
1>&5
11109 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
11110 $as_echo "$archive_cmds_need_lc" >&6; }
11273 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11274 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11276 if test "$GCC" = yes; then
11278 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11279 *) lt_awk_arg
="/^libraries:/" ;;
11281 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11282 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
11283 # if the path contains ";" then we assume it to be the separator
11284 # otherwise default to the standard path separator (i.e. ":") - it is
11285 # assumed that no part of a normal pathname contains ";" but that should
11286 # okay in the real world where ";" in dirpaths is itself problematic.
11287 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11289 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11291 # Ok, now we have the path, separated by spaces, we can step through it
11292 # and add multilib dir if necessary.
11293 lt_tmp_lt_search_path_spec
=
11294 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11295 for lt_sys_path
in $lt_search_path_spec; do
11296 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11297 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11299 test -d "$lt_sys_path" && \
11300 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11303 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11304 BEGIN {RS=" "; FS="/|\n";} {
11307 for (lt_i = NF; lt_i > 0; lt_i--) {
11308 if ($lt_i != "" && $lt_i != ".") {
11309 if ($lt_i == "..") {
11312 if (lt_count == 0) {
11313 lt_foo="/" $lt_i lt_foo;
11320 if (lt_foo != "") { lt_freq[lt_foo]++; }
11321 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11323 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
11325 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11327 library_names_spec
=
11328 libname_spec
='lib$name'
11332 postuninstall_cmds
=
11336 shlibpath_overrides_runpath
=unknown
11338 dynamic_linker
="$host_os ld.so"
11339 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11340 need_lib_prefix
=unknown
11341 hardcode_into_libs
=no
11343 # when you set need_version to no, make sure it does not cause -set_version
11344 # flags to be left without arguments
11345 need_version
=unknown
11350 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11351 shlibpath_var
=LIBPATH
11353 # AIX 3 has no versioning support, so we append a major version to the name.
11354 soname_spec
='${libname}${release}${shared_ext}$major'
11361 hardcode_into_libs
=yes
11362 if test "$host_cpu" = ia64
; then
11363 # AIX 5 supports IA64
11364 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11365 shlibpath_var
=LD_LIBRARY_PATH
11367 # With GCC up to 2.95.x, collect2 would create an import file
11368 # for dependence libraries. The import file would start with
11369 # the line `#! .'. This would cause the generated library to
11370 # depend on `.', always an invalid library. This was fixed in
11371 # development snapshots of GCC prior to 3.0.
11373 aix4 | aix4.
[01] | aix4.
[01].
*)
11374 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11376 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11379 can_build_shared
=no
11383 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11384 # soname into executable. Probably we can add versioning support to
11385 # collect2, so additional links can be useful in future.
11386 if test "$aix_use_runtimelinking" = yes; then
11387 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11388 # instead of lib<name>.a to let people know that these are not
11389 # typical AIX shared libraries.
11390 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11392 # We preserve .a as extension for shared libraries through AIX4.2
11393 # and later when we are not doing run time linking.
11394 library_names_spec
='${libname}${release}.a $libname.a'
11395 soname_spec
='${libname}${release}${shared_ext}$major'
11397 shlibpath_var
=LIBPATH
11404 # Since July 2007 AmigaOS4 officially supports .so libraries.
11405 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11406 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11409 library_names_spec
='$libname.ixlibrary $libname.a'
11410 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11411 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'
11417 library_names_spec
='${libname}${shared_ext}'
11418 dynamic_linker
="$host_os ld.so"
11419 shlibpath_var
=LIBRARY_PATH
11425 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11426 soname_spec
='${libname}${release}${shared_ext}$major'
11427 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11428 shlibpath_var
=LD_LIBRARY_PATH
11429 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11430 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11431 # the default ld.so.conf also contains /usr/contrib/lib and
11432 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11433 # libtool to hard-code these into programs
11436 cygwin
* | mingw
* | pw32
* | cegcc
*)
11437 version_type
=windows
11442 case $GCC,$host_os in
11443 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11444 library_names_spec
='$libname.dll.a'
11445 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11446 postinstall_cmds
='base_file=`basename \${file}`~
11447 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11448 dldir=$destdir/`dirname \$dlpath`~
11449 test -d \$dldir || mkdir -p \$dldir~
11450 $install_prog $dir/$dlname \$dldir/$dlname~
11451 chmod a+x \$dldir/$dlname~
11452 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11453 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11455 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11456 dlpath=$dir/\$dldll~
11458 shlibpath_overrides_runpath
=yes
11462 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11463 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11464 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
11467 # MinGW DLLs use traditional 'lib' prefix
11468 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11469 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11470 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11471 # It is most probably a Windows format PATH printed by
11472 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11473 # path with ; separators, and with drive letters. We can handle the
11474 # drive letters (cygwin fileutils understands them), so leave them,
11475 # especially as we might pass files found there to a mingw objdump,
11476 # which wouldn't understand a cygwinified path. Ahh.
11477 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11479 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11483 # pw32 DLLs use 'pw' prefix rather than 'lib'
11484 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11490 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11493 dynamic_linker
='Win32 ld.exe'
11494 # FIXME: first we should search . and the directory the executable is in
11498 darwin
* | rhapsody
*)
11499 dynamic_linker
="$host_os dyld"
11500 version_type
=darwin
11503 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11504 soname_spec
='${libname}${release}${major}$shared_ext'
11505 shlibpath_overrides_runpath
=yes
11506 shlibpath_var
=DYLD_LIBRARY_PATH
11507 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11509 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11510 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11518 soname_spec
='${libname}${release}${shared_ext}$major'
11519 shlibpath_var
=LD_LIBRARY_PATH
11526 freebsd
* | dragonfly
*)
11527 # DragonFly does not have aout. When/if they implement a new
11528 # versioning mechanism, adjust this.
11529 if test -x /usr
/bin
/objformat
; then
11530 objformat
=`/usr/bin/objformat`
11533 freebsd
[123]*) objformat
=aout
;;
11534 *) objformat
=elf
;;
11537 version_type
=freebsd-
$objformat
11538 case $version_type in
11540 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11545 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11549 shlibpath_var
=LD_LIBRARY_PATH
11552 shlibpath_overrides_runpath
=yes
11554 freebsd3.
[01]* | freebsdelf3.
[01]*)
11555 shlibpath_overrides_runpath
=yes
11556 hardcode_into_libs
=yes
11558 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11559 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11560 shlibpath_overrides_runpath
=no
11561 hardcode_into_libs
=yes
11563 *) # from 4.6 on, and DragonFly
11564 shlibpath_overrides_runpath
=yes
11565 hardcode_into_libs
=yes
11574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11575 soname_spec
='${libname}${release}${shared_ext}$major'
11576 shlibpath_var
=LD_LIBRARY_PATH
11577 hardcode_into_libs
=yes
11580 hpux9
* | hpux10
* | hpux11
*)
11581 # Give a soname corresponding to the major version so that dld.sl refuses to
11582 # link against other versions.
11589 hardcode_into_libs
=yes
11590 dynamic_linker
="$host_os dld.so"
11591 shlibpath_var
=LD_LIBRARY_PATH
11592 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11593 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11594 soname_spec
='${libname}${release}${shared_ext}$major'
11595 if test "X$HPUX_IA64_MODE" = X32
; then
11596 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11598 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11600 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11604 hardcode_into_libs
=yes
11605 dynamic_linker
="$host_os dld.sl"
11606 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11607 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11608 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11609 soname_spec
='${libname}${release}${shared_ext}$major'
11610 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11611 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11615 dynamic_linker
="$host_os dld.sl"
11616 shlibpath_var
=SHLIB_PATH
11617 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11618 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11619 soname_spec
='${libname}${release}${shared_ext}$major'
11622 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11623 postinstall_cmds
='chmod 555 $lib'
11630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11631 soname_spec
='${libname}${release}${shared_ext}$major'
11632 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11633 shlibpath_var
=LD_LIBRARY_PATH
11634 shlibpath_overrides_runpath
=no
11635 hardcode_into_libs
=yes
11638 irix5
* | irix6
* | nonstopux
*)
11640 nonstopux
*) version_type
=nonstopux
;;
11642 if test "$lt_cv_prog_gnu_ld" = yes; then
11650 soname_spec
='${libname}${release}${shared_ext}$major'
11651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11653 irix5
* | nonstopux
*)
11654 libsuff
= shlibsuff
=
11657 case $LD in # libtool.m4 will add one of these switches to LD
11658 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11659 libsuff
= shlibsuff
= libmagic
=32-bit;;
11660 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11661 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11662 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11663 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11664 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11668 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11669 shlibpath_overrides_runpath
=no
11670 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11671 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11672 hardcode_into_libs
=yes
11675 # No shared lib support for Linux oldld, aout, or coff.
11676 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11680 # This must be Linux ELF.
11681 linux
* | k
*bsd
*-gnu)
11685 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11686 soname_spec
='${libname}${release}${shared_ext}$major'
11687 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11688 shlibpath_var
=LD_LIBRARY_PATH
11689 shlibpath_overrides_runpath
=no
11690 # Some binutils ld are patched to set DT_RUNPATH
11691 save_LDFLAGS
=$LDFLAGS
11692 save_libdir
=$libdir
11693 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11694 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11695 cat >conftest.
$ac_ext <<_ACEOF
11698 cat confdefs.h
>>conftest.
$ac_ext
11699 cat >>conftest.
$ac_ext <<_ACEOF
11700 /* end confdefs.h. */
11710 rm -f conftest.
$ac_objext conftest
$ac_exeext
11711 if { (ac_try
="$ac_link"
11712 case "(($ac_try" in
11713 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11714 *) ac_try_echo=$ac_try;;
11716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11717 $as_echo "$ac_try_echo") >&5
11718 (eval "$ac_link") 2>conftest.er1
11720 grep -v '^ *+' conftest.er1 >conftest.err
11722 cat conftest.err >&5
11723 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } && {
11725 test -z "$ac_c_werror_flag" ||
11726 test ! -s conftest.err
11727 } && test -s conftest$ac_exeext && {
11728 test "$cross_compiling" = yes ||
11729 $as_test_x conftest$ac_exeext
11731 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
11732 shlibpath_overrides_runpath=yes
11736 $as_echo "$as_me: failed program was:" >&5
11737 sed 's/^/| /' conftest.$ac_ext >&5
11742 rm -rf conftest.dSYM
11743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11744 conftest$ac_exeext conftest.$ac_ext
11745 LDFLAGS=$save_LDFLAGS
11746 libdir=$save_libdir
11748 # This implies no fast_install, which is unacceptable.
11749 # Some rework will be needed to allow for fast_install
11750 # before this can be enabled.
11751 hardcode_into_libs=yes
11753 # Add ABI-specific directories to the system library path.
11754 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11756 # Append ld.so.conf contents to the search path
11757 if test -f /etc/ld.so.conf; then
11758 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' ' '`
11759 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
11762 # We used to test for /lib/ld.so.1 and disable shared libraries on
11763 # powerpc, because MkLinux only supported shared libraries with the
11764 # GNU dynamic linker. Since this was broken with cross compilers,
11765 # most powerpc-linux boxes support dynamic linking these days and
11766 # people can always --disable-shared, the test was removed, and we
11767 # assume the GNU/Linux dynamic linker is in use.
11768 dynamic_linker='GNU/Linux ld.so'
11775 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11777 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11778 dynamic_linker='NetBSD (a.out) ld.so'
11780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11781 soname_spec='${libname}${release}${shared_ext}$major'
11782 dynamic_linker='NetBSD ld.elf_so'
11784 shlibpath_var=LD_LIBRARY_PATH
11785 shlibpath_overrides_runpath=yes
11786 hardcode_into_libs=yes
11791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792 shlibpath_var=LD_LIBRARY_PATH
11793 shlibpath_overrides_runpath=yes
11800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11801 soname_spec='${libname}${release}${shared_ext}$major'
11802 shlibpath_var=LD_LIBRARY_PATH
11803 shlibpath_overrides_runpath=no
11804 hardcode_into_libs=yes
11805 dynamic_linker='ldqnx.so'
11810 sys_lib_dlsearch_path_spec="/usr/lib"
11812 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11814 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11815 *) need_version=no ;;
11817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11818 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11819 shlibpath_var=LD_LIBRARY_PATH
11820 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11822 openbsd2.[89] | openbsd2.[89].*)
11823 shlibpath_overrides_runpath=no
11826 shlibpath_overrides_runpath=yes
11830 shlibpath_overrides_runpath=yes
11835 libname_spec='$name'
11838 library_names_spec='$libname${shared_ext} $libname.a'
11839 dynamic_linker='OS/2 ld.exe'
11840 shlibpath_var=LIBPATH
11843 osf3* | osf4* | osf5*)
11847 soname_spec='${libname}${release}${shared_ext}$major'
11848 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11849 shlibpath_var=LD_LIBRARY_PATH
11850 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11851 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11863 soname_spec='${libname}${release}${shared_ext}$major'
11864 shlibpath_var=LD_LIBRARY_PATH
11865 shlibpath_overrides_runpath=yes
11866 hardcode_into_libs=yes
11867 # ldd complains unless libraries are executable
11868 postinstall_cmds='chmod +x $lib'
11873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11874 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11875 shlibpath_var=LD_LIBRARY_PATH
11876 shlibpath_overrides_runpath=yes
11877 if test "$with_gnu_ld" = yes; then
11885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11886 soname_spec='${libname}${release}${shared_ext}$major'
11887 shlibpath_var=LD_LIBRARY_PATH
11888 case $host_vendor in
11890 shlibpath_overrides_runpath=no
11892 runpath_var=LD_RUN_PATH
11900 shlibpath_overrides_runpath=no
11901 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11907 if test -d /usr/nec ;then
11909 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11910 soname_spec='$libname${shared_ext}.$major'
11911 shlibpath_var=LD_LIBRARY_PATH
11915 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11916 version_type=freebsd-elf
11919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11920 soname_spec='${libname}${release}${shared_ext}$major'
11921 shlibpath_var=LD_LIBRARY_PATH
11922 shlibpath_overrides_runpath=yes
11923 hardcode_into_libs=yes
11924 if test "$with_gnu_ld" = yes; then
11925 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11927 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11930 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11934 sys_lib_dlsearch_path_spec='/usr/lib'
11938 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11943 shlibpath_var=LD_LIBRARY_PATH
11944 shlibpath_overrides_runpath=no
11945 hardcode_into_libs=yes
11950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11951 soname_spec='${libname}${release}${shared_ext}$major'
11952 shlibpath_var=LD_LIBRARY_PATH
11959 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11960 $as_echo "$dynamic_linker" >&6; }
11961 test "$dynamic_linker" = no && can_build_shared=no
11963 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11964 if test "$GCC" = yes; then
11965 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11968 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11969 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11971 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11972 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12061 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
12062 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12064 if test -n "$hardcode_libdir_flag_spec" ||
12065 test -n "$runpath_var" ||
12066 test "X$hardcode_automatic" = "Xyes" ; then
12068 # We can hardcode non-existent directories.
12069 if test "$hardcode_direct" != no &&
12070 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12071 # have to relink, otherwise we might link with an installed library
12072 # when we should be linking with a yet-to-be-installed one
12073 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12074 test "$hardcode_minus_L" != no; then
12075 # Linking always hardcodes the temporary library directory.
12076 hardcode_action=relink
12078 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12079 hardcode_action=immediate
12082 # We cannot hardcode anything, or else we can only hardcode existing
12084 hardcode_action=unsupported
12086 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
12087 $as_echo "$hardcode_action" >&6; }
12089 if test "$hardcode_action" = relink ||
12090 test "$inherit_rpath" = yes; then
12091 # Fast installation is not supported
12092 enable_fast_install=no
12093 elif test "$shlibpath_overrides_runpath" = yes ||
12094 test "$enable_shared" = no; then
12095 # Fast installation is not necessary
12096 enable_fast_install=needless
12104 if test "x$enable_dlopen" != xyes; then
12105 enable_dlopen=unknown
12106 enable_dlopen_self=unknown
12107 enable_dlopen_self_static=unknown
12114 lt_cv_dlopen="load_add_on"
12116 lt_cv_dlopen_self=yes
12119 mingw* | pw32* | cegcc*)
12120 lt_cv_dlopen="LoadLibrary"
12125 lt_cv_dlopen="dlopen"
12130 # if libdl is installed we need to link against it
12131 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12132 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12133 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12134 $as_echo_n "(cached) " >&6
12136 ac_check_lib_save_LIBS=$LIBS
12138 cat >conftest.$ac_ext <<_ACEOF
12141 cat confdefs.h >>conftest.$ac_ext
12142 cat >>conftest.$ac_ext <<_ACEOF
12143 /* end confdefs.h. */
12145 /* Override any GCC internal prototype to avoid an error.
12146 Use char because int might match the return type of a GCC
12147 builtin and then its argument prototype would still apply. */
12160 rm -f conftest.$ac_objext conftest$ac_exeext
12161 if { (ac_try="$ac_link"
12162 case "(($ac_try" in
12163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12164 *) ac_try_echo
=$ac_try;;
12166 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12167 $as_echo "$ac_try_echo") >&5
12168 (eval "$ac_link") 2>conftest.er1
12170 grep -v '^ *+' conftest.er1
>conftest.err
12172 cat conftest.err
>&5
12173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); } && {
12175 test -z "$ac_c_werror_flag" ||
12176 test ! -s conftest.err
12177 } && test -s conftest
$ac_exeext && {
12178 test "$cross_compiling" = yes ||
12179 $as_test_x conftest
$ac_exeext
12181 ac_cv_lib_dl_dlopen
=yes
12183 $as_echo "$as_me: failed program was:" >&5
12184 sed 's/^/| /' conftest.
$ac_ext >&5
12186 ac_cv_lib_dl_dlopen
=no
12189 rm -rf conftest.dSYM
12190 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12191 conftest
$ac_exeext conftest.
$ac_ext
12192 LIBS
=$ac_check_lib_save_LIBS
12194 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12195 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12196 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
12197 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12200 lt_cv_dlopen
="dyld"
12202 lt_cv_dlopen_self
=yes
12209 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12210 $as_echo_n "checking for shl_load... " >&6; }
12211 if test "${ac_cv_func_shl_load+set}" = set; then
12212 $as_echo_n "(cached) " >&6
12214 cat >conftest.
$ac_ext <<_ACEOF
12217 cat confdefs.h
>>conftest.
$ac_ext
12218 cat >>conftest.
$ac_ext <<_ACEOF
12219 /* end confdefs.h. */
12220 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12222 #define shl_load innocuous_shl_load
12224 /* System header to define __stub macros and hopefully few prototypes,
12225 which can conflict with char shl_load (); below.
12226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12227 <limits.h> exists even on freestanding compilers. */
12230 # include <limits.h>
12232 # include <assert.h>
12237 /* Override any GCC internal prototype to avoid an error.
12238 Use char because int might match the return type of a GCC
12239 builtin and then its argument prototype would still apply. */
12244 /* The GNU C library defines this for functions which it implements
12245 to always fail with ENOSYS. Some functions are actually named
12246 something starting with __ and the normal name is an alias. */
12247 #if defined __stub_shl_load || defined __stub___shl_load
12254 return shl_load ();
12259 rm -f conftest.
$ac_objext conftest
$ac_exeext
12260 if { (ac_try
="$ac_link"
12261 case "(($ac_try" in
12262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12263 *) ac_try_echo=$ac_try;;
12265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12266 $as_echo "$ac_try_echo") >&5
12267 (eval "$ac_link") 2>conftest.er1
12269 grep -v '^ *+' conftest.er1 >conftest.err
12271 cat conftest.err >&5
12272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12273 (exit $ac_status); } && {
12274 test -z "$ac_c_werror_flag" ||
12275 test ! -s conftest.err
12276 } && test -s conftest$ac_exeext && {
12277 test "$cross_compiling" = yes ||
12278 $as_test_x conftest$ac_exeext
12280 ac_cv_func_shl_load=yes
12282 $as_echo "$as_me: failed program was:" >&5
12283 sed 's/^/| /' conftest.$ac_ext >&5
12285 ac_cv_func_shl_load=no
12288 rm -rf conftest.dSYM
12289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12290 conftest$ac_exeext conftest.$ac_ext
12292 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12293 $as_echo "$ac_cv_func_shl_load" >&6; }
12294 if test "x$ac_cv_func_shl_load" = x""yes; then
12295 lt_cv_dlopen="shl_load"
12297 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12300 $as_echo_n "(cached) " >&6
12302 ac_check_lib_save_LIBS=$LIBS
12304 cat >conftest.$ac_ext <<_ACEOF
12307 cat confdefs.h >>conftest.$ac_ext
12308 cat >>conftest.$ac_ext <<_ACEOF
12309 /* end confdefs.h. */
12311 /* Override any GCC internal prototype to avoid an error.
12312 Use char because int might match the return type of a GCC
12313 builtin and then its argument prototype would still apply. */
12321 return shl_load ();
12326 rm -f conftest.$ac_objext conftest$ac_exeext
12327 if { (ac_try="$ac_link"
12328 case "(($ac_try" in
12329 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12330 *) ac_try_echo
=$ac_try;;
12332 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12333 $as_echo "$ac_try_echo") >&5
12334 (eval "$ac_link") 2>conftest.er1
12336 grep -v '^ *+' conftest.er1
>conftest.err
12338 cat conftest.err
>&5
12339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); } && {
12341 test -z "$ac_c_werror_flag" ||
12342 test ! -s conftest.err
12343 } && test -s conftest
$ac_exeext && {
12344 test "$cross_compiling" = yes ||
12345 $as_test_x conftest
$ac_exeext
12347 ac_cv_lib_dld_shl_load
=yes
12349 $as_echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.
$ac_ext >&5
12352 ac_cv_lib_dld_shl_load
=no
12355 rm -rf conftest.dSYM
12356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12357 conftest
$ac_exeext conftest.
$ac_ext
12358 LIBS
=$ac_check_lib_save_LIBS
12360 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12361 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12362 if test "x$ac_cv_lib_dld_shl_load" = x
""yes; then
12363 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12365 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12366 $as_echo_n "checking for dlopen... " >&6; }
12367 if test "${ac_cv_func_dlopen+set}" = set; then
12368 $as_echo_n "(cached) " >&6
12370 cat >conftest.
$ac_ext <<_ACEOF
12373 cat confdefs.h
>>conftest.
$ac_ext
12374 cat >>conftest.
$ac_ext <<_ACEOF
12375 /* end confdefs.h. */
12376 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12378 #define dlopen innocuous_dlopen
12380 /* System header to define __stub macros and hopefully few prototypes,
12381 which can conflict with char dlopen (); below.
12382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12383 <limits.h> exists even on freestanding compilers. */
12386 # include <limits.h>
12388 # include <assert.h>
12393 /* Override any GCC internal prototype to avoid an error.
12394 Use char because int might match the return type of a GCC
12395 builtin and then its argument prototype would still apply. */
12400 /* The GNU C library defines this for functions which it implements
12401 to always fail with ENOSYS. Some functions are actually named
12402 something starting with __ and the normal name is an alias. */
12403 #if defined __stub_dlopen || defined __stub___dlopen
12415 rm -f conftest.
$ac_objext conftest
$ac_exeext
12416 if { (ac_try
="$ac_link"
12417 case "(($ac_try" in
12418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12419 *) ac_try_echo=$ac_try;;
12421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12422 $as_echo "$ac_try_echo") >&5
12423 (eval "$ac_link") 2>conftest.er1
12425 grep -v '^ *+' conftest.er1 >conftest.err
12427 cat conftest.err >&5
12428 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12429 (exit $ac_status); } && {
12430 test -z "$ac_c_werror_flag" ||
12431 test ! -s conftest.err
12432 } && test -s conftest$ac_exeext && {
12433 test "$cross_compiling" = yes ||
12434 $as_test_x conftest$ac_exeext
12436 ac_cv_func_dlopen=yes
12438 $as_echo "$as_me: failed program was:" >&5
12439 sed 's/^/| /' conftest.$ac_ext >&5
12441 ac_cv_func_dlopen=no
12444 rm -rf conftest.dSYM
12445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12446 conftest$ac_exeext conftest.$ac_ext
12448 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12449 $as_echo "$ac_cv_func_dlopen" >&6; }
12450 if test "x$ac_cv_func_dlopen" = x""yes; then
12451 lt_cv_dlopen="dlopen"
12453 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12454 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12455 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12456 $as_echo_n "(cached) " >&6
12458 ac_check_lib_save_LIBS=$LIBS
12460 cat >conftest.$ac_ext <<_ACEOF
12463 cat confdefs.h >>conftest.$ac_ext
12464 cat >>conftest.$ac_ext <<_ACEOF
12465 /* end confdefs.h. */
12467 /* Override any GCC internal prototype to avoid an error.
12468 Use char because int might match the return type of a GCC
12469 builtin and then its argument prototype would still apply. */
12482 rm -f conftest.$ac_objext conftest$ac_exeext
12483 if { (ac_try="$ac_link"
12484 case "(($ac_try" in
12485 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12486 *) ac_try_echo
=$ac_try;;
12488 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12489 $as_echo "$ac_try_echo") >&5
12490 (eval "$ac_link") 2>conftest.er1
12492 grep -v '^ *+' conftest.er1
>conftest.err
12494 cat conftest.err
>&5
12495 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); } && {
12497 test -z "$ac_c_werror_flag" ||
12498 test ! -s conftest.err
12499 } && test -s conftest
$ac_exeext && {
12500 test "$cross_compiling" = yes ||
12501 $as_test_x conftest
$ac_exeext
12503 ac_cv_lib_dl_dlopen
=yes
12505 $as_echo "$as_me: failed program was:" >&5
12506 sed 's/^/| /' conftest.
$ac_ext >&5
12508 ac_cv_lib_dl_dlopen
=no
12511 rm -rf conftest.dSYM
12512 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12513 conftest
$ac_exeext conftest.
$ac_ext
12514 LIBS
=$ac_check_lib_save_LIBS
12516 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12517 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12518 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then
12519 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12521 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12522 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12523 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12524 $as_echo_n "(cached) " >&6
12526 ac_check_lib_save_LIBS
=$LIBS
12527 LIBS
="-lsvld $LIBS"
12528 cat >conftest.
$ac_ext <<_ACEOF
12531 cat confdefs.h
>>conftest.
$ac_ext
12532 cat >>conftest.
$ac_ext <<_ACEOF
12533 /* end confdefs.h. */
12535 /* Override any GCC internal prototype to avoid an error.
12536 Use char because int might match the return type of a GCC
12537 builtin and then its argument prototype would still apply. */
12550 rm -f conftest.
$ac_objext conftest
$ac_exeext
12551 if { (ac_try
="$ac_link"
12552 case "(($ac_try" in
12553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12554 *) ac_try_echo=$ac_try;;
12556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12557 $as_echo "$ac_try_echo") >&5
12558 (eval "$ac_link") 2>conftest.er1
12560 grep -v '^ *+' conftest.er1 >conftest.err
12562 cat conftest.err >&5
12563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } && {
12565 test -z "$ac_c_werror_flag" ||
12566 test ! -s conftest.err
12567 } && test -s conftest$ac_exeext && {
12568 test "$cross_compiling" = yes ||
12569 $as_test_x conftest$ac_exeext
12571 ac_cv_lib_svld_dlopen=yes
12573 $as_echo "$as_me: failed program was:" >&5
12574 sed 's/^/| /' conftest.$ac_ext >&5
12576 ac_cv_lib_svld_dlopen=no
12579 rm -rf conftest.dSYM
12580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12581 conftest$ac_exeext conftest.$ac_ext
12582 LIBS=$ac_check_lib_save_LIBS
12584 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12585 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12586 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
12587 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12589 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12590 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12591 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12592 $as_echo_n "(cached) " >&6
12594 ac_check_lib_save_LIBS=$LIBS
12596 cat >conftest.$ac_ext <<_ACEOF
12599 cat confdefs.h >>conftest.$ac_ext
12600 cat >>conftest.$ac_ext <<_ACEOF
12601 /* end confdefs.h. */
12603 /* Override any GCC internal prototype to avoid an error.
12604 Use char because int might match the return type of a GCC
12605 builtin and then its argument prototype would still apply. */
12613 return dld_link ();
12618 rm -f conftest.$ac_objext conftest$ac_exeext
12619 if { (ac_try="$ac_link"
12620 case "(($ac_try" in
12621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12622 *) ac_try_echo
=$ac_try;;
12624 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12625 $as_echo "$ac_try_echo") >&5
12626 (eval "$ac_link") 2>conftest.er1
12628 grep -v '^ *+' conftest.er1
>conftest.err
12630 cat conftest.err
>&5
12631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); } && {
12633 test -z "$ac_c_werror_flag" ||
12634 test ! -s conftest.err
12635 } && test -s conftest
$ac_exeext && {
12636 test "$cross_compiling" = yes ||
12637 $as_test_x conftest
$ac_exeext
12639 ac_cv_lib_dld_dld_link
=yes
12641 $as_echo "$as_me: failed program was:" >&5
12642 sed 's/^/| /' conftest.
$ac_ext >&5
12644 ac_cv_lib_dld_dld_link
=no
12647 rm -rf conftest.dSYM
12648 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12649 conftest
$ac_exeext conftest.
$ac_ext
12650 LIBS
=$ac_check_lib_save_LIBS
12652 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12653 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12654 if test "x$ac_cv_lib_dld_dld_link" = x
""yes; then
12655 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12676 if test "x$lt_cv_dlopen" != xno
; then
12682 case $lt_cv_dlopen in
12684 save_CPPFLAGS
="$CPPFLAGS"
12685 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12687 save_LDFLAGS
="$LDFLAGS"
12688 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12691 LIBS
="$lt_cv_dlopen_libs $LIBS"
12693 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12694 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12695 if test "${lt_cv_dlopen_self+set}" = set; then
12696 $as_echo_n "(cached) " >&6
12698 if test "$cross_compiling" = yes; then :
12699 lt_cv_dlopen_self
=cross
12701 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12702 lt_status
=$lt_dlunknown
12703 cat > conftest.
$ac_ext <<_LT_EOF
12704 #line 12704 "configure"
12705 #include "confdefs.h"
12714 # define LT_DLGLOBAL RTLD_GLOBAL
12717 # define LT_DLGLOBAL DL_GLOBAL
12719 # define LT_DLGLOBAL 0
12723 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12724 find out it does not work in some platform. */
12725 #ifndef LT_DLLAZY_OR_NOW
12727 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12730 # define LT_DLLAZY_OR_NOW DL_LAZY
12733 # define LT_DLLAZY_OR_NOW RTLD_NOW
12736 # define LT_DLLAZY_OR_NOW DL_NOW
12738 # define LT_DLLAZY_OR_NOW 0
12745 void fnord() { int i=42;}
12748 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12749 int status = $lt_dlunknown;
12753 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12754 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12755 /* dlclose (self); */
12763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12764 (eval $ac_link) 2>&5
12766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12768 (.
/conftest
; exit; ) >&5 2>/dev
/null
12770 case x
$lt_status in
12771 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12772 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12773 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12776 # compilation failed
12777 lt_cv_dlopen_self
=no
12784 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12785 $as_echo "$lt_cv_dlopen_self" >&6; }
12787 if test "x$lt_cv_dlopen_self" = xyes
; then
12788 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12789 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12790 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12791 if test "${lt_cv_dlopen_self_static+set}" = set; then
12792 $as_echo_n "(cached) " >&6
12794 if test "$cross_compiling" = yes; then :
12795 lt_cv_dlopen_self_static
=cross
12797 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12798 lt_status
=$lt_dlunknown
12799 cat > conftest.
$ac_ext <<_LT_EOF
12800 #line 12800 "configure"
12801 #include "confdefs.h"
12810 # define LT_DLGLOBAL RTLD_GLOBAL
12813 # define LT_DLGLOBAL DL_GLOBAL
12815 # define LT_DLGLOBAL 0
12819 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12820 find out it does not work in some platform. */
12821 #ifndef LT_DLLAZY_OR_NOW
12823 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12826 # define LT_DLLAZY_OR_NOW DL_LAZY
12829 # define LT_DLLAZY_OR_NOW RTLD_NOW
12832 # define LT_DLLAZY_OR_NOW DL_NOW
12834 # define LT_DLLAZY_OR_NOW 0
12841 void fnord() { int i=42;}
12844 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12845 int status = $lt_dlunknown;
12849 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12850 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12851 /* dlclose (self); */
12859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12860 (eval $ac_link) 2>&5
12862 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12864 (.
/conftest
; exit; ) >&5 2>/dev
/null
12866 case x
$lt_status in
12867 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12868 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12869 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12872 # compilation failed
12873 lt_cv_dlopen_self_static
=no
12880 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12881 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12884 CPPFLAGS
="$save_CPPFLAGS"
12885 LDFLAGS
="$save_LDFLAGS"
12890 case $lt_cv_dlopen_self in
12891 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12892 *) enable_dlopen_self
=unknown
;;
12895 case $lt_cv_dlopen_self_static in
12896 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12897 *) enable_dlopen_self_static
=unknown
;;
12919 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12920 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12921 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12922 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12923 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12924 { $as_echo "$as_me:$LINENO: result: yes" >&5
12925 $as_echo "yes" >&6; }
12927 # FIXME - insert some real tests, host_os isn't really good enough
12930 if test -n "$STRIP" ; then
12931 striplib
="$STRIP -x"
12932 old_striplib
="$STRIP -S"
12933 { $as_echo "$as_me:$LINENO: result: yes" >&5
12934 $as_echo "yes" >&6; }
12936 { $as_echo "$as_me:$LINENO: result: no" >&5
12937 $as_echo "no" >&6; }
12941 { $as_echo "$as_me:$LINENO: result: no" >&5
12942 $as_echo "no" >&6; }
12958 # Report which library types will actually be built
12959 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12960 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12961 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
12962 $as_echo "$can_build_shared" >&6; }
12964 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12965 $as_echo_n "checking whether to build shared libraries... " >&6; }
12966 test "$can_build_shared" = "no" && enable_shared
=no
12968 # On AIX, shared libraries and static libraries use the same namespace, and
12969 # are all built from PIC.
12972 test "$enable_shared" = yes && enable_static
=no
12973 if test -n "$RANLIB"; then
12974 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12975 postinstall_cmds
='$RANLIB $lib'
12980 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12981 test "$enable_shared" = yes && enable_static
=no
12985 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
12986 $as_echo "$enable_shared" >&6; }
12988 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12989 $as_echo_n "checking whether to build static libraries... " >&6; }
12990 # Make sure either enable_shared or enable_static is yes.
12991 test "$enable_shared" = yes || enable_static
=yes
12992 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
12993 $as_echo "$enable_static" >&6; }
13000 ac_cpp
='$CPP $CPPFLAGS'
13001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13009 ac_cpp
='$CXXCPP $CPPFLAGS'
13010 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13011 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13012 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
13014 archive_cmds_need_lc_CXX
=no
13015 allow_undefined_flag_CXX
=
13016 always_export_symbols_CXX
=no
13017 archive_expsym_cmds_CXX
=
13018 compiler_needs_object_CXX
=no
13019 export_dynamic_flag_spec_CXX
=
13020 hardcode_direct_CXX
=no
13021 hardcode_direct_absolute_CXX
=no
13022 hardcode_libdir_flag_spec_CXX
=
13023 hardcode_libdir_flag_spec_ld_CXX
=
13024 hardcode_libdir_separator_CXX
=
13025 hardcode_minus_L_CXX
=no
13026 hardcode_shlibpath_var_CXX
=unsupported
13027 hardcode_automatic_CXX
=no
13028 inherit_rpath_CXX
=no
13030 module_expsym_cmds_CXX
=
13031 link_all_deplibs_CXX
=unknown
13032 old_archive_cmds_CXX
=$old_archive_cmds
13033 no_undefined_flag_CXX
=
13034 whole_archive_flag_spec_CXX
=
13035 enable_shared_with_static_runtimes_CXX
=no
13037 # Source file extension for C++ test sources.
13040 # Object file extension for compiled C++ test sources.
13044 # No sense in running all these tests if we already determined that
13045 # the CXX compiler isn't working. Some variables (like enable_shared)
13046 # are currently assumed to apply to all compilers on this platform,
13047 # and will be corrupted by setting them based on a non-working compiler.
13048 if test "$_lt_caught_CXX_error" != yes; then
13049 # Code to be used in simple compile tests
13050 lt_simple_compile_test_code
="int some_variable = 0;"
13052 # Code to be used in simple link tests
13053 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
13055 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13062 # If no C compiler was specified, use CC.
13065 # If no C compiler flags were specified, use CFLAGS.
13066 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13068 # Allow CC to be a program name with arguments.
13072 # save warnings/boilerplate of simple test code
13073 ac_outfile
=conftest.
$ac_objext
13074 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13075 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13076 _lt_compiler_boilerplate
=`cat conftest.err`
13079 ac_outfile
=conftest.
$ac_objext
13080 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13081 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13082 _lt_linker_boilerplate
=`cat conftest.err`
13086 # Allow CC to be a program name with arguments.
13091 lt_save_with_gnu_ld
=$with_gnu_ld
13092 lt_save_path_LD
=$lt_cv_path_LD
13093 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13094 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
13096 $as_unset lt_cv_prog_gnu_ld
13098 if test -n "${lt_cv_path_LDCXX+set}"; then
13099 lt_cv_path_LD
=$lt_cv_path_LDCXX
13101 $as_unset lt_cv_path_LD
13103 test -z "${LDCXX+set}" || LD
=$LDCXX
13107 for cc_temp
in $compiler""; do
13109 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13110 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13115 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13118 if test -n "$compiler"; then
13119 # We don't want -fno-exception when compiling C++ code, so set the
13120 # no_builtin_flag separately
13121 if test "$GXX" = yes; then
13122 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
13124 lt_prog_compiler_no_builtin_flag_CXX
=
13127 if test "$GXX" = yes; then
13128 # Set up default GNU C++ configuration
13132 # Check whether --with-gnu-ld was given.
13133 if test "${with_gnu_ld+set}" = set; then
13134 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13140 if test "$GCC" = yes; then
13141 # Check if gcc -print-prog-name=ld gives a path.
13142 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
13143 $as_echo_n "checking for ld used by $CC... " >&6; }
13146 # gcc leaves a trailing carriage return which upsets mingw
13147 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13149 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13152 # Accept absolute paths.
13154 re_direlt
='/[^/][^/]*/\.\./'
13155 # Canonicalize the pathname of ld
13156 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13157 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
13158 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13160 test -z "$LD" && LD
="$ac_prog"
13163 # If it fails, then pretend we aren't using GCC.
13167 # If it is relative, then search for the first ld in PATH.
13168 with_gnu_ld
=unknown
13171 elif test "$with_gnu_ld" = yes; then
13172 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
13173 $as_echo_n "checking for GNU ld... " >&6; }
13175 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
13176 $as_echo_n "checking for non-GNU ld... " >&6; }
13178 if test "${lt_cv_path_LD+set}" = set; then
13179 $as_echo_n "(cached) " >&6
13181 if test -z "$LD"; then
13182 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
13183 for ac_dir
in $PATH; do
13185 test -z "$ac_dir" && ac_dir
=.
13186 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13187 lt_cv_path_LD
="$ac_dir/$ac_prog"
13188 # Check to see if the program is GNU ld. I'd rather use --version,
13189 # but apparently some variants of GNU ld only accept -v.
13190 # Break only if it was the GNU/non-GNU ld that we prefer.
13191 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13192 *GNU
* |
*'with BFD'*)
13193 test "$with_gnu_ld" != no
&& break
13196 test "$with_gnu_ld" != yes && break
13203 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
13207 LD
="$lt_cv_path_LD"
13208 if test -n "$LD"; then
13209 { $as_echo "$as_me:$LINENO: result: $LD" >&5
13210 $as_echo "$LD" >&6; }
13212 { $as_echo "$as_me:$LINENO: result: no" >&5
13213 $as_echo "no" >&6; }
13215 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13216 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13217 { (exit 1); exit 1; }; }
13218 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
13219 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13220 if test "${lt_cv_prog_gnu_ld+set}" = set; then
13221 $as_echo_n "(cached) " >&6
13223 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13224 case `$LD -v 2>&1 </dev/null` in
13225 *GNU
* |
*'with BFD'*)
13226 lt_cv_prog_gnu_ld
=yes
13229 lt_cv_prog_gnu_ld
=no
13233 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
13234 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
13235 with_gnu_ld
=$lt_cv_prog_gnu_ld
13243 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13244 # archiving commands below assume that GNU ld is being used.
13245 if test "$with_gnu_ld" = yes; then
13246 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13247 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'
13249 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13250 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13252 # If archive_cmds runs LD, not CC, wlarc should be empty
13253 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13254 # investigate it a little bit more. (MM)
13257 # ancient GNU ld didn't support --whole-archive et. al.
13258 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13259 $GREP 'no-whole-archive' > /dev
/null
; then
13260 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13262 whole_archive_flag_spec_CXX
=
13268 # A generic and very simple default shared library creation
13269 # command for GNU C++ for the case where it uses the native
13270 # linker, instead of GNU ld. If possible, this setting should
13271 # overridden to take advantage of the native linker features on
13272 # the platform it is being used on.
13273 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13276 # Commands to make compiler produce verbose output that lists
13277 # what "hidden" libraries, object files and flags are used when
13278 # linking a shared library.
13279 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13287 # PORTME: fill in a description of your system's C++ link characteristics
13288 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13289 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13293 # FIXME: insert proper C++ library support
13297 if test "$host_cpu" = ia64
; then
13298 # On IA64, the linker does run time linking by default, so we don't
13299 # have to do anything special.
13300 aix_use_runtimelinking
=no
13301 exp_sym_flag
='-Bexport'
13304 aix_use_runtimelinking
=no
13306 # Test if we are trying to use run time linking or normal
13307 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13308 # need to do runtime linking.
13309 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13310 for ld_flag
in $LDFLAGS; do
13313 aix_use_runtimelinking
=yes
13321 exp_sym_flag
='-bexport'
13322 no_entry_flag
='-bnoentry'
13325 # When large executables or shared objects are built, AIX ld can
13326 # have problems creating the table of contents. If linking a library
13327 # or program results in "error TOC overflow" add -mminimal-toc to
13328 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13329 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13331 archive_cmds_CXX
=''
13332 hardcode_direct_CXX
=yes
13333 hardcode_direct_absolute_CXX
=yes
13334 hardcode_libdir_separator_CXX
=':'
13335 link_all_deplibs_CXX
=yes
13336 file_list_spec_CXX
='${wl}-f,'
13338 if test "$GXX" = yes; then
13339 case $host_os in aix4.
[012]|aix4.
[012].
*)
13340 # We only want to do this on AIX 4.2 and lower, the check
13341 # below for broken collect2 doesn't work under 4.3+
13342 collect2name
=`${CC} -print-prog-name=collect2`
13343 if test -f "$collect2name" &&
13344 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13346 # We have reworked collect2
13349 # We have old collect2
13350 hardcode_direct_CXX
=unsupported
13351 # It fails to find uninstalled libraries when the uninstalled
13352 # path is not listed in the libpath. Setting hardcode_minus_L
13353 # to unsupported forces relinking
13354 hardcode_minus_L_CXX
=yes
13355 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13356 hardcode_libdir_separator_CXX
=
13359 shared_flag
='-shared'
13360 if test "$aix_use_runtimelinking" = yes; then
13361 shared_flag
="$shared_flag "'${wl}-G'
13365 if test "$host_cpu" = ia64
; then
13366 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13367 # chokes on -Wl,-G. The following line is correct:
13370 if test "$aix_use_runtimelinking" = yes; then
13371 shared_flag
='${wl}-G'
13373 shared_flag
='${wl}-bM:SRE'
13378 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13379 # It seems that -bexpall does not export symbols beginning with
13380 # underscore (_), so it is better to generate a list of symbols to
13382 always_export_symbols_CXX
=yes
13383 if test "$aix_use_runtimelinking" = yes; then
13384 # Warning - without using the other runtime loading flags (-brtl),
13385 # -berok will link without error, but may produce a broken library.
13386 allow_undefined_flag_CXX
='-berok'
13387 # Determine the default libpath from the value encoded in an empty
13389 cat >conftest.
$ac_ext <<_ACEOF
13392 cat confdefs.h
>>conftest.
$ac_ext
13393 cat >>conftest.
$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13404 rm -f conftest.
$ac_objext conftest
$ac_exeext
13405 if { (ac_try
="$ac_link"
13406 case "(($ac_try" in
13407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13408 *) ac_try_echo=$ac_try;;
13410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13411 $as_echo "$ac_try_echo") >&5
13412 (eval "$ac_link") 2>conftest.er1
13414 grep -v '^ *+' conftest.er1 >conftest.err
13416 cat conftest.err >&5
13417 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); } && {
13419 test -z "$ac_cxx_werror_flag" ||
13420 test ! -s conftest.err
13421 } && test -s conftest$ac_exeext && {
13422 test "$cross_compiling" = yes ||
13423 $as_test_x conftest$ac_exeext
13426 lt_aix_libpath_sed='
13427 /Import File Strings/,/^$/ {
13433 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13434 # Check for a 64-bit object if we didn't find anything.
13435 if test -z "$aix_libpath"; then
13436 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
13439 $as_echo "$as_me: failed program was:" >&5
13440 sed 's/^/| /' conftest.$ac_ext >&5
13445 rm -rf conftest.dSYM
13446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13447 conftest$ac_exeext conftest.$ac_ext
13448 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13450 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13452 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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13454 if test "$host_cpu" = ia64; then
13455 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13456 allow_undefined_flag_CXX="-z nodefs"
13457 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"
13459 # Determine the default libpath from the value encoded in an
13460 # empty executable.
13461 cat >conftest.$ac_ext <<_ACEOF
13464 cat confdefs.h >>conftest.$ac_ext
13465 cat >>conftest.$ac_ext <<_ACEOF
13466 /* end confdefs.h. */
13476 rm -f conftest.$ac_objext conftest$ac_exeext
13477 if { (ac_try="$ac_link"
13478 case "(($ac_try" in
13479 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13480 *) ac_try_echo
=$ac_try;;
13482 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13483 $as_echo "$ac_try_echo") >&5
13484 (eval "$ac_link") 2>conftest.er1
13486 grep -v '^ *+' conftest.er1
>conftest.err
13488 cat conftest.err
>&5
13489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); } && {
13491 test -z "$ac_cxx_werror_flag" ||
13492 test ! -s conftest.err
13493 } && test -s conftest
$ac_exeext && {
13494 test "$cross_compiling" = yes ||
13495 $as_test_x conftest
$ac_exeext
13498 lt_aix_libpath_sed
='
13499 /Import File Strings/,/^$/ {
13505 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13506 # Check for a 64-bit object if we didn't find anything.
13507 if test -z "$aix_libpath"; then
13508 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13511 $as_echo "$as_me: failed program was:" >&5
13512 sed 's/^/| /' conftest.
$ac_ext >&5
13517 rm -rf conftest.dSYM
13518 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13519 conftest
$ac_exeext conftest.
$ac_ext
13520 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13522 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13523 # Warning - without using the other run time loading flags,
13524 # -berok will link without error, but may produce a broken library.
13525 no_undefined_flag_CXX
=' ${wl}-bernotok'
13526 allow_undefined_flag_CXX
=' ${wl}-berok'
13527 # Exported symbols can be pulled into shared objects from archives
13528 whole_archive_flag_spec_CXX
='$convenience'
13529 archive_cmds_need_lc_CXX
=yes
13530 # This is similar to how AIX traditionally builds its shared
13532 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'
13538 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13539 allow_undefined_flag_CXX
=unsupported
13540 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13541 # support --undefined. This deserves some investigation. FIXME
13542 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13549 case $cc_basename in
13551 # FIXME: insert proper C++ library support
13557 cygwin
* | mingw
* | pw32
* | cegcc
*)
13558 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13559 # as there is no search path for DLLs.
13560 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13561 allow_undefined_flag_CXX
=unsupported
13562 always_export_symbols_CXX
=no
13563 enable_shared_with_static_runtimes_CXX
=yes
13565 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13566 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'
13567 # If the export-symbols file already is a .def file (1st line
13568 # is EXPORTS), use it as is; otherwise, prepend...
13569 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13570 cp $export_symbols $output_objdir/$soname.def;
13572 echo EXPORTS > $output_objdir/$soname.def;
13573 cat $export_symbols >> $output_objdir/$soname.def;
13575 $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'
13580 darwin
* | rhapsody
*)
13583 archive_cmds_need_lc_CXX
=no
13584 hardcode_direct_CXX
=no
13585 hardcode_automatic_CXX
=yes
13586 hardcode_shlibpath_var_CXX
=unsupported
13587 whole_archive_flag_spec_CXX
=''
13588 link_all_deplibs_CXX
=yes
13589 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13590 case $cc_basename in
13591 ifort
*) _lt_dar_can_shared
=yes ;;
13592 *) _lt_dar_can_shared
=$GCC ;;
13594 if test "$_lt_dar_can_shared" = "yes"; then
13595 output_verbose_link_cmd
=echo
13596 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}"
13597 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13598 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}"
13599 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}"
13600 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13601 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}"
13602 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}"
13612 case $cc_basename in
13614 # FIXME: insert proper C++ library support
13618 # Green Hills C++ Compiler
13619 # FIXME: insert proper C++ library support
13623 # FIXME: insert proper C++ library support
13630 # C++ shared libraries reported to be fairly broken before
13636 archive_cmds_need_lc_CXX
=no
13639 freebsd
* | dragonfly
*)
13640 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13649 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13650 hardcode_libdir_separator_CXX
=:
13651 export_dynamic_flag_spec_CXX
='${wl}-E'
13652 hardcode_direct_CXX
=yes
13653 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13654 # but as the default
13655 # location of the library.
13657 case $cc_basename in
13659 # FIXME: insert proper C++ library support
13663 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'
13664 # Commands to make compiler produce verbose output that lists
13665 # what "hidden" libraries, object files and flags are used when
13666 # linking a shared library.
13668 # There doesn't appear to be a way to prevent this compiler from
13669 # explicitly linking system object files so we need to strip them
13670 # from the output so that they don't get included in the library
13672 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
13675 if test "$GXX" = yes; then
13676 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'
13678 # FIXME: insert proper C++ library support
13686 if test $with_gnu_ld = no
; then
13687 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13688 hardcode_libdir_separator_CXX
=:
13694 export_dynamic_flag_spec_CXX
='${wl}-E'
13700 hardcode_direct_CXX
=no
13701 hardcode_shlibpath_var_CXX
=no
13704 hardcode_direct_CXX
=yes
13705 hardcode_direct_absolute_CXX
=yes
13706 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13707 # but as the default
13708 # location of the library.
13712 case $cc_basename in
13714 # FIXME: insert proper C++ library support
13720 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13723 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13726 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13729 # Commands to make compiler produce verbose output that lists
13730 # what "hidden" libraries, object files and flags are used when
13731 # linking a shared library.
13733 # There doesn't appear to be a way to prevent this compiler from
13734 # explicitly linking system object files so we need to strip them
13735 # from the output so that they don't get included in the library
13737 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 "X$list" | $Xsed'
13740 if test "$GXX" = yes; then
13741 if test $with_gnu_ld = no
; then
13744 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13747 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13750 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'
13755 # FIXME: insert proper C++ library support
13763 hardcode_direct_CXX
=no
13764 hardcode_shlibpath_var_CXX
=no
13765 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13766 export_dynamic_flag_spec_CXX
='${wl}-E'
13767 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13768 # Instead, shared libraries are loaded at an image base (0x10000000 by
13769 # default) and relocated if they conflict, which is a slow very memory
13770 # consuming and fragmenting process. To avoid this, we pick a random,
13771 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13772 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13773 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'
13774 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'
13777 case $cc_basename in
13780 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
13782 # Archives containing C++ object files must be created using
13783 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13784 # necessary to make sure instantiated templates are included
13786 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13789 if test "$GXX" = yes; then
13790 if test "$with_gnu_ld" = no
; then
13791 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13793 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
13796 link_all_deplibs_CXX
=yes
13799 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13800 hardcode_libdir_separator_CXX
=:
13801 inherit_rpath_CXX
=yes
13804 linux
* | k
*bsd
*-gnu)
13805 case $cc_basename in
13807 # Kuck and Associates, Inc. (KAI) C++ Compiler
13809 # KCC will only create a shared library if the output file
13810 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13811 # to its proper name (with version) after linking.
13812 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'
13813 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'
13814 # Commands to make compiler produce verbose output that lists
13815 # what "hidden" libraries, object files and flags are used when
13816 # linking a shared library.
13818 # There doesn't appear to be a way to prevent this compiler from
13819 # explicitly linking system object files so we need to strip them
13820 # from the output so that they don't get included in the library
13822 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 "X$list" | $Xsed'
13824 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13825 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13827 # Archives containing C++ object files must be created using
13828 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13829 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13834 # version 8.0 and above of icpc choke on multiply defined symbols
13835 # if we add $predep_objects and $postdep_objects, however 7.1 and
13836 # earlier do not add the objects themselves.
13837 case `$CC -V 2>&1` in
13839 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13840 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'
13842 *) # Version 8.0 or newer
13845 ia64
*) tmp_idyn
=' -i_dynamic';;
13847 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13848 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'
13851 archive_cmds_need_lc_CXX
=no
13852 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13853 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13854 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13857 # Portland Group C++ compiler
13859 *pgCC\
[1-5]* |
*pgcpp\
[1-5]*)
13860 prelink_cmds_CXX
='tpldir=Template.dir~
13862 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13863 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
13864 old_archive_cmds_CXX
='tpldir=Template.dir~
13866 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13867 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
13869 archive_cmds_CXX
='tpldir=Template.dir~
13871 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13872 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13873 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13875 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13876 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13878 *) # Version 6 will use weak symbols
13879 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13880 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'
13884 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13885 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13886 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'
13890 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13891 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'
13893 runpath_var
=LD_RUN_PATH
13894 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13895 hardcode_libdir_separator_CXX
=:
13897 # Commands to make compiler produce verbose output that lists
13898 # what "hidden" libraries, object files and flags are used when
13899 # linking a shared library.
13901 # There doesn't appear to be a way to prevent this compiler from
13902 # explicitly linking system object files so we need to strip them
13903 # from the output so that they don't get included in the library
13905 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
13908 # IBM XL 8.0 on PPC, with GNU ld
13909 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13910 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13911 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13912 if test "x$supports_anon_versioning" = xyes
; then
13913 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13914 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13915 echo "local: *; };" >> $output_objdir/$libname.ver~
13916 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13920 case `$CC -V 2>&1 | sed 5q` in
13923 no_undefined_flag_CXX
=' -zdefs'
13924 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13925 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'
13926 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13927 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'
13928 compiler_needs_object_CXX
=yes
13930 # Not sure whether something based on
13931 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13933 output_verbose_link_cmd
='echo'
13935 # Archives containing C++ object files must be created using
13936 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13937 # necessary to make sure instantiated templates are included
13939 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13947 # FIXME: insert proper C++ library support
13952 # FIXME: insert proper C++ library support
13957 case $cc_basename in
13959 # FIXME: insert proper C++ library support
13963 # FIXME: insert proper C++ library support
13970 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13971 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13973 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13974 hardcode_direct_CXX
=yes
13975 hardcode_shlibpath_var_CXX
=no
13977 # Workaround some broken pre-1.5 toolchains
13978 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13986 # C++ shared libraries are fairly broken
13991 if test -f /usr
/libexec
/ld.so
; then
13992 hardcode_direct_CXX
=yes
13993 hardcode_shlibpath_var_CXX
=no
13994 hardcode_direct_absolute_CXX
=yes
13995 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13996 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13997 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13998 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13999 export_dynamic_flag_spec_CXX
='${wl}-E'
14000 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14002 output_verbose_link_cmd
=echo
14008 osf3
* | osf4
* | osf5
*)
14009 case $cc_basename in
14011 # Kuck and Associates, Inc. (KAI) C++ Compiler
14013 # KCC will only create a shared library if the output file
14014 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14015 # to its proper name (with version) after linking.
14016 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'
14018 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
14019 hardcode_libdir_separator_CXX
=:
14021 # Archives containing C++ object files must be created using
14022 # the KAI C++ compiler.
14024 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
14025 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
14029 # Rational C++ 2.4.1
14030 # FIXME: insert proper C++ library support
14036 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14037 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14038 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14041 allow_undefined_flag_CXX
=' -expect_unresolved \*'
14042 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
14043 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14044 echo "-hidden">> $lib.exp~
14045 $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
14047 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
14051 hardcode_libdir_separator_CXX
=:
14053 # Commands to make compiler produce verbose output that lists
14054 # what "hidden" libraries, object files and flags are used when
14055 # linking a shared library.
14057 # There doesn't appear to be a way to prevent this compiler from
14058 # explicitly linking system object files so we need to strip them
14059 # from the output so that they don't get included in the library
14061 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
14064 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14065 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
14068 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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14071 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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
14075 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
14076 hardcode_libdir_separator_CXX
=:
14078 # Commands to make compiler produce verbose output that lists
14079 # what "hidden" libraries, object files and flags are used when
14080 # linking a shared library.
14081 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14084 # FIXME: insert proper C++ library support
14092 # FIXME: insert proper C++ library support
14097 case $cc_basename in
14100 # FIXME: insert proper C++ library support
14105 # FIXME: insert proper C++ library support
14109 # FIXME: insert proper C++ library support
14116 case $cc_basename in
14118 # Sun C++ 4.2, 5.x and Centerline C++
14119 archive_cmds_need_lc_CXX
=yes
14120 no_undefined_flag_CXX
=' -zdefs'
14121 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14122 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14123 $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'
14125 hardcode_libdir_flag_spec_CXX
='-R$libdir'
14126 hardcode_shlibpath_var_CXX
=no
14128 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14130 # The compiler driver will combine and reorder linker options,
14131 # but understands `-z linker_flag'.
14132 # Supported since Solaris 2.6 (maybe 2.5.1?)
14133 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
14136 link_all_deplibs_CXX
=yes
14138 output_verbose_link_cmd
='echo'
14140 # Archives containing C++ object files must be created using
14141 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14142 # necessary to make sure instantiated templates are included
14144 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
14147 # Green Hills C++ Compiler
14148 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14150 # The C++ compiler must be used to create the archive.
14151 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14154 # GNU C++ compiler with Solaris linker
14155 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
14156 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
14157 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
14158 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14159 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14160 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14162 # Commands to make compiler produce verbose output that lists
14163 # what "hidden" libraries, object files and flags are used when
14164 # linking a shared library.
14165 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14167 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14169 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14170 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14171 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14173 # Commands to make compiler produce verbose output that lists
14174 # what "hidden" libraries, object files and flags are used when
14175 # linking a shared library.
14176 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14179 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
14181 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
14183 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14191 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
14192 no_undefined_flag_CXX
='${wl}-z,text'
14193 archive_cmds_need_lc_CXX
=no
14194 hardcode_shlibpath_var_CXX
=no
14195 runpath_var
='LD_RUN_PATH'
14197 case $cc_basename in
14199 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14200 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14203 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14204 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14209 sysv5
* | sco3.2v5
* | sco5v6
*)
14210 # Note: We can NOT use -z defs as we might desire, because we do not
14211 # link with -lc, and that would cause any symbols used from libc to
14212 # always be unresolved, which means just about no library would
14213 # ever link correctly. If we're not using GNU ld we use -z text
14214 # though, which does catch some bad symbols but isn't as heavy-handed
14216 no_undefined_flag_CXX
='${wl}-z,text'
14217 allow_undefined_flag_CXX
='${wl}-z,nodefs'
14218 archive_cmds_need_lc_CXX
=no
14219 hardcode_shlibpath_var_CXX
=no
14220 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
14221 hardcode_libdir_separator_CXX
=':'
14222 link_all_deplibs_CXX
=yes
14223 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
14224 runpath_var
='LD_RUN_PATH'
14226 case $cc_basename in
14228 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14229 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14232 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14233 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14239 case $cc_basename in
14241 # NonStop-UX NCC 3.20
14242 # FIXME: insert proper C++ library support
14246 # FIXME: insert proper C++ library support
14253 # FIXME: insert proper C++ library support
14258 # FIXME: insert proper C++ library support
14263 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
14264 $as_echo "$ld_shlibs_CXX" >&6; }
14265 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14271 ## There is no encapsulation within the following macros, do not change
14272 ## the running order or otherwise move them around unless you know exactly
14273 ## what you are doing...
14274 # Dependencies to place before and after the object being linked:
14275 predep_objects_CXX
=
14276 postdep_objects_CXX
=
14279 compiler_lib_search_path_CXX
=
14281 cat > conftest.
$ac_ext <<_LT_EOF
14285 Foo (void) { a = 0; }
14291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14292 (eval $ac_compile) 2>&5
14294 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; then
14296 # Parse the compiler output and extract the necessary
14297 # objects, libraries and library flags.
14299 # Sentinel used to keep track of whether or not we are before
14300 # the conftest object file.
14301 pre_test_object_deps_done
=no
14303 for p
in `eval "$output_verbose_link_cmd"`; do
14307 # Some compilers place space between "-{L,R}" and the path.
14308 # Remove the space.
14309 if test $p = "-L" ||
14310 test $p = "-R"; then
14317 if test "$pre_test_object_deps_done" = no
; then
14320 # Internal compiler library paths should come after those
14321 # provided the user. The postdeps already come after the
14322 # user supplied libs so there is no need to process them.
14323 if test -z "$compiler_lib_search_path_CXX"; then
14324 compiler_lib_search_path_CXX
="${prev}${p}"
14326 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14329 # The "-l" case would never come before the object being
14330 # linked, so don't bother handling this case.
14333 if test -z "$postdeps_CXX"; then
14334 postdeps_CXX
="${prev}${p}"
14336 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14342 # This assumes that the test object file only shows up
14343 # once in the compiler output.
14344 if test "$p" = "conftest.$objext"; then
14345 pre_test_object_deps_done
=yes
14349 if test "$pre_test_object_deps_done" = no
; then
14350 if test -z "$predep_objects_CXX"; then
14351 predep_objects_CXX
="$p"
14353 predep_objects_CXX
="$predep_objects_CXX $p"
14356 if test -z "$postdep_objects_CXX"; then
14357 postdep_objects_CXX
="$p"
14359 postdep_objects_CXX
="$postdep_objects_CXX $p"
14364 *) ;; # Ignore the rest.
14372 echo "libtool.m4: error: problem compiling CXX test program"
14375 $RM -f confest.
$objext
14377 # PORTME: override above test on systems where it is broken
14380 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14381 # hack all around it, let's just trust "g++" to DTRT.
14382 predep_objects_CXX
=
14383 postdep_objects_CXX
=
14388 case `$CC -V 2>&1 | sed 5q` in
14392 # The more standards-conforming stlport4 library is
14393 # incompatible with the Cstd library. Avoid specifying
14394 # it if it's in CXXFLAGS. Ignore libCrun as
14395 # -library=stlport4 depends on it.
14396 case " $CXX $CXXFLAGS " in
14397 *" -library=stlport4 "*)
14398 solaris_use_stlport4
=yes
14402 if test "$solaris_use_stlport4" != yes; then
14403 postdeps_CXX
='-library=Cstd -library=Crun'
14410 case $cc_basename in
14412 # The more standards-conforming stlport4 library is
14413 # incompatible with the Cstd library. Avoid specifying
14414 # it if it's in CXXFLAGS. Ignore libCrun as
14415 # -library=stlport4 depends on it.
14416 case " $CXX $CXXFLAGS " in
14417 *" -library=stlport4 "*)
14418 solaris_use_stlport4
=yes
14422 # Adding this requires a known-good setup of shared libraries for
14423 # Sun compiler versions before 5.6, else PIC objects from an old
14424 # archive will be linked into the output, leading to subtle bugs.
14425 if test "$solaris_use_stlport4" != yes; then
14426 postdeps_CXX
='-library=Cstd -library=Crun'
14434 case " $postdeps_CXX " in
14435 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14437 compiler_lib_search_dirs_CXX
=
14438 if test -n "${compiler_lib_search_path_CXX}"; then
14439 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14472 lt_prog_compiler_wl_CXX
=
14473 lt_prog_compiler_pic_CXX
=
14474 lt_prog_compiler_static_CXX
=
14476 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14477 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14479 # C++ specific cases for pic, static, wl, etc.
14480 if test "$GXX" = yes; then
14481 lt_prog_compiler_wl_CXX
='-Wl,'
14482 lt_prog_compiler_static_CXX
='-static'
14486 # All AIX code is PIC.
14487 if test "$host_cpu" = ia64
; then
14488 # AIX 5 now supports IA64 processor
14489 lt_prog_compiler_static_CXX
='-Bstatic'
14496 # see comment about AmigaOS4 .so support
14497 lt_prog_compiler_pic_CXX
='-fPIC'
14500 # FIXME: we need at least 68020 code to build shared libraries, but
14501 # adding the `-m68020' flag to GCC prevents building anything better,
14503 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14508 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14509 # PIC is the default for these OSes.
14511 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14512 # This hack is so that the source file can tell whether it is being
14513 # built for inclusion in a dll (and should export symbols for example).
14514 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14515 # (--disable-auto-import) libraries
14516 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14518 darwin
* | rhapsody
*)
14519 # PIC is the default on this platform
14520 # Common symbols not allowed in MH_DYLIB files
14521 lt_prog_compiler_pic_CXX
='-fno-common'
14524 # DJGPP does not support shared libraries at all
14525 lt_prog_compiler_pic_CXX
=
14528 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14529 # Instead, we relocate shared libraries at runtime.
14532 if test -d /usr
/nec
; then
14533 lt_prog_compiler_pic_CXX
=-Kconform_pic
14537 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14538 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14539 # sets the default TLS model and affects inlining.
14544 lt_prog_compiler_pic_CXX
='-fPIC'
14549 # QNX uses GNU C++, but need to define -shared option too, otherwise
14550 # it will coredump.
14551 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14554 lt_prog_compiler_pic_CXX
='-fPIC'
14560 # All AIX code is PIC.
14561 if test "$host_cpu" = ia64
; then
14562 # AIX 5 now supports IA64 processor
14563 lt_prog_compiler_static_CXX
='-Bstatic'
14565 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14569 case $cc_basename in
14571 # Green Hills C++ Compiler
14572 # _LT_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"
14577 case $cc_basename in
14579 lt_prog_compiler_pic_CXX
='-KPIC'
14582 # Green Hills C++ Compiler
14583 lt_prog_compiler_pic_CXX
='-pic'
14589 freebsd
* | dragonfly
*)
14590 # FreeBSD uses GNU C++
14592 hpux9
* | hpux10
* | hpux11
*)
14593 case $cc_basename in
14595 lt_prog_compiler_wl_CXX
='-Wl,'
14596 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14597 if test "$host_cpu" != ia64
; then
14598 lt_prog_compiler_pic_CXX
='+Z'
14602 lt_prog_compiler_wl_CXX
='-Wl,'
14603 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14609 lt_prog_compiler_pic_CXX
='+Z'
14618 # This is c89, which is MS Visual C++ (no shared libs)
14619 # Anyone wants to do a port?
14621 irix5
* | irix6
* | nonstopux
*)
14622 case $cc_basename in
14624 lt_prog_compiler_wl_CXX
='-Wl,'
14625 lt_prog_compiler_static_CXX
='-non_shared'
14626 # CC pic flag -KPIC is the default.
14632 linux
* | k
*bsd
*-gnu)
14633 case $cc_basename in
14636 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14637 lt_prog_compiler_pic_CXX
='-fPIC'
14640 # old Intel C++ for x86_64 which still supported -KPIC.
14641 lt_prog_compiler_wl_CXX
='-Wl,'
14642 lt_prog_compiler_pic_CXX
='-KPIC'
14643 lt_prog_compiler_static_CXX
='-static'
14646 # Intel C++, used to be incompatible with GCC.
14647 # ICC 10 doesn't accept -KPIC any more.
14648 lt_prog_compiler_wl_CXX
='-Wl,'
14649 lt_prog_compiler_pic_CXX
='-fPIC'
14650 lt_prog_compiler_static_CXX
='-static'
14653 # Portland Group C++ compiler
14654 lt_prog_compiler_wl_CXX
='-Wl,'
14655 lt_prog_compiler_pic_CXX
='-fpic'
14656 lt_prog_compiler_static_CXX
='-Bstatic'
14660 # Make sure the PIC flag is empty. It appears that all Alpha
14661 # Linux and Compaq Tru64 Unix objects are PIC.
14662 lt_prog_compiler_pic_CXX
=
14663 lt_prog_compiler_static_CXX
='-non_shared'
14666 # IBM XL 8.0 on PPC
14667 lt_prog_compiler_wl_CXX
='-Wl,'
14668 lt_prog_compiler_pic_CXX
='-qpic'
14669 lt_prog_compiler_static_CXX
='-qstaticlink'
14672 case `$CC -V 2>&1 | sed 5q` in
14675 lt_prog_compiler_pic_CXX
='-KPIC'
14676 lt_prog_compiler_static_CXX
='-Bstatic'
14677 lt_prog_compiler_wl_CXX
='-Qoption ld '
14688 case $cc_basename in
14690 lt_prog_compiler_pic_CXX
='-W c,exportall'
14699 # QNX uses GNU C++, but need to define -shared option too, otherwise
14700 # it will coredump.
14701 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14703 osf3
* | osf4
* | osf5
*)
14704 case $cc_basename in
14706 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14709 # Rational C++ 2.4.1
14710 lt_prog_compiler_pic_CXX
='-pic'
14713 # Digital/Compaq C++
14714 lt_prog_compiler_wl_CXX
='-Wl,'
14715 # Make sure the PIC flag is empty. It appears that all Alpha
14716 # Linux and Compaq Tru64 Unix objects are PIC.
14717 lt_prog_compiler_pic_CXX
=
14718 lt_prog_compiler_static_CXX
='-non_shared'
14727 case $cc_basename in
14729 # Sun C++ 4.2, 5.x and Centerline C++
14730 lt_prog_compiler_pic_CXX
='-KPIC'
14731 lt_prog_compiler_static_CXX
='-Bstatic'
14732 lt_prog_compiler_wl_CXX
='-Qoption ld '
14735 # Green Hills C++ Compiler
14736 lt_prog_compiler_pic_CXX
='-PIC'
14743 case $cc_basename in
14746 lt_prog_compiler_pic_CXX
='-pic'
14747 lt_prog_compiler_static_CXX
='-Bstatic'
14751 lt_prog_compiler_pic_CXX
='-pic'
14757 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14758 case $cc_basename in
14760 lt_prog_compiler_wl_CXX
='-Wl,'
14761 lt_prog_compiler_pic_CXX
='-KPIC'
14762 lt_prog_compiler_static_CXX
='-Bstatic'
14767 case $cc_basename in
14769 # NonStop-UX NCC 3.20
14770 lt_prog_compiler_pic_CXX
='-KPIC'
14779 lt_prog_compiler_can_build_shared_CXX
=no
14785 # For platforms which do not support PIC, -DPIC is meaningless:
14787 lt_prog_compiler_pic_CXX
=
14790 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14793 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
14794 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14799 # Check to make sure the PIC flag actually works.
14801 if test -n "$lt_prog_compiler_pic_CXX"; then
14802 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14803 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14804 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
14805 $as_echo_n "(cached) " >&6
14807 lt_cv_prog_compiler_pic_works_CXX
=no
14808 ac_outfile
=conftest.
$ac_objext
14809 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14810 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14811 # Insert the option either (1) after the last *FLAGS variable, or
14812 # (2) before a word containing "conftest.", or (3) at the end.
14813 # Note that $ac_compile itself does not contain backslashes and begins
14814 # with a dollar sign (not a hyphen), so the echo should work correctly.
14815 # The option is referenced via a variable to avoid confusing sed.
14816 lt_compile
=`echo "$ac_compile" | $SED \
14817 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14818 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14819 -e 's:$: $lt_compiler_flag:'`
14820 (eval echo "\"\$as_me:14820: $lt_compile\"" >&5)
14821 (eval "$lt_compile" 2>conftest.err
)
14823 cat conftest.err
>&5
14824 echo "$as_me:14824: \$? = $ac_status" >&5
14825 if (exit $ac_status) && test -s "$ac_outfile"; then
14826 # The compiler can only warn and ignore the option if not recognized
14827 # So say no if there are warnings other than the usual output.
14828 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14829 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14830 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14831 lt_cv_prog_compiler_pic_works_CXX
=yes
14837 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14838 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14840 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14841 case $lt_prog_compiler_pic_CXX in
14843 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14846 lt_prog_compiler_pic_CXX
=
14847 lt_prog_compiler_can_build_shared_CXX
=no
14855 # Check to make sure the static flag actually works.
14857 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14858 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14859 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14860 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
14861 $as_echo_n "(cached) " >&6
14863 lt_cv_prog_compiler_static_works_CXX
=no
14864 save_LDFLAGS
="$LDFLAGS"
14865 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14866 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14867 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14868 # The linker can only warn and ignore the option if not recognized
14869 # So say no if there are warnings
14870 if test -s conftest.err
; then
14871 # Append any errors to the config.log.
14872 cat conftest.err
1>&5
14873 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14874 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14875 if diff conftest.exp conftest.er2
>/dev
/null
; then
14876 lt_cv_prog_compiler_static_works_CXX
=yes
14879 lt_cv_prog_compiler_static_works_CXX
=yes
14883 LDFLAGS
="$save_LDFLAGS"
14886 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14887 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14889 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14892 lt_prog_compiler_static_CXX
=
14898 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14899 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14900 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14901 $as_echo_n "(cached) " >&6
14903 lt_cv_prog_compiler_c_o_CXX
=no
14904 $RM -r conftest
2>/dev
/null
14908 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14910 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14911 # Insert the option either (1) after the last *FLAGS variable, or
14912 # (2) before a word containing "conftest.", or (3) at the end.
14913 # Note that $ac_compile itself does not contain backslashes and begins
14914 # with a dollar sign (not a hyphen), so the echo should work correctly.
14915 lt_compile
=`echo "$ac_compile" | $SED \
14916 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14917 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14918 -e 's:$: $lt_compiler_flag:'`
14919 (eval echo "\"\$as_me:14919: $lt_compile\"" >&5)
14920 (eval "$lt_compile" 2>out
/conftest.err
)
14922 cat out
/conftest.err
>&5
14923 echo "$as_me:14923: \$? = $ac_status" >&5
14924 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14926 # The compiler can only warn and ignore the option if not recognized
14927 # So say no if there are warnings
14928 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14929 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14930 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14931 lt_cv_prog_compiler_c_o_CXX
=yes
14936 # SGI C++ compiler will create directory out/ii_files/ for
14937 # template instantiation
14938 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14939 $RM out
/* && rmdir out
14945 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14946 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14950 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14951 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14952 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14953 $as_echo_n "(cached) " >&6
14955 lt_cv_prog_compiler_c_o_CXX
=no
14956 $RM -r conftest
2>/dev
/null
14960 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14962 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14963 # Insert the option either (1) after the last *FLAGS variable, or
14964 # (2) before a word containing "conftest.", or (3) at the end.
14965 # Note that $ac_compile itself does not contain backslashes and begins
14966 # with a dollar sign (not a hyphen), so the echo should work correctly.
14967 lt_compile
=`echo "$ac_compile" | $SED \
14968 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14969 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14970 -e 's:$: $lt_compiler_flag:'`
14971 (eval echo "\"\$as_me:14971: $lt_compile\"" >&5)
14972 (eval "$lt_compile" 2>out
/conftest.err
)
14974 cat out
/conftest.err
>&5
14975 echo "$as_me:14975: \$? = $ac_status" >&5
14976 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14978 # The compiler can only warn and ignore the option if not recognized
14979 # So say no if there are warnings
14980 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14981 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14982 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14983 lt_cv_prog_compiler_c_o_CXX
=yes
14988 # SGI C++ compiler will create directory out/ii_files/ for
14989 # template instantiation
14990 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14991 $RM out
/* && rmdir out
14997 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14998 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15003 hard_links
="nottested"
15004 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
15005 # do not overwrite the value of need_locks provided by the user
15006 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15007 $as_echo_n "checking if we can lock with hard links... " >&6; }
15010 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15012 ln conftest.a conftest.b
2>&5 || hard_links
=no
15013 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
15014 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
15015 $as_echo "$hard_links" >&6; }
15016 if test "$hard_links" = no
; then
15017 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15018 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15027 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15028 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15030 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15033 # If we're using GNU nm, then we don't want the "-C" option.
15034 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15035 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
15036 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'
15038 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'
15042 export_symbols_cmds_CXX
="$ltdll_cmds"
15044 cygwin
* | mingw
* | cegcc
*)
15045 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'
15048 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15051 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15053 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
15054 $as_echo "$ld_shlibs_CXX" >&6; }
15055 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
15057 with_gnu_ld_CXX
=$with_gnu_ld
15065 # Do we need to explicitly link libc?
15067 case "x$archive_cmds_need_lc_CXX" in
15069 # Assume -lc should be added
15070 archive_cmds_need_lc_CXX
=yes
15072 if test "$enable_shared" = yes && test "$GCC" = yes; then
15073 case $archive_cmds_CXX in
15075 # FIXME: we may have to deal with multi-command sequences.
15078 # Test whether the compiler implicitly links with -lc since on some
15079 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15080 # to ld, don't add -lc before -lgcc.
15081 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15082 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15084 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15087 (eval $ac_compile) 2>&5
15089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); } 2>conftest.err
; then
15093 libobjs
=conftest.
$ac_objext
15095 wl
=$lt_prog_compiler_wl_CXX
15096 pic_flag
=$lt_prog_compiler_pic_CXX
15102 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
15103 allow_undefined_flag_CXX
=
15104 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
15105 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15107 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15108 (exit $ac_status); }
15110 archive_cmds_need_lc_CXX
=no
15112 archive_cmds_need_lc_CXX
=yes
15114 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
15116 cat conftest.err
1>&5
15119 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
15120 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
15190 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15191 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15193 library_names_spec
=
15194 libname_spec
='lib$name'
15198 postuninstall_cmds
=
15202 shlibpath_overrides_runpath
=unknown
15204 dynamic_linker
="$host_os ld.so"
15205 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15206 need_lib_prefix
=unknown
15207 hardcode_into_libs
=no
15209 # when you set need_version to no, make sure it does not cause -set_version
15210 # flags to be left without arguments
15211 need_version
=unknown
15216 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15217 shlibpath_var
=LIBPATH
15219 # AIX 3 has no versioning support, so we append a major version to the name.
15220 soname_spec
='${libname}${release}${shared_ext}$major'
15227 hardcode_into_libs
=yes
15228 if test "$host_cpu" = ia64
; then
15229 # AIX 5 supports IA64
15230 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15231 shlibpath_var
=LD_LIBRARY_PATH
15233 # With GCC up to 2.95.x, collect2 would create an import file
15234 # for dependence libraries. The import file would start with
15235 # the line `#! .'. This would cause the generated library to
15236 # depend on `.', always an invalid library. This was fixed in
15237 # development snapshots of GCC prior to 3.0.
15239 aix4 | aix4.
[01] | aix4.
[01].
*)
15240 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15242 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15245 can_build_shared
=no
15249 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15250 # soname into executable. Probably we can add versioning support to
15251 # collect2, so additional links can be useful in future.
15252 if test "$aix_use_runtimelinking" = yes; then
15253 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15254 # instead of lib<name>.a to let people know that these are not
15255 # typical AIX shared libraries.
15256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15258 # We preserve .a as extension for shared libraries through AIX4.2
15259 # and later when we are not doing run time linking.
15260 library_names_spec
='${libname}${release}.a $libname.a'
15261 soname_spec
='${libname}${release}${shared_ext}$major'
15263 shlibpath_var
=LIBPATH
15270 # Since July 2007 AmigaOS4 officially supports .so libraries.
15271 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15272 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15275 library_names_spec
='$libname.ixlibrary $libname.a'
15276 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15277 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'
15283 library_names_spec
='${libname}${shared_ext}'
15284 dynamic_linker
="$host_os ld.so"
15285 shlibpath_var
=LIBRARY_PATH
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 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15294 shlibpath_var
=LD_LIBRARY_PATH
15295 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15296 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15297 # the default ld.so.conf also contains /usr/contrib/lib and
15298 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15299 # libtool to hard-code these into programs
15302 cygwin
* | mingw
* | pw32
* | cegcc
*)
15303 version_type
=windows
15308 case $GCC,$host_os in
15309 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15310 library_names_spec
='$libname.dll.a'
15311 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15312 postinstall_cmds
='base_file=`basename \${file}`~
15313 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15314 dldir=$destdir/`dirname \$dlpath`~
15315 test -d \$dldir || mkdir -p \$dldir~
15316 $install_prog $dir/$dlname \$dldir/$dlname~
15317 chmod a+x \$dldir/$dlname~
15318 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15319 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15321 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15322 dlpath=$dir/\$dldll~
15324 shlibpath_overrides_runpath
=yes
15328 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15329 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15330 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15333 # MinGW DLLs use traditional 'lib' prefix
15334 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15335 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15336 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
15337 # It is most probably a Windows format PATH printed by
15338 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15339 # path with ; separators, and with drive letters. We can handle the
15340 # drive letters (cygwin fileutils understands them), so leave them,
15341 # especially as we might pass files found there to a mingw objdump,
15342 # which wouldn't understand a cygwinified path. Ahh.
15343 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15345 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15349 # pw32 DLLs use 'pw' prefix rather than 'lib'
15350 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15356 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15359 dynamic_linker
='Win32 ld.exe'
15360 # FIXME: first we should search . and the directory the executable is in
15364 darwin
* | rhapsody
*)
15365 dynamic_linker
="$host_os dyld"
15366 version_type
=darwin
15369 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15370 soname_spec
='${libname}${release}${major}$shared_ext'
15371 shlibpath_overrides_runpath
=yes
15372 shlibpath_var
=DYLD_LIBRARY_PATH
15373 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15375 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15382 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15383 soname_spec
='${libname}${release}${shared_ext}$major'
15384 shlibpath_var
=LD_LIBRARY_PATH
15391 freebsd
* | dragonfly
*)
15392 # DragonFly does not have aout. When/if they implement a new
15393 # versioning mechanism, adjust this.
15394 if test -x /usr
/bin
/objformat
; then
15395 objformat
=`/usr/bin/objformat`
15398 freebsd
[123]*) objformat
=aout
;;
15399 *) objformat
=elf
;;
15402 version_type
=freebsd-
$objformat
15403 case $version_type in
15405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15410 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15414 shlibpath_var
=LD_LIBRARY_PATH
15417 shlibpath_overrides_runpath
=yes
15419 freebsd3.
[01]* | freebsdelf3.
[01]*)
15420 shlibpath_overrides_runpath
=yes
15421 hardcode_into_libs
=yes
15423 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15424 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15425 shlibpath_overrides_runpath
=no
15426 hardcode_into_libs
=yes
15428 *) # from 4.6 on, and DragonFly
15429 shlibpath_overrides_runpath
=yes
15430 hardcode_into_libs
=yes
15439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15440 soname_spec
='${libname}${release}${shared_ext}$major'
15441 shlibpath_var
=LD_LIBRARY_PATH
15442 hardcode_into_libs
=yes
15445 hpux9
* | hpux10
* | hpux11
*)
15446 # Give a soname corresponding to the major version so that dld.sl refuses to
15447 # link against other versions.
15454 hardcode_into_libs
=yes
15455 dynamic_linker
="$host_os dld.so"
15456 shlibpath_var
=LD_LIBRARY_PATH
15457 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15459 soname_spec
='${libname}${release}${shared_ext}$major'
15460 if test "X$HPUX_IA64_MODE" = X32
; then
15461 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15463 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15465 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15469 hardcode_into_libs
=yes
15470 dynamic_linker
="$host_os dld.sl"
15471 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15472 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15473 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15474 soname_spec
='${libname}${release}${shared_ext}$major'
15475 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15476 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15480 dynamic_linker
="$host_os dld.sl"
15481 shlibpath_var
=SHLIB_PATH
15482 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15483 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15484 soname_spec
='${libname}${release}${shared_ext}$major'
15487 # HP-UX runs *really* slowly unless shared libraries are mode 555.
15488 postinstall_cmds
='chmod 555 $lib'
15495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15496 soname_spec
='${libname}${release}${shared_ext}$major'
15497 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15498 shlibpath_var
=LD_LIBRARY_PATH
15499 shlibpath_overrides_runpath
=no
15500 hardcode_into_libs
=yes
15503 irix5
* | irix6
* | nonstopux
*)
15505 nonstopux
*) version_type
=nonstopux
;;
15507 if test "$lt_cv_prog_gnu_ld" = yes; then
15515 soname_spec
='${libname}${release}${shared_ext}$major'
15516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15518 irix5
* | nonstopux
*)
15519 libsuff
= shlibsuff
=
15522 case $LD in # libtool.m4 will add one of these switches to LD
15523 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15524 libsuff
= shlibsuff
= libmagic
=32-bit;;
15525 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15526 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15527 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15528 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15529 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15533 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15534 shlibpath_overrides_runpath
=no
15535 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15536 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15537 hardcode_into_libs
=yes
15540 # No shared lib support for Linux oldld, aout, or coff.
15541 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15545 # This must be Linux ELF.
15546 linux
* | k
*bsd
*-gnu)
15550 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15551 soname_spec
='${libname}${release}${shared_ext}$major'
15552 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15553 shlibpath_var
=LD_LIBRARY_PATH
15554 shlibpath_overrides_runpath
=no
15555 # Some binutils ld are patched to set DT_RUNPATH
15556 save_LDFLAGS
=$LDFLAGS
15557 save_libdir
=$libdir
15558 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15559 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15560 cat >conftest.
$ac_ext <<_ACEOF
15563 cat confdefs.h
>>conftest.
$ac_ext
15564 cat >>conftest.
$ac_ext <<_ACEOF
15565 /* end confdefs.h. */
15575 rm -f conftest.
$ac_objext conftest
$ac_exeext
15576 if { (ac_try
="$ac_link"
15577 case "(($ac_try" in
15578 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15579 *) ac_try_echo=$ac_try;;
15581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15582 $as_echo "$ac_try_echo") >&5
15583 (eval "$ac_link") 2>conftest.er1
15585 grep -v '^ *+' conftest.er1 >conftest.err
15587 cat conftest.err >&5
15588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); } && {
15590 test -z "$ac_cxx_werror_flag" ||
15591 test ! -s conftest.err
15592 } && test -s conftest$ac_exeext && {
15593 test "$cross_compiling" = yes ||
15594 $as_test_x conftest$ac_exeext
15596 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
15597 shlibpath_overrides_runpath=yes
15601 $as_echo "$as_me: failed program was:" >&5
15602 sed 's/^/| /' conftest.$ac_ext >&5
15607 rm -rf conftest.dSYM
15608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15609 conftest$ac_exeext conftest.$ac_ext
15610 LDFLAGS=$save_LDFLAGS
15611 libdir=$save_libdir
15613 # This implies no fast_install, which is unacceptable.
15614 # Some rework will be needed to allow for fast_install
15615 # before this can be enabled.
15616 hardcode_into_libs=yes
15618 # Add ABI-specific directories to the system library path.
15619 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
15621 # Append ld.so.conf contents to the search path
15622 if test -f /etc/ld.so.conf; then
15623 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' ' '`
15624 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
15627 # We used to test for /lib/ld.so.1 and disable shared libraries on
15628 # powerpc, because MkLinux only supported shared libraries with the
15629 # GNU dynamic linker. Since this was broken with cross compilers,
15630 # most powerpc-linux boxes support dynamic linking these days and
15631 # people can always --disable-shared, the test was removed, and we
15632 # assume the GNU/Linux dynamic linker is in use.
15633 dynamic_linker='GNU/Linux ld.so'
15640 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15642 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15643 dynamic_linker='NetBSD (a.out) ld.so'
15645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15646 soname_spec='${libname}${release}${shared_ext}$major'
15647 dynamic_linker='NetBSD ld.elf_so'
15649 shlibpath_var=LD_LIBRARY_PATH
15650 shlibpath_overrides_runpath=yes
15651 hardcode_into_libs=yes
15656 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15657 shlibpath_var=LD_LIBRARY_PATH
15658 shlibpath_overrides_runpath=yes
15665 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15666 soname_spec='${libname}${release}${shared_ext}$major'
15667 shlibpath_var=LD_LIBRARY_PATH
15668 shlibpath_overrides_runpath=no
15669 hardcode_into_libs=yes
15670 dynamic_linker='ldqnx.so'
15675 sys_lib_dlsearch_path_spec="/usr/lib"
15677 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15679 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15680 *) need_version=no ;;
15682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15683 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15684 shlibpath_var=LD_LIBRARY_PATH
15685 if test -z "`echo __ELF__ |
$CC -E - |
$GREP __ELF__
`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15687 openbsd2.[89] | openbsd2.[89].*)
15688 shlibpath_overrides_runpath=no
15691 shlibpath_overrides_runpath=yes
15695 shlibpath_overrides_runpath=yes
15700 libname_spec='$name'
15703 library_names_spec='$libname${shared_ext} $libname.a'
15704 dynamic_linker='OS/2 ld.exe'
15705 shlibpath_var=LIBPATH
15708 osf3* | osf4* | osf5*)
15712 soname_spec='${libname}${release}${shared_ext}$major'
15713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15714 shlibpath_var=LD_LIBRARY_PATH
15715 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15716 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15728 soname_spec='${libname}${release}${shared_ext}$major'
15729 shlibpath_var=LD_LIBRARY_PATH
15730 shlibpath_overrides_runpath=yes
15731 hardcode_into_libs=yes
15732 # ldd complains unless libraries are executable
15733 postinstall_cmds='chmod +x $lib'
15738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15739 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15740 shlibpath_var=LD_LIBRARY_PATH
15741 shlibpath_overrides_runpath=yes
15742 if test "$with_gnu_ld" = yes; then
15750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15751 soname_spec='${libname}${release}${shared_ext}$major'
15752 shlibpath_var=LD_LIBRARY_PATH
15753 case $host_vendor in
15755 shlibpath_overrides_runpath=no
15757 runpath_var=LD_RUN_PATH
15765 shlibpath_overrides_runpath=no
15766 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15772 if test -d /usr/nec ;then
15774 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15775 soname_spec='$libname${shared_ext}.$major'
15776 shlibpath_var=LD_LIBRARY_PATH
15780 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15781 version_type=freebsd-elf
15784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15785 soname_spec='${libname}${release}${shared_ext}$major'
15786 shlibpath_var=LD_LIBRARY_PATH
15787 shlibpath_overrides_runpath=yes
15788 hardcode_into_libs=yes
15789 if test "$with_gnu_ld" = yes; then
15790 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15792 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15795 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15799 sys_lib_dlsearch_path_spec='/usr/lib'
15803 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15807 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15808 shlibpath_var=LD_LIBRARY_PATH
15809 shlibpath_overrides_runpath=no
15810 hardcode_into_libs=yes
15815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15816 soname_spec='${libname}${release}${shared_ext}$major'
15817 shlibpath_var=LD_LIBRARY_PATH
15824 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
15825 $as_echo "$dynamic_linker" >&6; }
15826 test "$dynamic_linker" = no && can_build_shared=no
15828 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15829 if test "$GCC" = yes; then
15830 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15833 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15834 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15836 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15837 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15875 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
15876 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15877 hardcode_action_CXX=
15878 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15879 test -n "$runpath_var_CXX" ||
15880 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15882 # We can hardcode non-existent directories.
15883 if test "$hardcode_direct_CXX" != no &&
15884 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15885 # have to relink, otherwise we might link with an installed library
15886 # when we should be linking with a yet-to-be-installed one
15887 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15888 test "$hardcode_minus_L_CXX" != no; then
15889 # Linking always hardcodes the temporary library directory.
15890 hardcode_action_CXX=relink
15892 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15893 hardcode_action_CXX=immediate
15896 # We cannot hardcode anything, or else we can only hardcode existing
15898 hardcode_action_CXX=unsupported
15900 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
15901 $as_echo "$hardcode_action_CXX" >&6; }
15903 if test "$hardcode_action_CXX" = relink ||
15904 test "$inherit_rpath_CXX" = yes; then
15905 # Fast installation is not supported
15906 enable_fast_install=no
15907 elif test "$shlibpath_overrides_runpath" = yes ||
15908 test "$enable_shared" = no; then
15909 # Fast installation is not necessary
15910 enable_fast_install=needless
15919 fi # test -n "$compiler"
15925 with_gnu_ld=$lt_save_with_gnu_ld
15926 lt_cv_path_LDCXX=$lt_cv_path_LD
15927 lt_cv_path_LD=$lt_save_path_LD
15928 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15929 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15930 fi # test "$_lt_caught_CXX_error" != yes
15933 ac_cpp='$CPP $CPPFLAGS'
15934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15950 ac_config_commands="$ac_config_commands libtool"
15955 # Only expand once:
15958 cat >confcache <<\_ACEOF
15959 # This file is a shell script that caches the results of configure
15960 # tests run on this system so they can be shared between configure
15961 # scripts and configure runs, see configure's option --config-cache.
15962 # It is not useful on other systems. If it contains results you don't
15963 # want to keep, you may remove or edit it.
15965 # config.status only pays attention to the cache file if you give it
15966 # the --recheck option to rerun configure.
15968 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
15969 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15970 # following values.
15974 # The following way of writing the cache mishandles newlines in values,
15975 # but we know of no workaround that is simple, portable, and efficient.
15976 # So, we kill variables containing newlines.
15977 # Ultrix sh set writes to stderr and can't be redirected directly,
15978 # and sets the high bit in the cache file unless we assign to the vars.
15980 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15981 eval ac_val
=\$
$ac_var
15985 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15989 _ | IFS | as_nl
) ;; #(
15990 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15991 *) $as_unset $ac_var ;;
15997 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15998 *${as_nl}ac_space
=\
*)
15999 # `set' does not quote correctly, so add quotes (double-quote
16000 # substitution turns \\\\ into \\, and sed turns \\ into \).
16003 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16006 # `set' quotes correctly as required by POSIX, so do not add quotes.
16007 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16016 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16018 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16020 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16021 if test -w "$cache_file"; then
16022 test "x$cache_file" != "x/dev/null" &&
16023 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
16024 $as_echo "$as_me: updating cache $cache_file" >&6;}
16025 cat confcache
>$cache_file
16027 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16028 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16033 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16034 # Let make expand exec_prefix.
16035 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16037 DEFS
=-DHAVE_CONFIG_H
16041 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16042 # 1. Remove the extension, and $U if already installed.
16043 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16044 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16045 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16046 # will be set to the directory where LIBOBJS objects are built.
16047 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16048 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
16050 LIBOBJS
=$ac_libobjs
16052 LTLIBOBJS
=$ac_ltlibobjs
16055 if test -n "$EXEEXT"; then
16057 am__EXEEXT_FALSE
='#'
16059 am__EXEEXT_TRUE
='#'
16063 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16064 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
16065 Usually this means the macro was only invoked conditionally." >&5
16066 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
16067 Usually this means the macro was only invoked conditionally." >&2;}
16068 { (exit 1); exit 1; }; }
16070 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16071 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16072 Usually this means the macro was only invoked conditionally." >&5
16073 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16074 Usually this means the macro was only invoked conditionally." >&2;}
16075 { (exit 1); exit 1; }; }
16077 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16078 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
16079 Usually this means the macro was only invoked conditionally." >&5
16080 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
16081 Usually this means the macro was only invoked conditionally." >&2;}
16082 { (exit 1); exit 1; }; }
16084 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16085 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
16086 Usually this means the macro was only invoked conditionally." >&5
16087 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
16088 Usually this means the macro was only invoked conditionally." >&2;}
16089 { (exit 1); exit 1; }; }
16092 : ${CONFIG_STATUS=./config.status}
16094 ac_clean_files_save
=$ac_clean_files
16095 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16096 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
16097 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16098 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16100 # Generated by $as_me.
16101 # Run this file to recreate the current configuration.
16102 # Compiler output produced by configure, useful for debugging
16103 # configure, is in config.log if it exists.
16106 ac_cs_recheck=false
16108 SHELL=\${CONFIG_SHELL-$SHELL}
16111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16112 ## --------------------- ##
16113 ## M4sh Initialization. ##
16114 ## --------------------- ##
16116 # Be more Bourne compatible
16117 DUALCASE
=1; export DUALCASE
# for MKS sh
16118 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16121 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16122 # is contrary to our usage. Disable this feature.
16123 alias -g '${1+"$@"}'='"$@"'
16124 setopt NO_GLOB_SUBST
16126 case `(set -o) 2>/dev/null` in
16127 *posix
*) set -o posix
;;
16136 # Avoid depending upon Character Ranges.
16137 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16138 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16139 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16140 as_cr_digits
='0123456789'
16141 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16146 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16147 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16148 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16149 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16150 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16151 as_echo='printf %s
\n'
16152 as_echo_n='printf %s
'
16154 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16155 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16156 as_echo_n='/usr
/ucb
/echo -n'
16158 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16159 as_echo_n_body='eval
16163 expr "X$arg" : "X\\(.*\\)$as_nl";
16164 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16166 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16168 export as_echo_n_body
16169 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16171 export as_echo_body
16172 as_echo='sh
-c $as_echo_body as_echo
'
16175 # The user is always right.
16176 if test "${PATH_SEPARATOR+set}" != set; then
16178 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16179 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16184 # Support unset when possible.
16185 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
16193 # We need space, tab and new line, in precisely that order. Quoting is
16194 # there to prevent editors from complaining about space-tab.
16195 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16196 # splitting by setting IFS to empty value.)
16199 # Find who we are. Look in the path if we contain no directory separator.
16201 *[\\/]* ) as_myself=$0 ;;
16202 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16203 for as_dir in $PATH
16206 test -z "$as_dir" && as_dir=.
16207 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16213 # We did not find ourselves, most probably we were run as `sh COMMAND'
16214 # in which case we are not to be found in the path.
16215 if test "x$as_myself" = x
; then
16218 if test ! -f "$as_myself"; then
16219 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16220 { (exit 1); exit 1; }
16223 # Work around bugs in pre-3.0 UWIN ksh.
16224 for as_var
in ENV MAIL MAILPATH
16225 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
16237 # Required to use basename.
16238 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16239 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16245 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16246 as_basename
=basename
16252 # Name of the executable.
16253 as_me
=`$as_basename -- "$0" ||
16254 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16255 X"$0" : 'X\(//\)$' \| \
16256 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16258 sed '/^.*\/\([^/][^/]*\)\/*$/{
16277 as_lineno_1
=$LINENO
16278 as_lineno_2
=$LINENO
16279 test "x$as_lineno_1" != "x$as_lineno_2" &&
16280 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
16282 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
16283 # uniformly replaced by the line number. The first 'sed' inserts a
16284 # line-number line after each line using $LINENO; the second 'sed'
16285 # does the real work. The second script uses 'N' to pair each
16286 # line-number line with the line containing $LINENO, and appends
16287 # trailing '-' during substitution so that $LINENO is not a special
16288 # case at line end.
16289 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16290 # scripts with optimization help from Paolo Bonzini. Blame Lee
16291 # E. McMahon (1931-1989) for sed's syntax. :-)
16303 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
16306 ' >$as_me.lineno
&&
16307 chmod +x
"$as_me.lineno" ||
16308 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
16309 { (exit 1); exit 1; }; }
16311 # Don't try to exec as it changes $[0], causing all sort of problems
16312 # (the dirname of $[0] is not the place where we might find the
16313 # original and so on. Autoconf is especially sensitive to this).
16314 .
"./$as_me.lineno"
16315 # Exit status is that of the last command.
16320 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16326 ECHO_C
= ECHO_N
= ECHO_T
=
16327 case `echo -n x` in
16329 case `echo 'x\c'` in
16330 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16336 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16337 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16343 rm -f conf$$ conf$$.exe conf$$.
file
16344 if test -d conf$$.dir
; then
16345 rm -f conf$$.dir
/conf$$.
file
16348 mkdir conf$$.dir
2>/dev
/null
16350 if (echo >conf$$.
file) 2>/dev
/null
; then
16351 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16353 # ... but there are two gotchas:
16354 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16355 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16356 # In both cases, we have to default to `cp -p'.
16357 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16359 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16367 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16368 rmdir conf$$.dir
2>/dev
/null
16370 if mkdir
-p .
2>/dev
/null
; then
16373 test -d .
/-p && rmdir .
/-p
16377 if test -x / >/dev
/null
2>&1; then
16378 as_test_x
='test -x'
16380 if ls -dL / >/dev
/null
2>&1; then
16387 if test -d "$1"; then
16393 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16394 ???[sx]*):;;*)false;;esac;fi
16398 as_executable_p
=$as_test_x
16400 # Sed expression to map a string onto a valid CPP name.
16401 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16403 # Sed expression to map a string onto a valid variable name.
16404 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16409 # Save the log message, to keep $[0] and so on meaningful, and to
16410 # report actual input values of CONFIG_FILES etc. instead of their
16411 # values after options handling.
16413 This file was extended by jellyfish $as_me 1.1.4, which was
16414 generated by GNU Autoconf 2.63. Invocation command line was
16416 CONFIG_FILES = $CONFIG_FILES
16417 CONFIG_HEADERS = $CONFIG_HEADERS
16418 CONFIG_LINKS = $CONFIG_LINKS
16419 CONFIG_COMMANDS = $CONFIG_COMMANDS
16422 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16427 case $ac_config_files in *"
16428 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16431 case $ac_config_headers in *"
16432 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16437 # Files that config.status was made for.
16438 config_files="$ac_config_files"
16439 config_headers="$ac_config_headers"
16440 config_commands="$ac_config_commands"
16444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16446 \`$as_me' instantiates files from templates according to the
16447 current configuration.
16449 Usage: $0 [OPTION]... [FILE]...
16451 -h, --help print this help, then exit
16452 -V, --version print version number and configuration settings, then exit
16453 -q, --quiet, --silent
16454 do not print progress messages
16455 -d, --debug don't remove temporary files
16456 --recheck update $as_me by reconfiguring in the same conditions
16457 --file=FILE[:TEMPLATE]
16458 instantiate the configuration file FILE
16459 --header=FILE[:TEMPLATE]
16460 instantiate the configuration header FILE
16462 Configuration files:
16465 Configuration headers:
16468 Configuration commands:
16471 Report bugs to <bug-autoconf@gnu.org>."
16474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16476 jellyfish config.status 1.1.4
16477 configured by $0, generated by GNU Autoconf 2.63,
16478 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16480 Copyright (C) 2008 Free Software Foundation, Inc.
16481 This config.status script is free software; the Free Software Foundation
16482 gives unlimited permission to copy, distribute and modify it."
16489 test -n "\$AWK" || AWK=awk
16492 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16493 # The default lists apply if the user does not specify any file.
16499 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16500 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16511 # Handling of the options.
16512 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16514 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16515 $as_echo "$ac_cs_version"; exit ;;
16516 --debug |
--debu |
--deb |
--de |
--d |
-d )
16518 --file |
--fil |
--fi |
--f )
16521 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16523 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
16524 ac_need_defaults
=false
;;
16525 --header |
--heade |
--head |
--hea )
16528 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16530 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
16531 ac_need_defaults
=false
;;
16533 # Conflict between --help and --header
16534 { $as_echo "$as_me: error: ambiguous option: $1
16535 Try \`$0 --help' for more information." >&2
16536 { (exit 1); exit 1; }; };;
16537 --help |
--hel |
-h )
16538 $as_echo "$ac_cs_usage"; exit ;;
16539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16540 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16543 # This is an error.
16544 -*) { $as_echo "$as_me: error: unrecognized option: $1
16545 Try \`$0 --help' for more information." >&2
16546 { (exit 1); exit 1; }; } ;;
16548 *) ac_config_targets
="$ac_config_targets $1"
16549 ac_need_defaults
=false
;;
16555 ac_configure_extra_args
=
16557 if $ac_cs_silent; then
16559 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16564 if \$ac_cs_recheck; then
16565 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16567 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16568 CONFIG_SHELL='$SHELL'
16569 export CONFIG_SHELL
16574 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16578 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16579 ## Running $as_me. ##
16585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16589 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16592 # The HP-UX ksh and POSIX shell print the target directory to stdout
16593 # if CDPATH is set.
16594 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16596 sed_quote_subst='$sed_quote_subst'
16597 double_quote_subst='$double_quote_subst'
16598 delay_variable_subst='$delay_variable_subst'
16599 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16600 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16601 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16602 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16603 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16604 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16605 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16606 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16607 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16608 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16609 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16610 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16611 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16612 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16613 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16614 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16615 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16616 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16617 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16618 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16619 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16620 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16621 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16622 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16623 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16624 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16625 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16626 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16627 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16628 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16629 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16630 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16631 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16632 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16633 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16634 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16635 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16636 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16637 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16638 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16639 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16640 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16641 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16642 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16643 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
16644 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16645 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16646 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16647 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16648 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16649 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16650 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16651 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16652 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16653 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16654 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16655 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16656 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16657 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16658 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16659 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16660 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16661 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16662 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16663 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16664 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16665 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16666 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16667 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16668 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16669 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16670 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16671 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16672 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16673 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16674 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16675 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16676 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16677 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16678 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16679 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16680 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16681 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16682 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16683 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16684 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16685 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16686 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16687 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16688 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16689 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16690 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16691 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16692 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16693 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16694 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16695 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16696 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16697 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16698 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16699 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16700 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16701 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16702 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16703 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16704 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16705 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16706 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16707 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16708 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16709 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16710 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16711 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16712 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16713 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16714 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16715 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16716 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16717 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16718 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16719 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16720 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16721 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16722 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16723 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16724 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16725 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16726 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16727 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16728 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16729 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16730 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16731 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16732 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16733 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16734 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16735 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16736 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16737 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16738 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16739 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16740 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16741 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16742 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16743 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16744 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16745 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16746 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16747 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16748 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16749 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16750 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16751 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16752 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16753 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16754 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16755 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16756 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16757 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16758 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16759 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16760 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16761 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16762 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16763 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16764 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16765 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16766 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16767 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16768 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16769 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16772 LTCFLAGS='$LTCFLAGS'
16773 compiler='$compiler_DEFAULT'
16775 # Quote evaled strings.
16787 deplibs_check_method \
16796 lt_cv_sys_global_symbol_pipe \
16797 lt_cv_sys_global_symbol_to_cdecl \
16798 lt_cv_sys_global_symbol_to_c_name_address \
16799 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16802 lt_prog_compiler_no_builtin_flag \
16803 lt_prog_compiler_wl \
16804 lt_prog_compiler_pic \
16805 lt_prog_compiler_static \
16806 lt_cv_prog_compiler_c_o \
16814 export_dynamic_flag_spec \
16815 whole_archive_flag_spec \
16816 compiler_needs_object \
16818 allow_undefined_flag \
16819 no_undefined_flag \
16820 hardcode_libdir_flag_spec \
16821 hardcode_libdir_flag_spec_ld \
16822 hardcode_libdir_separator \
16827 variables_saved_for_relink \
16829 library_names_spec \
16834 compiler_lib_search_dirs \
16839 compiler_lib_search_path \
16842 lt_prog_compiler_no_builtin_flag_CXX \
16843 lt_prog_compiler_wl_CXX \
16844 lt_prog_compiler_pic_CXX \
16845 lt_prog_compiler_static_CXX \
16846 lt_cv_prog_compiler_c_o_CXX \
16847 export_dynamic_flag_spec_CXX \
16848 whole_archive_flag_spec_CXX \
16849 compiler_needs_object_CXX \
16851 allow_undefined_flag_CXX \
16852 no_undefined_flag_CXX \
16853 hardcode_libdir_flag_spec_CXX \
16854 hardcode_libdir_flag_spec_ld_CXX \
16855 hardcode_libdir_separator_CXX \
16856 fix_srcfile_path_CXX \
16857 exclude_expsyms_CXX \
16858 include_expsyms_CXX \
16859 file_list_spec_CXX \
16860 compiler_lib_search_dirs_CXX \
16861 predep_objects_CXX \
16862 postdep_objects_CXX \
16865 compiler_lib_search_path_CXX; do
16866 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16867 *[\\\\\\\`\\"\\\$]*)
16868 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16871 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16876 # Double-quote double-evaled strings.
16877 for var in reload_cmds \
16878 old_postinstall_cmds \
16879 old_postuninstall_cmds \
16881 extract_expsyms_cmds \
16882 old_archive_from_new_cmds \
16883 old_archive_from_expsyms_cmds \
16885 archive_expsym_cmds \
16887 module_expsym_cmds \
16888 export_symbols_cmds \
16891 postuninstall_cmds \
16893 sys_lib_search_path_spec \
16894 sys_lib_dlsearch_path_spec \
16895 old_archive_cmds_CXX \
16896 old_archive_from_new_cmds_CXX \
16897 old_archive_from_expsyms_cmds_CXX \
16899 archive_expsym_cmds_CXX \
16901 module_expsym_cmds_CXX \
16902 export_symbols_cmds_CXX \
16903 prelink_cmds_CXX; do
16904 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16905 *[\\\\\\\`\\"\\\$]*)
16906 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16909 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16914 # Fix-up fallback echo if it was mangled by the above quoting rules.
16916 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16920 ac_aux_dir='$ac_aux_dir'
16921 xsi_shell='$xsi_shell'
16922 lt_shell_append='$lt_shell_append'
16924 # See if we are running on zsh, and set the options which allow our
16925 # commands through without removal of \ escapes INIT.
16926 if test -n "\${ZSH_VERSION+set}" ; then
16927 setopt NO_GLOB_SUBST
16933 TIMESTAMP='$TIMESTAMP'
16944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16946 # Handling of arguments.
16947 for ac_config_target
in $ac_config_targets
16949 case $ac_config_target in
16950 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
16951 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
16952 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
16953 "tests/compat.sh") CONFIG_FILES
="$CONFIG_FILES tests/compat.sh" ;;
16954 "jellyfish-1.1.pc") CONFIG_FILES
="$CONFIG_FILES jellyfish-1.1.pc" ;;
16955 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
16957 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16958 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16959 { (exit 1); exit 1; }; };;
16964 # If the user did not use the arguments to specify the items to instantiate,
16965 # then the envvar interface is used. Set only those that are not.
16966 # We use the long form for the default assignment because of an extremely
16967 # bizarre bug on SunOS 4.1.3.
16968 if $ac_need_defaults; then
16969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16970 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16974 # Have a temporary directory for convenience. Make it in the build tree
16975 # simply because there is no reason against having it here, and in addition,
16976 # creating and moving files from /tmp can sometimes cause problems.
16977 # Hook for its removal unless debugging.
16978 # Note that there is a small window in which the directory will not be cleaned:
16979 # after its creation but before its name has been assigned to `$tmp'.
16983 trap 'exit_status=$?
16984 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16986 trap '{ (exit 1); exit 1; }' 1 2 13 15
16988 # Create a (secure) tmp directory for tmp files.
16991 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16992 test -n "$tmp" && test -d "$tmp"
16995 tmp
=.
/conf$$
-$RANDOM
16996 (umask 077 && mkdir
"$tmp")
16999 $as_echo "$as_me: cannot create a temporary directory in ." >&2
17000 { (exit 1); exit 1; }
17003 # Set up the scripts for CONFIG_FILES section.
17004 # No need to generate them if there are no CONFIG_FILES.
17005 # This happens for instance with `./config.status config.h'.
17006 if test -n "$CONFIG_FILES"; then
17010 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17011 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17014 ac_cs_awk_cr
=$ac_cr
17017 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17022 echo "cat >conf$$subs.awk <<_ACEOF" &&
17023 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17025 } >conf$$subs.sh ||
17026 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
17027 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
17028 { (exit 1); exit 1; }; }
17029 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17031 for ac_last_try in false false false false false :; do
17032 . ./conf$$subs.sh ||
17033 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
17034 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
17035 { (exit 1); exit 1; }; }
17037 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17038 if test $ac_delim_n = $ac_delim_num; then
17040 elif $ac_last_try; then
17041 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
17042 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
17043 { (exit 1); exit 1; }; }
17045 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17048 rm -f conf$$subs.sh
17050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17051 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17055 s/^/S["/; s
/!.
*/"]=/
17065 s/\(.\{148\}\).*/\1/
17067 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17072 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17079 s/\(.\{148\}\).*/\1/
17081 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17085 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17090 ' <conf$$subs.awk | sed '
17095 ' >>$CONFIG_STATUS || ac_write_fail=1
17096 rm -f conf$$subs.awk
17097 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17099 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17100 for (key in S) S_is_set[key] = 1
17106 nfields = split(line, field, "@
")
17108 len = length(field[1])
17109 for (i = 2; i < nfields; i++) {
17111 keylen = length(key)
17112 if (S_is_set[key]) {
17114 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17115 len += length(value) + length(field[++i])
17126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17127 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17128 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17131 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17132 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
17133 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
17134 { (exit 1); exit 1; }; }
17137 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17138 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17139 # trailing colons and then remove the whole line if VPATH becomes empty
17140 # (actually we leave an empty line to preserve line numbers).
17141 if test "x
$srcdir" = x.; then
17142 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17143 s/:*\$(srcdir):*/:/
17144 s/:*\${srcdir}:*/:/
17146 s/^\([^=]*=[ ]*\):*/\1/
17152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17153 fi # test -n "$CONFIG_FILES"
17155 # Set up the scripts for CONFIG_HEADERS section.
17156 # No need to generate them if there are no CONFIG_HEADERS.
17157 # This happens for instance with `./config.status Makefile'.
17158 if test -n "$CONFIG_HEADERS"; then
17159 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17163 # Transform confdefs.h into an awk script `defines.awk', embedded as
17164 # here-document in config.status, that substitutes the proper values into
17165 # config.h.in to produce config.h.
17167 # Create a delimiter string that does not exist in confdefs.h, to ease
17168 # handling of long lines.
17170 for ac_last_try in false false :; do
17171 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17172 if test -z "$ac_t"; then
17174 elif $ac_last_try; then
17175 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
17176 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
17177 { (exit 1); exit 1; }; }
17179 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17183 # For the awk script, D is an array of macro values keyed by name,
17184 # likewise P contains macro parameters if any. Preserve backslash
17185 # newline sequences.
17187 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17189 s/.\{148\}/&'"$ac_delim"'/g
17192 s/^[ ]*#[ ]*define[ ][ ]*/ /
17199 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17201 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17205 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17206 D["\
1"]=" \
3\\\\\\n
"\\/p
17208 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17213 s/.\{148\}/&'"$ac_delim"'/g
17218 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17221 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17223 ' <confdefs.h | sed '
17224 s/'"$ac_delim"'/"\\\
17225 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17228 for (key in D) D_is_set[key] = 1
17231 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17233 split(line, arg, " ")
17234 if (arg[1] == "#") {
17238 defundef
= substr
(arg
[1], 2)
17241 split(mac1
, mac2
, "(") #)
17243 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17244 if (D_is_set
[macro
]) {
17245 # Preserve the white space surrounding the "#".
17246 print prefix
"define", macro P
[macro
] D
[macro
]
17249 # Replace #undef with comments. This is necessary, for example,
17250 # in the case of _POSIX_SOURCE, which is predefined and required
17251 # on some systems where configure will not decide to define it.
17252 if (defundef
== "undef") {
17253 print
"/*", prefix defundef
, macro
, "*/"
17261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17262 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
17263 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
17264 { (exit 1); exit 1; }; }
17265 fi # test -n "$CONFIG_HEADERS"
17268 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17273 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17275 case $ac_mode$ac_tag in
17277 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
17278 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
17279 { (exit 1); exit 1; }; };;
17280 :[FH
]-) ac_tag
=-:-;;
17281 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17298 -) ac_f
="$tmp/stdin";;
17299 *) # Look for the file first in the build tree, then in the source tree
17300 # (if the path is not absolute). The absolute path cannot be DOS-style,
17301 # because $ac_f cannot contain `:'.
17305 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17307 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
17308 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
17309 { (exit 1); exit 1; }; };;
17311 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17312 ac_file_inputs
="$ac_file_inputs '$ac_f'"
17315 # Let's still pretend it is `configure' which instantiates (i.e., don't
17316 # use $as_me), people would be surprised to read:
17317 # /* config.h. Generated by config.status. */
17318 configure_input
='Generated from '`
17319 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17321 if test x
"$ac_file" != x-
; then
17322 configure_input
="$ac_file. $configure_input"
17323 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
17324 $as_echo "$as_me: creating $ac_file" >&6;}
17326 # Neutralize special characters interpreted by sed in replacement strings.
17327 case $configure_input in #(
17328 *\
&* |
*\|
* |
*\\* )
17329 ac_sed_conf_input
=`$as_echo "$configure_input" |
17330 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17331 *) ac_sed_conf_input
=$configure_input;;
17335 *:-:* |
*:-) cat >"$tmp/stdin" \
17336 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17337 $as_echo "$as_me: error: could not create $ac_file" >&2;}
17338 { (exit 1); exit 1; }; } ;;
17343 ac_dir
=`$as_dirname -- "$ac_file" ||
17344 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17345 X"$ac_file" : 'X\(//\)[^/]' \| \
17346 X"$ac_file" : 'X\(//\)$' \| \
17347 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17348 $as_echo X"$ac_file" |
17349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17353 /^X\(\/\/\)[^/].*/{
17368 -*) as_dir
=.
/$as_dir;;
17370 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
17374 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17375 *) as_qdir
=$as_dir;;
17377 as_dirs
="'$as_qdir' $as_dirs"
17378 as_dir
=`$as_dirname -- "$as_dir" ||
17379 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17380 X"$as_dir" : 'X\(//\)[^/]' \| \
17381 X"$as_dir" : 'X\(//\)$' \| \
17382 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17383 $as_echo X"$as_dir" |
17384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17388 /^X\(\/\/\)[^/].*/{
17401 test -d "$as_dir" && break
17403 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17404 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17405 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17406 { (exit 1); exit 1; }; }; }
17410 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17412 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17413 # A ".." for each directory in $ac_dir_suffix.
17414 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17415 case $ac_top_builddir_sub in
17416 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17417 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17420 ac_abs_top_builddir
=$ac_pwd
17421 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17422 # for backward compatibility:
17423 ac_top_builddir
=$ac_top_build_prefix
17426 .
) # We are building in place.
17428 ac_top_srcdir
=$ac_top_builddir_sub
17429 ac_abs_top_srcdir
=$ac_pwd ;;
17430 [\\/]* | ?
:[\\/]* ) # Absolute name.
17431 ac_srcdir
=$srcdir$ac_dir_suffix;
17432 ac_top_srcdir
=$srcdir
17433 ac_abs_top_srcdir
=$srcdir ;;
17434 *) # Relative name.
17435 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17436 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17437 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17439 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17449 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17450 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17452 ac_MKDIR_P
=$MKDIR_P
17454 [\\/$
]* | ?
:[\\/]* ) ;;
17455 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
17459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17460 # If the template does not know about datarootdir, expand it.
17461 # FIXME: This hack should be removed a few years after 2.60.
17462 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17475 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17476 *datarootdir
*) ac_datarootdir_seen
=yes;;
17477 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17478 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17479 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17482 ac_datarootdir_hack='
17483 s&@datadir@&$datadir&g
17484 s&@docdir@&$docdir&g
17485 s&@infodir@&$infodir&g
17486 s&@localedir@&$localedir&g
17487 s&@mandir@&$mandir&g
17488 s&\\\${datarootdir}&$datarootdir&g' ;;
17492 # Neutralize VPATH when `$srcdir' = `.'.
17493 # Shell code in configure.ac might set extrasub.
17494 # FIXME: do we really want to maintain this feature?
17495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17496 ac_sed_extra="$ac_vpsub
17499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17501 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17502 s|@configure_input@|
$ac_sed_conf_input|
;t t
17503 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17504 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17505 s
&@srcdir@
&$ac_srcdir&;t t
17506 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17507 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17508 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17509 s
&@builddir@
&$ac_builddir&;t t
17510 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17511 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17512 s
&@INSTALL@
&$ac_INSTALL&;t t
17513 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
17514 $ac_datarootdir_hack
17516 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
17517 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
17518 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
17519 { (exit 1); exit 1; }; }
17521 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17522 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
17523 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
17524 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17525 which seems to be undefined. Please make sure it is defined." >&5
17526 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17527 which seems to be undefined. Please make sure it is defined." >&2;}
17531 -) cat "$tmp/out" && rm -f "$tmp/out";;
17532 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17534 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17535 $as_echo "$as_me: error: could not create $ac_file" >&2;}
17536 { (exit 1); exit 1; }; }
17542 if test x"$ac_file" != x-; then
17544 $as_echo "/* $configure_input */" \
17545 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17546 } >"$tmp/config.h" \
17547 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17548 $as_echo "$as_me: error: could not create $ac_file" >&2;}
17549 { (exit 1); exit 1; }; }
17550 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17551 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17552 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17555 mv "$tmp/config.h" "$ac_file" \
17556 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17557 $as_echo "$as_me: error: could not create $ac_file" >&2;}
17558 { (exit 1); exit 1; }; }
17561 $as_echo "/* $configure_input */" \
17562 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17563 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
17564 $as_echo "$as_me: error: could not create -" >&2;}
17565 { (exit 1); exit 1; }; }
17567 # Compute "$ac_file"'s index
in $config_headers.
17570 for _am_header
in $config_headers :; do
17571 case $_am_header in
17572 $_am_arg |
$_am_arg:* )
17575 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
17578 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17579 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17580 X"$_am_arg" : 'X\(//\)[^/]' \| \
17581 X"$_am_arg" : 'X\(//\)$' \| \
17582 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17583 $as_echo X"$_am_arg" |
17584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17588 /^X\(\/\/\)[^/].*/{
17600 s/.*/./; q'`/stamp-h
$_am_stamp_count
17603 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
17604 $as_echo "$as_me: executing $ac_file commands" >&6;}
17609 case $ac_file$ac_mode in
17610 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
17611 # Autoconf 2.62 quotes --file arguments for eval, but not when files
17612 # are listed without --file. Let's play safe and only enable the eval
17613 # if we detect the quoting.
17614 case $CONFIG_FILES in
17615 *\'*) eval set x
"$CONFIG_FILES" ;;
17616 *) set x
$CONFIG_FILES ;;
17621 # Strip MF so we end up with the name of the file.
17622 mf
=`echo "$mf" | sed -e 's/:.*$//'`
17623 # Check whether this is an Automake generated Makefile or not.
17624 # We used to match only the files named `Makefile.in', but
17625 # some people rename them; so instead we look at the file content.
17626 # Grep'ing the first line is not enough: some people post-process
17627 # each Makefile.in and add a new line on top of each file to say so.
17628 # Grep'ing the whole file is not good either: AIX grep has a line
17629 # limit of 2048, but all sed's we know have understand at least 4000.
17630 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
17631 dirpart
=`$as_dirname -- "$mf" ||
17632 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17633 X"$mf" : 'X\(//\)[^/]' \| \
17634 X"$mf" : 'X\(//\)$' \| \
17635 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17641 /^X\(\/\/\)[^/].*/{
17657 # Extract the definition of DEPDIR, am__include, and am__quote
17658 # from the Makefile without running `make'.
17659 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
17660 test -z "$DEPDIR" && continue
17661 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
17662 test -z "am__include" && continue
17663 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
17664 # When using ansi2knr, U may be empty or an underscore; expand it
17665 U
=`sed -n 's/^U = //p' < "$mf"`
17666 # Find all dependency output files, they are included files with
17667 # $(DEPDIR) in their names. We invoke sed twice because it is the
17668 # simplest approach to changing $(DEPDIR) to its actual value in the
17670 for file in `sed -n "
17671 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17672 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17673 # Make sure the directory exists.
17674 test -f "$dirpart/$file" && continue
17675 fdir
=`$as_dirname -- "$file" ||
17676 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17677 X"$file" : 'X\(//\)[^/]' \| \
17678 X"$file" : 'X\(//\)$' \| \
17679 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17680 $as_echo X"$file" |
17681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17685 /^X\(\/\/\)[^/].*/{
17698 { as_dir
=$dirpart/$fdir
17700 -*) as_dir
=.
/$as_dir;;
17702 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
17706 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17707 *) as_qdir
=$as_dir;;
17709 as_dirs
="'$as_qdir' $as_dirs"
17710 as_dir
=`$as_dirname -- "$as_dir" ||
17711 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17712 X"$as_dir" : 'X\(//\)[^/]' \| \
17713 X"$as_dir" : 'X\(//\)$' \| \
17714 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17715 $as_echo X"$as_dir" |
17716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17720 /^X\(\/\/\)[^/].*/{
17733 test -d "$as_dir" && break
17735 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17736 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17737 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17738 { (exit 1); exit 1; }; }; }
17739 # echo "creating $dirpart/$file"
17740 echo '# dummy' > "$dirpart/$file"
17747 # See if we are running on zsh, and set the options which allow our
17748 # commands through without removal of \ escapes.
17749 if test -n "${ZSH_VERSION+set}" ; then
17750 setopt NO_GLOB_SUBST
17753 cfgfile
="${ofile}T"
17754 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17757 cat <<_LT_EOF >> "$cfgfile"
17760 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17761 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17762 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17763 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17765 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17766 # 2006, 2007, 2008 Free Software Foundation, Inc.
17767 # Written by Gordon Matzigkeit, 1996
17769 # This file is part of GNU Libtool.
17771 # GNU Libtool is free software; you can redistribute it and/or
17772 # modify it under the terms of the GNU General Public License as
17773 # published by the Free Software Foundation; either version 2 of
17774 # the License, or (at your option) any later version.
17776 # As a special exception to the GNU General Public License,
17777 # if you distribute this file as part of a program or library that
17778 # is built using GNU Libtool, you may include this file under the
17779 # same distribution terms that you use for the rest of that program.
17781 # GNU Libtool is distributed in the hope that it will be useful,
17782 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17783 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17784 # GNU General Public License for more details.
17786 # You should have received a copy of the GNU General Public License
17787 # along with GNU Libtool; see the file COPYING. If not, a copy
17788 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17789 # obtained by writing to the Free Software Foundation, Inc.,
17790 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17793 # The names of the tagged configurations supported by this script.
17794 available_tags="CXX "
17796 # ### BEGIN LIBTOOL CONFIG
17798 # Which release of libtool.m4 was used?
17799 macro_version=$macro_version
17800 macro_revision=$macro_revision
17802 # Whether or not to build shared libraries.
17803 build_libtool_libs=$enable_shared
17805 # Whether or not to build static libraries.
17806 build_old_libs=$enable_static
17808 # What type of objects to build.
17811 # Whether or not to optimize for fast installation.
17812 fast_install=$enable_fast_install
17815 host_alias=$host_alias
17819 # The build system.
17820 build_alias=$build_alias
17824 # A sed program that does not truncate output.
17827 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17828 Xsed="\$SED -e 1s/^X//"
17830 # A grep program that handles long lines.
17836 # A literal string matcher.
17839 # A BSD- or MS-compatible name lister.
17842 # Whether we need soft or hard links.
17845 # What is the maximum length of a command?
17846 max_cmd_len=$max_cmd_len
17848 # Object file suffix (normally "o").
17851 # Executable file suffix (normally "").
17854 # whether the shell understands "unset".
17857 # turn spaces into newlines.
17860 # turn newlines into spaces.
17863 # How to create reloadable object files.
17864 reload_flag=$lt_reload_flag
17865 reload_cmds=$lt_reload_cmds
17867 # An object symbol dumper.
17868 OBJDUMP=$lt_OBJDUMP
17870 # Method to check whether dependent libraries are shared objects.
17871 deplibs_check_method=$lt_deplibs_check_method
17873 # Command to use when deplibs_check_method == "file_magic".
17874 file_magic_cmd=$lt_file_magic_cmd
17878 AR_FLAGS=$lt_AR_FLAGS
17880 # A symbol stripping program.
17883 # Commands used to install an old-style archive.
17885 old_postinstall_cmds=$lt_old_postinstall_cmds
17886 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17891 # LTCC compiler flags.
17892 LTCFLAGS=$lt_CFLAGS
17894 # Take the output of nm and produce a listing of raw symbols and C names.
17895 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17897 # Transform the output of nm in a proper C declaration.
17898 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17900 # Transform the output of nm in a C name address pair.
17901 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17903 # Transform the output of nm in a C name address pair when lib prefix is needed.
17904 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17906 # The name of the directory that contains temporary libtool files.
17909 # Shell to use when invoking shell scripts.
17912 # An echo program that does not interpret backslashes.
17915 # Used to examine libraries when file_magic_cmd begins with "file".
17916 MAGIC_CMD=$MAGIC_CMD
17918 # Must we lock files when doing compilation?
17919 need_locks=$lt_need_locks
17921 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17922 DSYMUTIL=$lt_DSYMUTIL
17924 # Tool to change global to local symbols on Mac OS X.
17927 # Tool to manipulate fat objects and archives on Mac OS X.
17930 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17933 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17934 OTOOL64=$lt_OTOOL64
17936 # Old archive suffix (normally "a").
17939 # Shared library suffix (normally ".so").
17940 shrext_cmds=$lt_shrext_cmds
17942 # The commands to extract the exported symbol list from a shared archive.
17943 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17945 # Variables whose values should be saved in libtool wrapper scripts and
17946 # restored at link time.
17947 variables_saved_for_relink=$lt_variables_saved_for_relink
17949 # Do we need the "lib" prefix for modules?
17950 need_lib_prefix=$need_lib_prefix
17952 # Do we need a version for libraries?
17953 need_version=$need_version
17955 # Library versioning type.
17956 version_type=$version_type
17958 # Shared library runtime path variable.
17959 runpath_var=$runpath_var
17961 # Shared library path variable.
17962 shlibpath_var=$shlibpath_var
17964 # Is shlibpath searched before the hard-coded library search path?
17965 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17967 # Format of library name prefix.
17968 libname_spec=$lt_libname_spec
17970 # List of archive names. First name is the real one, the rest are links.
17971 # The last name is the one that the linker finds with -lNAME
17972 library_names_spec=$lt_library_names_spec
17974 # The coded name of the library, if different from the real name.
17975 soname_spec=$lt_soname_spec
17977 # Command to use after installation of a shared archive.
17978 postinstall_cmds=$lt_postinstall_cmds
17980 # Command to use after uninstallation of a shared archive.
17981 postuninstall_cmds=$lt_postuninstall_cmds
17983 # Commands used to finish a libtool library installation in a directory.
17984 finish_cmds=$lt_finish_cmds
17986 # As "finish_cmds", except a single script fragment to be evaled but
17988 finish_eval=$lt_finish_eval
17990 # Whether we should hardcode library paths into libraries.
17991 hardcode_into_libs=$hardcode_into_libs
17993 # Compile-time system search path for libraries.
17994 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17996 # Run-time system search path for libraries.
17997 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17999 # Whether dlopen is supported.
18000 dlopen_support=$enable_dlopen
18002 # Whether dlopen of programs is supported.
18003 dlopen_self=$enable_dlopen_self
18005 # Whether dlopen of statically linked programs is supported.
18006 dlopen_self_static=$enable_dlopen_self_static
18008 # Commands to strip libraries.
18009 old_striplib=$lt_old_striplib
18010 striplib=$lt_striplib
18013 # The linker used to build libraries.
18016 # Commands used to build an old-style archive.
18017 old_archive_cmds=$lt_old_archive_cmds
18019 # A language specific compiler.
18022 # Is the compiler the GNU compiler?
18025 # Compiler flag to turn off builtin functions.
18026 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18028 # How to pass a linker flag through the compiler.
18029 wl=$lt_lt_prog_compiler_wl
18031 # Additional compiler flags for building library objects.
18032 pic_flag=$lt_lt_prog_compiler_pic
18034 # Compiler flag to prevent dynamic linking.
18035 link_static_flag=$lt_lt_prog_compiler_static
18037 # Does compiler simultaneously support -c and -o options?
18038 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18040 # Whether or not to add -lc for building shared libraries.
18041 build_libtool_need_lc=$archive_cmds_need_lc
18043 # Whether or not to disallow shared libs when runtime libs are static.
18044 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18046 # Compiler flag to allow reflexive dlopens.
18047 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18049 # Compiler flag to generate shared objects directly from archives.
18050 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18052 # Whether the compiler copes with passing no objects directly.
18053 compiler_needs_object=$lt_compiler_needs_object
18055 # Create an old-style archive from a shared archive.
18056 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18058 # Create a temporary old-style archive to link instead of a shared archive.
18059 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18061 # Commands used to build a shared archive.
18062 archive_cmds=$lt_archive_cmds
18063 archive_expsym_cmds=$lt_archive_expsym_cmds
18065 # Commands used to build a loadable module if different from building
18066 # a shared archive.
18067 module_cmds=$lt_module_cmds
18068 module_expsym_cmds=$lt_module_expsym_cmds
18070 # Whether we are building with GNU ld or not.
18071 with_gnu_ld=$lt_with_gnu_ld
18073 # Flag that allows shared libraries with undefined symbols to be built.
18074 allow_undefined_flag=$lt_allow_undefined_flag
18076 # Flag that enforces no undefined symbols.
18077 no_undefined_flag=$lt_no_undefined_flag
18079 # Flag to hardcode \$libdir into a binary during linking.
18080 # This must work even if \$libdir does not exist
18081 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18083 # If ld is used when linking, flag to hardcode \$libdir into a binary
18084 # during linking. This must work even if \$libdir does not exist.
18085 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18087 # Whether we need a single "-rpath" flag with a separated argument.
18088 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18090 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18091 # DIR into the resulting binary.
18092 hardcode_direct=$hardcode_direct
18094 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18095 # DIR into the resulting binary and the resulting library dependency is
18096 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18097 # library is relocated.
18098 hardcode_direct_absolute=$hardcode_direct_absolute
18100 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18101 # into the resulting binary.
18102 hardcode_minus_L=$hardcode_minus_L
18104 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18105 # into the resulting binary.
18106 hardcode_shlibpath_var=$hardcode_shlibpath_var
18108 # Set to "yes" if building a shared library automatically hardcodes DIR
18109 # into the library and all subsequent libraries and executables linked
18111 hardcode_automatic=$hardcode_automatic
18113 # Set to yes if linker adds runtime paths of dependent libraries
18114 # to runtime path list.
18115 inherit_rpath=$inherit_rpath
18117 # Whether libtool must link a program against all its dependency libraries.
18118 link_all_deplibs=$link_all_deplibs
18120 # Fix the shell variable \$srcfile for the compiler.
18121 fix_srcfile_path=$lt_fix_srcfile_path
18123 # Set to "yes" if exported symbols are required.
18124 always_export_symbols=$always_export_symbols
18126 # The commands to list exported symbols.
18127 export_symbols_cmds=$lt_export_symbols_cmds
18129 # Symbols that should not be listed in the preloaded symbols.
18130 exclude_expsyms=$lt_exclude_expsyms
18132 # Symbols that must always be exported.
18133 include_expsyms=$lt_include_expsyms
18135 # Commands necessary for linking programs (against libraries) with templates.
18136 prelink_cmds=$lt_prelink_cmds
18138 # Specify filename containing input files.
18139 file_list_spec=$lt_file_list_spec
18141 # How to hardcode a shared library path into an executable.
18142 hardcode_action=$hardcode_action
18144 # The directories searched by this compiler when creating a shared library.
18145 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18147 # Dependencies to place before and after the objects being linked to
18148 # create a shared library.
18149 predep_objects=$lt_predep_objects
18150 postdep_objects=$lt_postdep_objects
18151 predeps=$lt_predeps
18152 postdeps=$lt_postdeps
18154 # The library search path used internally by the compiler when linking
18155 # a shared library.
18156 compiler_lib_search_path=$lt_compiler_lib_search_path
18158 # ### END LIBTOOL CONFIG
18164 cat <<\_LT_EOF
>> "$cfgfile"
18165 # AIX sometimes has problems with the GCC collect2 program. For some
18166 # reason, if we set the COLLECT_NAMES environment variable, the problems
18167 # vanish in a puff of smoke.
18168 if test "X${COLLECT_NAMES+set}" != Xset
; then
18170 export COLLECT_NAMES
18177 ltmain
="$ac_aux_dir/ltmain.sh"
18180 # We use sed instead of cat because bash on DJGPP gets confused if
18181 # if finds mixed CR/LF and LF-only lines. Since sed operates in
18182 # text mode, it properly converts lines to CR/LF. This bash problem
18183 # is reportedly fixed, but why not run on old versions too?
18184 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18185 ||
(rm -f "$cfgfile"; exit 1)
18189 cat << \_LT_EOF
>> "$cfgfile"
18191 # func_dirname file append nondir_replacement
18192 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18193 # otherwise set result to NONDIR_REPLACEMENT.
18197 */*) func_dirname_result
="${1%/*}${2}" ;;
18198 * ) func_dirname_result
="${3}" ;;
18202 # func_basename file
18205 func_basename_result
="${1##*/}"
18208 # func_dirname_and_basename file append nondir_replacement
18209 # perform func_basename and func_dirname in a single function
18211 # dirname: Compute the dirname of FILE. If nonempty,
18212 # add APPEND to the result, otherwise set result
18213 # to NONDIR_REPLACEMENT.
18214 # value returned in "$func_dirname_result"
18215 # basename: Compute filename of FILE.
18216 # value retuned in "$func_basename_result"
18217 # Implementation must be kept synchronized with func_dirname
18218 # and func_basename. For efficiency, we do not delegate to
18219 # those functions but instead duplicate the functionality here.
18220 func_dirname_and_basename
()
18223 */*) func_dirname_result
="${1%/*}${2}" ;;
18224 * ) func_dirname_result
="${3}" ;;
18226 func_basename_result
="${1##*/}"
18229 # func_stripname prefix suffix name
18230 # strip PREFIX and SUFFIX off of NAME.
18231 # PREFIX and SUFFIX must not contain globbing or regex special
18232 # characters, hashes, percent signs, but SUFFIX may contain a leading
18233 # dot (in which case that matches only a dot).
18236 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18237 # positional parameters, so assign one to ordinary parameter first.
18238 func_stripname_result
=${3}
18239 func_stripname_result
=${func_stripname_result#"${1}"}
18240 func_stripname_result
=${func_stripname_result%"${2}"}
18246 func_opt_split_opt
=${1%%=*}
18247 func_opt_split_arg
=${1#*=}
18254 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
18255 *) func_lo2o_result
=${1} ;;
18259 # func_xform libobj-or-source
18262 func_xform_result
=${1%.*}.lo
18265 # func_arith arithmetic-term...
18268 func_arith_result
=$
(( $
* ))
18272 # STRING may not start with a hyphen.
18275 func_len_result
=${#1}
18280 *) # Bourne compatible functions.
18281 cat << \_LT_EOF
>> "$cfgfile"
18283 # func_dirname file append nondir_replacement
18284 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
18285 # otherwise set result to NONDIR_REPLACEMENT.
18288 # Extract subdirectory from the argument.
18289 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18290 if test "X$func_dirname_result" = "X${1}"; then
18291 func_dirname_result
="${3}"
18293 func_dirname_result
="$func_dirname_result${2}"
18297 # func_basename file
18300 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
18304 # func_stripname prefix suffix name
18305 # strip PREFIX and SUFFIX off of NAME.
18306 # PREFIX and SUFFIX must not contain globbing or regex special
18307 # characters, hashes, percent signs, but SUFFIX may contain a leading
18308 # dot (in which case that matches only a dot).
18309 # func_strip_suffix prefix name
18313 .
*) func_stripname_result
=`$ECHO "X${3}" \
18314 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18315 *) func_stripname_result
=`$ECHO "X${3}" \
18316 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18321 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
18322 my_sed_long_arg
='1s/^-[^=]*=//'
18327 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18328 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18334 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18337 # func_xform libobj-or-source
18340 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18343 # func_arith arithmetic-term...
18346 func_arith_result
=`expr "$@"`
18350 # STRING may not start with a hyphen.
18353 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18359 case $lt_shell_append in
18361 cat << \_LT_EOF
>> "$cfgfile"
18363 # func_append var value
18364 # Append VALUE to the end of shell variable VAR.
18372 cat << \_LT_EOF
>> "$cfgfile"
18374 # func_append var value
18375 # Append VALUE to the end of shell variable VAR.
18386 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18387 ||
(rm -f "$cfgfile"; exit 1)
18389 mv -f "$cfgfile" "$ofile" ||
18390 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18394 cat <<_LT_EOF >> "$ofile"
18396 # ### BEGIN LIBTOOL TAG CONFIG: CXX
18398 # The linker used to build libraries.
18401 # Commands used to build an old-style archive.
18402 old_archive_cmds=$lt_old_archive_cmds_CXX
18404 # A language specific compiler.
18405 CC=$lt_compiler_CXX
18407 # Is the compiler the GNU compiler?
18410 # Compiler flag to turn off builtin functions.
18411 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18413 # How to pass a linker flag through the compiler.
18414 wl=$lt_lt_prog_compiler_wl_CXX
18416 # Additional compiler flags for building library objects.
18417 pic_flag=$lt_lt_prog_compiler_pic_CXX
18419 # Compiler flag to prevent dynamic linking.
18420 link_static_flag=$lt_lt_prog_compiler_static_CXX
18422 # Does compiler simultaneously support -c and -o options?
18423 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18425 # Whether or not to add -lc for building shared libraries.
18426 build_libtool_need_lc=$archive_cmds_need_lc_CXX
18428 # Whether or not to disallow shared libs when runtime libs are static.
18429 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18431 # Compiler flag to allow reflexive dlopens.
18432 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18434 # Compiler flag to generate shared objects directly from archives.
18435 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18437 # Whether the compiler copes with passing no objects directly.
18438 compiler_needs_object=$lt_compiler_needs_object_CXX
18440 # Create an old-style archive from a shared archive.
18441 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18443 # Create a temporary old-style archive to link instead of a shared archive.
18444 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18446 # Commands used to build a shared archive.
18447 archive_cmds=$lt_archive_cmds_CXX
18448 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18450 # Commands used to build a loadable module if different from building
18451 # a shared archive.
18452 module_cmds=$lt_module_cmds_CXX
18453 module_expsym_cmds=$lt_module_expsym_cmds_CXX
18455 # Whether we are building with GNU ld or not.
18456 with_gnu_ld=$lt_with_gnu_ld_CXX
18458 # Flag that allows shared libraries with undefined symbols to be built.
18459 allow_undefined_flag=$lt_allow_undefined_flag_CXX
18461 # Flag that enforces no undefined symbols.
18462 no_undefined_flag=$lt_no_undefined_flag_CXX
18464 # Flag to hardcode \$libdir into a binary during linking.
18465 # This must work even if \$libdir does not exist
18466 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18468 # If ld is used when linking, flag to hardcode \$libdir into a binary
18469 # during linking. This must work even if \$libdir does not exist.
18470 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18472 # Whether we need a single "-rpath" flag with a separated argument.
18473 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18475 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18476 # DIR into the resulting binary.
18477 hardcode_direct=$hardcode_direct_CXX
18479 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18480 # DIR into the resulting binary and the resulting library dependency is
18481 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18482 # library is relocated.
18483 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18485 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18486 # into the resulting binary.
18487 hardcode_minus_L=$hardcode_minus_L_CXX
18489 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18490 # into the resulting binary.
18491 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18493 # Set to "yes" if building a shared library automatically hardcodes DIR
18494 # into the library and all subsequent libraries and executables linked
18496 hardcode_automatic=$hardcode_automatic_CXX
18498 # Set to yes if linker adds runtime paths of dependent libraries
18499 # to runtime path list.
18500 inherit_rpath=$inherit_rpath_CXX
18502 # Whether libtool must link a program against all its dependency libraries.
18503 link_all_deplibs=$link_all_deplibs_CXX
18505 # Fix the shell variable \$srcfile for the compiler.
18506 fix_srcfile_path=$lt_fix_srcfile_path_CXX
18508 # Set to "yes" if exported symbols are required.
18509 always_export_symbols=$always_export_symbols_CXX
18511 # The commands to list exported symbols.
18512 export_symbols_cmds=$lt_export_symbols_cmds_CXX
18514 # Symbols that should not be listed in the preloaded symbols.
18515 exclude_expsyms=$lt_exclude_expsyms_CXX
18517 # Symbols that must always be exported.
18518 include_expsyms=$lt_include_expsyms_CXX
18520 # Commands necessary for linking programs (against libraries) with templates.
18521 prelink_cmds=$lt_prelink_cmds_CXX
18523 # Specify filename containing input files.
18524 file_list_spec=$lt_file_list_spec_CXX
18526 # How to hardcode a shared library path into an executable.
18527 hardcode_action=$hardcode_action_CXX
18529 # The directories searched by this compiler when creating a shared library.
18530 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18532 # Dependencies to place before and after the objects being linked to
18533 # create a shared library.
18534 predep_objects=$lt_predep_objects_CXX
18535 postdep_objects=$lt_postdep_objects_CXX
18536 predeps=$lt_predeps_CXX
18537 postdeps=$lt_postdeps_CXX
18539 # The library search path used internally by the compiler when linking
18540 # a shared library.
18541 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18543 # ### END LIBTOOL TAG CONFIG: CXX
18552 { (exit 0); exit 0; }
18554 chmod +x
$CONFIG_STATUS
18555 ac_clean_files
=$ac_clean_files_save
18557 test $ac_write_fail = 0 ||
18558 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
18559 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
18560 { (exit 1); exit 1; }; }
18563 # configure is writing to config.log, and then calls config.status.
18564 # config.status does its own redirection, appending to config.log.
18565 # Unfortunately, on DOS this fails, as config.log is still kept open
18566 # by configure, so config.status won't be able to write to it; its
18567 # output is simply discarded. So we exec the FD to /dev/null,
18568 # effectively closing config.log, so it can be properly (re)opened and
18569 # appended to by config.status. When coming back to configure, we
18570 # need to make the FD available again.
18571 if test "$no_create" != yes; then
18573 ac_config_status_args
=
18574 test "$silent" = yes &&
18575 ac_config_status_args
="$ac_config_status_args --quiet"
18577 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18579 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18580 # would make configure fail if this is the last instruction.
18581 $ac_cs_success ||
{ (exit 1); exit 1; }
18583 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18584 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18585 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}