2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575 # Check that we are running under the correct shell.
576 SHELL
=${CONFIG_SHELL-/bin/sh}
580 # Remove one level of quotation (which was required for Make).
581 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
586 if test "X$1" = X--no-reexec
; then
587 # Discard the --no-reexec flag, and continue.
589 elif test "X$1" = X--fallback-echo
; then
590 # Avoid inline document here, it may be left over
592 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
593 # Yippee, $echo works!
596 # Restart under the correct shell.
597 exec $SHELL "$0" --no-reexec ${1+"$@"}
600 if test "X$1" = X--fallback-echo
; then
601 # used as fallback echo
609 # The HP-UX ksh and POSIX shell print the target directory to stdout
611 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
613 if test -z "$ECHO"; then
614 if test "X${echo_test_string+set}" != Xset
; then
615 # find a string as large as possible, as long as the shell can cope with it
616 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
619 echo_test_string
=`eval $cmd` &&
620 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
627 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
628 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
629 test "X$echo_testing_string" = "X$echo_test_string"; then
632 # The Solaris, AIX, and Digital Unix default echo programs unquote
633 # backslashes. This makes it impossible to quote backslashes using
634 # echo "$something" | sed 's/\\/\\\\/g'
636 # So, first we look for a working echo in the user's PATH.
638 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
639 for dir
in $PATH /usr
/ucb
; do
641 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
642 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
643 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
644 test "X$echo_testing_string" = "X$echo_test_string"; then
651 if test "X$echo" = Xecho
; then
652 # We didn't find a better echo, so look for alternatives.
653 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
654 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
655 test "X$echo_testing_string" = "X$echo_test_string"; then
656 # This shell has a builtin print -r that does the trick.
658 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
659 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
660 # If we have ksh, try running configure again with it.
661 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
662 export ORIGINAL_CONFIG_SHELL
663 CONFIG_SHELL
=/bin
/ksh
665 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
669 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
670 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
671 test "X$echo_testing_string" = "X$echo_test_string"; then
674 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
675 test "X$echo_testing_string" = 'X\t' &&
676 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
677 test "X$echo_testing_string" = "X$echo_test_string"; then
678 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
680 SHELL
="$CONFIG_SHELL"
682 echo="$CONFIG_SHELL $0 --fallback-echo"
683 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
684 test "X$echo_testing_string" = 'X\t' &&
685 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
686 test "X$echo_testing_string" = "X$echo_test_string"; then
687 echo="$CONFIG_SHELL $0 --fallback-echo"
689 # maybe with a smaller string...
692 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
693 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
700 if test "$prev" != 'sed 50q "$0"'; then
701 echo_test_string
=`eval $prev`
702 export echo_test_string
703 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
705 # Oops. We lost completely, so just stick with echo.
714 # Copy echo and quote the copy suitably for passing to libtool from
715 # the Makefile, instead of quoting the original, which is used later.
717 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
718 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
724 tagnames
=${tagnames+${tagnames},}CXX
726 tagnames
=${tagnames+${tagnames},}F77
728 exec 7<&0 </dev
/null
6>&1
731 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
732 # so uname gets run too.
733 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
738 ac_default_prefix
=/usr
/local
740 ac_config_libobj_dir
=.
746 SHELL
=${CONFIG_SHELL-/bin/sh}
748 # Identity of this package.
755 ac_unique_file
="event.c"
756 # Factoring default headers for most tests.
757 ac_includes_default
="\
759 #ifdef HAVE_SYS_TYPES_H
760 # include <sys/types.h>
762 #ifdef HAVE_SYS_STAT_H
763 # include <sys/stat.h>
769 # ifdef HAVE_STDLIB_H
774 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
779 #ifdef HAVE_STRINGS_H
780 # include <strings.h>
782 #ifdef HAVE_INTTYPES_H
783 # include <inttypes.h>
792 ac_subst_vars
='LTLIBOBJS
850 INSTALL_STRIP_PROGRAM
892 program_transform_name
904 enable_option_checking
905 enable_dependency_tracking
915 ac_precious_vars
='build_alias
932 # Initialize some variables set by options.
934 ac_init_version
=false
935 ac_unrecognized_opts
=
937 # The variables have the same names as the options, with
938 # dashes changed to underlines.
946 program_transform_name
=s
,x
,x
,
954 # Installation directory options.
955 # These are left unexpanded so users can "make install exec_prefix=/foo"
956 # and all the variables that are supposed to be based on exec_prefix
957 # by default will actually change.
958 # Use braces instead of parens because sh, perl, etc. also accept them.
959 # (The list follows the same order as the GNU Coding Standards.)
960 bindir
='${exec_prefix}/bin'
961 sbindir
='${exec_prefix}/sbin'
962 libexecdir
='${exec_prefix}/libexec'
963 datarootdir
='${prefix}/share'
964 datadir
='${datarootdir}'
965 sysconfdir
='${prefix}/etc'
966 sharedstatedir
='${prefix}/com'
967 localstatedir
='${prefix}/var'
968 includedir
='${prefix}/include'
969 oldincludedir
='/usr/include'
970 docdir
='${datarootdir}/doc/${PACKAGE}'
971 infodir
='${datarootdir}/info'
976 libdir
='${exec_prefix}/lib'
977 localedir
='${datarootdir}/locale'
978 mandir
='${datarootdir}/man'
984 # If the previous option needs an argument, assign it.
985 if test -n "$ac_prev"; then
986 eval $ac_prev=\
$ac_option
992 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
996 # Accept the important Cygnus configure options, so we can diagnose typos.
998 case $ac_dashdash$ac_option in
1002 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1004 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1005 bindir
=$ac_optarg ;;
1007 -build |
--build |
--buil |
--bui |
--bu)
1008 ac_prev
=build_alias
;;
1009 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1010 build_alias
=$ac_optarg ;;
1012 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1013 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1014 ac_prev
=cache_file
;;
1015 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1016 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1017 cache_file
=$ac_optarg ;;
1019 --config-cache |
-C)
1020 cache_file
=config.cache
;;
1022 -datadir |
--datadir |
--datadi |
--datad)
1024 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1025 datadir
=$ac_optarg ;;
1027 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1028 |
--dataroo |
--dataro |
--datar)
1029 ac_prev
=datarootdir
;;
1030 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1031 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1032 datarootdir
=$ac_optarg ;;
1034 -disable-* |
--disable-*)
1035 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1038 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1039 { (exit 1); exit 1; }; }
1040 ac_useropt_orig
=$ac_useropt
1041 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042 case $ac_user_opts in
1044 "enable_
$ac_useropt"
1046 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1047 ac_unrecognized_sep
=', ';;
1049 eval enable_
$ac_useropt=no
;;
1051 -docdir |
--docdir |
--docdi |
--doc |
--do)
1053 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1054 docdir
=$ac_optarg ;;
1056 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1058 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1059 dvidir
=$ac_optarg ;;
1061 -enable-* |
--enable-*)
1062 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1065 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1066 { (exit 1); exit 1; }; }
1067 ac_useropt_orig
=$ac_useropt
1068 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069 case $ac_user_opts in
1071 "enable_
$ac_useropt"
1073 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1074 ac_unrecognized_sep
=', ';;
1076 eval enable_
$ac_useropt=\
$ac_optarg ;;
1078 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1079 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1080 |
--exec |
--exe |
--ex)
1081 ac_prev
=exec_prefix
;;
1082 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1083 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1084 |
--exec=* |
--exe=* |
--ex=*)
1085 exec_prefix
=$ac_optarg ;;
1087 -gas |
--gas |
--ga |
--g)
1088 # Obsolete; use --with-gas.
1091 -help |
--help |
--hel |
--he |
-h)
1092 ac_init_help
=long
;;
1093 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1094 ac_init_help
=recursive
;;
1095 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1096 ac_init_help
=short
;;
1098 -host |
--host |
--hos |
--ho)
1099 ac_prev
=host_alias
;;
1100 -host=* |
--host=* |
--hos=* |
--ho=*)
1101 host_alias
=$ac_optarg ;;
1103 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1105 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1107 htmldir
=$ac_optarg ;;
1109 -includedir |
--includedir |
--includedi |
--included |
--include \
1110 |
--includ |
--inclu |
--incl |
--inc)
1111 ac_prev
=includedir
;;
1112 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1113 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1114 includedir
=$ac_optarg ;;
1116 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1118 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1119 infodir
=$ac_optarg ;;
1121 -libdir |
--libdir |
--libdi |
--libd)
1123 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1124 libdir
=$ac_optarg ;;
1126 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1127 |
--libexe |
--libex |
--libe)
1128 ac_prev
=libexecdir
;;
1129 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1130 |
--libexe=* |
--libex=* |
--libe=*)
1131 libexecdir
=$ac_optarg ;;
1133 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1134 ac_prev
=localedir
;;
1135 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1136 localedir
=$ac_optarg ;;
1138 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1139 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1140 ac_prev
=localstatedir
;;
1141 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1142 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1143 localstatedir
=$ac_optarg ;;
1145 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1147 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1148 mandir
=$ac_optarg ;;
1150 -nfp |
--nfp |
--nf)
1151 # Obsolete; use --without-fp.
1154 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1155 |
--no-cr |
--no-c |
-n)
1158 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1159 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1162 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1163 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1164 |
--oldin |
--oldi |
--old |
--ol |
--o)
1165 ac_prev
=oldincludedir
;;
1166 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1167 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1168 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1169 oldincludedir
=$ac_optarg ;;
1171 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1173 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1174 prefix
=$ac_optarg ;;
1176 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1177 |
--program-pre |
--program-pr |
--program-p)
1178 ac_prev
=program_prefix
;;
1179 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1180 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1181 program_prefix
=$ac_optarg ;;
1183 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1184 |
--program-suf |
--program-su |
--program-s)
1185 ac_prev
=program_suffix
;;
1186 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1187 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1188 program_suffix
=$ac_optarg ;;
1190 -program-transform-name |
--program-transform-name \
1191 |
--program-transform-nam |
--program-transform-na \
1192 |
--program-transform-n |
--program-transform- \
1193 |
--program-transform |
--program-transfor \
1194 |
--program-transfo |
--program-transf \
1195 |
--program-trans |
--program-tran \
1196 |
--progr-tra |
--program-tr |
--program-t)
1197 ac_prev
=program_transform_name
;;
1198 -program-transform-name=* |
--program-transform-name=* \
1199 |
--program-transform-nam=* |
--program-transform-na=* \
1200 |
--program-transform-n=* |
--program-transform-=* \
1201 |
--program-transform=* |
--program-transfor=* \
1202 |
--program-transfo=* |
--program-transf=* \
1203 |
--program-trans=* |
--program-tran=* \
1204 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1205 program_transform_name
=$ac_optarg ;;
1207 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1209 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1210 pdfdir
=$ac_optarg ;;
1212 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1214 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1217 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1218 |
-silent |
--silent |
--silen |
--sile |
--sil)
1221 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1223 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1225 sbindir
=$ac_optarg ;;
1227 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1228 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1229 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1231 ac_prev
=sharedstatedir
;;
1232 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1233 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1234 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1236 sharedstatedir
=$ac_optarg ;;
1238 -site |
--site |
--sit)
1240 -site=* |
--site=* |
--sit=*)
1243 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1245 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1246 srcdir
=$ac_optarg ;;
1248 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1249 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1250 ac_prev
=sysconfdir
;;
1251 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1252 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1253 sysconfdir
=$ac_optarg ;;
1255 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1256 ac_prev
=target_alias
;;
1257 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1258 target_alias
=$ac_optarg ;;
1260 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1263 -version |
--version |
--versio |
--versi |
--vers |
-V)
1264 ac_init_version
=: ;;
1267 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1268 # Reject names that are not valid shell variable names.
1269 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1270 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1271 { (exit 1); exit 1; }; }
1272 ac_useropt_orig
=$ac_useropt
1273 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1274 case $ac_user_opts in
1278 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1279 ac_unrecognized_sep
=', ';;
1281 eval with_
$ac_useropt=\
$ac_optarg ;;
1283 -without-* |
--without-*)
1284 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1285 # Reject names that are not valid shell variable names.
1286 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1287 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1288 { (exit 1); exit 1; }; }
1289 ac_useropt_orig
=$ac_useropt
1290 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1291 case $ac_user_opts in
1295 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1296 ac_unrecognized_sep
=', ';;
1298 eval with_
$ac_useropt=no
;;
1301 # Obsolete; use --with-x.
1304 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1305 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1306 ac_prev
=x_includes
;;
1307 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1308 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1309 x_includes
=$ac_optarg ;;
1311 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1312 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1313 ac_prev
=x_libraries
;;
1314 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1315 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1316 x_libraries
=$ac_optarg ;;
1318 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1319 Try \`$0 --help' for more information." >&2
1320 { (exit 1); exit 1; }; }
1324 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1325 # Reject names that are not valid shell variable names.
1326 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1327 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1328 { (exit 1); exit 1; }; }
1329 eval $ac_envvar=\
$ac_optarg
1330 export $ac_envvar ;;
1333 # FIXME: should be removed in autoconf 3.0.
1334 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1335 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1336 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1337 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1343 if test -n "$ac_prev"; then
1344 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1345 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1346 { (exit 1); exit 1; }; }
1349 if test -n "$ac_unrecognized_opts"; then
1350 case $enable_option_checking in
1352 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1353 { (exit 1); exit 1; }; } ;;
1354 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1358 # Check all directory arguments for consistency.
1359 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1360 datadir sysconfdir sharedstatedir localstatedir includedir \
1361 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1362 libdir localedir mandir
1364 eval ac_val
=\$
$ac_var
1365 # Remove trailing slashes.
1368 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1369 eval $ac_var=\
$ac_val;;
1371 # Be sure to have absolute directory names.
1373 [\\/$
]* | ?
:[\\/]* ) continue;;
1374 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1376 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1377 { (exit 1); exit 1; }; }
1380 # There might be people who depend on the old broken behavior: `$host'
1381 # used to hold the argument of --host etc.
1382 # FIXME: To remove some day.
1385 target
=$target_alias
1387 # FIXME: To remove some day.
1388 if test "x$host_alias" != x
; then
1389 if test "x$build_alias" = x
; then
1390 cross_compiling
=maybe
1391 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1392 If a cross compiler is detected then cross compile mode will be used." >&2
1393 elif test "x$build_alias" != "x$host_alias"; then
1399 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1401 test "$silent" = yes && exec 6>/dev
/null
1404 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1405 ac_ls_di
=`ls -di .` &&
1406 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1407 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1408 { (exit 1); exit 1; }; }
1409 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1410 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1411 { (exit 1); exit 1; }; }
1414 # Find the source files, if location was not specified.
1415 if test -z "$srcdir"; then
1416 ac_srcdir_defaulted
=yes
1417 # Try the directory containing this script, then the parent directory.
1418 ac_confdir
=`$as_dirname -- "$as_myself" ||
1419 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1420 X"$as_myself" : 'X\(//\)[^/]' \| \
1421 X"$as_myself" : 'X\(//\)$' \| \
1422 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1423 $as_echo X"$as_myself" |
1424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1442 if test ! -r "$srcdir/$ac_unique_file"; then
1446 ac_srcdir_defaulted
=no
1448 if test ! -r "$srcdir/$ac_unique_file"; then
1449 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1450 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1451 { (exit 1); exit 1; }; }
1453 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1455 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1456 { (exit 1); exit 1; }; }
1458 # When building in place, set srcdir=.
1459 if test "$ac_abs_confdir" = "$ac_pwd"; then
1462 # Remove unnecessary trailing slashes from srcdir.
1463 # Double slashes in file names in object file debugging info
1464 # mess up M-x gdb in Emacs.
1466 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1468 for ac_var
in $ac_precious_vars; do
1469 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1470 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1471 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1472 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1476 # Report the --help message.
1478 if test "$ac_init_help" = "long"; then
1479 # Omit some internal or obsolete options to make the list less imposing.
1480 # This message is too long to be a string in the A/UX 3.1 sh.
1482 \`configure' configures this package to adapt to many kinds of systems.
1484 Usage: $0 [OPTION]... [VAR=VALUE]...
1486 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1487 VAR=VALUE. See below for descriptions of some of the useful variables.
1489 Defaults for the options are specified in brackets.
1492 -h, --help display this help and exit
1493 --help=short display options specific to this package
1494 --help=recursive display the short help of all the included packages
1495 -V, --version display version information and exit
1496 -q, --quiet, --silent do not print \`checking...' messages
1497 --cache-file=FILE cache test results in FILE [disabled]
1498 -C, --config-cache alias for \`--cache-file=config.cache'
1499 -n, --no-create do not create output files
1500 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1502 Installation directories:
1503 --prefix=PREFIX install architecture-independent files in PREFIX
1504 [$ac_default_prefix]
1505 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1508 By default, \`make install' will install all the files in
1509 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1510 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1511 for instance \`--prefix=\$HOME'.
1513 For better control, use the options below.
1515 Fine tuning of the installation directories:
1516 --bindir=DIR user executables [EPREFIX/bin]
1517 --sbindir=DIR system admin executables [EPREFIX/sbin]
1518 --libexecdir=DIR program executables [EPREFIX/libexec]
1519 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1520 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1521 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1522 --libdir=DIR object code libraries [EPREFIX/lib]
1523 --includedir=DIR C header files [PREFIX/include]
1524 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1525 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1526 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1527 --infodir=DIR info documentation [DATAROOTDIR/info]
1528 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1529 --mandir=DIR man documentation [DATAROOTDIR/man]
1530 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1531 --htmldir=DIR html documentation [DOCDIR]
1532 --dvidir=DIR dvi documentation [DOCDIR]
1533 --pdfdir=DIR pdf documentation [DOCDIR]
1534 --psdir=DIR ps documentation [DOCDIR]
1540 --program-prefix=PREFIX prepend PREFIX to installed program names
1541 --program-suffix=SUFFIX append SUFFIX to installed program names
1542 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1545 --build=BUILD configure
for building on BUILD
[guessed
]
1546 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1550 if test -n "$ac_init_help"; then
1555 --disable-option-checking ignore unrecognized
--enable/--with options
1556 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1557 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1558 --disable-dependency-tracking speeds up one-time build
1559 --enable-dependency-tracking do not reject slow dependency extractors
1560 --enable-gcc-warnings enable verbose warnings with GCC
1561 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1562 --enable-static[=PKGS
] build static libraries
[default
=yes]
1563 --enable-fast-install[=PKGS
]
1564 optimize
for fast installation
[default
=yes]
1565 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1568 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1569 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1570 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1571 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1573 --with-tags[=TAGS
] include additional configurations
[automatic
]
1575 Some influential environment variables
:
1576 CC C compiler
command
1577 CFLAGS C compiler flags
1578 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1579 nonstandard directory
<lib dir
>
1580 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1581 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1582 you have headers
in a nonstandard directory
<include dir
>
1584 CXX C
++ compiler
command
1585 CXXFLAGS C
++ compiler flags
1586 CXXCPP C
++ preprocessor
1587 F77 Fortran
77 compiler
command
1588 FFLAGS Fortran
77 compiler flags
1590 Use these variables to override the choices made by
`configure' or to help
1591 it to find libraries and programs with nonstandard names/locations.
1597 if test "$ac_init_help" = "recursive"; then
1598 # If there are subdirs, report their specific --help.
1599 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1600 test -d "$ac_dir" ||
1601 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1609 # A ".." for each directory in $ac_dir_suffix.
1610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1611 case $ac_top_builddir_sub in
1612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1616 ac_abs_top_builddir=$ac_pwd
1617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1618 # for backward compatibility:
1619 ac_top_builddir=$ac_top_build_prefix
1622 .) # We are building in place.
1624 ac_top_srcdir=$ac_top_builddir_sub
1625 ac_abs_top_srcdir=$ac_pwd ;;
1626 [\\/]* | ?:[\\/]* ) # Absolute name.
1627 ac_srcdir=$srcdir$ac_dir_suffix;
1628 ac_top_srcdir=$srcdir
1629 ac_abs_top_srcdir=$srcdir ;;
1631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1632 ac_top_srcdir=$ac_top_build_prefix$srcdir
1633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1637 cd "$ac_dir" || { ac_status=$?; continue; }
1638 # Check for guested configure.
1639 if test -f "$ac_srcdir/configure.gnu"; then
1641 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1642 elif test -f "$ac_srcdir/configure"; then
1644 $SHELL "$ac_srcdir/configure" --help=recursive
1646 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648 cd "$ac_pwd" || { ac_status=$?; break; }
1652 test -n "$ac_init_help" && exit $ac_status
1653 if $ac_init_version; then
1656 generated by GNU Autoconf 2.63
1658 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1659 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1660 This configure script is free software; the Free Software Foundation
1661 gives unlimited permission to copy, distribute and modify it.
1665 cat >config.log <<_ACEOF
1666 This file contains any messages produced by compilers while
1667 running configure, to aid debugging if configure makes a mistake.
1669 It was created by $as_me, which was
1670 generated by GNU Autoconf 2.63. Invocation command line was
1682 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1683 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1684 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1685 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1686 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1688 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1689 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1691 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1692 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1693 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1694 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1695 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1696 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1697 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir=.
1706 $as_echo "PATH: $as_dir"
1722 # Keep a trace of the command line.
1723 # Strip out --no-create and --no-recursion so they do not pile up.
1724 # Strip out --silent because we don't want to record it for future runs.
1725 # Also quote any args containing shell meta-characters.
1726 # Make two passes to allow for proper duplicate-argument suppression.
1730 ac_must_keep_next=false
1736 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1737 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1738 | -silent | --silent | --silen | --sile | --sil)
1741 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1744 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1746 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1747 if test $ac_must_keep_next = true; then
1748 ac_must_keep_next=false # Got value, back to normal.
1751 *=* | --config-cache | -C | -disable-* | --disable-* \
1752 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1753 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1754 | -with-* | --with-* | -without-* | --without-* | --x)
1755 case "$ac_configure_args0 " in
1756 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1759 -* ) ac_must_keep_next=true ;;
1762 ac_configure_args="$ac_configure_args '$ac_arg'"
1767 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1768 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1770 # When interrupted or exit'd, cleanup temporary files, and complete
1771 # config.log. We remove comments because anyway the quotes in there
1772 # would cause problems or look ugly.
1773 # WARNING: Use '\'' to represent an apostrophe within the trap.
1774 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1775 trap 'exit_status=$?
1776 # Save into config.log some information that might help in debugging.
1781 ## ---------------- ##
1782 ## Cache variables. ##
1783 ## ---------------- ##
1786 # The following way of writing the cache mishandles newlines in values,
1788 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1789 eval ac_val=\$$ac_var
1793 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1794 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1797 _ | IFS | as_nl) ;; #(
1798 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1799 *) $as_unset $ac_var ;;
1804 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1805 *${as_nl}ac_space=\ *)
1807 "s/'\''/'\''\\\\'\'''\''/g;
1808 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1811 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1819 ## ----------------- ##
1820 ## Output variables. ##
1821 ## ----------------- ##
1824 for ac_var in $ac_subst_vars
1826 eval ac_val=\$$ac_var
1828 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1830 $as_echo "$ac_var='\''$ac_val'\''"
1834 if test -n "$ac_subst_files"; then
1836 ## ------------------- ##
1837 ## File substitutions. ##
1838 ## ------------------- ##
1841 for ac_var in $ac_subst_files
1843 eval ac_val=\$$ac_var
1845 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1847 $as_echo "$ac_var='\''$ac_val'\''"
1852 if test -s confdefs.h; then
1862 test "$ac_signal" != 0 &&
1863 $as_echo "$as_me: caught signal $ac_signal"
1864 $as_echo "$as_me: exit $exit_status"
1866 rm -f core *.core core.conftest.* &&
1867 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1870 for ac_signal in 1 2 13 15; do
1871 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1875 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1876 rm -f -r conftest* confdefs.h
1878 # Predefined preprocessor variables.
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_NAME "$PACKAGE_NAME"
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_STRING "$PACKAGE_STRING"
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1905 # Let the site file select an alternate cache file if it wants to.
1906 # Prefer an explicitly selected file to automatically selected ones.
1909 if test -n "$CONFIG_SITE"; then
1910 ac_site_file1=$CONFIG_SITE
1911 elif test "x$prefix" != xNONE; then
1912 ac_site_file1=$prefix/share/config.site
1913 ac_site_file2=$prefix/etc/config.site
1915 ac_site_file1=$ac_default_prefix/share/config.site
1916 ac_site_file2=$ac_default_prefix/etc/config.site
1918 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1920 test "x$ac_site_file" = xNONE && continue
1921 if test -r "$ac_site_file"; then
1922 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1923 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1924 sed 's/^/| /' "$ac_site_file" >&5
1929 if test -r "$cache_file"; then
1930 # Some versions of bash will fail to source /dev/null (special
1931 # files actually), so we avoid doing that.
1932 if test -f "$cache_file"; then
1933 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1934 $as_echo "$as_me: loading cache $cache_file" >&6;}
1936 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1937 *) . "./$cache_file";;
1941 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1942 $as_echo "$as_me: creating cache $cache_file" >&6;}
1946 # Check that the precious variables saved in the cache have kept the same
1948 ac_cache_corrupted=false
1949 for ac_var in $ac_precious_vars; do
1950 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1951 eval ac_new_set=\$ac_env_${ac_var}_set
1952 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1953 eval ac_new_val=\$ac_env_${ac_var}_value
1954 case $ac_old_set,$ac_new_set in
1956 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1957 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1958 ac_cache_corrupted=: ;;
1960 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1961 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1962 ac_cache_corrupted=: ;;
1965 if test "x$ac_old_val" != "x$ac_new_val"; then
1966 # differences in whitespace do not lead to failure.
1967 ac_old_val_w=`echo x
$ac_old_val`
1968 ac_new_val_w=`echo x
$ac_new_val`
1969 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1970 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1971 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1972 ac_cache_corrupted=:
1974 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1975 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1976 eval $ac_var=\$ac_old_val
1978 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1979 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1980 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1981 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1984 # Pass precious variables to config.status.
1985 if test "$ac_new_set" = set; then
1987 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1988 *) ac_arg=$ac_var=$ac_new_val ;;
1990 case " $ac_configure_args " in
1991 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1992 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1996 if $ac_cache_corrupted; then
1997 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1998 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1999 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2000 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2001 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2002 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2003 { (exit 1); exit 1; }; }
2023 ac_cpp='$CPP $CPPFLAGS'
2024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2030 am__api_version='1.10'
2033 for ac_dir in "$srcdir" "$srcdir/..
" "$srcdir/..
/..
"; do
2034 if test -f "$ac_dir/install-sh
"; then
2036 ac_install_sh="$ac_aux_dir/install-sh
-c"
2038 elif test -f "$ac_dir/install.sh
"; then
2040 ac_install_sh="$ac_aux_dir/install.sh
-c"
2042 elif test -f "$ac_dir/shtool
"; then
2044 ac_install_sh="$ac_aux_dir/shtool
install -c"
2048 if test -z "$ac_aux_dir"; then
2049 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&5
2050 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in \"$srcdir\" \"$srcdir/..
\" \"$srcdir/..
/..
\"" >&2;}
2051 { (exit 1); exit 1; }; }
2054 # These three variables are undocumented and unsupported,
2055 # and are intended to be withdrawn in a future Autoconf release.
2056 # They can cause serious problems if a builder's source tree is in a directory
2057 # whose full name contains unusual characters.
2058 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2059 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2060 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2063 # Find a good install program. We prefer a C program (faster),
2064 # so one script is as good as another. But avoid the broken or
2065 # incompatible versions:
2066 # SysV /etc/install, /usr/sbin/install
2067 # SunOS /usr/etc/install
2068 # IRIX /sbin/install
2070 # AmigaOS /C/install, which installs bootblocks on floppy discs
2071 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2072 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2073 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2074 # OS/2's system install, which has a completely different semantic
2075 # ./install, which can be erroneously created by make from ./install.sh.
2076 # Reject install programs that cannot install multiple files.
2077 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2078 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2079 if test -z "$INSTALL"; then
2080 if test "${ac_cv_path_install+set}" = set; then
2081 $as_echo_n "(cached
) " >&6
2083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir=.
2088 # Account for people who put trailing slashes in PATH elements.
2090 ./ | .// | /cC/* | \
2091 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2092 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2095 # OSF1 and SCO ODT 3.0 have their own names for install.
2096 # Don't use installbsd from OSF since it installs stuff as root
2098 for ac_prog in ginstall scoinst install; do
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2101 if test $ac_prog = install &&
2102 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2103 # AIX install. It has an incompatible calling convention.
2105 elif test $ac_prog = install &&
2106 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2107 # program-specific install script used by HP pwplus--don't use.
2110 rm -rf conftest.one conftest.two conftest.dir
2111 echo one > conftest.one
2112 echo two > conftest.two
2114 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2115 test -s conftest.one && test -s conftest.two &&
2116 test -s conftest.dir/conftest.one &&
2117 test -s conftest.dir/conftest.two
2119 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2132 rm -rf conftest.one conftest.two conftest.dir
2135 if test "${ac_cv_path_install+set}" = set; then
2136 INSTALL=$ac_cv_path_install
2138 # As a last resort, use the slow shell script. Don't cache a
2139 # value for INSTALL within a source directory, because that will
2140 # break other packages using the cache if that directory is
2141 # removed, or if the value is a relative name.
2142 INSTALL=$ac_install_sh
2145 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2146 $as_echo "$INSTALL" >&6; }
2148 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2149 # It thinks the first close brace ends the variable substitution.
2150 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2152 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2154 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2156 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2157 $as_echo_n "checking whether build environment is sane...
" >&6; }
2160 echo timestamp > conftest.file
2161 # Do `set' in a subshell so we don't clobber the current shell's
2162 # arguments. Must try -L first in case configure is actually a
2163 # symlink; some systems play weird games with the mod time of symlinks
2164 # (eg FreeBSD returns the mod time of the symlink's containing
2167 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2168 if test "$
*" = "X
"; then
2170 set X `ls -t $srcdir/configure conftest.file`
2173 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2174 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2176 # If neither matched, then we have a broken ls. This can happen
2177 # if, for instance, CONFIG_SHELL is bash and it inherits a
2178 # broken ls alias from the environment. This has actually
2179 # happened. Such a system could not be considered "sane
".
2180 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2181 alias in your environment
" >&5
2182 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2183 alias in your environment
" >&2;}
2184 { (exit 1); exit 1; }; }
2187 test "$2" = conftest.file
2193 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2194 Check your system
clock" >&5
2195 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2196 Check your system
clock" >&2;}
2197 { (exit 1); exit 1; }; }
2199 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2200 $as_echo "yes" >&6; }
2201 test "$program_prefix" != NONE &&
2202 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2203 # Use a double $ so make ignores it.
2204 test "$program_suffix" != NONE &&
2205 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2206 # Double any \ or $.
2207 # By default was `s,x,x', remove it if useless.
2208 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2209 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2211 # expand $ac_aux_dir to an absolute path
2212 am_aux_dir=`cd $ac_aux_dir && pwd`
2214 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2215 # Use eval to expand $SHELL
2216 if eval "$MISSING --run true
"; then
2217 am_missing_run="$MISSING --run "
2220 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2221 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2224 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2225 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2226 if test -z "$MKDIR_P"; then
2227 if test "${ac_cv_path_mkdir+set}" = set; then
2228 $as_echo_n "(cached) " >&6
2230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2231 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2234 test -z "$as_dir" && as_dir=.
2235 for ac_prog in mkdir gmkdir; do
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2238 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2239 'mkdir
(GNU coreutils
) '* | \
2240 'mkdir
(coreutils
) '* | \
2241 'mkdir
(fileutils
) '4.1*)
2242 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2252 if test "${ac_cv_path_mkdir+set}" = set; then
2253 MKDIR_P="$ac_cv_path_mkdir -p"
2255 # As a last resort, use the slow shell script. Don't cache a
2256 # value for MKDIR_P within a source directory, because that will
2257 # break other packages using the cache if that directory is
2258 # removed, or if the value is a relative name.
2259 test -d .
/--version && rmdir .
/--version
2260 MKDIR_P
="$ac_install_sh -d"
2263 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2264 $as_echo "$MKDIR_P" >&6; }
2268 [\\/$
]* | ?
:[\\/]*) ;;
2269 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2272 for ac_prog
in gawk mawk nawk
awk
2274 # Extract the first word of "$ac_prog", so it can be a program name with args.
2275 set dummy
$ac_prog; ac_word
=$2
2276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 $as_echo_n "checking for $ac_word... " >&6; }
2278 if test "${ac_cv_prog_AWK+set}" = set; then
2279 $as_echo_n "(cached) " >&6
2281 if test -n "$AWK"; then
2282 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir
=.
2289 for ac_exec_ext
in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_AWK
="$ac_prog"
2292 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 if test -n "$AWK"; then
2303 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2304 $as_echo "$AWK" >&6; }
2306 { $as_echo "$as_me:$LINENO: result: no" >&5
2307 $as_echo "no" >&6; }
2311 test -n "$AWK" && break
2314 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2315 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2317 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2318 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2319 $as_echo_n "(cached) " >&6
2321 cat >conftest.
make <<\_ACEOF
2324 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2326 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2327 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2329 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2331 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2335 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2336 { $as_echo "$as_me:$LINENO: result: yes" >&5
2337 $as_echo "yes" >&6; }
2340 { $as_echo "$as_me:$LINENO: result: no" >&5
2341 $as_echo "no" >&6; }
2342 SET_MAKE
="MAKE=${MAKE-make}"
2345 rm -rf .tst
2>/dev
/null
2346 mkdir .tst
2>/dev
/null
2347 if test -d .tst
; then
2352 rmdir .tst
2>/dev
/null
2354 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2355 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2356 # is not polluted with repeated "-I."
2357 am__isrc
=' -I$(srcdir)'
2358 # test to see if srcdir already configured
2359 if test -f $srcdir/config.status
; then
2360 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2361 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2362 { (exit 1); exit 1; }; }
2366 # test whether we have cygpath
2367 if test -z "$CYGPATH_W"; then
2368 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2369 CYGPATH_W
='cygpath -w'
2376 # Define the identity of the package.
2378 VERSION
=1.4.13-stable
2381 cat >>confdefs.h
<<_ACEOF
2382 #define PACKAGE "$PACKAGE"
2386 cat >>confdefs.h
<<_ACEOF
2387 #define VERSION "$VERSION"
2390 # Some tools Automake needs.
2392 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2395 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2398 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2401 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2404 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2406 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2408 # Installed binaries are usually stripped using `strip' when the user
2409 # run `make install-strip'. However `strip' might not be the right
2410 # tool to use in cross-compilation environments, therefore Automake
2411 # will honor the `STRIP' environment variable to overrule this program.
2412 if test "$cross_compiling" != no
; then
2413 if test -n "$ac_tool_prefix"; then
2414 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2415 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2416 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2417 $as_echo_n "checking for $ac_word... " >&6; }
2418 if test "${ac_cv_prog_STRIP+set}" = set; then
2419 $as_echo_n "(cached) " >&6
2421 if test -n "$STRIP"; then
2422 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2428 test -z "$as_dir" && as_dir
=.
2429 for ac_exec_ext
in '' $ac_executable_extensions; do
2430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2431 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2432 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2441 STRIP
=$ac_cv_prog_STRIP
2442 if test -n "$STRIP"; then
2443 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2444 $as_echo "$STRIP" >&6; }
2446 { $as_echo "$as_me:$LINENO: result: no" >&5
2447 $as_echo "no" >&6; }
2452 if test -z "$ac_cv_prog_STRIP"; then
2454 # Extract the first word of "strip", so it can be a program name with args.
2455 set dummy strip
; ac_word
=$2
2456 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2457 $as_echo_n "checking for $ac_word... " >&6; }
2458 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2459 $as_echo_n "(cached) " >&6
2461 if test -n "$ac_ct_STRIP"; then
2462 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2468 test -z "$as_dir" && as_dir
=.
2469 for ac_exec_ext
in '' $ac_executable_extensions; do
2470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2471 ac_cv_prog_ac_ct_STRIP
="strip"
2472 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2481 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2482 if test -n "$ac_ct_STRIP"; then
2483 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2484 $as_echo "$ac_ct_STRIP" >&6; }
2486 { $as_echo "$as_me:$LINENO: result: no" >&5
2487 $as_echo "no" >&6; }
2490 if test "x$ac_ct_STRIP" = x
; then
2493 case $cross_compiling:$ac_tool_warned in
2495 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2496 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2497 ac_tool_warned
=yes ;;
2502 STRIP
="$ac_cv_prog_STRIP"
2506 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2508 # We need awk for the "check" target. The system "awk" is bad on
2510 # Always define AMTAR for backward compatibility.
2512 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2514 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2520 ac_config_headers
="$ac_config_headers config.h"
2523 if test "$prefix" = "NONE"; then
2528 ac_cpp
='$CPP $CPPFLAGS'
2529 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2530 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2531 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2532 if test -n "$ac_tool_prefix"; then
2533 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2534 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2536 $as_echo_n "checking for $ac_word... " >&6; }
2537 if test "${ac_cv_prog_CC+set}" = set; then
2538 $as_echo_n "(cached) " >&6
2540 if test -n "$CC"; then
2541 ac_cv_prog_CC
="$CC" # Let the user override the test.
2543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2547 test -z "$as_dir" && as_dir
=.
2548 for ac_exec_ext
in '' $ac_executable_extensions; do
2549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2550 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2551 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2561 if test -n "$CC"; then
2562 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2563 $as_echo "$CC" >&6; }
2565 { $as_echo "$as_me:$LINENO: result: no" >&5
2566 $as_echo "no" >&6; }
2571 if test -z "$ac_cv_prog_CC"; then
2573 # Extract the first word of "gcc", so it can be a program name with args.
2574 set dummy gcc
; ac_word
=$2
2575 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2578 $as_echo_n "(cached) " >&6
2580 if test -n "$ac_ct_CC"; then
2581 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir
=.
2588 for ac_exec_ext
in '' $ac_executable_extensions; do
2589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2590 ac_cv_prog_ac_ct_CC
="gcc"
2591 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2601 if test -n "$ac_ct_CC"; then
2602 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2603 $as_echo "$ac_ct_CC" >&6; }
2605 { $as_echo "$as_me:$LINENO: result: no" >&5
2606 $as_echo "no" >&6; }
2609 if test "x$ac_ct_CC" = x
; then
2612 case $cross_compiling:$ac_tool_warned in
2614 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2616 ac_tool_warned
=yes ;;
2624 if test -z "$CC"; then
2625 if test -n "$ac_tool_prefix"; then
2626 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2627 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2629 $as_echo_n "checking for $ac_word... " >&6; }
2630 if test "${ac_cv_prog_CC+set}" = set; then
2631 $as_echo_n "(cached) " >&6
2633 if test -n "$CC"; then
2634 ac_cv_prog_CC
="$CC" # Let the user override the test.
2636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2640 test -z "$as_dir" && as_dir
=.
2641 for ac_exec_ext
in '' $ac_executable_extensions; do
2642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2643 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2644 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2654 if test -n "$CC"; then
2655 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2656 $as_echo "$CC" >&6; }
2658 { $as_echo "$as_me:$LINENO: result: no" >&5
2659 $as_echo "no" >&6; }
2665 if test -z "$CC"; then
2666 # Extract the first word of "cc", so it can be a program name with args.
2667 set dummy cc
; ac_word
=$2
2668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2669 $as_echo_n "checking for $ac_word... " >&6; }
2670 if test "${ac_cv_prog_CC+set}" = set; then
2671 $as_echo_n "(cached) " >&6
2673 if test -n "$CC"; then
2674 ac_cv_prog_CC
="$CC" # Let the user override the test.
2677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2681 test -z "$as_dir" && as_dir
=.
2682 for ac_exec_ext
in '' $ac_executable_extensions; do
2683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2684 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2685 ac_prog_rejected
=yes
2689 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2696 if test $ac_prog_rejected = yes; then
2697 # We found a bogon in the path, so make sure we never use it.
2698 set dummy
$ac_cv_prog_CC
2700 if test $# != 0; then
2701 # We chose a different compiler from the bogus one.
2702 # However, it has the same basename, so the bogon will be chosen
2703 # first if we set CC to just the basename; use the full file name.
2705 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2711 if test -n "$CC"; then
2712 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2713 $as_echo "$CC" >&6; }
2715 { $as_echo "$as_me:$LINENO: result: no" >&5
2716 $as_echo "no" >&6; }
2721 if test -z "$CC"; then
2722 if test -n "$ac_tool_prefix"; then
2723 for ac_prog
in cl.exe
2725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2726 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2727 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2728 $as_echo_n "checking for $ac_word... " >&6; }
2729 if test "${ac_cv_prog_CC+set}" = set; then
2730 $as_echo_n "(cached) " >&6
2732 if test -n "$CC"; then
2733 ac_cv_prog_CC
="$CC" # Let the user override the test.
2735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2739 test -z "$as_dir" && as_dir
=.
2740 for ac_exec_ext
in '' $ac_executable_extensions; do
2741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2743 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 if test -n "$CC"; then
2754 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2755 $as_echo "$CC" >&6; }
2757 { $as_echo "$as_me:$LINENO: result: no" >&5
2758 $as_echo "no" >&6; }
2762 test -n "$CC" && break
2765 if test -z "$CC"; then
2767 for ac_prog
in cl.exe
2769 # Extract the first word of "$ac_prog", so it can be a program name with args.
2770 set dummy
$ac_prog; ac_word
=$2
2771 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2772 $as_echo_n "checking for $ac_word... " >&6; }
2773 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2774 $as_echo_n "(cached) " >&6
2776 if test -n "$ac_ct_CC"; then
2777 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2783 test -z "$as_dir" && as_dir
=.
2784 for ac_exec_ext
in '' $ac_executable_extensions; do
2785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2786 ac_cv_prog_ac_ct_CC
="$ac_prog"
2787 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2796 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2797 if test -n "$ac_ct_CC"; then
2798 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2799 $as_echo "$ac_ct_CC" >&6; }
2801 { $as_echo "$as_me:$LINENO: result: no" >&5
2802 $as_echo "no" >&6; }
2806 test -n "$ac_ct_CC" && break
2809 if test "x$ac_ct_CC" = x
; then
2812 case $cross_compiling:$ac_tool_warned in
2814 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2816 ac_tool_warned
=yes ;;
2825 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2828 See \`config.log' for more details." >&5
2829 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2830 See \`config.log' for more details." >&2;}
2831 { (exit 1); exit 1; }; }; }
2833 # Provide some information about the compiler.
2834 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2837 { (ac_try
="$ac_compiler --version >&5"
2839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2843 $as_echo "$ac_try_echo") >&5
2844 (eval "$ac_compiler --version >&5") 2>&5
2846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }
2848 { (ac_try="$ac_compiler -v >&5"
2850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2851 *) ac_try_echo
=$ac_try;;
2853 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2854 $as_echo "$ac_try_echo") >&5
2855 (eval "$ac_compiler -v >&5") 2>&5
2857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); }
2859 { (ac_try
="$ac_compiler -V >&5"
2861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2865 $as_echo "$ac_try_echo") >&5
2866 (eval "$ac_compiler -V >&5") 2>&5
2868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); }
2871 cat >conftest.$ac_ext <<_ACEOF
2874 cat confdefs.h >>conftest.$ac_ext
2875 cat >>conftest.$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2886 ac_clean_files_save=$ac_clean_files
2887 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2888 # Try to create an executable without -o first, disregard a.out.
2889 # It will help us diagnose broken compilers, and finding out an intuition
2891 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2892 $as_echo_n "checking for C compiler default output file name... " >&6; }
2893 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2895 # The possible output files:
2896 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2899 for ac_file in $ac_files
2902 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2903 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2908 if { (ac_try="$ac_link_default"
2910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2911 *) ac_try_echo
=$ac_try;;
2913 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2914 $as_echo "$ac_try_echo") >&5
2915 (eval "$ac_link_default") 2>&5
2917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; then
2919 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2920 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2921 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2922 # so that the user can short-circuit this test for compilers unknown to
2924 for ac_file
in $ac_files ''
2926 test -f "$ac_file" ||
continue
2928 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2931 # We found the default executable, but exeext='' is most
2935 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2937 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2939 # We set ac_cv_exeext here because the later test for it is not
2940 # safe: cross compilers may not add the suffix if given an `-o'
2941 # argument, so we may need to know it at that point already.
2942 # Even if this section looks crufty: it has the advantage of
2949 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2955 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2956 $as_echo "$ac_file" >&6; }
2957 if test -z "$ac_file"; then
2958 $as_echo "$as_me: failed program was:" >&5
2959 sed 's/^/| /' conftest.
$ac_ext >&5
2961 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2963 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2964 See \`config.log' for more details." >&5
2965 $as_echo "$as_me: error: C compiler cannot create executables
2966 See \`config.log' for more details." >&2;}
2967 { (exit 77); exit 77; }; }; }
2970 ac_exeext
=$ac_cv_exeext
2972 # Check that the compiler produces executables we can run. If not, either
2973 # the compiler is broken, or we cross compile.
2974 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2975 $as_echo_n "checking whether the C compiler works... " >&6; }
2976 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2977 # If not cross compiling, check that we can run a simple program.
2978 if test "$cross_compiling" != yes; then
2979 if { ac_try
='./$ac_file'
2980 { (case "(($ac_try" in
2981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2984 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2985 $as_echo "$ac_try_echo") >&5
2986 (eval "$ac_try") 2>&5
2988 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989 (exit $ac_status); }; }; then
2992 if test "$cross_compiling" = maybe; then
2995 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2997 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2998 If you meant to cross compile
, use \
`--host'.
2999 See \`config.log
' for more details." >&5
3000 $as_echo "$as_me: error: cannot run C compiled programs.
3001 If you meant to cross compile, use \`--host'.
3002 See \
`config.log' for more details." >&2;}
3003 { (exit 1); exit 1; }; }; }
3007 { $as_echo "$as_me:$LINENO: result: yes" >&5
3008 $as_echo "yes" >&6; }
3010 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3011 ac_clean_files=$ac_clean_files_save
3012 # Check that the compiler produces executables we can run. If not, either
3013 # the compiler is broken, or we cross compile.
3014 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3015 $as_echo_n "checking whether we are cross compiling... " >&6; }
3016 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3017 $as_echo "$cross_compiling" >&6; }
3019 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3020 $as_echo_n "checking for suffix of executables... " >&6; }
3021 if { (ac_try="$ac_link"
3023 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3024 *) ac_try_echo
=$ac_try;;
3026 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3027 $as_echo "$ac_try_echo") >&5
3028 (eval "$ac_link") 2>&5
3030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031 (exit $ac_status); }; then
3032 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3033 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3034 # work properly (i.e., refer to `conftest.exe'), while it won't with
3036 for ac_file
in conftest.exe conftest conftest.
*; do
3037 test -f "$ac_file" ||
continue
3039 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3040 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3046 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3048 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3049 See \`config.log' for more details." >&5
3050 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3051 See \`config.log' for more details." >&2;}
3052 { (exit 1); exit 1; }; }; }
3055 rm -f conftest
$ac_cv_exeext
3056 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3057 $as_echo "$ac_cv_exeext" >&6; }
3059 rm -f conftest.
$ac_ext
3060 EXEEXT
=$ac_cv_exeext
3062 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3063 $as_echo_n "checking for suffix of object files... " >&6; }
3064 if test "${ac_cv_objext+set}" = set; then
3065 $as_echo_n "(cached) " >&6
3067 cat >conftest.
$ac_ext <<_ACEOF
3070 cat confdefs.h
>>conftest.
$ac_ext
3071 cat >>conftest.
$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3082 rm -f conftest.o conftest.obj
3083 if { (ac_try
="$ac_compile"
3085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3086 *) ac_try_echo=$ac_try;;
3088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3089 $as_echo "$ac_try_echo") >&5
3090 (eval "$ac_compile") 2>&5
3092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; then
3094 for ac_file in conftest.o conftest.obj conftest.*; do
3095 test -f "$ac_file" || continue;
3097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3098 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3103 $as_echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3106 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3108 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3109 See \
`config.log' for more details." >&5
3110 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3111 See \`config.log
' for more details." >&2;}
3112 { (exit 1); exit 1; }; }; }
3115 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3117 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3118 $as_echo "$ac_cv_objext" >&6; }
3119 OBJEXT=$ac_cv_objext
3121 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3122 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3123 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3124 $as_echo_n "(cached) " >&6
3126 cat >conftest.$ac_ext <<_ACEOF
3129 cat confdefs.h >>conftest.$ac_ext
3130 cat >>conftest.$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3144 rm -f conftest.$ac_objext
3145 if { (ac_try="$ac_compile"
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3151 $as_echo "$ac_try_echo") >&5
3152 (eval "$ac_compile") 2>conftest.er1
3154 grep -v '^
*+' conftest.er1 >conftest.err
3156 cat conftest.err >&5
3157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); } && {
3159 test -z "$ac_c_werror_flag" ||
3160 test ! -s conftest.err
3161 } && test -s conftest.$ac_objext; then
3164 $as_echo "$as_me: failed program was:" >&5
3165 sed 's
/^
/|
/' conftest.$ac_ext >&5
3170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3171 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3174 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3175 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3176 if test $ac_compiler_gnu = yes; then
3181 ac_test_CFLAGS=${CFLAGS+set}
3182 ac_save_CFLAGS=$CFLAGS
3183 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3184 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3185 if test "${ac_cv_prog_cc_g+set}" = set; then
3186 $as_echo_n "(cached) " >&6
3188 ac_save_c_werror_flag=$ac_c_werror_flag
3189 ac_c_werror_flag=yes
3192 cat >conftest.$ac_ext <<_ACEOF
3195 cat confdefs.h >>conftest.$ac_ext
3196 cat >>conftest.$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3207 rm -f conftest.$ac_objext
3208 if { (ac_try="$ac_compile"
3210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3214 $as_echo "$ac_try_echo") >&5
3215 (eval "$ac_compile") 2>conftest.er1
3217 grep -v '^
*+' conftest.er1 >conftest.err
3219 cat conftest.err >&5
3220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } && {
3222 test -z "$ac_c_werror_flag" ||
3223 test ! -s conftest.err
3224 } && test -s conftest.$ac_objext; then
3227 $as_echo "$as_me: failed program was:" >&5
3228 sed 's
/^
/|
/' conftest.$ac_ext >&5
3231 cat >conftest.$ac_ext <<_ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3246 rm -f conftest.$ac_objext
3247 if { (ac_try="$ac_compile"
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3253 $as_echo "$ac_try_echo") >&5
3254 (eval "$ac_compile") 2>conftest.er1
3256 grep -v '^
*+' conftest.er1 >conftest.err
3258 cat conftest.err >&5
3259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260 (exit $ac_status); } && {
3261 test -z "$ac_c_werror_flag" ||
3262 test ! -s conftest.err
3263 } && test -s conftest.$ac_objext; then
3266 $as_echo "$as_me: failed program was:" >&5
3267 sed 's
/^
/|
/' conftest.$ac_ext >&5
3269 ac_c_werror_flag=$ac_save_c_werror_flag
3271 cat >conftest.$ac_ext <<_ACEOF
3274 cat confdefs.h >>conftest.$ac_ext
3275 cat >>conftest.$ac_ext <<_ACEOF
3276 /* end confdefs.h. */
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3293 $as_echo "$ac_try_echo") >&5
3294 (eval "$ac_compile") 2>conftest.er1
3296 grep -v '^
*+' conftest.er1 >conftest.err
3298 cat conftest.err >&5
3299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); } && {
3301 test -z "$ac_c_werror_flag" ||
3302 test ! -s conftest.err
3303 } && test -s conftest.$ac_objext; then
3306 $as_echo "$as_me: failed program was:" >&5
3307 sed 's
/^
/|
/' conftest.$ac_ext >&5
3312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3319 ac_c_werror_flag=$ac_save_c_werror_flag
3321 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3322 $as_echo "$ac_cv_prog_cc_g" >&6; }
3323 if test "$ac_test_CFLAGS" = set; then
3324 CFLAGS=$ac_save_CFLAGS
3325 elif test $ac_cv_prog_cc_g = yes; then
3326 if test "$GCC" = yes; then
3332 if test "$GCC" = yes; then
3338 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3339 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3340 if test "${ac_cv_prog_cc_c89+set}" = set; then
3341 $as_echo_n "(cached) " >&6
3343 ac_cv_prog_cc_c89=no
3345 cat >conftest.$ac_ext <<_ACEOF
3348 cat confdefs.h >>conftest.$ac_ext
3349 cat >>conftest.$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3353 #include <sys/types.h>
3354 #include <sys/stat.h>
3355 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3356 struct buf
{ int x
; };
3357 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3358 static char
*e
(p
, i
)
3364 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3369 s
= g
(p
, va_arg
(v
,int
));
3374 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3375 function prototypes and stuff
, but not
'\xHH' hex character constants.
3376 These don
't provoke an error unfortunately, instead are silently treated
3377 as 'x
'. The following induces an error, until -std is added to get
3378 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3379 array size at least. It's necessary to
write '\x00'==0 to get something
3380 that
's true only with -std. */
3381 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3383 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3384 inside strings and character constants. */
3386 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3388 int test (int i, double x);
3389 struct s1 {int (*f) (int a);};
3390 struct s2 {int (*f) (double a);};
3391 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3397 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3402 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3403 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3405 CC="$ac_save_CC $ac_arg"
3406 rm -f conftest.$ac_objext
3407 if { (ac_try="$ac_compile"
3409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410 *) ac_try_echo=$ac_try;;
3412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3413 $as_echo "$ac_try_echo") >&5
3414 (eval "$ac_compile") 2>conftest.er1
3416 grep -v '^
*+' conftest.er1 >conftest.err
3418 cat conftest.err >&5
3419 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420 (exit $ac_status); } && {
3421 test -z "$ac_c_werror_flag" ||
3422 test ! -s conftest.err
3423 } && test -s conftest.$ac_objext; then
3424 ac_cv_prog_cc_c89=$ac_arg
3426 $as_echo "$as_me: failed program was:" >&5
3427 sed 's
/^
/|
/' conftest.$ac_ext >&5
3432 rm -f core conftest.err conftest.$ac_objext
3433 test "x$ac_cv_prog_cc_c89" != "xno" && break
3435 rm -f conftest.$ac_ext
3440 case "x$ac_cv_prog_cc_c89" in
3442 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3443 $as_echo "none needed" >&6; } ;;
3445 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3446 $as_echo "unsupported" >&6; } ;;
3448 CC="$CC $ac_cv_prog_cc_c89"
3449 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3450 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3457 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3459 DEPDIR="${am__leading_dot}deps"
3461 ac_config_commands="$ac_config_commands depfiles"
3464 am_make=${MAKE-make}
3465 cat > confinc << 'END
'
3470 # If we don't
find an include directive
, just comment out the code.
3471 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3472 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3476 # First try GNU make style include.
3477 echo "include confinc" > confmf
3478 # We grep out `Entering directory' and `Leaving directory'
3479 # messages which can occur if `w' ends up in MAKEFLAGS.
3480 # In particular we don't look at `^make:' because GNU make might
3481 # be invoked under some other name (usually "gmake"), in which
3482 # case it prints its new name instead of `make'.
3483 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3488 # Now try BSD make style include.
3489 if test "$am__include" = "#"; then
3490 echo '.include "confinc"' > confmf
3491 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3492 am__include
=.include
3499 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3500 $as_echo "$_am_result" >&6; }
3501 rm -f confinc confmf
3503 # Check whether --enable-dependency-tracking was given.
3504 if test "${enable_dependency_tracking+set}" = set; then
3505 enableval
=$enable_dependency_tracking;
3508 if test "x$enable_dependency_tracking" != xno
; then
3509 am_depcomp
="$ac_aux_dir/depcomp"
3512 if test "x$enable_dependency_tracking" != xno; then
3522 depcc
="$CC" am_compiler_list
=
3524 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3525 $as_echo_n "checking dependency style of $depcc... " >&6; }
3526 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3527 $as_echo_n "(cached) " >&6
3529 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3530 # We make a subdir and do the tests there. Otherwise we can end up
3531 # making bogus files that we don't know about and never remove. For
3532 # instance it was reported that on HP-UX the gcc test will end up
3533 # making a dummy file named `D' -- because `-MD' means `put the output
3536 # Copy depcomp to subdir because otherwise we won't find it if we're
3537 # using a relative directory.
3538 cp "$am_depcomp" conftest.dir
3540 # We will build objects and dependencies in a subdirectory because
3541 # it helps to detect inapplicable dependency modes. For instance
3542 # both Tru64's cc and ICC support -MD to output dependencies as a
3543 # side effect of compilation, but ICC will put the dependencies in
3544 # the current directory while Tru64 will put them in the object
3548 am_cv_CC_dependencies_compiler_type
=none
3549 if test "$am_compiler_list" = ""; then
3550 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3552 for depmode
in $am_compiler_list; do
3553 # Setup a source with many dependencies, because some compilers
3554 # like to wrap large dependency lists on column 80 (with \), and
3555 # we should not choose a depcomp mode which is confused by this.
3557 # We need to recreate these files for each test, as the compiler may
3558 # overwrite some of them when testing with obscure command lines.
3559 # This happens at least with the AIX C compiler.
3561 for i
in 1 2 3 4 5 6; do
3562 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3563 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3564 # Solaris 8's {/usr,}/bin/sh.
3565 touch sub
/conftst
$i.h
3567 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3571 # after this tag, mechanisms are not by side-effect, so they'll
3572 # only be used when explicitly requested
3573 if test "x$enable_dependency_tracking" = xyes
; then
3581 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3582 # mode. It turns out that the SunPro C++ compiler does not properly
3583 # handle `-M -o', and we need to detect this.
3584 if depmode
=$depmode \
3585 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3586 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3587 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3588 >/dev
/null
2>conftest.err
&&
3589 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3590 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3591 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3592 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3593 # icc doesn't choke on unknown options, it will just issue warnings
3594 # or remarks (even with -Werror). So we grep stderr for any message
3595 # that says an option was ignored or not supported.
3596 # When given -MP, icc 7.0 and 7.1 complain thusly:
3597 # icc: Command line warning: ignoring option '-M'; no argument required
3598 # The diagnosis changed in icc 8.0:
3599 # icc: Command line remark: option '-MP' not supported
3600 if (grep 'ignoring option' conftest.err ||
3601 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3602 am_cv_CC_dependencies_compiler_type
=$depmode
3611 am_cv_CC_dependencies_compiler_type
=none
3615 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3616 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3617 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3620 test "x$enable_dependency_tracking" != xno \
3621 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3623 am__fastdepCC_FALSE
='#'
3625 am__fastdepCC_TRUE
='#'
3626 am__fastdepCC_FALSE
=
3630 # Find a good install program. We prefer a C program (faster),
3631 # so one script is as good as another. But avoid the broken or
3632 # incompatible versions:
3633 # SysV /etc/install, /usr/sbin/install
3634 # SunOS /usr/etc/install
3635 # IRIX /sbin/install
3637 # AmigaOS /C/install, which installs bootblocks on floppy discs
3638 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3639 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3640 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3641 # OS/2's system install, which has a completely different semantic
3642 # ./install, which can be erroneously created by make from ./install.sh.
3643 # Reject install programs that cannot install multiple files.
3644 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3645 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3646 if test -z "$INSTALL"; then
3647 if test "${ac_cv_path_install+set}" = set; then
3648 $as_echo_n "(cached) " >&6
3650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3654 test -z "$as_dir" && as_dir
=.
3655 # Account for people who put trailing slashes in PATH elements.
3657 .
/ | .
// |
/cC
/* | \
3658 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3659 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3662 # OSF1 and SCO ODT 3.0 have their own names for install.
3663 # Don't use installbsd from OSF since it installs stuff as root
3665 for ac_prog
in ginstall scoinst
install; do
3666 for ac_exec_ext
in '' $ac_executable_extensions; do
3667 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3668 if test $ac_prog = install &&
3669 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3670 # AIX install. It has an incompatible calling convention.
3672 elif test $ac_prog = install &&
3673 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3674 # program-specific install script used by HP pwplus--don't use.
3677 rm -rf conftest.one conftest.two conftest.dir
3678 echo one
> conftest.one
3679 echo two
> conftest.two
3681 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3682 test -s conftest.one
&& test -s conftest.two
&&
3683 test -s conftest.dir
/conftest.one
&&
3684 test -s conftest.dir
/conftest.two
3686 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3699 rm -rf conftest.one conftest.two conftest.dir
3702 if test "${ac_cv_path_install+set}" = set; then
3703 INSTALL
=$ac_cv_path_install
3705 # As a last resort, use the slow shell script. Don't cache a
3706 # value for INSTALL within a source directory, because that will
3707 # break other packages using the cache if that directory is
3708 # removed, or if the value is a relative name.
3709 INSTALL
=$ac_install_sh
3712 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3713 $as_echo "$INSTALL" >&6; }
3715 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3716 # It thinks the first close brace ends the variable substitution.
3717 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3719 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3721 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3723 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3724 $as_echo_n "checking whether ln -s works... " >&6; }
3726 if test "$LN_S" = "ln -s"; then
3727 { $as_echo "$as_me:$LINENO: result: yes" >&5
3728 $as_echo "yes" >&6; }
3730 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3731 $as_echo "no, using $LN_S" >&6; }
3737 ac_cpp
='$CPP $CPPFLAGS'
3738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3741 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3742 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3743 # On Suns, sometimes $CPP names a directory.
3744 if test -n "$CPP" && test -d "$CPP"; then
3747 if test -z "$CPP"; then
3748 if test "${ac_cv_prog_CPP+set}" = set; then
3749 $as_echo_n "(cached) " >&6
3751 # Double quotes because CPP needs to be expanded
3752 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3755 for ac_c_preproc_warn_flag
in '' yes
3757 # Use a header file that comes with gcc, so configuring glibc
3758 # with a fresh cross-compiler works.
3759 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3760 # <limits.h> exists even on freestanding compilers.
3761 # On the NeXT, cc -E runs the code through the compiler's parser,
3762 # not just through cpp. "Syntax error" is here to catch this case.
3763 cat >conftest.
$ac_ext <<_ACEOF
3766 cat confdefs.h
>>conftest.
$ac_ext
3767 cat >>conftest.
$ac_ext <<_ACEOF
3768 /* end confdefs.h. */
3770 # include <limits.h>
3772 # include <assert.h>
3776 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
3781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3782 $as_echo "$ac_try_echo") >&5
3783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3785 grep -v '^ *+' conftest.er1 >conftest.err
3787 cat conftest.err >&5
3788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3789 (exit $ac_status); } >/dev/null && {
3790 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3791 test ! -s conftest.err
3795 $as_echo "$as_me: failed program was:" >&5
3796 sed 's/^/| /' conftest.$ac_ext >&5
3798 # Broken: fails on valid input.
3802 rm -f conftest.err conftest.$ac_ext
3804 # OK, works on sane cases. Now check whether nonexistent headers
3805 # can be detected and how.
3806 cat >conftest.$ac_ext <<_ACEOF
3809 cat confdefs.h >>conftest.$ac_ext
3810 cat >>conftest.$ac_ext <<_ACEOF
3811 /* end confdefs.h. */
3812 #include <ac_nonexistent.h>
3814 if { (ac_try="$ac_cpp conftest.$ac_ext"
3816 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3817 *) ac_try_echo
=$ac_try;;
3819 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3820 $as_echo "$ac_try_echo") >&5
3821 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3823 grep -v '^ *+' conftest.er1
>conftest.err
3825 cat conftest.err
>&5
3826 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3827 (exit $ac_status); } >/dev
/null
&& {
3828 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3829 test ! -s conftest.err
3831 # Broken: success on invalid input.
3834 $as_echo "$as_me: failed program was:" >&5
3835 sed 's/^/| /' conftest.
$ac_ext >&5
3837 # Passes both tests.
3842 rm -f conftest.err conftest.
$ac_ext
3845 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3846 rm -f conftest.err conftest.
$ac_ext
3847 if $ac_preproc_ok; then
3859 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3860 $as_echo "$CPP" >&6; }
3862 for ac_c_preproc_warn_flag
in '' yes
3864 # Use a header file that comes with gcc, so configuring glibc
3865 # with a fresh cross-compiler works.
3866 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3867 # <limits.h> exists even on freestanding compilers.
3868 # On the NeXT, cc -E runs the code through the compiler's parser,
3869 # not just through cpp. "Syntax error" is here to catch this case.
3870 cat >conftest.
$ac_ext <<_ACEOF
3873 cat confdefs.h
>>conftest.
$ac_ext
3874 cat >>conftest.
$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3877 # include <limits.h>
3879 # include <assert.h>
3883 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3886 *) ac_try_echo=$ac_try;;
3888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3889 $as_echo "$ac_try_echo") >&5
3890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3892 grep -v '^ *+' conftest.er1 >conftest.err
3894 cat conftest.err >&5
3895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } >/dev/null && {
3897 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3898 test ! -s conftest.err
3902 $as_echo "$as_me: failed program was:" >&5
3903 sed 's/^/| /' conftest.$ac_ext >&5
3905 # Broken: fails on valid input.
3909 rm -f conftest.err conftest.$ac_ext
3911 # OK, works on sane cases. Now check whether nonexistent headers
3912 # can be detected and how.
3913 cat >conftest.$ac_ext <<_ACEOF
3916 cat confdefs.h >>conftest.$ac_ext
3917 cat >>conftest.$ac_ext <<_ACEOF
3918 /* end confdefs.h. */
3919 #include <ac_nonexistent.h>
3921 if { (ac_try="$ac_cpp conftest.$ac_ext"
3923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3924 *) ac_try_echo
=$ac_try;;
3926 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3927 $as_echo "$ac_try_echo") >&5
3928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3930 grep -v '^ *+' conftest.er1
>conftest.err
3932 cat conftest.err
>&5
3933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } >/dev
/null
&& {
3935 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3936 test ! -s conftest.err
3938 # Broken: success on invalid input.
3941 $as_echo "$as_me: failed program was:" >&5
3942 sed 's/^/| /' conftest.
$ac_ext >&5
3944 # Passes both tests.
3949 rm -f conftest.err conftest.
$ac_ext
3952 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3953 rm -f conftest.err conftest.
$ac_ext
3954 if $ac_preproc_ok; then
3957 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3959 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3960 See \`config.log' for more details." >&5
3961 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3962 See \`config.log' for more details." >&2;}
3963 { (exit 1); exit 1; }; }; }
3967 ac_cpp
='$CPP $CPPFLAGS'
3968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3973 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3974 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3975 if test "${ac_cv_path_GREP+set}" = set; then
3976 $as_echo_n "(cached) " >&6
3978 if test -z "$GREP"; then
3979 ac_path_GREP_found
=false
3980 # Loop through the user's path and test for each of PROGNAME-LIST
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3982 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3985 test -z "$as_dir" && as_dir
=.
3986 for ac_prog
in grep ggrep
; do
3987 for ac_exec_ext
in '' $ac_executable_extensions; do
3988 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3989 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3990 # Check for GNU ac_path_GREP and select it if it is found.
3991 # Check for GNU $ac_path_GREP
3992 case `"$ac_path_GREP" --version 2>&1` in
3994 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3997 $as_echo_n 0123456789 >"conftest.in"
4000 cat "conftest.in" "conftest.in" >"conftest.tmp"
4001 mv "conftest.tmp" "conftest.in"
4002 cp "conftest.in" "conftest.nl"
4003 $as_echo 'GREP' >> "conftest.nl"
4004 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4005 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4006 ac_count
=`expr $ac_count + 1`
4007 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4008 # Best one so far, save it but keep looking for a better one
4009 ac_cv_path_GREP
="$ac_path_GREP"
4010 ac_path_GREP_max
=$ac_count
4012 # 10*(2^10) chars as input seems more than enough
4013 test $ac_count -gt 10 && break
4015 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4018 $ac_path_GREP_found && break 3
4023 if test -z "$ac_cv_path_GREP"; then
4024 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4025 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4026 { (exit 1); exit 1; }; }
4029 ac_cv_path_GREP
=$GREP
4033 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4034 $as_echo "$ac_cv_path_GREP" >&6; }
4035 GREP
="$ac_cv_path_GREP"
4038 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4039 $as_echo_n "checking for egrep... " >&6; }
4040 if test "${ac_cv_path_EGREP+set}" = set; then
4041 $as_echo_n "(cached) " >&6
4043 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4044 then ac_cv_path_EGREP
="$GREP -E"
4046 if test -z "$EGREP"; then
4047 ac_path_EGREP_found
=false
4048 # Loop through the user's path and test for each of PROGNAME-LIST
4049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4050 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4053 test -z "$as_dir" && as_dir
=.
4054 for ac_prog
in egrep; do
4055 for ac_exec_ext
in '' $ac_executable_extensions; do
4056 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4057 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4058 # Check for GNU ac_path_EGREP and select it if it is found.
4059 # Check for GNU $ac_path_EGREP
4060 case `"$ac_path_EGREP" --version 2>&1` in
4062 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4065 $as_echo_n 0123456789 >"conftest.in"
4068 cat "conftest.in" "conftest.in" >"conftest.tmp"
4069 mv "conftest.tmp" "conftest.in"
4070 cp "conftest.in" "conftest.nl"
4071 $as_echo 'EGREP' >> "conftest.nl"
4072 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4073 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4074 ac_count
=`expr $ac_count + 1`
4075 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4076 # Best one so far, save it but keep looking for a better one
4077 ac_cv_path_EGREP
="$ac_path_EGREP"
4078 ac_path_EGREP_max
=$ac_count
4080 # 10*(2^10) chars as input seems more than enough
4081 test $ac_count -gt 10 && break
4083 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4086 $ac_path_EGREP_found && break 3
4091 if test -z "$ac_cv_path_EGREP"; then
4092 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4093 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4094 { (exit 1); exit 1; }; }
4097 ac_cv_path_EGREP
=$EGREP
4102 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4103 $as_echo "$ac_cv_path_EGREP" >&6; }
4104 EGREP
="$ac_cv_path_EGREP"
4107 if test $ac_cv_c_compiler_gnu = yes; then
4108 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4109 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
4110 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4111 $as_echo_n "(cached) " >&6
4113 ac_pattern
="Autoconf.*'x'"
4114 cat >conftest.
$ac_ext <<_ACEOF
4117 cat confdefs.h
>>conftest.
$ac_ext
4118 cat >>conftest.
$ac_ext <<_ACEOF
4119 /* end confdefs.h. */
4123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4124 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4125 ac_cv_prog_gcc_traditional
=yes
4127 ac_cv_prog_gcc_traditional
=no
4132 if test $ac_cv_prog_gcc_traditional = no
; then
4133 cat >conftest.
$ac_ext <<_ACEOF
4136 cat confdefs.h
>>conftest.
$ac_ext
4137 cat >>conftest.
$ac_ext <<_ACEOF
4138 /* end confdefs.h. */
4142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4143 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
4144 ac_cv_prog_gcc_traditional
=yes
4150 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4151 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
4152 if test $ac_cv_prog_gcc_traditional = yes; then
4153 CC
="$CC -traditional"
4157 if test "$GCC" = yes ; then
4158 CFLAGS
="$CFLAGS -Wall"
4159 # And disable the strict-aliasing optimization, since it breaks
4160 # our sockaddr-handling code in strange ways.
4161 CFLAGS
="$CFLAGS -fno-strict-aliasing"
4164 # Check whether --enable-gcc-warnings was given.
4165 if test "${enable_gcc_warnings+set}" = set; then
4166 enableval
=$enable_gcc_warnings;
4170 # Check whether --enable-shared was given.
4171 if test "${enable_shared+set}" = set; then
4172 enableval
=$enable_shared; p
=${PACKAGE-default}
4174 yes) enable_shared
=yes ;;
4175 no
) enable_shared
=no
;;
4178 # Look at the argument we got. We use all the common list separators.
4179 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4180 for pkg
in $enableval; do
4182 if test "X$pkg" = "X$p"; then
4194 # Check whether --enable-static was given.
4195 if test "${enable_static+set}" = set; then
4196 enableval
=$enable_static; p
=${PACKAGE-default}
4198 yes) enable_static
=yes ;;
4199 no
) enable_static
=no
;;
4202 # Look at the argument we got. We use all the common list separators.
4203 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4204 for pkg
in $enableval; do
4206 if test "X$pkg" = "X$p"; then
4218 # Check whether --enable-fast-install was given.
4219 if test "${enable_fast_install+set}" = set; then
4220 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4222 yes) enable_fast_install
=yes ;;
4223 no
) enable_fast_install
=no
;;
4225 enable_fast_install
=no
4226 # Look at the argument we got. We use all the common list separators.
4227 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4228 for pkg
in $enableval; do
4230 if test "X$pkg" = "X$p"; then
4231 enable_fast_install
=yes
4238 enable_fast_install
=yes
4242 # Make sure we can run config.sub.
4243 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4244 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4245 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4246 { (exit 1); exit 1; }; }
4248 { $as_echo "$as_me:$LINENO: checking build system type" >&5
4249 $as_echo_n "checking build system type... " >&6; }
4250 if test "${ac_cv_build+set}" = set; then
4251 $as_echo_n "(cached) " >&6
4253 ac_build_alias
=$build_alias
4254 test "x$ac_build_alias" = x
&&
4255 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4256 test "x$ac_build_alias" = x
&&
4257 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4258 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4259 { (exit 1); exit 1; }; }
4260 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4261 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4262 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4263 { (exit 1); exit 1; }; }
4266 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4267 $as_echo "$ac_cv_build" >&6; }
4268 case $ac_cv_build in
4270 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4271 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
4272 { (exit 1); exit 1; }; };;
4275 ac_save_IFS
=$IFS; IFS
='-'
4281 # Remember, the first character of IFS is used to create $*,
4282 # except with old shells:
4285 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4288 { $as_echo "$as_me:$LINENO: checking host system type" >&5
4289 $as_echo_n "checking host system type... " >&6; }
4290 if test "${ac_cv_host+set}" = set; then
4291 $as_echo_n "(cached) " >&6
4293 if test "x$host_alias" = x
; then
4294 ac_cv_host
=$ac_cv_build
4296 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4297 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4298 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4299 { (exit 1); exit 1; }; }
4303 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4304 $as_echo "$ac_cv_host" >&6; }
4307 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4308 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
4309 { (exit 1); exit 1; }; };;
4312 ac_save_IFS
=$IFS; IFS
='-'
4318 # Remember, the first character of IFS is used to create $*,
4319 # except with old shells:
4322 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4325 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4326 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4327 if test "${lt_cv_path_SED+set}" = set; then
4328 $as_echo_n "(cached) " >&6
4330 # Loop through the user's path and test for sed and gsed.
4331 # Then use that list of sed's as ones to test for truncation.
4332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir
=.
4337 for lt_ac_prog
in sed gsed
; do
4338 for ac_exec_ext
in '' $ac_executable_extensions; do
4339 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4340 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4348 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4349 # along with /bin/sed that truncates output.
4350 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4351 test ! -f $lt_ac_sed && continue
4352 cat /dev
/null
> conftest.
in
4354 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4355 # Check for GNU sed and select it if it is found.
4356 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4357 lt_cv_path_SED
=$lt_ac_sed
4361 cat conftest.
in conftest.
in >conftest.tmp
4362 mv conftest.tmp conftest.
in
4363 cp conftest.
in conftest.
nl
4365 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4366 cmp -s conftest.out conftest.
nl ||
break
4367 # 10000 chars as input seems more than enough
4368 test $lt_ac_count -gt 10 && break
4369 lt_ac_count
=`expr $lt_ac_count + 1`
4370 if test $lt_ac_count -gt $lt_ac_max; then
4371 lt_ac_max
=$lt_ac_count
4372 lt_cv_path_SED
=$lt_ac_sed
4381 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4382 $as_echo "$SED" >&6; }
4385 # Check whether --with-gnu-ld was given.
4386 if test "${with_gnu_ld+set}" = set; then
4387 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4393 if test "$GCC" = yes; then
4394 # Check if gcc -print-prog-name=ld gives a path.
4395 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4396 $as_echo_n "checking for ld used by $CC... " >&6; }
4399 # gcc leaves a trailing carriage return which upsets mingw
4400 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4402 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4405 # Accept absolute paths.
4407 re_direlt
='/[^/][^/]*/\.\./'
4408 # Canonicalize the pathname of ld
4409 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4410 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4411 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4413 test -z "$LD" && LD
="$ac_prog"
4416 # If it fails, then pretend we aren't using GCC.
4420 # If it is relative, then search for the first ld in PATH.
4424 elif test "$with_gnu_ld" = yes; then
4425 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4426 $as_echo_n "checking for GNU ld... " >&6; }
4428 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4429 $as_echo_n "checking for non-GNU ld... " >&6; }
4431 if test "${lt_cv_path_LD+set}" = set; then
4432 $as_echo_n "(cached) " >&6
4434 if test -z "$LD"; then
4435 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4436 for ac_dir
in $PATH; do
4438 test -z "$ac_dir" && ac_dir
=.
4439 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4440 lt_cv_path_LD
="$ac_dir/$ac_prog"
4441 # Check to see if the program is GNU ld. I'd rather use --version,
4442 # but apparently some variants of GNU ld only accept -v.
4443 # Break only if it was the GNU/non-GNU ld that we prefer.
4444 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4445 *GNU
* |
*'with BFD'*)
4446 test "$with_gnu_ld" != no
&& break
4449 test "$with_gnu_ld" != yes && break
4456 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4461 if test -n "$LD"; then
4462 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4463 $as_echo "$LD" >&6; }
4465 { $as_echo "$as_me:$LINENO: result: no" >&5
4466 $as_echo "no" >&6; }
4468 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4469 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4470 { (exit 1); exit 1; }; }
4471 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4472 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4473 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4474 $as_echo_n "(cached) " >&6
4476 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4477 case `$LD -v 2>&1 </dev/null` in
4478 *GNU
* |
*'with BFD'*)
4479 lt_cv_prog_gnu_ld
=yes
4482 lt_cv_prog_gnu_ld
=no
4486 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4487 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4488 with_gnu_ld
=$lt_cv_prog_gnu_ld
4491 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4492 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4493 if test "${lt_cv_ld_reload_flag+set}" = set; then
4494 $as_echo_n "(cached) " >&6
4496 lt_cv_ld_reload_flag
='-r'
4498 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4499 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4500 reload_flag
=$lt_cv_ld_reload_flag
4501 case $reload_flag in
4503 *) reload_flag
=" $reload_flag" ;;
4505 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4508 if test "$GCC" = yes; then
4509 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4511 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4516 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4517 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4518 if test "${lt_cv_path_NM+set}" = set; then
4519 $as_echo_n "(cached) " >&6
4521 if test -n "$NM"; then
4522 # Let the user override the test.
4525 lt_nm_to_check
="${ac_tool_prefix}nm"
4526 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4527 lt_nm_to_check
="$lt_nm_to_check nm"
4529 for lt_tmp_nm
in $lt_nm_to_check; do
4530 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4531 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4533 test -z "$ac_dir" && ac_dir
=.
4534 tmp_nm
="$ac_dir/$lt_tmp_nm"
4535 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4536 # Check to see if the nm accepts a BSD-compat flag.
4537 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4538 # nm: unknown option "B" ignored
4539 # Tru64's nm complains that /dev/null is an invalid object file
4540 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4541 */dev
/null
* |
*'Invalid file or object type'*)
4542 lt_cv_path_NM
="$tmp_nm -B"
4546 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4548 lt_cv_path_NM
="$tmp_nm -p"
4552 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4553 continue # so that we can try to find one that supports BSD flags
4562 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4565 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4566 $as_echo "$lt_cv_path_NM" >&6; }
4569 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4570 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4571 if test "${lt_cv_deplibs_check_method+set}" = set; then
4572 $as_echo_n "(cached) " >&6
4574 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4575 lt_cv_file_magic_test_file
=
4576 lt_cv_deplibs_check_method
='unknown'
4577 # Need to set the preceding variable on all platforms that support
4578 # interlibrary dependencies.
4579 # 'none' -- dependencies not supported.
4580 # `unknown' -- same as none, but documents that we really don't know.
4581 # 'pass_all' -- all dependencies passed with no checks.
4582 # 'test_compile' -- check by making test program.
4583 # 'file_magic [[regex]]' -- check by looking for files in library path
4584 # which responds to the $file_magic_cmd with a given extended regex.
4585 # If you have `file' or equivalent on your system and you're not sure
4586 # whether `pass_all' will *always* work, you probably want this one.
4590 lt_cv_deplibs_check_method
=pass_all
4594 lt_cv_deplibs_check_method
=pass_all
4598 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4599 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4600 lt_cv_file_magic_test_file
=/shlib
/libc.so
4604 # func_win32_libid is a shell function defined in ltmain.sh
4605 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4606 lt_cv_file_magic_cmd
='func_win32_libid'
4610 # Base MSYS/MinGW do not provide the 'file' command needed by
4611 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4612 # unless we find 'file', for example because we are cross-compiling.
4613 if ( file / ) >/dev
/null
2>&1; then
4614 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4615 lt_cv_file_magic_cmd
='func_win32_libid'
4617 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4618 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4622 darwin
* | rhapsody
*)
4623 lt_cv_deplibs_check_method
=pass_all
4626 freebsd
* | dragonfly
*)
4627 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4630 # Not sure whether the presence of OpenBSD here was a mistake.
4631 # Let's accept both of them until this is cleared up.
4632 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4633 lt_cv_file_magic_cmd
=/usr
/bin
/file
4634 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4638 lt_cv_deplibs_check_method
=pass_all
4643 lt_cv_deplibs_check_method
=pass_all
4646 hpux10.20
* | hpux11
*)
4647 lt_cv_file_magic_cmd
=/usr
/bin
/file
4650 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4651 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4654 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]'
4655 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4658 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4659 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4665 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4666 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4669 irix5
* | irix6
* | nonstopux
*)
4671 *-32|
*"-32 ") libmagic
=32-bit;;
4672 *-n32|
*"-n32 ") libmagic
=N32
;;
4673 *-64|
*"-64 ") libmagic
=64-bit;;
4674 *) libmagic
=never-match
;;
4676 lt_cv_deplibs_check_method
=pass_all
4679 # This must be Linux ELF.
4680 linux
* | k
*bsd
*-gnu)
4681 lt_cv_deplibs_check_method
=pass_all
4685 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4686 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4688 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4693 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4694 lt_cv_file_magic_cmd
=/usr
/bin
/file
4695 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4699 lt_cv_deplibs_check_method
=unknown
4703 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4704 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4706 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4710 osf3
* | osf4
* | osf5
*)
4711 lt_cv_deplibs_check_method
=pass_all
4715 lt_cv_deplibs_check_method
=pass_all
4719 lt_cv_deplibs_check_method
=pass_all
4723 case $host_vendor in
4725 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]'
4726 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4729 lt_cv_deplibs_check_method
=pass_all
4732 lt_cv_file_magic_cmd
='/bin/file'
4733 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4736 lt_cv_file_magic_cmd
='/bin/file'
4737 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4738 lt_cv_file_magic_test_file
=/lib
/libc.so
4741 lt_cv_deplibs_check_method
=pass_all
4744 lt_cv_deplibs_check_method
=pass_all
4749 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4750 lt_cv_deplibs_check_method
=pass_all
4755 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4756 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4757 file_magic_cmd
=$lt_cv_file_magic_cmd
4758 deplibs_check_method
=$lt_cv_deplibs_check_method
4759 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4764 # If no C compiler was specified, use CC.
4767 # If no C compiler flags were specified, use CFLAGS.
4768 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4770 # Allow CC to be a program name with arguments.
4773 # Check whether --enable-libtool-lock was given.
4774 if test "${enable_libtool_lock+set}" = set; then
4775 enableval
=$enable_libtool_lock;
4778 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4780 # Some flags need to be propagated to the compiler or linker for good
4784 # Find out which ABI we are using.
4785 echo 'int i;' > conftest.
$ac_ext
4786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4787 (eval $ac_compile) 2>&5
4789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); }; then
4791 case `/usr/bin/file conftest.$ac_objext` in
4803 # Find out which ABI we are using.
4804 echo '#line 4804 "configure"' > conftest.
$ac_ext
4805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4806 (eval $ac_compile) 2>&5
4808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; then
4810 if test "$lt_cv_prog_gnu_ld" = yes; then
4811 case `/usr/bin/file conftest.$ac_objext` in
4813 LD
="${LD-ld} -melf32bsmip"
4816 LD
="${LD-ld} -melf32bmipn32"
4819 LD
="${LD-ld} -melf64bmip"
4823 case `/usr/bin/file conftest.$ac_objext` in
4839 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4840 s390
*-*linux
*|sparc
*-*linux
*)
4841 # Find out which ABI we are using.
4842 echo 'int i;' > conftest.
$ac_ext
4843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4844 (eval $ac_compile) 2>&5
4846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4847 (exit $ac_status); }; then
4848 case `/usr/bin/file conftest.o` in
4851 x86_64-
*kfreebsd
*-gnu)
4852 LD
="${LD-ld} -m elf_i386_fbsd"
4855 LD
="${LD-ld} -m elf_i386"
4857 ppc64-
*linux
*|powerpc64-
*linux
*)
4858 LD
="${LD-ld} -m elf32ppclinux"
4861 LD
="${LD-ld} -m elf_s390"
4864 LD
="${LD-ld} -m elf32_sparc"
4870 x86_64-
*kfreebsd
*-gnu)
4871 LD
="${LD-ld} -m elf_x86_64_fbsd"
4874 LD
="${LD-ld} -m elf_x86_64"
4876 ppc
*-*linux
*|powerpc
*-*linux
*)
4877 LD
="${LD-ld} -m elf64ppc"
4880 LD
="${LD-ld} -m elf64_s390"
4883 LD
="${LD-ld} -m elf64_sparc"
4893 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4894 SAVE_CFLAGS
="$CFLAGS"
4895 CFLAGS
="$CFLAGS -belf"
4896 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4897 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4898 if test "${lt_cv_cc_needs_belf+set}" = set; then
4899 $as_echo_n "(cached) " >&6
4902 ac_cpp
='$CPP $CPPFLAGS'
4903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4907 cat >conftest.
$ac_ext <<_ACEOF
4910 cat confdefs.h
>>conftest.
$ac_ext
4911 cat >>conftest.
$ac_ext <<_ACEOF
4912 /* end confdefs.h. */
4922 rm -f conftest.
$ac_objext conftest
$ac_exeext
4923 if { (ac_try
="$ac_link"
4925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4929 $as_echo "$ac_try_echo") >&5
4930 (eval "$ac_link") 2>conftest.er1
4932 grep -v '^ *+' conftest.er1 >conftest.err
4934 cat conftest.err >&5
4935 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); } && {
4937 test -z "$ac_c_werror_flag" ||
4938 test ! -s conftest.err
4939 } && test -s conftest$ac_exeext && {
4940 test "$cross_compiling" = yes ||
4941 $as_test_x conftest$ac_exeext
4943 lt_cv_cc_needs_belf=yes
4945 $as_echo "$as_me: failed program was:" >&5
4946 sed 's/^/| /' conftest.$ac_ext >&5
4948 lt_cv_cc_needs_belf=no
4951 rm -rf conftest.dSYM
4952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4953 conftest$ac_exeext conftest.$ac_ext
4955 ac_cpp='$CPP $CPPFLAGS'
4956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4961 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4962 $as_echo "$lt_cv_cc_needs_belf" >&6; }
4963 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4964 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4965 CFLAGS="$SAVE_CFLAGS"
4969 # Find out which ABI we are using.
4970 echo 'int i;' > conftest.$ac_ext
4971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4972 (eval $ac_compile) 2>&5
4974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; then
4976 case `/usr
/bin
/file conftest.o
` in
4978 case $lt_cv_prog_gnu_ld in
4979 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4981 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
4995 need_locks="$enable_libtool_lock"
4998 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4999 $as_echo_n "checking for ANSI C header files... " >&6; }
5000 if test "${ac_cv_header_stdc+set}" = set; then
5001 $as_echo_n "(cached) " >&6
5003 cat >conftest.$ac_ext <<_ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5022 rm -f conftest.$ac_objext
5023 if { (ac_try="$ac_compile"
5025 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5026 *) ac_try_echo
=$ac_try;;
5028 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5029 $as_echo "$ac_try_echo") >&5
5030 (eval "$ac_compile") 2>conftest.er1
5032 grep -v '^ *+' conftest.er1
>conftest.err
5034 cat conftest.err
>&5
5035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); } && {
5037 test -z "$ac_c_werror_flag" ||
5038 test ! -s conftest.err
5039 } && test -s conftest.
$ac_objext; then
5040 ac_cv_header_stdc
=yes
5042 $as_echo "$as_me: failed program was:" >&5
5043 sed 's/^/| /' conftest.
$ac_ext >&5
5045 ac_cv_header_stdc
=no
5048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5050 if test $ac_cv_header_stdc = yes; then
5051 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5052 cat >conftest.
$ac_ext <<_ACEOF
5055 cat confdefs.h
>>conftest.
$ac_ext
5056 cat >>conftest.
$ac_ext <<_ACEOF
5057 /* end confdefs.h. */
5061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5062 $EGREP "memchr" >/dev
/null
2>&1; then
5065 ac_cv_header_stdc
=no
5071 if test $ac_cv_header_stdc = yes; then
5072 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5073 cat >conftest.
$ac_ext <<_ACEOF
5076 cat confdefs.h
>>conftest.
$ac_ext
5077 cat >>conftest.
$ac_ext <<_ACEOF
5078 /* end confdefs.h. */
5082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5083 $EGREP "free" >/dev
/null
2>&1; then
5086 ac_cv_header_stdc
=no
5092 if test $ac_cv_header_stdc = yes; then
5093 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5094 if test "$cross_compiling" = yes; then
5097 cat >conftest.
$ac_ext <<_ACEOF
5100 cat confdefs.h
>>conftest.
$ac_ext
5101 cat >>conftest.
$ac_ext <<_ACEOF
5102 /* end confdefs.h. */
5105 #if ((' ' & 0x0FF) == 0x020)
5106 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5107 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5109 # define ISLOWER(c) \
5110 (('a' <= (c) && (c) <= 'i') \
5111 || ('j' <= (c) && (c) <= 'r') \
5112 || ('s' <= (c) && (c) <= 'z'))
5113 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5116 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5121 for (i = 0; i < 256; i++)
5122 if (XOR (islower (i), ISLOWER (i))
5123 || toupper (i) != TOUPPER (i))
5128 rm -f conftest
$ac_exeext
5129 if { (ac_try
="$ac_link"
5131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5132 *) ac_try_echo=$ac_try;;
5134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5135 $as_echo "$ac_try_echo") >&5
5136 (eval "$ac_link") 2>&5
5138 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5140 { (case "(($ac_try" in
5141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5142 *) ac_try_echo
=$ac_try;;
5144 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5145 $as_echo "$ac_try_echo") >&5
5146 (eval "$ac_try") 2>&5
5148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); }; }; then
5152 $as_echo "$as_me: program exited with status $ac_status" >&5
5153 $as_echo "$as_me: failed program was:" >&5
5154 sed 's/^/| /' conftest.
$ac_ext >&5
5157 ac_cv_header_stdc
=no
5159 rm -rf conftest.dSYM
5160 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5166 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5167 $as_echo "$ac_cv_header_stdc" >&6; }
5168 if test $ac_cv_header_stdc = yes; then
5170 cat >>confdefs.h
<<\_ACEOF
5171 #define STDC_HEADERS 1
5176 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5186 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5187 inttypes.h stdint.h unistd.h
5189 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5190 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5191 $as_echo_n "checking for $ac_header... " >&6; }
5192 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5193 $as_echo_n "(cached) " >&6
5195 cat >conftest.
$ac_ext <<_ACEOF
5198 cat confdefs.h
>>conftest.
$ac_ext
5199 cat >>conftest.
$ac_ext <<_ACEOF
5200 /* end confdefs.h. */
5201 $ac_includes_default
5203 #include <$ac_header>
5205 rm -f conftest.
$ac_objext
5206 if { (ac_try
="$ac_compile"
5208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5209 *) ac_try_echo=$ac_try;;
5211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5212 $as_echo "$ac_try_echo") >&5
5213 (eval "$ac_compile") 2>conftest.er1
5215 grep -v '^ *+' conftest.er1 >conftest.err
5217 cat conftest.err >&5
5218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219 (exit $ac_status); } && {
5220 test -z "$ac_c_werror_flag" ||
5221 test ! -s conftest.err
5222 } && test -s conftest.$ac_objext; then
5223 eval "$as_ac_Header=yes"
5225 $as_echo "$as_me: failed program was:" >&5
5226 sed 's/^/| /' conftest.$ac_ext >&5
5228 eval "$as_ac_Header=no"
5231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5233 ac_res=`eval 'as_val=${'$as_ac_Header'}
5234 $as_echo "$as_val"'`
5235 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5236 $as_echo "$ac_res" >&6; }
5237 as_val=`eval 'as_val=${'$as_ac_Header'}
5238 $as_echo "$as_val"'`
5239 if test "x$as_val" = x""yes; then
5240 cat >>confdefs.h <<_ACEOF
5241 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5250 for ac_header in dlfcn.h
5252 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5254 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5255 $as_echo_n "checking for $ac_header... " >&6; }
5256 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5257 $as_echo_n "(cached) " >&6
5259 ac_res=`eval 'as_val=${'$as_ac_Header'}
5260 $as_echo "$as_val"'`
5261 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5262 $as_echo "$ac_res" >&6; }
5264 # Is the header compilable?
5265 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5266 $as_echo_n "checking $ac_header usability... " >&6; }
5267 cat >conftest.$ac_ext <<_ACEOF
5270 cat confdefs.h >>conftest.$ac_ext
5271 cat >>conftest.$ac_ext <<_ACEOF
5272 /* end confdefs.h. */
5273 $ac_includes_default
5274 #include <$ac_header>
5276 rm -f conftest.$ac_objext
5277 if { (ac_try="$ac_compile"
5279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5280 *) ac_try_echo
=$ac_try;;
5282 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5283 $as_echo "$ac_try_echo") >&5
5284 (eval "$ac_compile") 2>conftest.er1
5286 grep -v '^ *+' conftest.er1
>conftest.err
5288 cat conftest.err
>&5
5289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); } && {
5291 test -z "$ac_c_werror_flag" ||
5292 test ! -s conftest.err
5293 } && test -s conftest.
$ac_objext; then
5294 ac_header_compiler
=yes
5296 $as_echo "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.
$ac_ext >&5
5299 ac_header_compiler
=no
5302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5303 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5304 $as_echo "$ac_header_compiler" >&6; }
5306 # Is the header present?
5307 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5308 $as_echo_n "checking $ac_header presence... " >&6; }
5309 cat >conftest.
$ac_ext <<_ACEOF
5312 cat confdefs.h
>>conftest.
$ac_ext
5313 cat >>conftest.
$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5315 #include <$ac_header>
5317 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5320 *) ac_try_echo=$ac_try;;
5322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5323 $as_echo "$ac_try_echo") >&5
5324 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5326 grep -v '^ *+' conftest.er1 >conftest.err
5328 cat conftest.err >&5
5329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } >/dev/null && {
5331 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5332 test ! -s conftest.err
5334 ac_header_preproc=yes
5336 $as_echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5339 ac_header_preproc=no
5342 rm -f conftest.err conftest.$ac_ext
5343 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5344 $as_echo "$ac_header_preproc" >&6; }
5346 # So? What about this header?
5347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5349 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5350 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5351 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5352 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5353 ac_header_preproc=yes
5356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5357 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5359 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5361 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5363 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5365 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5367 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5371 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5372 $as_echo_n "checking for $ac_header... " >&6; }
5373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5374 $as_echo_n "(cached) " >&6
5376 eval "$as_ac_Header=\$ac_header_preproc"
5378 ac_res=`eval 'as_val=${'$as_ac_Header'}
5379 $as_echo "$as_val"'`
5380 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5381 $as_echo "$ac_res" >&6; }
5384 as_val=`eval 'as_val=${'$as_ac_Header'}
5385 $as_echo "$as_val"'`
5386 if test "x$as_val" = x""yes; then
5387 cat >>confdefs.h <<_ACEOF
5388 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5396 ac_cpp='$CXXCPP $CPPFLAGS'
5397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5400 if test -z "$CXX"; then
5401 if test -n "$CCC"; then
5404 if test -n "$ac_tool_prefix"; then
5405 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5407 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5408 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5409 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5410 $as_echo_n "checking for $ac_word... " >&6; }
5411 if test "${ac_cv_prog_CXX+set}" = set; then
5412 $as_echo_n "(cached) " >&6
5414 if test -n "$CXX"; then
5415 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 test -z "$as_dir" && as_dir=.
5422 for ac_exec_ext in '' $ac_executable_extensions; do
5423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5425 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 if test -n "$CXX"; then
5436 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5437 $as_echo "$CXX" >&6; }
5439 { $as_echo "$as_me:$LINENO: result: no" >&5
5440 $as_echo "no" >&6; }
5444 test -n "$CXX" && break
5447 if test -z "$CXX"; then
5449 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5451 # Extract the first word of "$ac_prog", so it can be a program name with args.
5452 set dummy $ac_prog; ac_word=$2
5453 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5454 $as_echo_n "checking for $ac_word... " >&6; }
5455 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5456 $as_echo_n "(cached) " >&6
5458 if test -n "$ac_ct_CXX"; then
5459 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 test -z "$as_dir" && as_dir=.
5466 for ac_exec_ext in '' $ac_executable_extensions; do
5467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5468 ac_cv_prog_ac_ct_CXX="$ac_prog"
5469 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5478 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5479 if test -n "$ac_ct_CXX"; then
5480 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5481 $as_echo "$ac_ct_CXX" >&6; }
5483 { $as_echo "$as_me:$LINENO: result: no" >&5
5484 $as_echo "no" >&6; }
5488 test -n "$ac_ct_CXX" && break
5491 if test "x$ac_ct_CXX" = x; then
5494 case $cross_compiling:$ac_tool_warned in
5496 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5498 ac_tool_warned=yes ;;
5506 # Provide some information about the compiler.
5507 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5510 { (ac_try="$ac_compiler --version >&5"
5512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5513 *) ac_try_echo
=$ac_try;;
5515 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5516 $as_echo "$ac_try_echo") >&5
5517 (eval "$ac_compiler --version >&5") 2>&5
5519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }
5521 { (ac_try
="$ac_compiler -v >&5"
5523 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5524 *) ac_try_echo=$ac_try;;
5526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5527 $as_echo "$ac_try_echo") >&5
5528 (eval "$ac_compiler -v >&5") 2>&5
5530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }
5532 { (ac_try="$ac_compiler -V >&5"
5534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5535 *) ac_try_echo
=$ac_try;;
5537 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5538 $as_echo "$ac_try_echo") >&5
5539 (eval "$ac_compiler -V >&5") 2>&5
5541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }
5544 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5545 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5546 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5547 $as_echo_n "(cached) " >&6
5549 cat >conftest.
$ac_ext <<_ACEOF
5552 cat confdefs.h
>>conftest.
$ac_ext
5553 cat >>conftest.
$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5567 rm -f conftest.
$ac_objext
5568 if { (ac_try
="$ac_compile"
5570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5571 *) ac_try_echo=$ac_try;;
5573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5574 $as_echo "$ac_try_echo") >&5
5575 (eval "$ac_compile") 2>conftest.er1
5577 grep -v '^ *+' conftest.er1 >conftest.err
5579 cat conftest.err >&5
5580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); } && {
5582 test -z "$ac_cxx_werror_flag" ||
5583 test ! -s conftest.err
5584 } && test -s conftest.$ac_objext; then
5587 $as_echo "$as_me: failed program was:" >&5
5588 sed 's/^/| /' conftest.$ac_ext >&5
5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5594 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5597 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5598 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5599 if test $ac_compiler_gnu = yes; then
5604 ac_test_CXXFLAGS=${CXXFLAGS+set}
5605 ac_save_CXXFLAGS=$CXXFLAGS
5606 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5607 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5608 if test "${ac_cv_prog_cxx_g+set}" = set; then
5609 $as_echo_n "(cached) " >&6
5611 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5612 ac_cxx_werror_flag=yes
5615 cat >conftest.$ac_ext <<_ACEOF
5618 cat confdefs.h >>conftest.$ac_ext
5619 cat >>conftest.$ac_ext <<_ACEOF
5620 /* end confdefs.h. */
5630 rm -f conftest.$ac_objext
5631 if { (ac_try="$ac_compile"
5633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5634 *) ac_try_echo
=$ac_try;;
5636 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5637 $as_echo "$ac_try_echo") >&5
5638 (eval "$ac_compile") 2>conftest.er1
5640 grep -v '^ *+' conftest.er1
>conftest.err
5642 cat conftest.err
>&5
5643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); } && {
5645 test -z "$ac_cxx_werror_flag" ||
5646 test ! -s conftest.err
5647 } && test -s conftest.
$ac_objext; then
5648 ac_cv_prog_cxx_g
=yes
5650 $as_echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.
$ac_ext >&5
5654 cat >conftest.
$ac_ext <<_ACEOF
5657 cat confdefs.h
>>conftest.
$ac_ext
5658 cat >>conftest.
$ac_ext <<_ACEOF
5659 /* end confdefs.h. */
5669 rm -f conftest.
$ac_objext
5670 if { (ac_try
="$ac_compile"
5672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5673 *) ac_try_echo=$ac_try;;
5675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5676 $as_echo "$ac_try_echo") >&5
5677 (eval "$ac_compile") 2>conftest.er1
5679 grep -v '^ *+' conftest.er1 >conftest.err
5681 cat conftest.err >&5
5682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } && {
5684 test -z "$ac_cxx_werror_flag" ||
5685 test ! -s conftest.err
5686 } && test -s conftest.$ac_objext; then
5689 $as_echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.$ac_ext >&5
5692 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5694 cat >conftest.$ac_ext <<_ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5709 rm -f conftest.$ac_objext
5710 if { (ac_try="$ac_compile"
5712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5713 *) ac_try_echo
=$ac_try;;
5715 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5716 $as_echo "$ac_try_echo") >&5
5717 (eval "$ac_compile") 2>conftest.er1
5719 grep -v '^ *+' conftest.er1
>conftest.err
5721 cat conftest.err
>&5
5722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); } && {
5724 test -z "$ac_cxx_werror_flag" ||
5725 test ! -s conftest.err
5726 } && test -s conftest.
$ac_objext; then
5727 ac_cv_prog_cxx_g
=yes
5729 $as_echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.
$ac_ext >&5
5735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5742 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5744 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5745 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5746 if test "$ac_test_CXXFLAGS" = set; then
5747 CXXFLAGS
=$ac_save_CXXFLAGS
5748 elif test $ac_cv_prog_cxx_g = yes; then
5749 if test "$GXX" = yes; then
5755 if test "$GXX" = yes; then
5762 ac_cpp
='$CXXCPP $CPPFLAGS'
5763 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5764 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5765 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5767 depcc
="$CXX" am_compiler_list
=
5769 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5770 $as_echo_n "checking dependency style of $depcc... " >&6; }
5771 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5772 $as_echo_n "(cached) " >&6
5774 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5775 # We make a subdir and do the tests there. Otherwise we can end up
5776 # making bogus files that we don't know about and never remove. For
5777 # instance it was reported that on HP-UX the gcc test will end up
5778 # making a dummy file named `D' -- because `-MD' means `put the output
5781 # Copy depcomp to subdir because otherwise we won't find it if we're
5782 # using a relative directory.
5783 cp "$am_depcomp" conftest.dir
5785 # We will build objects and dependencies in a subdirectory because
5786 # it helps to detect inapplicable dependency modes. For instance
5787 # both Tru64's cc and ICC support -MD to output dependencies as a
5788 # side effect of compilation, but ICC will put the dependencies in
5789 # the current directory while Tru64 will put them in the object
5793 am_cv_CXX_dependencies_compiler_type
=none
5794 if test "$am_compiler_list" = ""; then
5795 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5797 for depmode
in $am_compiler_list; do
5798 # Setup a source with many dependencies, because some compilers
5799 # like to wrap large dependency lists on column 80 (with \), and
5800 # we should not choose a depcomp mode which is confused by this.
5802 # We need to recreate these files for each test, as the compiler may
5803 # overwrite some of them when testing with obscure command lines.
5804 # This happens at least with the AIX C compiler.
5806 for i
in 1 2 3 4 5 6; do
5807 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
5808 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5809 # Solaris 8's {/usr,}/bin/sh.
5810 touch sub
/conftst
$i.h
5812 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5816 # after this tag, mechanisms are not by side-effect, so they'll
5817 # only be used when explicitly requested
5818 if test "x$enable_dependency_tracking" = xyes
; then
5826 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5827 # mode. It turns out that the SunPro C++ compiler does not properly
5828 # handle `-M -o', and we need to detect this.
5829 if depmode
=$depmode \
5830 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
5831 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
5832 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
5833 >/dev
/null
2>conftest.err
&&
5834 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5835 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
5836 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
5837 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
5838 # icc doesn't choke on unknown options, it will just issue warnings
5839 # or remarks (even with -Werror). So we grep stderr for any message
5840 # that says an option was ignored or not supported.
5841 # When given -MP, icc 7.0 and 7.1 complain thusly:
5842 # icc: Command line warning: ignoring option '-M'; no argument required
5843 # The diagnosis changed in icc 8.0:
5844 # icc: Command line remark: option '-MP' not supported
5845 if (grep 'ignoring option' conftest.err ||
5846 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
5847 am_cv_CXX_dependencies_compiler_type
=$depmode
5856 am_cv_CXX_dependencies_compiler_type
=none
5860 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5861 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5862 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
5865 test "x$enable_dependency_tracking" != xno \
5866 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
5867 am__fastdepCXX_TRUE
=
5868 am__fastdepCXX_FALSE
='#'
5870 am__fastdepCXX_TRUE
='#'
5871 am__fastdepCXX_FALSE
=
5877 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5878 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5879 (test "X$CXX" != "Xg++"))) ; then
5881 ac_cpp
='$CXXCPP $CPPFLAGS'
5882 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5883 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5884 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5885 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5886 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5887 if test -z "$CXXCPP"; then
5888 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5889 $as_echo_n "(cached) " >&6
5891 # Double quotes because CXXCPP needs to be expanded
5892 for CXXCPP
in "$CXX -E" "/lib/cpp"
5895 for ac_cxx_preproc_warn_flag
in '' yes
5897 # Use a header file that comes with gcc, so configuring glibc
5898 # with a fresh cross-compiler works.
5899 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5900 # <limits.h> exists even on freestanding compilers.
5901 # On the NeXT, cc -E runs the code through the compiler's parser,
5902 # not just through cpp. "Syntax error" is here to catch this case.
5903 cat >conftest.
$ac_ext <<_ACEOF
5906 cat confdefs.h
>>conftest.
$ac_ext
5907 cat >>conftest.
$ac_ext <<_ACEOF
5908 /* end confdefs.h. */
5910 # include <limits.h>
5912 # include <assert.h>
5916 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5919 *) ac_try_echo=$ac_try;;
5921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5922 $as_echo "$ac_try_echo") >&5
5923 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5925 grep -v '^ *+' conftest.er1 >conftest.err
5927 cat conftest.err >&5
5928 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } >/dev/null && {
5930 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5931 test ! -s conftest.err
5935 $as_echo "$as_me: failed program was:" >&5
5936 sed 's/^/| /' conftest.$ac_ext >&5
5938 # Broken: fails on valid input.
5942 rm -f conftest.err conftest.$ac_ext
5944 # OK, works on sane cases. Now check whether nonexistent headers
5945 # can be detected and how.
5946 cat >conftest.$ac_ext <<_ACEOF
5949 cat confdefs.h >>conftest.$ac_ext
5950 cat >>conftest.$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5952 #include <ac_nonexistent.h>
5954 if { (ac_try="$ac_cpp conftest.$ac_ext"
5956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5957 *) ac_try_echo
=$ac_try;;
5959 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5960 $as_echo "$ac_try_echo") >&5
5961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5963 grep -v '^ *+' conftest.er1
>conftest.err
5965 cat conftest.err
>&5
5966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5967 (exit $ac_status); } >/dev
/null
&& {
5968 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5969 test ! -s conftest.err
5971 # Broken: success on invalid input.
5974 $as_echo "$as_me: failed program was:" >&5
5975 sed 's/^/| /' conftest.
$ac_ext >&5
5977 # Passes both tests.
5982 rm -f conftest.err conftest.
$ac_ext
5985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5986 rm -f conftest.err conftest.
$ac_ext
5987 if $ac_preproc_ok; then
5992 ac_cv_prog_CXXCPP
=$CXXCPP
5995 CXXCPP
=$ac_cv_prog_CXXCPP
5997 ac_cv_prog_CXXCPP
=$CXXCPP
5999 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
6000 $as_echo "$CXXCPP" >&6; }
6002 for ac_cxx_preproc_warn_flag
in '' yes
6004 # Use a header file that comes with gcc, so configuring glibc
6005 # with a fresh cross-compiler works.
6006 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6007 # <limits.h> exists even on freestanding compilers.
6008 # On the NeXT, cc -E runs the code through the compiler's parser,
6009 # not just through cpp. "Syntax error" is here to catch this case.
6010 cat >conftest.
$ac_ext <<_ACEOF
6013 cat confdefs.h
>>conftest.
$ac_ext
6014 cat >>conftest.
$ac_ext <<_ACEOF
6015 /* end confdefs.h. */
6017 # include <limits.h>
6019 # include <assert.h>
6023 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6026 *) ac_try_echo=$ac_try;;
6028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6029 $as_echo "$ac_try_echo") >&5
6030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6032 grep -v '^ *+' conftest.er1 >conftest.err
6034 cat conftest.err >&5
6035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); } >/dev/null && {
6037 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6038 test ! -s conftest.err
6042 $as_echo "$as_me: failed program was:" >&5
6043 sed 's/^/| /' conftest.$ac_ext >&5
6045 # Broken: fails on valid input.
6049 rm -f conftest.err conftest.$ac_ext
6051 # OK, works on sane cases. Now check whether nonexistent headers
6052 # can be detected and how.
6053 cat >conftest.$ac_ext <<_ACEOF
6056 cat confdefs.h >>conftest.$ac_ext
6057 cat >>conftest.$ac_ext <<_ACEOF
6058 /* end confdefs.h. */
6059 #include <ac_nonexistent.h>
6061 if { (ac_try="$ac_cpp conftest.$ac_ext"
6063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6064 *) ac_try_echo
=$ac_try;;
6066 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6067 $as_echo "$ac_try_echo") >&5
6068 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6070 grep -v '^ *+' conftest.er1
>conftest.err
6072 cat conftest.err
>&5
6073 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6074 (exit $ac_status); } >/dev
/null
&& {
6075 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6076 test ! -s conftest.err
6078 # Broken: success on invalid input.
6081 $as_echo "$as_me: failed program was:" >&5
6082 sed 's/^/| /' conftest.
$ac_ext >&5
6084 # Passes both tests.
6089 rm -f conftest.err conftest.
$ac_ext
6092 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6093 rm -f conftest.err conftest.
$ac_ext
6094 if $ac_preproc_ok; then
6097 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6099 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6100 See \`config.log' for more details." >&5
6101 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6102 See \`config.log' for more details." >&2;}
6103 { (exit 1); exit 1; }; }; }
6107 ac_cpp
='$CXXCPP $CPPFLAGS'
6108 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6109 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6110 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6116 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6117 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6118 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6119 if test -n "$ac_tool_prefix"; then
6120 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6123 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6124 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6125 $as_echo_n "checking for $ac_word... " >&6; }
6126 if test "${ac_cv_prog_F77+set}" = set; then
6127 $as_echo_n "(cached) " >&6
6129 if test -n "$F77"; then
6130 ac_cv_prog_F77
="$F77" # Let the user override the test.
6132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6136 test -z "$as_dir" && as_dir
=.
6137 for ac_exec_ext
in '' $ac_executable_extensions; do
6138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6140 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 if test -n "$F77"; then
6151 { $as_echo "$as_me:$LINENO: result: $F77" >&5
6152 $as_echo "$F77" >&6; }
6154 { $as_echo "$as_me:$LINENO: result: no" >&5
6155 $as_echo "no" >&6; }
6159 test -n "$F77" && break
6162 if test -z "$F77"; then
6164 for ac_prog
in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6166 # Extract the first word of "$ac_prog", so it can be a program name with args.
6167 set dummy
$ac_prog; ac_word
=$2
6168 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6169 $as_echo_n "checking for $ac_word... " >&6; }
6170 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6171 $as_echo_n "(cached) " >&6
6173 if test -n "$ac_ct_F77"; then
6174 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6180 test -z "$as_dir" && as_dir
=.
6181 for ac_exec_ext
in '' $ac_executable_extensions; do
6182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6183 ac_cv_prog_ac_ct_F77
="$ac_prog"
6184 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6194 if test -n "$ac_ct_F77"; then
6195 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6196 $as_echo "$ac_ct_F77" >&6; }
6198 { $as_echo "$as_me:$LINENO: result: no" >&5
6199 $as_echo "no" >&6; }
6203 test -n "$ac_ct_F77" && break
6206 if test "x$ac_ct_F77" = x
; then
6209 case $cross_compiling:$ac_tool_warned in
6211 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213 ac_tool_warned
=yes ;;
6220 # Provide some information about the compiler.
6221 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6224 { (ac_try
="$ac_compiler --version >&5"
6226 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6227 *) ac_try_echo=$ac_try;;
6229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6230 $as_echo "$ac_try_echo") >&5
6231 (eval "$ac_compiler --version >&5") 2>&5
6233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); }
6235 { (ac_try="$ac_compiler -v >&5"
6237 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6238 *) ac_try_echo
=$ac_try;;
6240 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6241 $as_echo "$ac_try_echo") >&5
6242 (eval "$ac_compiler -v >&5") 2>&5
6244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6245 (exit $ac_status); }
6246 { (ac_try
="$ac_compiler -V >&5"
6248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6249 *) ac_try_echo=$ac_try;;
6251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6252 $as_echo "$ac_try_echo") >&5
6253 (eval "$ac_compiler -V >&5") 2>&5
6255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }
6259 # If we don't use `.F
' as extension, the preprocessor is not run on the
6260 # input file. (Note that this only needs to work for GNU compilers.)
6263 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6264 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6265 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6266 $as_echo_n "(cached) " >&6
6268 cat >conftest.$ac_ext <<_ACEOF
6276 rm -f conftest.$ac_objext
6277 if { (ac_try="$ac_compile"
6279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6280 *) ac_try_echo=$ac_try;;
6282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6283 $as_echo "$ac_try_echo") >&5
6284 (eval "$ac_compile") 2>conftest.er1
6286 grep -v '^
*+' conftest.er1 >conftest.err
6288 cat conftest.err >&5
6289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_f77_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest.$ac_objext; then
6296 $as_echo "$as_me: failed program was:" >&5
6297 sed 's
/^
/|
/' conftest.$ac_ext >&5
6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6303 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6306 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6307 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6309 ac_test_FFLAGS=${FFLAGS+set}
6310 ac_save_FFLAGS=$FFLAGS
6312 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6313 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
6314 if test "${ac_cv_prog_f77_g+set}" = set; then
6315 $as_echo_n "(cached) " >&6
6318 cat >conftest.$ac_ext <<_ACEOF
6323 rm -f conftest.$ac_objext
6324 if { (ac_try="$ac_compile"
6326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6327 *) ac_try_echo=$ac_try;;
6329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6330 $as_echo "$ac_try_echo") >&5
6331 (eval "$ac_compile") 2>conftest.er1
6333 grep -v '^
*+' conftest.er1 >conftest.err
6335 cat conftest.err >&5
6336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } && {
6338 test -z "$ac_f77_werror_flag" ||
6339 test ! -s conftest.err
6340 } && test -s conftest.$ac_objext; then
6341 ac_cv_prog_f77_g=yes
6343 $as_echo "$as_me: failed program was:" >&5
6344 sed 's
/^
/|
/' conftest.$ac_ext >&5
6349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6352 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6353 $as_echo "$ac_cv_prog_f77_g" >&6; }
6354 if test "$ac_test_FFLAGS" = set; then
6355 FFLAGS=$ac_save_FFLAGS
6356 elif test $ac_cv_prog_f77_g = yes; then
6357 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6363 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6370 if test $ac_compiler_gnu = yes; then
6376 ac_cpp='$CPP $CPPFLAGS'
6377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6378 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6383 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6384 # find the maximum length of command line arguments
6385 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6386 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6387 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6388 $as_echo_n "(cached) " >&6
6395 # On DJGPP, this test can blow up pretty badly due to problems in libc
6396 # (any single argument exceeding 2000 bytes causes a buffer overrun
6397 # during glob expansion). Even if it were fixed, the result of this
6398 # check would be larger than it should be.
6399 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6403 # Under GNU Hurd, this test is not required because there is
6404 # no limit to the length of command line arguments.
6405 # Libtool will interpret -1 as no limit whatsoever
6406 lt_cv_sys_max_cmd_len
=-1;
6410 # On Win9x/ME, this test blows up -- it succeeds, but takes
6411 # about 5 minutes as the teststring grows exponentially.
6412 # Worse, since 9x/ME are not pre-emptively multitasking,
6413 # you end up with a "frozen" computer, even though with patience
6414 # the test eventually succeeds (with a max line length of 256k).
6415 # Instead, let's just punt: use the minimum linelength reported by
6416 # all of the supported platforms: 8192 (on NT/2K/XP).
6417 lt_cv_sys_max_cmd_len
=8192;
6421 # On AmigaOS with pdksh, this test takes hours, literally.
6422 # So we just punt and use a minimum line length of 8192.
6423 lt_cv_sys_max_cmd_len
=8192;
6426 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6427 # This has been around since 386BSD, at least. Likely further.
6428 if test -x /sbin
/sysctl
; then
6429 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6430 elif test -x /usr
/sbin
/sysctl
; then
6431 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6433 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6435 # And add a safety zone
6436 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6437 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6441 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6442 lt_cv_sys_max_cmd_len
=196608
6446 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6447 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6448 # nice to cause kernel panics so lets avoid the loop below.
6449 # First set a reasonable default.
6450 lt_cv_sys_max_cmd_len
=16384
6452 if test -x /sbin
/sysconfig
; then
6453 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6454 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6459 lt_cv_sys_max_cmd_len
=102400
6461 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6462 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6463 if test -n "$kargmax"; then
6464 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6466 lt_cv_sys_max_cmd_len
=32768
6470 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6471 if test -n "$lt_cv_sys_max_cmd_len"; then
6472 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6473 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6475 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6476 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6477 = "XX$teststring") >/dev
/null
2>&1 &&
6478 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6479 lt_cv_sys_max_cmd_len
=$new_result &&
6480 test $i != 17 # 1/2 MB should be enough
6483 teststring
=$teststring$teststring
6486 # Add a significant safety factor because C++ compilers can tack on massive
6487 # amounts of additional arguments before passing them to the linker.
6488 # It appears as though 1/2 is a usable value.
6489 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6496 if test -n $lt_cv_sys_max_cmd_len ; then
6497 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6498 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6500 { $as_echo "$as_me:$LINENO: result: none" >&5
6501 $as_echo "none" >&6; }
6508 # Check for command to grab the raw symbol name followed by C symbol from nm.
6509 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6510 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6511 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6512 $as_echo_n "(cached) " >&6
6515 # These are sane defaults that work on at least a few old systems.
6516 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6518 # Character class describing NM global symbol codes.
6519 symcode
='[BCDEGRST]'
6521 # Regexp to match symbols that can be accessed directly from C.
6522 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6524 # Transform an extracted symbol line into a proper C declaration
6525 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6527 # Transform an extracted symbol line into symbol name and symbol address
6528 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6530 # Define system-specific variables.
6535 cygwin
* | mingw
* | pw32
*)
6536 symcode
='[ABCDGISTW]'
6538 hpux
*) # Its linker distinguishes data from code symbols
6539 if test "$host_cpu" = ia64
; then
6540 symcode
='[ABCDEGRST]'
6542 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6543 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6545 linux
* | k
*bsd
*-gnu)
6546 if test "$host_cpu" = ia64
; then
6547 symcode
='[ABCDGIRSTW]'
6548 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6549 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
6553 symcode
='[BCDEGRST]'
6556 symcode
='[BCDEGQRST]'
6567 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6575 # Handle CRLF in mingw tool chain
6579 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6583 # If we're using GNU nm, then use its standard symbol codes.
6584 case `$NM -V 2>&1` in
6585 *GNU
* |
*'with BFD'*)
6586 symcode
='[ABCDGIRSTW]' ;;
6589 # Try without a prefix undercore, then with it.
6590 for ac_symprfx
in "" "_"; do
6592 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6593 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6595 # Write the raw and C identifiers.
6596 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6598 # Check to see that the pipe works correctly.
6602 cat > conftest.
$ac_ext <<EOF
6607 void nm_test_func(){}
6611 int main(){nm_test_var='a';nm_test_func();return(0);}
6614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6615 (eval $ac_compile) 2>&5
6617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; then
6619 # Now try to grab the symbols.
6621 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6622 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); } && test -s "$nlist"; then
6626 # Try sorting and uniquifying the output.
6627 if sort "$nlist" |
uniq > "$nlist"T
; then
6628 mv -f "$nlist"T
"$nlist"
6633 # Make sure that we snagged all the symbols we need.
6634 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6635 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6636 cat <<EOF > conftest.$ac_ext
6642 # Now generate the symbol file.
6643 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6645 cat <<EOF >> conftest.$ac_ext
6646 #if defined (__STDC__) && __STDC__
6647 # define lt_ptr_t void *
6649 # define lt_ptr_t char *
6653 /* The mapping between symbol names and symbols. */
6658 lt_preloaded_symbols[] =
6661 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6662 cat <<\EOF
>> conftest.
$ac_ext
6670 # Now try linking the two files.
6671 mv conftest.
$ac_objext conftstm.
$ac_objext
6672 lt_save_LIBS
="$LIBS"
6673 lt_save_CFLAGS
="$CFLAGS"
6674 LIBS
="conftstm.$ac_objext"
6675 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6677 (eval $ac_link) 2>&5
6679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6680 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6683 LIBS
="$lt_save_LIBS"
6684 CFLAGS
="$lt_save_CFLAGS"
6686 echo "cannot find nm_test_func in $nlist" >&5
6689 echo "cannot find nm_test_var in $nlist" >&5
6692 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6695 echo "$progname: failed program was:" >&5
6696 cat conftest.
$ac_ext >&5
6698 rm -rf conftest
* conftst
*
6700 # Do not use the global_symbol_pipe unless it works.
6701 if test "$pipe_works" = yes; then
6704 lt_cv_sys_global_symbol_pipe
=
6710 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6711 lt_cv_sys_global_symbol_to_cdecl
=
6713 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6714 { $as_echo "$as_me:$LINENO: result: failed" >&5
6715 $as_echo "failed" >&6; }
6717 { $as_echo "$as_me:$LINENO: result: ok" >&5
6718 $as_echo "ok" >&6; }
6721 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6722 $as_echo_n "checking for objdir... " >&6; }
6723 if test "${lt_cv_objdir+set}" = set; then
6724 $as_echo_n "(cached) " >&6
6726 rm -f .libs
2>/dev
/null
6727 mkdir .libs
2>/dev
/null
6728 if test -d .libs
; then
6731 # MS-DOS does not allow filenames that begin with a dot.
6734 rmdir .libs
2>/dev
/null
6736 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6737 $as_echo "$lt_cv_objdir" >&6; }
6738 objdir
=$lt_cv_objdir
6746 # AIX sometimes has problems with the GCC collect2 program. For some
6747 # reason, if we set the COLLECT_NAMES environment variable, the problems
6748 # vanish in a puff of smoke.
6749 if test "X${COLLECT_NAMES+set}" != Xset
; then
6751 export COLLECT_NAMES
6756 # Sed substitution that helps us do robust quoting. It backslashifies
6757 # metacharacters that are still active within double-quoted strings.
6758 Xsed
='sed -e 1s/^X//'
6759 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6761 # Same as above, but do not quote variable references.
6762 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6764 # Sed substitution to delay expansion of an escaped shell variable in a
6765 # double_quote_subst'ed string.
6766 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6768 # Sed substitution to avoid accidental globbing in evaled expressions
6769 no_glob_subst
='s/\*/\\\*/g'
6775 default_ofile
=libtool
6776 can_build_shared
=yes
6778 # All known linkers require a `.a' archive for static linking (except MSVC,
6779 # which needs '.lib').
6781 ltmain
="$ac_aux_dir/ltmain.sh"
6782 ofile
="$default_ofile"
6783 with_gnu_ld
="$lt_cv_prog_gnu_ld"
6785 if test -n "$ac_tool_prefix"; then
6786 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6787 set dummy
${ac_tool_prefix}ar; ac_word
=$2
6788 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6789 $as_echo_n "checking for $ac_word... " >&6; }
6790 if test "${ac_cv_prog_AR+set}" = set; then
6791 $as_echo_n "(cached) " >&6
6793 if test -n "$AR"; then
6794 ac_cv_prog_AR
="$AR" # Let the user override the test.
6796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6800 test -z "$as_dir" && as_dir
=.
6801 for ac_exec_ext
in '' $ac_executable_extensions; do
6802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803 ac_cv_prog_AR
="${ac_tool_prefix}ar"
6804 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 if test -n "$AR"; then
6815 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6816 $as_echo "$AR" >&6; }
6818 { $as_echo "$as_me:$LINENO: result: no" >&5
6819 $as_echo "no" >&6; }
6824 if test -z "$ac_cv_prog_AR"; then
6826 # Extract the first word of "ar", so it can be a program name with args.
6827 set dummy
ar; ac_word
=$2
6828 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6829 $as_echo_n "checking for $ac_word... " >&6; }
6830 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6831 $as_echo_n "(cached) " >&6
6833 if test -n "$ac_ct_AR"; then
6834 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6840 test -z "$as_dir" && as_dir
=.
6841 for ac_exec_ext
in '' $ac_executable_extensions; do
6842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6843 ac_cv_prog_ac_ct_AR
="ar"
6844 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6853 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6854 if test -n "$ac_ct_AR"; then
6855 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6856 $as_echo "$ac_ct_AR" >&6; }
6858 { $as_echo "$as_me:$LINENO: result: no" >&5
6859 $as_echo "no" >&6; }
6862 if test "x$ac_ct_AR" = x
; then
6865 case $cross_compiling:$ac_tool_warned in
6867 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6869 ac_tool_warned
=yes ;;
6877 if test -n "$ac_tool_prefix"; then
6878 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6879 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6880 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6881 $as_echo_n "checking for $ac_word... " >&6; }
6882 if test "${ac_cv_prog_RANLIB+set}" = set; then
6883 $as_echo_n "(cached) " >&6
6885 if test -n "$RANLIB"; then
6886 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6892 test -z "$as_dir" && as_dir
=.
6893 for ac_exec_ext
in '' $ac_executable_extensions; do
6894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6895 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6905 RANLIB
=$ac_cv_prog_RANLIB
6906 if test -n "$RANLIB"; then
6907 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6908 $as_echo "$RANLIB" >&6; }
6910 { $as_echo "$as_me:$LINENO: result: no" >&5
6911 $as_echo "no" >&6; }
6916 if test -z "$ac_cv_prog_RANLIB"; then
6917 ac_ct_RANLIB
=$RANLIB
6918 # Extract the first word of "ranlib", so it can be a program name with args.
6919 set dummy ranlib
; ac_word
=$2
6920 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6921 $as_echo_n "checking for $ac_word... " >&6; }
6922 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6923 $as_echo_n "(cached) " >&6
6925 if test -n "$ac_ct_RANLIB"; then
6926 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6932 test -z "$as_dir" && as_dir
=.
6933 for ac_exec_ext
in '' $ac_executable_extensions; do
6934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6935 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6936 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6945 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6946 if test -n "$ac_ct_RANLIB"; then
6947 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6948 $as_echo "$ac_ct_RANLIB" >&6; }
6950 { $as_echo "$as_me:$LINENO: result: no" >&5
6951 $as_echo "no" >&6; }
6954 if test "x$ac_ct_RANLIB" = x
; then
6957 case $cross_compiling:$ac_tool_warned in
6959 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6961 ac_tool_warned
=yes ;;
6963 RANLIB
=$ac_ct_RANLIB
6966 RANLIB
="$ac_cv_prog_RANLIB"
6969 if test -n "$ac_tool_prefix"; then
6970 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6971 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6972 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6973 $as_echo_n "checking for $ac_word... " >&6; }
6974 if test "${ac_cv_prog_STRIP+set}" = set; then
6975 $as_echo_n "(cached) " >&6
6977 if test -n "$STRIP"; then
6978 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6984 test -z "$as_dir" && as_dir
=.
6985 for ac_exec_ext
in '' $ac_executable_extensions; do
6986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6987 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6988 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6997 STRIP
=$ac_cv_prog_STRIP
6998 if test -n "$STRIP"; then
6999 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7000 $as_echo "$STRIP" >&6; }
7002 { $as_echo "$as_me:$LINENO: result: no" >&5
7003 $as_echo "no" >&6; }
7008 if test -z "$ac_cv_prog_STRIP"; then
7010 # Extract the first word of "strip", so it can be a program name with args.
7011 set dummy strip
; ac_word
=$2
7012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7013 $as_echo_n "checking for $ac_word... " >&6; }
7014 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7015 $as_echo_n "(cached) " >&6
7017 if test -n "$ac_ct_STRIP"; then
7018 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7024 test -z "$as_dir" && as_dir
=.
7025 for ac_exec_ext
in '' $ac_executable_extensions; do
7026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7027 ac_cv_prog_ac_ct_STRIP
="strip"
7028 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7037 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7038 if test -n "$ac_ct_STRIP"; then
7039 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7040 $as_echo "$ac_ct_STRIP" >&6; }
7042 { $as_echo "$as_me:$LINENO: result: no" >&5
7043 $as_echo "no" >&6; }
7046 if test "x$ac_ct_STRIP" = x
; then
7049 case $cross_compiling:$ac_tool_warned in
7051 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7052 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7053 ac_tool_warned
=yes ;;
7058 STRIP
="$ac_cv_prog_STRIP"
7063 old_CFLAGS
="$CFLAGS"
7065 # Set sane defaults for various variables
7066 test -z "$AR" && AR
=ar
7067 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7068 test -z "$AS" && AS
=as
7069 test -z "$CC" && CC
=cc
7070 test -z "$LTCC" && LTCC
=$CC
7071 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7072 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7073 test -z "$LD" && LD
=ld
7074 test -z "$LN_S" && LN_S
="ln -s"
7075 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7076 test -z "$NM" && NM
=nm
7077 test -z "$SED" && SED
=sed
7078 test -z "$OBJDUMP" && OBJDUMP
=objdump
7079 test -z "$RANLIB" && RANLIB
=:
7080 test -z "$STRIP" && STRIP
=:
7081 test -z "$ac_objext" && ac_objext
=o
7083 # Determine commands to create old-style static archives.
7084 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7085 old_postinstall_cmds
='chmod 644 $oldlib'
7086 old_postuninstall_cmds
=
7088 if test -n "$RANLIB"; then
7091 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7094 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7097 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7100 for cc_temp
in $compiler""; do
7102 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7103 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7108 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7111 # Only perform the check for file, if the check method requires it
7112 case $deplibs_check_method in
7114 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7115 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7116 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7117 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7118 $as_echo_n "(cached) " >&6
7122 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7125 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7126 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7127 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7128 for ac_dir
in $ac_dummy; do
7130 test -z "$ac_dir" && ac_dir
=.
7131 if test -f $ac_dir/${ac_tool_prefix}file; then
7132 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7133 if test -n "$file_magic_test_file"; then
7134 case $deplibs_check_method in
7136 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7137 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7138 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7139 $EGREP "$file_magic_regex" > /dev
/null
; then
7144 *** Warning: the command libtool uses to detect shared libraries,
7145 *** $file_magic_cmd, produces output that libtool cannot recognize.
7146 *** The result is that libtool may fail to recognize shared libraries
7147 *** as such. This will affect the creation of libtool libraries that
7148 *** depend on shared libraries, but programs linked with such libtool
7149 *** libraries will work regardless of this problem. Nevertheless, you
7150 *** may want to report the problem to your system manager and/or to
7151 *** bug-libtool@gnu.org
7161 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7166 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7167 if test -n "$MAGIC_CMD"; then
7168 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7169 $as_echo "$MAGIC_CMD" >&6; }
7171 { $as_echo "$as_me:$LINENO: result: no" >&5
7172 $as_echo "no" >&6; }
7175 if test -z "$lt_cv_path_MAGIC_CMD"; then
7176 if test -n "$ac_tool_prefix"; then
7177 { $as_echo "$as_me:$LINENO: checking for file" >&5
7178 $as_echo_n "checking for file... " >&6; }
7179 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7180 $as_echo_n "(cached) " >&6
7184 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7187 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7188 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7189 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7190 for ac_dir
in $ac_dummy; do
7192 test -z "$ac_dir" && ac_dir
=.
7193 if test -f $ac_dir/file; then
7194 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7195 if test -n "$file_magic_test_file"; then
7196 case $deplibs_check_method in
7198 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7199 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7200 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7201 $EGREP "$file_magic_regex" > /dev
/null
; then
7206 *** Warning: the command libtool uses to detect shared libraries,
7207 *** $file_magic_cmd, produces output that libtool cannot recognize.
7208 *** The result is that libtool may fail to recognize shared libraries
7209 *** as such. This will affect the creation of libtool libraries that
7210 *** depend on shared libraries, but programs linked with such libtool
7211 *** libraries will work regardless of this problem. Nevertheless, you
7212 *** may want to report the problem to your system manager and/or to
7213 *** bug-libtool@gnu.org
7223 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7228 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7229 if test -n "$MAGIC_CMD"; then
7230 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7231 $as_echo "$MAGIC_CMD" >&6; }
7233 { $as_echo "$as_me:$LINENO: result: no" >&5
7234 $as_echo "no" >&6; }
7248 rhapsody
* | darwin
*)
7249 if test -n "$ac_tool_prefix"; then
7250 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7251 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7252 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7253 $as_echo_n "checking for $ac_word... " >&6; }
7254 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7255 $as_echo_n "(cached) " >&6
7257 if test -n "$DSYMUTIL"; then
7258 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7264 test -z "$as_dir" && as_dir
=.
7265 for ac_exec_ext
in '' $ac_executable_extensions; do
7266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7267 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7268 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7277 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7278 if test -n "$DSYMUTIL"; then
7279 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7280 $as_echo "$DSYMUTIL" >&6; }
7282 { $as_echo "$as_me:$LINENO: result: no" >&5
7283 $as_echo "no" >&6; }
7288 if test -z "$ac_cv_prog_DSYMUTIL"; then
7289 ac_ct_DSYMUTIL
=$DSYMUTIL
7290 # Extract the first word of "dsymutil", so it can be a program name with args.
7291 set dummy dsymutil
; ac_word
=$2
7292 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7293 $as_echo_n "checking for $ac_word... " >&6; }
7294 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7295 $as_echo_n "(cached) " >&6
7297 if test -n "$ac_ct_DSYMUTIL"; then
7298 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7304 test -z "$as_dir" && as_dir
=.
7305 for ac_exec_ext
in '' $ac_executable_extensions; do
7306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7307 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7308 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7317 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7318 if test -n "$ac_ct_DSYMUTIL"; then
7319 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7320 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7322 { $as_echo "$as_me:$LINENO: result: no" >&5
7323 $as_echo "no" >&6; }
7326 if test "x$ac_ct_DSYMUTIL" = x
; then
7329 case $cross_compiling:$ac_tool_warned in
7331 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7333 ac_tool_warned
=yes ;;
7335 DSYMUTIL
=$ac_ct_DSYMUTIL
7338 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7341 if test -n "$ac_tool_prefix"; then
7342 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7343 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7344 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7345 $as_echo_n "checking for $ac_word... " >&6; }
7346 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7347 $as_echo_n "(cached) " >&6
7349 if test -n "$NMEDIT"; then
7350 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7356 test -z "$as_dir" && as_dir
=.
7357 for ac_exec_ext
in '' $ac_executable_extensions; do
7358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7359 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7360 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7369 NMEDIT
=$ac_cv_prog_NMEDIT
7370 if test -n "$NMEDIT"; then
7371 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7372 $as_echo "$NMEDIT" >&6; }
7374 { $as_echo "$as_me:$LINENO: result: no" >&5
7375 $as_echo "no" >&6; }
7380 if test -z "$ac_cv_prog_NMEDIT"; then
7381 ac_ct_NMEDIT
=$NMEDIT
7382 # Extract the first word of "nmedit", so it can be a program name with args.
7383 set dummy nmedit
; ac_word
=$2
7384 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7385 $as_echo_n "checking for $ac_word... " >&6; }
7386 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7387 $as_echo_n "(cached) " >&6
7389 if test -n "$ac_ct_NMEDIT"; then
7390 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7396 test -z "$as_dir" && as_dir
=.
7397 for ac_exec_ext
in '' $ac_executable_extensions; do
7398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7399 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7400 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7409 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7410 if test -n "$ac_ct_NMEDIT"; then
7411 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7412 $as_echo "$ac_ct_NMEDIT" >&6; }
7414 { $as_echo "$as_me:$LINENO: result: no" >&5
7415 $as_echo "no" >&6; }
7418 if test "x$ac_ct_NMEDIT" = x
; then
7421 case $cross_compiling:$ac_tool_warned in
7423 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7424 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7425 ac_tool_warned
=yes ;;
7427 NMEDIT
=$ac_ct_NMEDIT
7430 NMEDIT
="$ac_cv_prog_NMEDIT"
7434 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7435 $as_echo_n "checking for -single_module linker flag... " >&6; }
7436 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7437 $as_echo_n "(cached) " >&6
7439 lt_cv_apple_cc_single_mod
=no
7440 if test -z "${LT_MULTI_MODULE}"; then
7441 # By default we will add the -single_module flag. You can override
7442 # by either setting the environment variable LT_MULTI_MODULE
7443 # non-empty at configure time, or by adding -multi_module to the
7445 echo "int foo(void){return 1;}" > conftest.c
7446 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7447 -dynamiclib ${wl}-single_module conftest.c
7448 if test -f libconftest.dylib
; then
7449 lt_cv_apple_cc_single_mod
=yes
7450 rm -rf libconftest.dylib
*
7455 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7456 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7457 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7458 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7459 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7460 $as_echo_n "(cached) " >&6
7462 lt_cv_ld_exported_symbols_list
=no
7463 save_LDFLAGS
=$LDFLAGS
7464 echo "_main" > conftest.sym
7465 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7466 cat >conftest.
$ac_ext <<_ACEOF
7469 cat confdefs.h
>>conftest.
$ac_ext
7470 cat >>conftest.
$ac_ext <<_ACEOF
7471 /* end confdefs.h. */
7481 rm -f conftest.
$ac_objext conftest
$ac_exeext
7482 if { (ac_try
="$ac_link"
7484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7485 *) ac_try_echo=$ac_try;;
7487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7488 $as_echo "$ac_try_echo") >&5
7489 (eval "$ac_link") 2>conftest.er1
7491 grep -v '^ *+' conftest.er1 >conftest.err
7493 cat conftest.err >&5
7494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); } && {
7496 test -z "$ac_c_werror_flag" ||
7497 test ! -s conftest.err
7498 } && test -s conftest$ac_exeext && {
7499 test "$cross_compiling" = yes ||
7500 $as_test_x conftest$ac_exeext
7502 lt_cv_ld_exported_symbols_list=yes
7504 $as_echo "$as_me: failed program was:" >&5
7505 sed 's/^/| /' conftest.$ac_ext >&5
7507 lt_cv_ld_exported_symbols_list=no
7510 rm -rf conftest.dSYM
7511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7512 conftest$ac_exeext conftest.$ac_ext
7513 LDFLAGS="$save_LDFLAGS"
7516 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7517 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7519 rhapsody* | darwin1.[0123])
7520 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7522 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7524 # if running on 10.5 or later, the deployment target defaults
7525 # to the OS version, if on x86, and 10.4, the deployment
7526 # target defaults to 10.4. Don't you love it?
7527 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7528 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7529 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7531 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7533 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7537 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7538 _lt_dar_single_mod='$single_module'
7540 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7541 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7543 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
7545 if test "$DSYMUTIL" != ":"; then
7546 _lt_dsymutil="~$DSYMUTIL \$lib || :"
7557 # Check whether --enable-libtool-lock was given.
7558 if test "${enable_libtool_lock+set}" = set; then
7559 enableval=$enable_libtool_lock;
7562 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7565 # Check whether --with-pic was given.
7566 if test "${with_pic+set}" = set; then
7567 withval=$with_pic; pic_mode="$withval"
7572 test -z "$pic_mode" && pic_mode=default
7574 # Use C for the default configuration in the libtool script
7578 ac_cpp='$CPP $CPPFLAGS'
7579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7584 # Source file extension for C test sources.
7587 # Object file extension for compiled C test sources.
7591 # Code to be used in simple compile tests
7592 lt_simple_compile_test_code="int some_variable = 0;"
7594 # Code to be used in simple link tests
7595 lt_simple_link_test_code='int main(){return(0);}'
7598 # If no C compiler was specified, use CC.
7601 # If no C compiler flags were specified, use CFLAGS.
7602 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7604 # Allow CC to be a program name with arguments.
7608 # save warnings/boilerplate of simple test code
7609 ac_outfile=conftest.$ac_objext
7610 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7611 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7612 _lt_compiler_boilerplate=`cat conftest.err
`
7615 ac_outfile=conftest.$ac_objext
7616 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7617 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7618 _lt_linker_boilerplate=`cat conftest.err
`
7623 lt_prog_compiler_no_builtin_flag=
7625 if test "$GCC" = yes; then
7626 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7629 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7630 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7631 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7632 $as_echo_n "(cached) " >&6
7634 lt_cv_prog_compiler_rtti_exceptions=no
7635 ac_outfile=conftest.$ac_objext
7636 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7637 lt_compiler_flag="-fno-rtti -fno-exceptions"
7638 # Insert the option either (1) after the last *FLAGS variable, or
7639 # (2) before a word containing "conftest.", or (3) at the end.
7640 # Note that $ac_compile itself does not contain backslashes and begins
7641 # with a dollar sign (not a hyphen), so the echo should work correctly.
7642 # The option is referenced via a variable to avoid confusing sed.
7643 lt_compile=`echo "$ac_compile" |
$SED \
7644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7646 -e 's:$: $lt_compiler_flag:'`
7647 (eval echo "\"\$as_me:7647: $lt_compile\"" >&5)
7648 (eval "$lt_compile" 2>conftest.err)
7650 cat conftest.err >&5
7651 echo "$as_me:7651: \$? = $ac_status" >&5
7652 if (exit $ac_status) && test -s "$ac_outfile"; then
7653 # The compiler can only warn and ignore the option if not recognized
7654 # So say no if there are warnings other than the usual output.
7655 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7656 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7657 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7658 lt_cv_prog_compiler_rtti_exceptions=yes
7664 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7665 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7667 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7668 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7675 lt_prog_compiler_wl=
7676 lt_prog_compiler_pic=
7677 lt_prog_compiler_static=
7679 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7680 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7682 if test "$GCC" = yes; then
7683 lt_prog_compiler_wl='-Wl,'
7684 lt_prog_compiler_static='-static'
7688 # All AIX code is PIC.
7689 if test "$host_cpu" = ia64; then
7690 # AIX 5 now supports IA64 processor
7691 lt_prog_compiler_static='-Bstatic'
7696 # FIXME: we need at least 68020 code to build shared libraries, but
7697 # adding the `-m68020' flag to GCC prevents building anything better,
7699 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7702 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7703 # PIC is the default for these OSes.
7706 mingw
* | cygwin
* | pw32
* | os2
*)
7707 # This hack is so that the source file can tell whether it is being
7708 # built for inclusion in a dll (and should export symbols for example).
7709 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7710 # (--disable-auto-import) libraries
7711 lt_prog_compiler_pic
='-DDLL_EXPORT'
7714 darwin
* | rhapsody
*)
7715 # PIC is the default on this platform
7716 # Common symbols not allowed in MH_DYLIB files
7717 lt_prog_compiler_pic
='-fno-common'
7721 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7722 # Instead, we relocate shared libraries at runtime.
7726 # Just because we use GCC doesn't mean we suddenly get shared libraries
7727 # on systems that don't support them.
7728 lt_prog_compiler_can_build_shared
=no
7733 if test -d /usr
/nec
; then
7734 lt_prog_compiler_pic
=-Kconform_pic
7739 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7746 lt_prog_compiler_pic
='-fPIC'
7752 lt_prog_compiler_pic
='-fPIC'
7756 # PORTME Check for flag to pass linker flags through the system compiler.
7759 lt_prog_compiler_wl
='-Wl,'
7760 if test "$host_cpu" = ia64
; then
7761 # AIX 5 now supports IA64 processor
7762 lt_prog_compiler_static
='-Bstatic'
7764 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7768 # PIC is the default on this platform
7769 # Common symbols not allowed in MH_DYLIB files
7770 case $cc_basename in
7772 lt_prog_compiler_pic
='-qnocommon'
7773 lt_prog_compiler_wl
='-Wl,'
7778 mingw
* | cygwin
* | pw32
* | os2
*)
7779 # This hack is so that the source file can tell whether it is being
7780 # built for inclusion in a dll (and should export symbols for example).
7781 lt_prog_compiler_pic
='-DDLL_EXPORT'
7784 hpux9
* | hpux10
* | hpux11
*)
7785 lt_prog_compiler_wl
='-Wl,'
7786 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7793 lt_prog_compiler_pic
='+Z'
7796 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7797 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7800 irix5
* | irix6
* | nonstopux
*)
7801 lt_prog_compiler_wl
='-Wl,'
7802 # PIC (with -KPIC) is the default.
7803 lt_prog_compiler_static
='-non_shared'
7807 lt_prog_compiler_pic
='-KPIC'
7808 lt_prog_compiler_static
='-Bstatic'
7811 linux
* | k
*bsd
*-gnu)
7812 case $cc_basename in
7814 lt_prog_compiler_wl
='-Wl,'
7815 lt_prog_compiler_pic
='-KPIC'
7816 lt_prog_compiler_static
='-static'
7818 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7819 # Portland Group compilers (*not* the Pentium gcc compiler,
7820 # which looks to be a dead project)
7821 lt_prog_compiler_wl
='-Wl,'
7822 lt_prog_compiler_pic
='-fpic'
7823 lt_prog_compiler_static
='-Bstatic'
7826 lt_prog_compiler_wl
='-Wl,'
7827 # All Alpha code is PIC.
7828 lt_prog_compiler_static
='-non_shared'
7831 case `$CC -V 2>&1 | sed 5q` in
7834 lt_prog_compiler_pic
='-KPIC'
7835 lt_prog_compiler_static
='-Bstatic'
7836 lt_prog_compiler_wl
='-Wl,'
7839 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7840 lt_prog_compiler_pic
='-KPIC'
7841 lt_prog_compiler_static
='-Bstatic'
7842 lt_prog_compiler_wl
=''
7849 osf3
* | osf4
* | osf5
*)
7850 lt_prog_compiler_wl
='-Wl,'
7851 # All OSF/1 code is PIC.
7852 lt_prog_compiler_static
='-non_shared'
7856 lt_prog_compiler_static
='-non_shared'
7860 lt_prog_compiler_pic
='-KPIC'
7861 lt_prog_compiler_static
='-Bstatic'
7862 case $cc_basename in
7864 lt_prog_compiler_wl
='-Qoption ld ';;
7866 lt_prog_compiler_wl
='-Wl,';;
7871 lt_prog_compiler_wl
='-Qoption ld '
7872 lt_prog_compiler_pic
='-PIC'
7873 lt_prog_compiler_static
='-Bstatic'
7876 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7877 lt_prog_compiler_wl
='-Wl,'
7878 lt_prog_compiler_pic
='-KPIC'
7879 lt_prog_compiler_static
='-Bstatic'
7883 if test -d /usr
/nec
;then
7884 lt_prog_compiler_pic
='-Kconform_pic'
7885 lt_prog_compiler_static
='-Bstatic'
7889 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7890 lt_prog_compiler_wl
='-Wl,'
7891 lt_prog_compiler_pic
='-KPIC'
7892 lt_prog_compiler_static
='-Bstatic'
7896 lt_prog_compiler_wl
='-Wl,'
7897 lt_prog_compiler_can_build_shared
=no
7901 lt_prog_compiler_pic
='-pic'
7902 lt_prog_compiler_static
='-Bstatic'
7906 lt_prog_compiler_can_build_shared
=no
7911 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7912 $as_echo "$lt_prog_compiler_pic" >&6; }
7915 # Check to make sure the PIC flag actually works.
7917 if test -n "$lt_prog_compiler_pic"; then
7919 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7920 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7921 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7922 $as_echo_n "(cached) " >&6
7924 lt_cv_prog_compiler_pic_works
=no
7925 ac_outfile
=conftest.
$ac_objext
7926 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7927 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7928 # Insert the option either (1) after the last *FLAGS variable, or
7929 # (2) before a word containing "conftest.", or (3) at the end.
7930 # Note that $ac_compile itself does not contain backslashes and begins
7931 # with a dollar sign (not a hyphen), so the echo should work correctly.
7932 # The option is referenced via a variable to avoid confusing sed.
7933 lt_compile
=`echo "$ac_compile" | $SED \
7934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7936 -e 's:$: $lt_compiler_flag:'`
7937 (eval echo "\"\$as_me:7937: $lt_compile\"" >&5)
7938 (eval "$lt_compile" 2>conftest.err
)
7940 cat conftest.err
>&5
7941 echo "$as_me:7941: \$? = $ac_status" >&5
7942 if (exit $ac_status) && test -s "$ac_outfile"; then
7943 # The compiler can only warn and ignore the option if not recognized
7944 # So say no if there are warnings other than the usual output.
7945 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7946 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7947 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7948 lt_cv_prog_compiler_pic_works
=yes
7954 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7955 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7957 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
7958 case $lt_prog_compiler_pic in
7960 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7963 lt_prog_compiler_pic
=
7964 lt_prog_compiler_can_build_shared
=no
7969 # For platforms which do not support PIC, -DPIC is meaningless:
7971 lt_prog_compiler_pic
=
7974 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7979 # Check to make sure the static flag actually works.
7981 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7982 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7983 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7984 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7985 $as_echo_n "(cached) " >&6
7987 lt_cv_prog_compiler_static_works
=no
7988 save_LDFLAGS
="$LDFLAGS"
7989 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7990 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7991 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7992 # The linker can only warn and ignore the option if not recognized
7993 # So say no if there are warnings
7994 if test -s conftest.err
; then
7995 # Append any errors to the config.log.
7996 cat conftest.err
1>&5
7997 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7998 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7999 if diff conftest.exp conftest.er2
>/dev
/null
; then
8000 lt_cv_prog_compiler_static_works
=yes
8003 lt_cv_prog_compiler_static_works
=yes
8007 LDFLAGS
="$save_LDFLAGS"
8010 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8011 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8013 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8016 lt_prog_compiler_static
=
8020 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8021 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8022 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8023 $as_echo_n "(cached) " >&6
8025 lt_cv_prog_compiler_c_o
=no
8026 $rm -r conftest
2>/dev
/null
8030 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8032 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8033 # Insert the option either (1) after the last *FLAGS variable, or
8034 # (2) before a word containing "conftest.", or (3) at the end.
8035 # Note that $ac_compile itself does not contain backslashes and begins
8036 # with a dollar sign (not a hyphen), so the echo should work correctly.
8037 lt_compile
=`echo "$ac_compile" | $SED \
8038 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8039 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8040 -e 's:$: $lt_compiler_flag:'`
8041 (eval echo "\"\$as_me:8041: $lt_compile\"" >&5)
8042 (eval "$lt_compile" 2>out
/conftest.err
)
8044 cat out
/conftest.err
>&5
8045 echo "$as_me:8045: \$? = $ac_status" >&5
8046 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8048 # The compiler can only warn and ignore the option if not recognized
8049 # So say no if there are warnings
8050 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8051 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8052 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8053 lt_cv_prog_compiler_c_o
=yes
8058 # SGI C++ compiler will create directory out/ii_files/ for
8059 # template instantiation
8060 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
8061 $rm out
/* && rmdir out
8067 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8068 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8071 hard_links
="nottested"
8072 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8073 # do not overwrite the value of need_locks provided by the user
8074 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8075 $as_echo_n "checking if we can lock with hard links... " >&6; }
8078 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8080 ln conftest.a conftest.b
2>&5 || hard_links
=no
8081 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8082 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8083 $as_echo "$hard_links" >&6; }
8084 if test "$hard_links" = no
; then
8085 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8086 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8093 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8094 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8097 allow_undefined_flag
=
8098 enable_shared_with_static_runtimes
=no
8100 archive_expsym_cmds
=
8101 old_archive_From_new_cmds
=
8102 old_archive_from_expsyms_cmds
=
8103 export_dynamic_flag_spec
=
8104 whole_archive_flag_spec
=
8105 thread_safe_flag_spec
=
8106 hardcode_libdir_flag_spec
=
8107 hardcode_libdir_flag_spec_ld
=
8108 hardcode_libdir_separator
=
8111 hardcode_shlibpath_var
=unsupported
8112 link_all_deplibs
=unknown
8113 hardcode_automatic
=no
8116 always_export_symbols
=no
8117 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8118 # include_expsyms should be a list of space-separated symbols to be *always*
8119 # included in the symbol list
8121 # exclude_expsyms can be an extended regexp of symbols to exclude
8122 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8123 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8124 # as well as any symbol that contains `d'.
8125 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8126 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8127 # platforms (ab)use it in PIC code, but their linkers get confused if
8128 # the symbol is explicitly referenced. Since portable code cannot
8129 # rely on this symbol name, it's probably fine to never include it in
8130 # preloaded symbol tables.
8131 # Exclude shared library initialization/finalization symbols.
8132 extract_expsyms_cmds
=
8133 # Just being paranoid about ensuring that cc_basename is set.
8134 for cc_temp
in $compiler""; do
8136 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8137 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8142 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8145 cygwin
* | mingw
* | pw32
*)
8146 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8147 # When not using gcc, we currently assume that we are using
8148 # Microsoft Visual C++.
8149 if test "$GCC" != yes; then
8154 # we just hope/assume this is gcc and not c89 (= MSVC++)
8163 if test "$with_gnu_ld" = yes; then
8164 # If archive_cmds runs LD, not CC, wlarc should be empty
8167 # Set some defaults for GNU ld with shared library support. These
8168 # are reset later if shared libraries are not supported. Putting them
8169 # here allows them to be overridden if necessary.
8170 runpath_var
=LD_RUN_PATH
8171 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8172 export_dynamic_flag_spec
='${wl}--export-dynamic'
8173 # ancient GNU ld didn't support --whole-archive et. al.
8174 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8175 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8177 whole_archive_flag_spec
=
8179 supports_anon_versioning
=no
8180 case `$LD -v 2>/dev/null` in
8181 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8182 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8183 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8184 *\
2.11.
*) ;; # other 2.11 versions
8185 *) supports_anon_versioning
=yes ;;
8188 # See if GNU ld supports shared libraries.
8191 # On AIX/PPC, the GNU linker is very broken
8192 if test "$host_cpu" != ia64
; then
8196 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8197 *** to be unable to reliably create shared libraries on AIX.
8198 *** Therefore, libtool is disabling shared libraries support. If you
8199 *** really care for shared libraries, you may want to modify your PATH
8200 *** so that a non-GNU linker is found, and then restart.
8207 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)'
8208 hardcode_libdir_flag_spec
='-L$libdir'
8209 hardcode_minus_L
=yes
8211 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8212 # that the semantics of dynamic libraries on AmigaOS, at least up
8213 # to version 4, is to share data among multiple programs linked
8214 # with the same dynamic library. Since this doesn't match the
8215 # behavior of shared libraries on other platforms, we can't use
8221 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8222 allow_undefined_flag
=unsupported
8223 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8224 # support --undefined. This deserves some investigation. FIXME
8225 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8231 cygwin
* | mingw
* | pw32
*)
8232 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8233 # as there is no search path for DLLs.
8234 hardcode_libdir_flag_spec
='-L$libdir'
8235 allow_undefined_flag
=unsupported
8236 always_export_symbols
=no
8237 enable_shared_with_static_runtimes
=yes
8238 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8240 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8241 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8242 # If the export-symbols file already is a .def file (1st line
8243 # is EXPORTS), use it as is; otherwise, prepend...
8244 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8245 cp $export_symbols $output_objdir/$soname.def;
8247 echo EXPORTS > $output_objdir/$soname.def;
8248 cat $export_symbols >> $output_objdir/$soname.def;
8250 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8258 hardcode_shlibpath_var
=no
8259 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8260 export_dynamic_flag_spec
='${wl}-E'
8261 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8262 # Instead, shared libraries are loaded at an image base (0x10000000 by
8263 # default) and relocated if they conflict, which is a slow very memory
8264 # consuming and fragmenting process. To avoid this, we pick a random,
8265 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8266 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8267 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8268 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'
8271 gnu
* | linux
* | k
*bsd
*-gnu)
8272 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8274 case $cc_basename,$host_cpu in
8275 pgcc
*) # Portland Group C compiler
8276 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'
8277 tmp_addflag
=' $pic_flag'
8279 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8280 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'
8281 tmp_addflag
=' $pic_flag -Mnomain' ;;
8282 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8283 tmp_addflag
=' -i_dynamic' ;;
8284 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8285 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8286 ifc
* | ifort
*) # Intel Fortran compiler
8287 tmp_addflag
=' -nofor_main' ;;
8289 case `$CC -V 2>&1 | sed 5q` in
8290 *Sun\ C
*) # Sun C 5.9
8291 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'
8292 tmp_sharedflag
='-G' ;;
8293 *Sun\ F
*) # Sun Fortran 8.3
8294 tmp_sharedflag
='-G' ;;
8296 tmp_sharedflag
='-shared' ;;
8298 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8300 if test $supports_anon_versioning = yes; then
8301 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8302 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8303 $echo "local: *; };" >> $output_objdir/$libname.ver~
8304 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8312 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8313 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8316 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8317 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8322 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8326 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8327 *** create shared libraries on Solaris systems. Therefore, libtool
8328 *** is disabling shared libraries support. We urge you to upgrade GNU
8329 *** binutils to release 2.9.1 or newer. Another option is to modify
8330 *** your PATH or compiler configuration so that the native linker is
8331 *** used, and then restart.
8334 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8335 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8336 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8342 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8343 case `$LD -v 2>&1` in
8344 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8348 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8349 *** reliably create shared libraries on SCO systems. Therefore, libtool
8350 *** is disabling shared libraries support. We urge you to upgrade GNU
8351 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8352 *** your PATH or compiler configuration so that the native linker is
8353 *** used, and then restart.
8358 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8359 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8360 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8361 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8370 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8373 hardcode_shlibpath_var
=no
8377 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8378 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8379 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8386 if test "$ld_shlibs" = no
; then
8388 hardcode_libdir_flag_spec
=
8389 export_dynamic_flag_spec
=
8390 whole_archive_flag_spec
=
8393 # PORTME fill in a description of your system's linker (not GNU ld)
8396 allow_undefined_flag
=unsupported
8397 always_export_symbols
=yes
8398 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'
8399 # Note: this linker hardcodes the directories in LIBPATH if there
8400 # are no directories specified by -L.
8401 hardcode_minus_L
=yes
8402 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8403 # Neither direct hardcoding nor static linking is supported with a
8405 hardcode_direct
=unsupported
8410 if test "$host_cpu" = ia64
; then
8411 # On IA64, the linker does run time linking by default, so we don't
8412 # have to do anything special.
8413 aix_use_runtimelinking
=no
8414 exp_sym_flag
='-Bexport'
8417 # If we're using GNU nm, then we don't want the "-C" option.
8418 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8419 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8420 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'
8422 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'
8424 aix_use_runtimelinking
=no
8426 # Test if we are trying to use run time linking or normal
8427 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8428 # need to do runtime linking.
8429 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8430 for ld_flag
in $LDFLAGS; do
8431 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8432 aix_use_runtimelinking
=yes
8439 exp_sym_flag
='-bexport'
8440 no_entry_flag
='-bnoentry'
8443 # When large executables or shared objects are built, AIX ld can
8444 # have problems creating the table of contents. If linking a library
8445 # or program results in "error TOC overflow" add -mminimal-toc to
8446 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8447 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8451 hardcode_libdir_separator
=':'
8452 link_all_deplibs
=yes
8454 if test "$GCC" = yes; then
8455 case $host_os in aix4.
[012]|aix4.
[012].
*)
8456 # We only want to do this on AIX 4.2 and lower, the check
8457 # below for broken collect2 doesn't work under 4.3+
8458 collect2name
=`${CC} -print-prog-name=collect2`
8459 if test -f "$collect2name" && \
8460 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8462 # We have reworked collect2
8465 # We have old collect2
8466 hardcode_direct
=unsupported
8467 # It fails to find uninstalled libraries when the uninstalled
8468 # path is not listed in the libpath. Setting hardcode_minus_L
8469 # to unsupported forces relinking
8470 hardcode_minus_L
=yes
8471 hardcode_libdir_flag_spec
='-L$libdir'
8472 hardcode_libdir_separator
=
8476 shared_flag
='-shared'
8477 if test "$aix_use_runtimelinking" = yes; then
8478 shared_flag
="$shared_flag "'${wl}-G'
8482 if test "$host_cpu" = ia64
; then
8483 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8484 # chokes on -Wl,-G. The following line is correct:
8487 if test "$aix_use_runtimelinking" = yes; then
8488 shared_flag
='${wl}-G'
8490 shared_flag
='${wl}-bM:SRE'
8495 # It seems that -bexpall does not export symbols beginning with
8496 # underscore (_), so it is better to generate a list of symbols to export.
8497 always_export_symbols
=yes
8498 if test "$aix_use_runtimelinking" = yes; then
8499 # Warning - without using the other runtime loading flags (-brtl),
8500 # -berok will link without error, but may produce a broken library.
8501 allow_undefined_flag
='-berok'
8502 # Determine the default libpath from the value encoded in an empty executable.
8503 cat >conftest.
$ac_ext <<_ACEOF
8506 cat confdefs.h
>>conftest.
$ac_ext
8507 cat >>conftest.
$ac_ext <<_ACEOF
8508 /* end confdefs.h. */
8518 rm -f conftest.
$ac_objext conftest
$ac_exeext
8519 if { (ac_try
="$ac_link"
8521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8522 *) ac_try_echo=$ac_try;;
8524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8525 $as_echo "$ac_try_echo") >&5
8526 (eval "$ac_link") 2>conftest.er1
8528 grep -v '^ *+' conftest.er1 >conftest.err
8530 cat conftest.err >&5
8531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } && {
8533 test -z "$ac_c_werror_flag" ||
8534 test ! -s conftest.err
8535 } && test -s conftest$ac_exeext && {
8536 test "$cross_compiling" = yes ||
8537 $as_test_x conftest$ac_exeext
8540 lt_aix_libpath_sed='
8541 /Import File Strings/,/^$/ {
8547 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8548 # Check for a 64-bit object if we didn't find anything.
8549 if test -z "$aix_libpath"; then
8550 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8553 $as_echo "$as_me: failed program was:" >&5
8554 sed 's/^/| /' conftest.$ac_ext >&5
8559 rm -rf conftest.dSYM
8560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8561 conftest$ac_exeext conftest.$ac_ext
8562 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8564 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8565 archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8567 if test "$host_cpu" = ia64; then
8568 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8569 allow_undefined_flag="-z nodefs"
8570 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"
8572 # Determine the default libpath from the value encoded in an empty executable.
8573 cat >conftest.$ac_ext <<_ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8588 rm -f conftest.$ac_objext conftest$ac_exeext
8589 if { (ac_try="$ac_link"
8591 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8592 *) ac_try_echo
=$ac_try;;
8594 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8595 $as_echo "$ac_try_echo") >&5
8596 (eval "$ac_link") 2>conftest.er1
8598 grep -v '^ *+' conftest.er1
>conftest.err
8600 cat conftest.err
>&5
8601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); } && {
8603 test -z "$ac_c_werror_flag" ||
8604 test ! -s conftest.err
8605 } && test -s conftest
$ac_exeext && {
8606 test "$cross_compiling" = yes ||
8607 $as_test_x conftest
$ac_exeext
8610 lt_aix_libpath_sed
='
8611 /Import File Strings/,/^$/ {
8617 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8618 # Check for a 64-bit object if we didn't find anything.
8619 if test -z "$aix_libpath"; then
8620 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8623 $as_echo "$as_me: failed program was:" >&5
8624 sed 's/^/| /' conftest.
$ac_ext >&5
8629 rm -rf conftest.dSYM
8630 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8631 conftest
$ac_exeext conftest.
$ac_ext
8632 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8634 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8635 # Warning - without using the other run time loading flags,
8636 # -berok will link without error, but may produce a broken library.
8637 no_undefined_flag
=' ${wl}-bernotok'
8638 allow_undefined_flag
=' ${wl}-berok'
8639 # Exported symbols can be pulled into shared objects from archives
8640 whole_archive_flag_spec
='$convenience'
8641 archive_cmds_need_lc
=yes
8642 # This is similar to how AIX traditionally builds its shared libraries.
8643 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'
8649 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)'
8650 hardcode_libdir_flag_spec
='-L$libdir'
8651 hardcode_minus_L
=yes
8652 # see comment about different semantics on the GNU ld section
8657 export_dynamic_flag_spec
=-rdynamic
8660 cygwin
* | mingw
* | pw32
*)
8661 # When not using gcc, we currently assume that we are using
8662 # Microsoft Visual C++.
8663 # hardcode_libdir_flag_spec is actually meaningless, as there is
8664 # no search path for DLLs.
8665 hardcode_libdir_flag_spec
=' '
8666 allow_undefined_flag
=unsupported
8667 # Tell ltmain to make .lib files, not .a files.
8669 # Tell ltmain to make .dll files, not .so files.
8671 # FIXME: Setting linknames here is a bad hack.
8672 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8673 # The linker will automatically build a .lib file if we build a DLL.
8674 old_archive_From_new_cmds
='true'
8675 # FIXME: Should let the user specify the lib program.
8676 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8677 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8678 enable_shared_with_static_runtimes
=yes
8681 darwin
* | rhapsody
*)
8682 allow_undefined_flag
="$_lt_dar_allow_undefined"
8683 archive_cmds_need_lc
=no
8685 hardcode_automatic
=yes
8686 hardcode_shlibpath_var
=unsupported
8687 whole_archive_flag_spec
=''
8688 link_all_deplibs
=yes
8689 if test "$GCC" = yes ; then
8690 output_verbose_link_cmd
='echo'
8691 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8692 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8693 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}"
8694 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}"
8696 case $cc_basename in
8698 output_verbose_link_cmd
='echo'
8699 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8700 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8701 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8702 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8703 module_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8713 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8714 hardcode_libdir_flag_spec
='-L$libdir'
8715 hardcode_shlibpath_var
=no
8722 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8723 # support. Future versions do this automatically, but an explicit c++rt0.o
8724 # does not break anything, and helps significantly (at the cost of a little
8727 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8728 hardcode_libdir_flag_spec
='-R$libdir'
8730 hardcode_shlibpath_var
=no
8733 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8735 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8737 hardcode_minus_L
=yes
8738 hardcode_shlibpath_var
=no
8741 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8742 freebsd
* | dragonfly
*)
8743 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8744 hardcode_libdir_flag_spec
='-R$libdir'
8746 hardcode_shlibpath_var
=no
8750 if test "$GCC" = yes; then
8751 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'
8753 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'
8755 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8756 hardcode_libdir_separator
=:
8759 # hardcode_minus_L: Not really in the search PATH,
8760 # but as the default location of the library.
8761 hardcode_minus_L
=yes
8762 export_dynamic_flag_spec
='${wl}-E'
8766 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8767 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8769 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8771 if test "$with_gnu_ld" = no
; then
8772 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8773 hardcode_libdir_separator
=:
8776 export_dynamic_flag_spec
='${wl}-E'
8778 # hardcode_minus_L: Not really in the search PATH,
8779 # but as the default location of the library.
8780 hardcode_minus_L
=yes
8785 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8788 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8791 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8794 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8800 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8803 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8806 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8810 if test "$with_gnu_ld" = no
; then
8811 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8812 hardcode_libdir_separator
=:
8816 hardcode_libdir_flag_spec_ld
='+b $libdir'
8818 hardcode_shlibpath_var
=no
8822 export_dynamic_flag_spec
='${wl}-E'
8824 # hardcode_minus_L: Not really in the search PATH,
8825 # but as the default location of the library.
8826 hardcode_minus_L
=yes
8832 irix5
* | irix6
* | nonstopux
*)
8833 if test "$GCC" = yes; then
8834 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8836 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8837 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8839 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8840 hardcode_libdir_separator
=:
8841 link_all_deplibs
=yes
8845 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8846 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8848 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8850 hardcode_libdir_flag_spec
='-R$libdir'
8852 hardcode_shlibpath_var
=no
8856 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8858 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8859 hardcode_libdir_separator
=:
8860 hardcode_shlibpath_var
=no
8864 if test -f /usr
/libexec
/ld.so
; then
8866 hardcode_shlibpath_var
=no
8867 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8868 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8869 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8870 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8871 export_dynamic_flag_spec
='${wl}-E'
8874 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8875 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8876 hardcode_libdir_flag_spec
='-R$libdir'
8879 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8880 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8890 hardcode_libdir_flag_spec
='-L$libdir'
8891 hardcode_minus_L
=yes
8892 allow_undefined_flag
=unsupported
8893 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'
8894 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8898 if test "$GCC" = yes; then
8899 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8900 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8902 allow_undefined_flag
=' -expect_unresolved \*'
8903 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8905 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8906 hardcode_libdir_separator
=:
8909 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8910 if test "$GCC" = yes; then
8911 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8912 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8913 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8915 allow_undefined_flag
=' -expect_unresolved \*'
8916 archive_cmds
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
8917 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8918 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
8920 # Both c and cxx compiler support -rpath directly
8921 hardcode_libdir_flag_spec
='-rpath $libdir'
8923 hardcode_libdir_separator
=:
8927 no_undefined_flag
=' -z text'
8928 if test "$GCC" = yes; then
8930 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8931 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8932 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8935 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8936 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8937 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8939 hardcode_libdir_flag_spec
='-R$libdir'
8940 hardcode_shlibpath_var
=no
8942 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8944 # The compiler driver will combine and reorder linker options,
8945 # but understands `-z linker_flag'. GCC discards it without `$wl',
8946 # but is careful enough not to reorder.
8947 # Supported since Solaris 2.6 (maybe 2.5.1?)
8948 if test "$GCC" = yes; then
8949 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8951 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8955 link_all_deplibs
=yes
8959 if test "x$host_vendor" = xsequent
; then
8960 # Use $CC to link under sequent, because it throws in some extra .o
8961 # files that make .init and .fini sections work.
8962 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8964 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8966 hardcode_libdir_flag_spec
='-L$libdir'
8968 hardcode_minus_L
=yes
8969 hardcode_shlibpath_var
=no
8973 case $host_vendor in
8975 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8976 hardcode_direct
=yes # is this really true???
8979 ## LD is ld it makes a PLAMLIB
8980 ## CC just makes a GrossModule.
8981 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8982 reload_cmds
='$CC -r -o $output$reload_objs'
8986 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8987 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8990 runpath_var
='LD_RUN_PATH'
8991 hardcode_shlibpath_var
=no
8995 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8996 hardcode_shlibpath_var
=no
8997 export_dynamic_flag_spec
='-Bexport'
9001 if test -d /usr
/nec
; then
9002 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9003 hardcode_shlibpath_var
=no
9004 runpath_var
=LD_RUN_PATH
9005 hardcode_runpath_var
=yes
9010 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9011 no_undefined_flag
='${wl}-z,text'
9012 archive_cmds_need_lc
=no
9013 hardcode_shlibpath_var
=no
9014 runpath_var
='LD_RUN_PATH'
9016 if test "$GCC" = yes; then
9017 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9018 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9020 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9021 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9025 sysv5
* | sco3.2v5
* | sco5v6
*)
9026 # Note: We can NOT use -z defs as we might desire, because we do not
9027 # link with -lc, and that would cause any symbols used from libc to
9028 # always be unresolved, which means just about no library would
9029 # ever link correctly. If we're not using GNU ld we use -z text
9030 # though, which does catch some bad symbols but isn't as heavy-handed
9032 no_undefined_flag
='${wl}-z,text'
9033 allow_undefined_flag
='${wl}-z,nodefs'
9034 archive_cmds_need_lc
=no
9035 hardcode_shlibpath_var
=no
9036 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
9037 hardcode_libdir_separator
=':'
9038 link_all_deplibs
=yes
9039 export_dynamic_flag_spec
='${wl}-Bexport'
9040 runpath_var
='LD_RUN_PATH'
9042 if test "$GCC" = yes; then
9043 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9044 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9046 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9047 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
9052 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9053 hardcode_libdir_flag_spec
='-L$libdir'
9054 hardcode_shlibpath_var
=no
9063 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9064 $as_echo "$ld_shlibs" >&6; }
9065 test "$ld_shlibs" = no
&& can_build_shared
=no
9068 # Do we need to explicitly link libc?
9070 case "x$archive_cmds_need_lc" in
9072 # Assume -lc should be added
9073 archive_cmds_need_lc
=yes
9075 if test "$enable_shared" = yes && test "$GCC" = yes; then
9076 case $archive_cmds in
9078 # FIXME: we may have to deal with multi-command sequences.
9081 # Test whether the compiler implicitly links with -lc since on some
9082 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9083 # to ld, don't add -lc before -lgcc.
9084 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9085 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9087 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9090 (eval $ac_compile) 2>&5
9092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); } 2>conftest.err
; then
9096 libobjs
=conftest.
$ac_objext
9098 wl
=$lt_prog_compiler_wl
9099 pic_flag
=$lt_prog_compiler_pic
9105 lt_save_allow_undefined_flag
=$allow_undefined_flag
9106 allow_undefined_flag
=
9107 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9108 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 (exit $ac_status); }
9113 archive_cmds_need_lc
=no
9115 archive_cmds_need_lc
=yes
9117 allow_undefined_flag
=$lt_save_allow_undefined_flag
9119 cat conftest.err
1>&5
9122 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9123 $as_echo "$archive_cmds_need_lc" >&6; }
9130 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9131 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9133 libname_spec
='lib$name'
9141 shlibpath_overrides_runpath
=unknown
9143 dynamic_linker
="$host_os ld.so"
9144 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9146 if test "$GCC" = yes; then
9148 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9149 *) lt_awk_arg
="/^libraries:/" ;;
9151 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9152 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9153 # if the path contains ";" then we assume it to be the separator
9154 # otherwise default to the standard path separator (i.e. ":") - it is
9155 # assumed that no part of a normal pathname contains ";" but that should
9156 # okay in the real world where ";" in dirpaths is itself problematic.
9157 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9159 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9161 # Ok, now we have the path, separated by spaces, we can step through it
9162 # and add multilib dir if necessary.
9163 lt_tmp_lt_search_path_spec
=
9164 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9165 for lt_sys_path
in $lt_search_path_spec; do
9166 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9167 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9169 test -d "$lt_sys_path" && \
9170 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9173 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9174 BEGIN {RS=" "; FS="/|\n";} {
9177 for (lt_i = NF; lt_i > 0; lt_i--) {
9178 if ($lt_i != "" && $lt_i != ".") {
9179 if ($lt_i == "..") {
9182 if (lt_count == 0) {
9183 lt_foo="/" $lt_i lt_foo;
9190 if (lt_foo != "") { lt_freq[lt_foo]++; }
9191 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9193 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9195 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9197 need_lib_prefix
=unknown
9198 hardcode_into_libs
=no
9200 # when you set need_version to no, make sure it does not cause -set_version
9201 # flags to be left without arguments
9202 need_version
=unknown
9207 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9208 shlibpath_var
=LIBPATH
9210 # AIX 3 has no versioning support, so we append a major version to the name.
9211 soname_spec
='${libname}${release}${shared_ext}$major'
9218 hardcode_into_libs
=yes
9219 if test "$host_cpu" = ia64
; then
9220 # AIX 5 supports IA64
9221 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9222 shlibpath_var
=LD_LIBRARY_PATH
9224 # With GCC up to 2.95.x, collect2 would create an import file
9225 # for dependence libraries. The import file would start with
9226 # the line `#! .'. This would cause the generated library to
9227 # depend on `.', always an invalid library. This was fixed in
9228 # development snapshots of GCC prior to 3.0.
9230 aix4 | aix4.
[01] | aix4.
[01].
*)
9231 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9233 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9240 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9241 # soname into executable. Probably we can add versioning support to
9242 # collect2, so additional links can be useful in future.
9243 if test "$aix_use_runtimelinking" = yes; then
9244 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9245 # instead of lib<name>.a to let people know that these are not
9246 # typical AIX shared libraries.
9247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9249 # We preserve .a as extension for shared libraries through AIX4.2
9250 # and later when we are not doing run time linking.
9251 library_names_spec
='${libname}${release}.a $libname.a'
9252 soname_spec
='${libname}${release}${shared_ext}$major'
9254 shlibpath_var
=LIBPATH
9259 library_names_spec
='$libname.ixlibrary $libname.a'
9260 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9261 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'
9265 library_names_spec
='${libname}${shared_ext}'
9266 dynamic_linker
="$host_os ld.so"
9267 shlibpath_var
=LIBRARY_PATH
9273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9274 soname_spec
='${libname}${release}${shared_ext}$major'
9275 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9276 shlibpath_var
=LD_LIBRARY_PATH
9277 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9278 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9279 # the default ld.so.conf also contains /usr/contrib/lib and
9280 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9281 # libtool to hard-code these into programs
9284 cygwin
* | mingw
* | pw32
*)
9285 version_type
=windows
9290 case $GCC,$host_os in
9291 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9292 library_names_spec
='$libname.dll.a'
9293 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9294 postinstall_cmds
='base_file=`basename \${file}`~
9295 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9296 dldir=$destdir/`dirname \$dlpath`~
9297 test -d \$dldir || mkdir -p \$dldir~
9298 $install_prog $dir/$dlname \$dldir/$dlname~
9299 chmod a+x \$dldir/$dlname'
9300 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9301 dlpath=$dir/\$dldll~
9303 shlibpath_overrides_runpath
=yes
9307 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9308 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9309 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9312 # MinGW DLLs use traditional 'lib' prefix
9313 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9314 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9315 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9316 # It is most probably a Windows format PATH printed by
9317 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9318 # path with ; separators, and with drive letters. We can handle the
9319 # drive letters (cygwin fileutils understands them), so leave them,
9320 # especially as we might pass files found there to a mingw objdump,
9321 # which wouldn't understand a cygwinified path. Ahh.
9322 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9324 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9328 # pw32 DLLs use 'pw' prefix rather than 'lib'
9329 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9335 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9338 dynamic_linker
='Win32 ld.exe'
9339 # FIXME: first we should search . and the directory the executable is in
9343 darwin
* | rhapsody
*)
9344 dynamic_linker
="$host_os dyld"
9348 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9349 soname_spec
='${libname}${release}${major}$shared_ext'
9350 shlibpath_overrides_runpath
=yes
9351 shlibpath_var
=DYLD_LIBRARY_PATH
9352 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9354 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9355 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9362 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9363 soname_spec
='${libname}${release}${shared_ext}$major'
9364 shlibpath_var
=LD_LIBRARY_PATH
9371 freebsd
* | dragonfly
*)
9372 # DragonFly does not have aout. When/if they implement a new
9373 # versioning mechanism, adjust this.
9374 if test -x /usr
/bin
/objformat
; then
9375 objformat
=`/usr/bin/objformat`
9378 freebsd
[123]*) objformat
=aout
;;
9382 version_type
=freebsd-
$objformat
9383 case $version_type in
9385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9390 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9394 shlibpath_var
=LD_LIBRARY_PATH
9397 shlibpath_overrides_runpath
=yes
9399 freebsd3.
[01]* | freebsdelf3.
[01]*)
9400 shlibpath_overrides_runpath
=yes
9401 hardcode_into_libs
=yes
9403 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9404 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9405 shlibpath_overrides_runpath
=no
9406 hardcode_into_libs
=yes
9408 *) # from 4.6 on, and DragonFly
9409 shlibpath_overrides_runpath
=yes
9410 hardcode_into_libs
=yes
9419 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9420 soname_spec
='${libname}${release}${shared_ext}$major'
9421 shlibpath_var
=LD_LIBRARY_PATH
9422 hardcode_into_libs
=yes
9425 hpux9
* | hpux10
* | hpux11
*)
9426 # Give a soname corresponding to the major version so that dld.sl refuses to
9427 # link against other versions.
9434 hardcode_into_libs
=yes
9435 dynamic_linker
="$host_os dld.so"
9436 shlibpath_var
=LD_LIBRARY_PATH
9437 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9439 soname_spec
='${libname}${release}${shared_ext}$major'
9440 if test "X$HPUX_IA64_MODE" = X32
; then
9441 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9443 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9445 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9449 hardcode_into_libs
=yes
9450 dynamic_linker
="$host_os dld.sl"
9451 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9452 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9453 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9454 soname_spec
='${libname}${release}${shared_ext}$major'
9455 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9456 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9460 dynamic_linker
="$host_os dld.sl"
9461 shlibpath_var
=SHLIB_PATH
9462 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9464 soname_spec
='${libname}${release}${shared_ext}$major'
9467 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9468 postinstall_cmds
='chmod 555 $lib'
9475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9476 soname_spec
='${libname}${release}${shared_ext}$major'
9477 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9478 shlibpath_var
=LD_LIBRARY_PATH
9479 shlibpath_overrides_runpath
=no
9480 hardcode_into_libs
=yes
9483 irix5
* | irix6
* | nonstopux
*)
9485 nonstopux
*) version_type
=nonstopux
;;
9487 if test "$lt_cv_prog_gnu_ld" = yes; then
9495 soname_spec
='${libname}${release}${shared_ext}$major'
9496 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9498 irix5
* | nonstopux
*)
9502 case $LD in # libtool.m4 will add one of these switches to LD
9503 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9504 libsuff
= shlibsuff
= libmagic
=32-bit;;
9505 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9506 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9507 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9508 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9509 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9513 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9514 shlibpath_overrides_runpath
=no
9515 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9516 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9517 hardcode_into_libs
=yes
9520 # No shared lib support for Linux oldld, aout, or coff.
9521 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9525 # This must be Linux ELF.
9526 linux
* | k
*bsd
*-gnu)
9530 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9531 soname_spec
='${libname}${release}${shared_ext}$major'
9532 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9533 shlibpath_var
=LD_LIBRARY_PATH
9534 shlibpath_overrides_runpath
=no
9535 # This implies no fast_install, which is unacceptable.
9536 # Some rework will be needed to allow for fast_install
9537 # before this can be enabled.
9538 hardcode_into_libs
=yes
9540 # Append ld.so.conf contents to the search path
9541 if test -f /etc
/ld.so.conf
; then
9542 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' ' '`
9543 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9546 # We used to test for /lib/ld.so.1 and disable shared libraries on
9547 # powerpc, because MkLinux only supported shared libraries with the
9548 # GNU dynamic linker. Since this was broken with cross compilers,
9549 # most powerpc-linux boxes support dynamic linking these days and
9550 # people can always --disable-shared, the test was removed, and we
9551 # assume the GNU/Linux dynamic linker is in use.
9552 dynamic_linker
='GNU/Linux ld.so'
9559 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9562 dynamic_linker
='NetBSD (a.out) ld.so'
9564 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9565 soname_spec
='${libname}${release}${shared_ext}$major'
9566 dynamic_linker
='NetBSD ld.elf_so'
9568 shlibpath_var
=LD_LIBRARY_PATH
9569 shlibpath_overrides_runpath
=yes
9570 hardcode_into_libs
=yes
9575 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9576 shlibpath_var
=LD_LIBRARY_PATH
9577 shlibpath_overrides_runpath
=yes
9584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9585 soname_spec
='${libname}${release}${shared_ext}$major'
9586 shlibpath_var
=LD_LIBRARY_PATH
9587 shlibpath_overrides_runpath
=yes
9592 sys_lib_dlsearch_path_spec
="/usr/lib"
9594 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9596 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9597 *) need_version
=no
;;
9599 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9600 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9601 shlibpath_var
=LD_LIBRARY_PATH
9602 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9604 openbsd2.
[89] | openbsd2.
[89].
*)
9605 shlibpath_overrides_runpath
=no
9608 shlibpath_overrides_runpath
=yes
9612 shlibpath_overrides_runpath
=yes
9617 libname_spec
='$name'
9620 library_names_spec
='$libname${shared_ext} $libname.a'
9621 dynamic_linker
='OS/2 ld.exe'
9622 shlibpath_var
=LIBPATH
9625 osf3
* | osf4
* | osf5
*)
9629 soname_spec
='${libname}${release}${shared_ext}$major'
9630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9631 shlibpath_var
=LD_LIBRARY_PATH
9632 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9633 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9645 soname_spec
='${libname}${release}${shared_ext}$major'
9646 shlibpath_var
=LD_LIBRARY_PATH
9647 shlibpath_overrides_runpath
=yes
9648 hardcode_into_libs
=yes
9649 # ldd complains unless libraries are executable
9650 postinstall_cmds
='chmod +x $lib'
9655 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9656 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9657 shlibpath_var
=LD_LIBRARY_PATH
9658 shlibpath_overrides_runpath
=yes
9659 if test "$with_gnu_ld" = yes; then
9667 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9668 soname_spec
='${libname}${release}${shared_ext}$major'
9669 shlibpath_var
=LD_LIBRARY_PATH
9670 case $host_vendor in
9672 shlibpath_overrides_runpath
=no
9674 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9675 runpath_var
=LD_RUN_PATH
9683 shlibpath_overrides_runpath
=no
9684 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9690 if test -d /usr
/nec
;then
9692 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9693 soname_spec
='$libname${shared_ext}.$major'
9694 shlibpath_var
=LD_LIBRARY_PATH
9698 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9699 version_type
=freebsd-elf
9702 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9703 soname_spec
='${libname}${release}${shared_ext}$major'
9704 shlibpath_var
=LD_LIBRARY_PATH
9705 hardcode_into_libs
=yes
9706 if test "$with_gnu_ld" = yes; then
9707 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9708 shlibpath_overrides_runpath
=no
9710 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9711 shlibpath_overrides_runpath
=yes
9714 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9718 sys_lib_dlsearch_path_spec
='/usr/lib'
9723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9724 soname_spec
='${libname}${release}${shared_ext}$major'
9725 shlibpath_var
=LD_LIBRARY_PATH
9732 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9733 $as_echo "$dynamic_linker" >&6; }
9734 test "$dynamic_linker" = no
&& can_build_shared
=no
9736 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9737 $as_echo_n "(cached) " >&6
9739 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
9742 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9743 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9744 $as_echo_n "(cached) " >&6
9746 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
9749 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9751 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9752 if test "$GCC" = yes; then
9753 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9756 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9757 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9759 if test -n "$hardcode_libdir_flag_spec" || \
9760 test -n "$runpath_var" || \
9761 test "X$hardcode_automatic" = "Xyes" ; then
9763 # We can hardcode non-existant directories.
9764 if test "$hardcode_direct" != no
&&
9765 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9766 # have to relink, otherwise we might link with an installed library
9767 # when we should be linking with a yet-to-be-installed one
9768 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9769 test "$hardcode_minus_L" != no
; then
9770 # Linking always hardcodes the temporary library directory.
9771 hardcode_action
=relink
9773 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9774 hardcode_action
=immediate
9777 # We cannot hardcode anything, or else we can only hardcode existing
9779 hardcode_action
=unsupported
9781 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9782 $as_echo "$hardcode_action" >&6; }
9784 if test "$hardcode_action" = relink
; then
9785 # Fast installation is not supported
9786 enable_fast_install
=no
9787 elif test "$shlibpath_overrides_runpath" = yes ||
9788 test "$enable_shared" = no
; then
9789 # Fast installation is not necessary
9790 enable_fast_install
=needless
9795 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9796 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9797 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9798 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9799 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9800 { $as_echo "$as_me:$LINENO: result: yes" >&5
9801 $as_echo "yes" >&6; }
9803 # FIXME - insert some real tests, host_os isn't really good enough
9806 if test -n "$STRIP" ; then
9807 striplib
="$STRIP -x"
9808 old_striplib
="$STRIP -S"
9809 { $as_echo "$as_me:$LINENO: result: yes" >&5
9810 $as_echo "yes" >&6; }
9812 { $as_echo "$as_me:$LINENO: result: no" >&5
9813 $as_echo "no" >&6; }
9817 { $as_echo "$as_me:$LINENO: result: no" >&5
9818 $as_echo "no" >&6; }
9823 if test "x$enable_dlopen" != xyes
; then
9824 enable_dlopen
=unknown
9825 enable_dlopen_self
=unknown
9826 enable_dlopen_self_static
=unknown
9833 lt_cv_dlopen
="load_add_on"
9835 lt_cv_dlopen_self
=yes
9839 lt_cv_dlopen
="LoadLibrary"
9844 lt_cv_dlopen
="dlopen"
9849 # if libdl is installed we need to link against it
9850 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9851 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9852 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9853 $as_echo_n "(cached) " >&6
9855 ac_check_lib_save_LIBS
=$LIBS
9857 cat >conftest.
$ac_ext <<_ACEOF
9860 cat confdefs.h
>>conftest.
$ac_ext
9861 cat >>conftest.
$ac_ext <<_ACEOF
9862 /* end confdefs.h. */
9864 /* Override any GCC internal prototype to avoid an error.
9865 Use char because int might match the return type of a GCC
9866 builtin and then its argument prototype would still apply. */
9879 rm -f conftest.
$ac_objext conftest
$ac_exeext
9880 if { (ac_try
="$ac_link"
9882 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9883 *) ac_try_echo=$ac_try;;
9885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9886 $as_echo "$ac_try_echo") >&5
9887 (eval "$ac_link") 2>conftest.er1
9889 grep -v '^ *+' conftest.er1 >conftest.err
9891 cat conftest.err >&5
9892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } && {
9894 test -z "$ac_c_werror_flag" ||
9895 test ! -s conftest.err
9896 } && test -s conftest$ac_exeext && {
9897 test "$cross_compiling" = yes ||
9898 $as_test_x conftest$ac_exeext
9900 ac_cv_lib_dl_dlopen=yes
9902 $as_echo "$as_me: failed program was:" >&5
9903 sed 's/^/| /' conftest.$ac_ext >&5
9905 ac_cv_lib_dl_dlopen=no
9908 rm -rf conftest.dSYM
9909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9910 conftest$ac_exeext conftest.$ac_ext
9911 LIBS=$ac_check_lib_save_LIBS
9913 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9914 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9915 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9916 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9921 lt_cv_dlopen_self=yes
9928 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9929 $as_echo_n "checking for shl_load... " >&6; }
9930 if test "${ac_cv_func_shl_load+set}" = set; then
9931 $as_echo_n "(cached) " >&6
9933 cat >conftest.$ac_ext <<_ACEOF
9936 cat confdefs.h >>conftest.$ac_ext
9937 cat >>conftest.$ac_ext <<_ACEOF
9938 /* end confdefs.h. */
9939 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9941 #define shl_load innocuous_shl_load
9943 /* System header to define __stub macros and hopefully few prototypes,
9944 which can conflict with char shl_load (); below.
9945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9946 <limits.h> exists even on freestanding compilers. */
9949 # include <limits.h>
9951 # include <assert.h>
9956 /* Override any GCC internal prototype to avoid an error.
9957 Use char because int might match the return type of a GCC
9958 builtin and then its argument prototype would still apply. */
9963 /* The GNU C library defines this for functions which it implements
9964 to always fail with ENOSYS. Some functions are actually named
9965 something starting with __ and the normal name is an alias. */
9966 #if defined __stub_shl_load || defined __stub___shl_load
9978 rm -f conftest.$ac_objext conftest$ac_exeext
9979 if { (ac_try="$ac_link"
9981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9982 *) ac_try_echo
=$ac_try;;
9984 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9985 $as_echo "$ac_try_echo") >&5
9986 (eval "$ac_link") 2>conftest.er1
9988 grep -v '^ *+' conftest.er1
>conftest.err
9990 cat conftest.err
>&5
9991 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 (exit $ac_status); } && {
9993 test -z "$ac_c_werror_flag" ||
9994 test ! -s conftest.err
9995 } && test -s conftest
$ac_exeext && {
9996 test "$cross_compiling" = yes ||
9997 $as_test_x conftest
$ac_exeext
9999 ac_cv_func_shl_load
=yes
10001 $as_echo "$as_me: failed program was:" >&5
10002 sed 's/^/| /' conftest.
$ac_ext >&5
10004 ac_cv_func_shl_load
=no
10007 rm -rf conftest.dSYM
10008 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10009 conftest
$ac_exeext conftest.
$ac_ext
10011 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10012 $as_echo "$ac_cv_func_shl_load" >&6; }
10013 if test "x$ac_cv_func_shl_load" = x
""yes; then
10014 lt_cv_dlopen
="shl_load"
10016 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10017 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10018 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10019 $as_echo_n "(cached) " >&6
10021 ac_check_lib_save_LIBS
=$LIBS
10023 cat >conftest.
$ac_ext <<_ACEOF
10026 cat confdefs.h
>>conftest.
$ac_ext
10027 cat >>conftest.
$ac_ext <<_ACEOF
10028 /* end confdefs.h. */
10030 /* Override any GCC internal prototype to avoid an error.
10031 Use char because int might match the return type of a GCC
10032 builtin and then its argument prototype would still apply. */
10040 return shl_load ();
10045 rm -f conftest.
$ac_objext conftest
$ac_exeext
10046 if { (ac_try
="$ac_link"
10047 case "(($ac_try" in
10048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10049 *) ac_try_echo=$ac_try;;
10051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10052 $as_echo "$ac_try_echo") >&5
10053 (eval "$ac_link") 2>conftest.er1
10055 grep -v '^ *+' conftest.er1 >conftest.err
10057 cat conftest.err >&5
10058 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10059 (exit $ac_status); } && {
10060 test -z "$ac_c_werror_flag" ||
10061 test ! -s conftest.err
10062 } && test -s conftest$ac_exeext && {
10063 test "$cross_compiling" = yes ||
10064 $as_test_x conftest$ac_exeext
10066 ac_cv_lib_dld_shl_load=yes
10068 $as_echo "$as_me: failed program was:" >&5
10069 sed 's/^/| /' conftest.$ac_ext >&5
10071 ac_cv_lib_dld_shl_load=no
10074 rm -rf conftest.dSYM
10075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10076 conftest$ac_exeext conftest.$ac_ext
10077 LIBS=$ac_check_lib_save_LIBS
10079 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10080 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10081 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10082 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10084 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10085 $as_echo_n "checking for dlopen... " >&6; }
10086 if test "${ac_cv_func_dlopen+set}" = set; then
10087 $as_echo_n "(cached) " >&6
10089 cat >conftest.$ac_ext <<_ACEOF
10092 cat confdefs.h >>conftest.$ac_ext
10093 cat >>conftest.$ac_ext <<_ACEOF
10094 /* end confdefs.h. */
10095 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10097 #define dlopen innocuous_dlopen
10099 /* System header to define __stub macros and hopefully few prototypes,
10100 which can conflict with char dlopen (); below.
10101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10102 <limits.h> exists even on freestanding compilers. */
10105 # include <limits.h>
10107 # include <assert.h>
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10119 /* The GNU C library defines this for functions which it implements
10120 to always fail with ENOSYS. Some functions are actually named
10121 something starting with __ and the normal name is an alias. */
10122 #if defined __stub_dlopen || defined __stub___dlopen
10134 rm -f conftest.$ac_objext conftest$ac_exeext
10135 if { (ac_try="$ac_link"
10136 case "(($ac_try" in
10137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10138 *) ac_try_echo
=$ac_try;;
10140 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10141 $as_echo "$ac_try_echo") >&5
10142 (eval "$ac_link") 2>conftest.er1
10144 grep -v '^ *+' conftest.er1
>conftest.err
10146 cat conftest.err
>&5
10147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } && {
10149 test -z "$ac_c_werror_flag" ||
10150 test ! -s conftest.err
10151 } && test -s conftest
$ac_exeext && {
10152 test "$cross_compiling" = yes ||
10153 $as_test_x conftest
$ac_exeext
10155 ac_cv_func_dlopen
=yes
10157 $as_echo "$as_me: failed program was:" >&5
10158 sed 's/^/| /' conftest.
$ac_ext >&5
10160 ac_cv_func_dlopen
=no
10163 rm -rf conftest.dSYM
10164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10165 conftest
$ac_exeext conftest.
$ac_ext
10167 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10168 $as_echo "$ac_cv_func_dlopen" >&6; }
10169 if test "x$ac_cv_func_dlopen" = x
""yes; then
10170 lt_cv_dlopen
="dlopen"
10172 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10173 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10174 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10175 $as_echo_n "(cached) " >&6
10177 ac_check_lib_save_LIBS
=$LIBS
10179 cat >conftest.
$ac_ext <<_ACEOF
10182 cat confdefs.h
>>conftest.
$ac_ext
10183 cat >>conftest.
$ac_ext <<_ACEOF
10184 /* end confdefs.h. */
10186 /* Override any GCC internal prototype to avoid an error.
10187 Use char because int might match the return type of a GCC
10188 builtin and then its argument prototype would still apply. */
10201 rm -f conftest.
$ac_objext conftest
$ac_exeext
10202 if { (ac_try
="$ac_link"
10203 case "(($ac_try" in
10204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10205 *) ac_try_echo=$ac_try;;
10207 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10208 $as_echo "$ac_try_echo") >&5
10209 (eval "$ac_link") 2>conftest.er1
10211 grep -v '^ *+' conftest.er1 >conftest.err
10213 cat conftest.err >&5
10214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); } && {
10216 test -z "$ac_c_werror_flag" ||
10217 test ! -s conftest.err
10218 } && test -s conftest$ac_exeext && {
10219 test "$cross_compiling" = yes ||
10220 $as_test_x conftest$ac_exeext
10222 ac_cv_lib_dl_dlopen=yes
10224 $as_echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10227 ac_cv_lib_dl_dlopen=no
10230 rm -rf conftest.dSYM
10231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10232 conftest$ac_exeext conftest.$ac_ext
10233 LIBS=$ac_check_lib_save_LIBS
10235 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10236 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10237 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10238 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10240 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10241 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10242 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10243 $as_echo_n "(cached) " >&6
10245 ac_check_lib_save_LIBS=$LIBS
10246 LIBS="-lsvld $LIBS"
10247 cat >conftest.$ac_ext <<_ACEOF
10250 cat confdefs.h >>conftest.$ac_ext
10251 cat >>conftest.$ac_ext <<_ACEOF
10252 /* end confdefs.h. */
10254 /* Override any GCC internal prototype to avoid an error.
10255 Use char because int might match the return type of a GCC
10256 builtin and then its argument prototype would still apply. */
10269 rm -f conftest.$ac_objext conftest$ac_exeext
10270 if { (ac_try="$ac_link"
10271 case "(($ac_try" in
10272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10273 *) ac_try_echo
=$ac_try;;
10275 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10276 $as_echo "$ac_try_echo") >&5
10277 (eval "$ac_link") 2>conftest.er1
10279 grep -v '^ *+' conftest.er1
>conftest.err
10281 cat conftest.err
>&5
10282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); } && {
10284 test -z "$ac_c_werror_flag" ||
10285 test ! -s conftest.err
10286 } && test -s conftest
$ac_exeext && {
10287 test "$cross_compiling" = yes ||
10288 $as_test_x conftest
$ac_exeext
10290 ac_cv_lib_svld_dlopen
=yes
10292 $as_echo "$as_me: failed program was:" >&5
10293 sed 's/^/| /' conftest.
$ac_ext >&5
10295 ac_cv_lib_svld_dlopen
=no
10298 rm -rf conftest.dSYM
10299 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10300 conftest
$ac_exeext conftest.
$ac_ext
10301 LIBS
=$ac_check_lib_save_LIBS
10303 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10304 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10305 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then
10306 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10308 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10309 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10310 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10311 $as_echo_n "(cached) " >&6
10313 ac_check_lib_save_LIBS
=$LIBS
10315 cat >conftest.
$ac_ext <<_ACEOF
10318 cat confdefs.h
>>conftest.
$ac_ext
10319 cat >>conftest.
$ac_ext <<_ACEOF
10320 /* end confdefs.h. */
10322 /* Override any GCC internal prototype to avoid an error.
10323 Use char because int might match the return type of a GCC
10324 builtin and then its argument prototype would still apply. */
10332 return dld_link ();
10337 rm -f conftest.
$ac_objext conftest
$ac_exeext
10338 if { (ac_try
="$ac_link"
10339 case "(($ac_try" in
10340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10341 *) ac_try_echo=$ac_try;;
10343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10344 $as_echo "$ac_try_echo") >&5
10345 (eval "$ac_link") 2>conftest.er1
10347 grep -v '^ *+' conftest.er1 >conftest.err
10349 cat conftest.err >&5
10350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); } && {
10352 test -z "$ac_c_werror_flag" ||
10353 test ! -s conftest.err
10354 } && test -s conftest$ac_exeext && {
10355 test "$cross_compiling" = yes ||
10356 $as_test_x conftest$ac_exeext
10358 ac_cv_lib_dld_dld_link=yes
10360 $as_echo "$as_me: failed program was:" >&5
10361 sed 's/^/| /' conftest.$ac_ext >&5
10363 ac_cv_lib_dld_dld_link=no
10366 rm -rf conftest.dSYM
10367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10368 conftest$ac_exeext conftest.$ac_ext
10369 LIBS=$ac_check_lib_save_LIBS
10371 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10372 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10373 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10374 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10395 if test "x$lt_cv_dlopen" != xno; then
10401 case $lt_cv_dlopen in
10403 save_CPPFLAGS="$CPPFLAGS"
10404 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10406 save_LDFLAGS="$LDFLAGS"
10407 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10410 LIBS="$lt_cv_dlopen_libs $LIBS"
10412 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10413 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10414 if test "${lt_cv_dlopen_self+set}" = set; then
10415 $as_echo_n "(cached) " >&6
10417 if test "$cross_compiling" = yes; then :
10418 lt_cv_dlopen_self=cross
10420 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10421 lt_status=$lt_dlunknown
10422 cat > conftest.$ac_ext <<EOF
10423 #line 10423 "configure"
10424 #include "confdefs.h"
10433 # define LT_DLGLOBAL RTLD_GLOBAL
10436 # define LT_DLGLOBAL DL_GLOBAL
10438 # define LT_DLGLOBAL 0
10442 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10443 find out it does not work in some platform. */
10444 #ifndef LT_DLLAZY_OR_NOW
10446 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10449 # define LT_DLLAZY_OR_NOW DL_LAZY
10452 # define LT_DLLAZY_OR_NOW RTLD_NOW
10455 # define LT_DLLAZY_OR_NOW DL_NOW
10457 # define LT_DLLAZY_OR_NOW 0
10465 extern "C" void exit (int);
10468 void fnord() { int i=42;}
10471 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10472 int status = $lt_dlunknown;
10476 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10477 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10478 /* dlclose (self); */
10486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10487 (eval $ac_link) 2>&5
10489 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10490 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10491 (./conftest; exit; ) >&5 2>/dev/null
10493 case x$lt_status in
10494 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10495 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10496 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10499 # compilation failed
10500 lt_cv_dlopen_self=no
10507 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10508 $as_echo "$lt_cv_dlopen_self" >&6; }
10510 if test "x$lt_cv_dlopen_self" = xyes; then
10511 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10512 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10513 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10514 if test "${lt_cv_dlopen_self_static+set}" = set; then
10515 $as_echo_n "(cached) " >&6
10517 if test "$cross_compiling" = yes; then :
10518 lt_cv_dlopen_self_static=cross
10520 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10521 lt_status=$lt_dlunknown
10522 cat > conftest.$ac_ext <<EOF
10523 #line 10523 "configure"
10524 #include "confdefs.h"
10533 # define LT_DLGLOBAL RTLD_GLOBAL
10536 # define LT_DLGLOBAL DL_GLOBAL
10538 # define LT_DLGLOBAL 0
10542 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10543 find out it does not work in some platform. */
10544 #ifndef LT_DLLAZY_OR_NOW
10546 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10549 # define LT_DLLAZY_OR_NOW DL_LAZY
10552 # define LT_DLLAZY_OR_NOW RTLD_NOW
10555 # define LT_DLLAZY_OR_NOW DL_NOW
10557 # define LT_DLLAZY_OR_NOW 0
10565 extern "C" void exit (int);
10568 void fnord() { int i=42;}
10571 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10572 int status = $lt_dlunknown;
10576 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10577 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10578 /* dlclose (self); */
10586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10587 (eval $ac_link) 2>&5
10589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10590 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10591 (./conftest; exit; ) >&5 2>/dev/null
10593 case x$lt_status in
10594 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10595 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10596 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10599 # compilation failed
10600 lt_cv_dlopen_self_static=no
10607 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10608 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10611 CPPFLAGS="$save_CPPFLAGS"
10612 LDFLAGS="$save_LDFLAGS"
10617 case $lt_cv_dlopen_self in
10618 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10619 *) enable_dlopen_self=unknown ;;
10622 case $lt_cv_dlopen_self_static in
10623 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10624 *) enable_dlopen_self_static=unknown ;;
10629 # Report which library types will actually be built
10630 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10631 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10632 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10633 $as_echo "$can_build_shared" >&6; }
10635 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10636 $as_echo_n "checking whether to build shared libraries... " >&6; }
10637 test "$can_build_shared" = "no" && enable_shared=no
10639 # On AIX, shared libraries and static libraries use the same namespace, and
10640 # are all built from PIC.
10643 test "$enable_shared" = yes && enable_static=no
10644 if test -n "$RANLIB"; then
10645 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10646 postinstall_cmds='$RANLIB $lib'
10651 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10652 test "$enable_shared" = yes && enable_static=no
10656 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10657 $as_echo "$enable_shared" >&6; }
10659 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10660 $as_echo_n "checking whether to build static libraries... " >&6; }
10661 # Make sure either enable_shared or enable_static is yes.
10662 test "$enable_shared" = yes || enable_static=yes
10663 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10664 $as_echo "$enable_static" >&6; }
10666 # The else clause should only fire when bootstrapping the
10667 # libtool distribution, otherwise you forgot to ship ltmain.sh
10668 # with your package, and you will get complaints that there are
10669 # no rules to generate ltmain.sh.
10670 if test -f "$ltmain"; then
10671 # See if we are running on zsh, and set the options which allow our commands through
10672 # without removal of \ escapes.
10673 if test -n "${ZSH_VERSION+set}" ; then
10674 setopt NO_GLOB_SUBST
10676 # Now quote all the things that may contain metacharacters while being
10677 # careful not to overquote the AC_SUBSTed values. We take copies of the
10678 # variables and quote the copies for generation of the libtool script.
10679 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10681 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10682 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10683 deplibs_check_method reload_flag reload_cmds need_locks \
10684 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10685 lt_cv_sys_global_symbol_to_c_name_address \
10686 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10687 old_postinstall_cmds old_postuninstall_cmds \
10691 lt_prog_compiler_wl \
10692 lt_prog_compiler_pic \
10693 lt_prog_compiler_static \
10694 lt_prog_compiler_no_builtin_flag \
10695 export_dynamic_flag_spec \
10696 thread_safe_flag_spec \
10697 whole_archive_flag_spec \
10698 enable_shared_with_static_runtimes \
10700 old_archive_from_new_cmds \
10705 compiler_lib_search_path \
10706 compiler_lib_search_dirs \
10708 archive_expsym_cmds \
10710 postuninstall_cmds \
10711 old_archive_from_expsyms_cmds \
10712 allow_undefined_flag \
10713 no_undefined_flag \
10714 export_symbols_cmds \
10715 hardcode_libdir_flag_spec \
10716 hardcode_libdir_flag_spec_ld \
10717 hardcode_libdir_separator \
10718 hardcode_automatic \
10720 module_expsym_cmds \
10721 lt_cv_prog_compiler_c_o \
10724 include_expsyms; do
10727 old_archive_cmds | \
10728 old_archive_from_new_cmds | \
10730 archive_expsym_cmds | \
10732 module_expsym_cmds | \
10733 old_archive_from_expsyms_cmds | \
10734 export_symbols_cmds | \
10735 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10736 postinstall_cmds | postuninstall_cmds | \
10737 old_postinstall_cmds | old_postuninstall_cmds | \
10738 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10739 # Double-quote double-evaled strings.
10740 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10743 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10749 *'\$0 --fallback-echo"')
10750 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10754 cfgfile="${ofile}T"
10755 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10757 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
10758 $as_echo "$as_me: creating $ofile" >&6;}
10760 cat <<__EOF__ >> "$cfgfile"
10763 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10764 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10765 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10767 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
10768 # Free Software Foundation, Inc.
10770 # This file is part of GNU Libtool:
10771 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10773 # This program is free software; you can redistribute it and/or modify
10774 # it under the terms of the GNU General Public License as published by
10775 # the Free Software Foundation; either version 2 of the License, or
10776 # (at your option) any later version.
10778 # This program is distributed in the hope that it will be useful, but
10779 # WITHOUT ANY WARRANTY; without even the implied warranty of
10780 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10781 # General Public License for more details.
10783 # You should have received a copy of the GNU General Public License
10784 # along with this program; if not, write to the Free Software
10785 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10787 # As a special exception to the GNU General Public License, if you
10788 # distribute this file as part of a program that contains a
10789 # configuration script generated by Autoconf, you may include it under
10790 # the same distribution terms that you use for the rest of that program.
10792 # A sed program that does not truncate output.
10795 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10796 Xsed="$SED -e 1s/^X//"
10798 # The HP-UX ksh and POSIX shell print the target directory to stdout
10799 # if CDPATH is set.
10800 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10802 # The names of the tagged configurations supported by this script.
10805 # ### BEGIN LIBTOOL CONFIG
10807 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10809 # Shell to use when invoking shell scripts.
10812 # Whether or not to build shared libraries.
10813 build_libtool_libs=$enable_shared
10815 # Whether or not to build static libraries.
10816 build_old_libs=$enable_static
10818 # Whether or not to add -lc for building shared libraries.
10819 build_libtool_need_lc=$archive_cmds_need_lc
10821 # Whether or not to disallow shared libs when runtime libs are static
10822 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10824 # Whether or not to optimize for fast installation.
10825 fast_install=$enable_fast_install
10828 host_alias=$host_alias
10832 # The build system.
10833 build_alias=$build_alias
10837 # An echo program that does not interpret backslashes.
10842 AR_FLAGS=$lt_AR_FLAGS
10847 # LTCC compiler flags.
10848 LTCFLAGS=$lt_LTCFLAGS
10850 # A language-specific compiler.
10853 # Is the compiler the GNU C compiler?
10859 # The linker used to build libraries.
10862 # Whether we need hard or soft links.
10865 # A BSD-compatible nm program.
10868 # A symbol stripping program
10871 # Used to examine libraries when file_magic_cmd begins "file"
10872 MAGIC_CMD=$MAGIC_CMD
10874 # Used on cygwin: DLL creation program.
10877 # Used on cygwin: object dumper.
10880 # Used on cygwin: assembler.
10883 # The name of the directory that contains temporary libtool files.
10886 # How to create reloadable object files.
10887 reload_flag=$lt_reload_flag
10888 reload_cmds=$lt_reload_cmds
10890 # How to pass a linker flag through the compiler.
10891 wl=$lt_lt_prog_compiler_wl
10893 # Object file suffix (normally "o").
10894 objext="$ac_objext"
10896 # Old archive suffix (normally "a").
10899 # Shared library suffix (normally ".so").
10900 shrext_cmds='$shrext_cmds'
10902 # Executable file suffix (normally "").
10905 # Additional compiler flags for building library objects.
10906 pic_flag=$lt_lt_prog_compiler_pic
10909 # What is the maximum length of a command?
10910 max_cmd_len=$lt_cv_sys_max_cmd_len
10912 # Does compiler simultaneously support -c and -o options?
10913 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10915 # Must we lock files when doing compilation?
10916 need_locks=$lt_need_locks
10918 # Do we need the lib prefix for modules?
10919 need_lib_prefix=$need_lib_prefix
10921 # Do we need a version for libraries?
10922 need_version=$need_version
10924 # Whether dlopen is supported.
10925 dlopen_support=$enable_dlopen
10927 # Whether dlopen of programs is supported.
10928 dlopen_self=$enable_dlopen_self
10930 # Whether dlopen of statically linked programs is supported.
10931 dlopen_self_static=$enable_dlopen_self_static
10933 # Compiler flag to prevent dynamic linking.
10934 link_static_flag=$lt_lt_prog_compiler_static
10936 # Compiler flag to turn off builtin functions.
10937 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10939 # Compiler flag to allow reflexive dlopens.
10940 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10942 # Compiler flag to generate shared objects directly from archives.
10943 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10945 # Compiler flag to generate thread-safe objects.
10946 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10948 # Library versioning type.
10949 version_type=$version_type
10951 # Format of library name prefix.
10952 libname_spec=$lt_libname_spec
10954 # List of archive names. First name is the real one, the rest are links.
10955 # The last name is the one that the linker finds with -lNAME.
10956 library_names_spec=$lt_library_names_spec
10958 # The coded name of the library, if different from the real name.
10959 soname_spec=$lt_soname_spec
10961 # Commands used to build and install an old-style archive.
10963 old_archive_cmds=$lt_old_archive_cmds
10964 old_postinstall_cmds=$lt_old_postinstall_cmds
10965 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10967 # Create an old-style archive from a shared archive.
10968 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10970 # Create a temporary old-style archive to link instead of a shared archive.
10971 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10973 # Commands used to build and install a shared archive.
10974 archive_cmds=$lt_archive_cmds
10975 archive_expsym_cmds=$lt_archive_expsym_cmds
10976 postinstall_cmds=$lt_postinstall_cmds
10977 postuninstall_cmds=$lt_postuninstall_cmds
10979 # Commands used to build a loadable module (assumed same as above if empty)
10980 module_cmds=$lt_module_cmds
10981 module_expsym_cmds=$lt_module_expsym_cmds
10983 # Commands to strip libraries.
10984 old_striplib=$lt_old_striplib
10985 striplib=$lt_striplib
10987 # Dependencies to place before the objects being linked to create a
10989 predep_objects=$lt_predep_objects
10991 # Dependencies to place after the objects being linked to create a
10993 postdep_objects=$lt_postdep_objects
10995 # Dependencies to place before the objects being linked to create a
10997 predeps=$lt_predeps
10999 # Dependencies to place after the objects being linked to create a
11001 postdeps=$lt_postdeps
11003 # The directories searched by this compiler when creating a shared
11005 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
11007 # The library search path used internally by the compiler when linking
11008 # a shared library.
11009 compiler_lib_search_path=$lt_compiler_lib_search_path
11011 # Method to check whether dependent libraries are shared objects.
11012 deplibs_check_method=$lt_deplibs_check_method
11014 # Command to use when deplibs_check_method == file_magic.
11015 file_magic_cmd=$lt_file_magic_cmd
11017 # Flag that allows shared libraries with undefined symbols to be built.
11018 allow_undefined_flag=$lt_allow_undefined_flag
11020 # Flag that forces no undefined symbols.
11021 no_undefined_flag=$lt_no_undefined_flag
11023 # Commands used to finish a libtool library installation in a directory.
11024 finish_cmds=$lt_finish_cmds
11026 # Same as above, but a single script fragment to be evaled but not shown.
11027 finish_eval=$lt_finish_eval
11029 # Take the output of nm and produce a listing of raw symbols and C names.
11030 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
11032 # Transform the output of nm in a proper C declaration
11033 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
11035 # Transform the output of nm in a C name address pair
11036 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
11038 # This is the shared library runtime path variable.
11039 runpath_var=$runpath_var
11041 # This is the shared library path variable.
11042 shlibpath_var=$shlibpath_var
11044 # Is shlibpath searched before the hard-coded library search path?
11045 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
11047 # How to hardcode a shared library path into an executable.
11048 hardcode_action=$hardcode_action
11050 # Whether we should hardcode library paths into libraries.
11051 hardcode_into_libs=$hardcode_into_libs
11053 # Flag to hardcode \$libdir into a binary during linking.
11054 # This must work even if \$libdir does not exist.
11055 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
11057 # If ld is used when linking, flag to hardcode \$libdir into
11058 # a binary during linking. This must work even if \$libdir does
11060 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
11062 # Whether we need a single -rpath flag with a separated argument.
11063 hardcode_libdir_separator=$lt_hardcode_libdir_separator
11065 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
11066 # resulting binary.
11067 hardcode_direct=$hardcode_direct
11069 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
11070 # resulting binary.
11071 hardcode_minus_L=$hardcode_minus_L
11073 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
11074 # the resulting binary.
11075 hardcode_shlibpath_var=$hardcode_shlibpath_var
11077 # Set to yes if building a shared library automatically hardcodes DIR into the library
11078 # and all subsequent libraries and executables linked against it.
11079 hardcode_automatic=$hardcode_automatic
11081 # Variables whose values should be saved in libtool wrapper scripts and
11082 # restored at relink time.
11083 variables_saved_for_relink="$variables_saved_for_relink"
11085 # Whether libtool must link a program against all its dependency libraries.
11086 link_all_deplibs=$link_all_deplibs
11088 # Compile-time system search path for libraries
11089 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11091 # Run-time system search path for libraries
11092 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11094 # Fix the shell variable \$srcfile for the compiler.
11095 fix_srcfile_path=$lt_fix_srcfile_path
11097 # Set to yes if exported symbols are required.
11098 always_export_symbols=$always_export_symbols
11100 # The commands to list exported symbols.
11101 export_symbols_cmds=$lt_export_symbols_cmds
11103 # The commands to extract the exported symbol list from a shared archive.
11104 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11106 # Symbols that should not be listed in the preloaded symbols.
11107 exclude_expsyms=$lt_exclude_expsyms
11109 # Symbols that must always be exported.
11110 include_expsyms=$lt_include_expsyms
11112 # ### END LIBTOOL CONFIG
11119 cat <<\EOF >> "$cfgfile"
11121 # AIX sometimes has problems with the GCC collect2 program. For some
11122 # reason, if we set the COLLECT_NAMES environment variable, the problems
11123 # vanish in a puff of smoke.
11124 if test "X${COLLECT_NAMES+set}" != Xset; then
11126 export COLLECT_NAMES
11132 # We use sed instead of cat because bash on DJGPP gets confused if
11133 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11134 # text mode, it properly converts lines to CR/LF. This bash problem
11135 # is reportedly fixed, but why not run on old versions too?
11136 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11138 mv -f "$cfgfile" "$ofile" || \
11139 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11143 # If there is no Makefile yet, we rely on a make rule to execute
11144 # `config.status
--recheck' to rerun these tests and create the
11145 # libtool script then.
11146 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11147 if test -f "$ltmain_in"; then
11148 test -f Makefile && make "$ltmain"
11154 ac_cpp='$CPP $CPPFLAGS'
11155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11156 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11162 # Check whether --with-tags was given.
11163 if test "${with_tags+set}" = set; then
11164 withval=$with_tags; tagnames="$withval"
11168 if test -f "$ltmain" && test -n "$tagnames"; then
11169 if test ! -f "${ofile}"; then
11170 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11171 $as_echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11174 if test -z "$LTCC"; then
11175 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11176 if test -z "$LTCC"; then
11177 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11178 $as_echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11180 { $as_echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11181 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11184 if test -z "$LTCFLAGS"; then
11185 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11188 # Extract list of available tagged configurations in $ofile.
11189 # Note that this assumes the entire list is on one line.
11190 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11192 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11193 for tagname in $tagnames; do
11195 # Check whether tagname contains only valid characters
11196 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11198 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11199 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
11200 { (exit 1); exit 1; }; }
11204 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11206 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11207 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11208 { (exit 1); exit 1; }; }
11211 # Update the list of available tags.
11212 if test -n "$tagname"; then
11213 echo appending configuration tag \"$tagname\" to $ofile
11217 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11218 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11219 (test "X$CXX" != "Xg++"))) ; then
11221 ac_cpp='$CXXCPP $CPPFLAGS'
11222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11229 archive_cmds_need_lc_CXX=no
11230 allow_undefined_flag_CXX=
11231 always_export_symbols_CXX=no
11232 archive_expsym_cmds_CXX=
11233 export_dynamic_flag_spec_CXX=
11234 hardcode_direct_CXX=no
11235 hardcode_libdir_flag_spec_CXX=
11236 hardcode_libdir_flag_spec_ld_CXX=
11237 hardcode_libdir_separator_CXX=
11238 hardcode_minus_L_CXX=no
11239 hardcode_shlibpath_var_CXX=unsupported
11240 hardcode_automatic_CXX=no
11242 module_expsym_cmds_CXX=
11243 link_all_deplibs_CXX=unknown
11244 old_archive_cmds_CXX=$old_archive_cmds
11245 no_undefined_flag_CXX=
11246 whole_archive_flag_spec_CXX=
11247 enable_shared_with_static_runtimes_CXX=no
11249 # Dependencies to place before and after the object being linked:
11250 predep_objects_CXX=
11251 postdep_objects_CXX=
11254 compiler_lib_search_path_CXX=
11255 compiler_lib_search_dirs_CXX=
11257 # Source file extension for C++ test sources.
11260 # Object file extension for compiled C++ test sources.
11264 # Code to be used in simple compile tests
11265 lt_simple_compile_test_code="int some_variable = 0;"
11267 # Code to be used in simple link tests
11268 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11270 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11272 # If no C compiler was specified, use CC.
11275 # If no C compiler flags were specified, use CFLAGS.
11276 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11278 # Allow CC to be a program name with arguments.
11282 # save warnings/boilerplate of simple test code
11283 ac_outfile=conftest.$ac_objext
11284 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11285 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11286 _lt_compiler_boilerplate=`cat conftest.err
`
11289 ac_outfile=conftest.$ac_objext
11290 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11291 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11292 _lt_linker_boilerplate=`cat conftest.err
`
11296 # Allow CC to be a program name with arguments.
11301 lt_save_with_gnu_ld=$with_gnu_ld
11302 lt_save_path_LD=$lt_cv_path_LD
11303 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11304 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11306 $as_unset lt_cv_prog_gnu_ld
11308 if test -n "${lt_cv_path_LDCXX+set}"; then
11309 lt_cv_path_LD=$lt_cv_path_LDCXX
11311 $as_unset lt_cv_path_LD
11313 test -z "${LDCXX+set}" || LD=$LDCXX
11317 for cc_temp in $compiler""; do
11319 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11320 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11325 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11328 # We don't want -fno-exception wen compiling C++ code, so set the
11329 # no_builtin_flag separately
11330 if test "$GXX" = yes; then
11331 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11333 lt_prog_compiler_no_builtin_flag_CXX=
11336 if test "$GXX" = yes; then
11337 # Set up default GNU C++ configuration
11340 # Check whether --with-gnu-ld was given.
11341 if test "${with_gnu_ld+set}" = set; then
11342 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11348 if test "$GCC" = yes; then
11349 # Check if gcc -print-prog-name=ld gives a path.
11350 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11351 $as_echo_n "checking for ld used by $CC... " >&6; }
11354 # gcc leaves a trailing carriage return which upsets mingw
11355 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11357 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11360 # Accept absolute paths.
11362 re_direlt='/[^/][^/]*/\.\./'
11363 # Canonicalize the pathname of ld
11364 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11365 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11366 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11368 test -z "$LD" && LD="$ac_prog"
11371 # If it fails, then pretend we aren't using GCC.
11375 # If it is relative, then search for the first ld in PATH.
11376 with_gnu_ld=unknown
11379 elif test "$with_gnu_ld" = yes; then
11380 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11381 $as_echo_n "checking for GNU ld... " >&6; }
11383 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11384 $as_echo_n "checking for non-GNU ld... " >&6; }
11386 if test "${lt_cv_path_LD+set}" = set; then
11387 $as_echo_n "(cached) " >&6
11389 if test -z "$LD"; then
11390 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11391 for ac_dir in $PATH; do
11393 test -z "$ac_dir" && ac_dir=.
11394 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11395 lt_cv_path_LD="$ac_dir/$ac_prog"
11396 # Check to see if the program is GNU ld. I'd rather use --version,
11397 # but apparently some variants of GNU ld only accept -v.
11398 # Break only if it was the GNU/non-GNU ld that we prefer.
11399 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11400 *GNU* | *'with BFD'*)
11401 test "$with_gnu_ld" != no && break
11404 test "$with_gnu_ld" != yes && break
11411 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11415 LD="$lt_cv_path_LD"
11416 if test -n "$LD"; then
11417 { $as_echo "$as_me:$LINENO: result: $LD" >&5
11418 $as_echo "$LD" >&6; }
11420 { $as_echo "$as_me:$LINENO: result: no" >&5
11421 $as_echo "no" >&6; }
11423 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11424 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11425 { (exit 1); exit 1; }; }
11426 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11427 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11428 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11429 $as_echo_n "(cached) " >&6
11431 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11432 case `$LD -v 2>&1 </dev
/null
` in
11433 *GNU* | *'with BFD'*)
11434 lt_cv_prog_gnu_ld=yes
11437 lt_cv_prog_gnu_ld=no
11441 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11442 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11443 with_gnu_ld=$lt_cv_prog_gnu_ld
11447 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11448 # archiving commands below assume that GNU ld is being used.
11449 if test "$with_gnu_ld" = yes; then
11450 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11451 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'
11453 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11454 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11456 # If archive_cmds runs LD, not CC, wlarc should be empty
11457 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11458 # investigate it a little bit more. (MM)
11461 # ancient GNU ld didn't support --whole-archive et. al.
11462 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11463 grep 'no-whole-archive' > /dev/null; then
11464 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11466 whole_archive_flag_spec_CXX=
11472 # A generic and very simple default shared library creation
11473 # command for GNU C++ for the case where it uses the native
11474 # linker, instead of GNU ld. If possible, this setting should
11475 # overridden to take advantage of the native linker features on
11476 # the platform it is being used on.
11477 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11480 # Commands to make compiler produce verbose output that lists
11481 # what "hidden" libraries, object files and flags are used when
11482 # linking a shared library.
11483 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11491 # PORTME: fill in a description of your system's C++ link characteristics
11492 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11493 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11497 # FIXME: insert proper C++ library support
11501 if test "$host_cpu" = ia64; then
11502 # On IA64, the linker does run time linking by default, so we don't
11503 # have to do anything special.
11504 aix_use_runtimelinking=no
11505 exp_sym_flag='-Bexport'
11508 aix_use_runtimelinking=no
11510 # Test if we are trying to use run time linking or normal
11511 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11512 # need to do runtime linking.
11513 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11514 for ld_flag in $LDFLAGS; do
11517 aix_use_runtimelinking=yes
11525 exp_sym_flag='-bexport'
11526 no_entry_flag='-bnoentry'
11529 # When large executables or shared objects are built, AIX ld can
11530 # have problems creating the table of contents. If linking a library
11531 # or program results in "error TOC overflow" add -mminimal-toc to
11532 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11533 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11535 archive_cmds_CXX=''
11536 hardcode_direct_CXX=yes
11537 hardcode_libdir_separator_CXX=':'
11538 link_all_deplibs_CXX=yes
11540 if test "$GXX" = yes; then
11541 case $host_os in aix4.[012]|aix4.[012].*)
11542 # We only want to do this on AIX 4.2 and lower, the check
11543 # below for broken collect2 doesn't work under 4.3+
11544 collect2name=`${CC} -print-prog-name=collect2
`
11545 if test -f "$collect2name" && \
11546 strings "$collect2name" | grep resolve_lib_name >/dev/null
11548 # We have reworked collect2
11551 # We have old collect2
11552 hardcode_direct_CXX=unsupported
11553 # It fails to find uninstalled libraries when the uninstalled
11554 # path is not listed in the libpath. Setting hardcode_minus_L
11555 # to unsupported forces relinking
11556 hardcode_minus_L_CXX=yes
11557 hardcode_libdir_flag_spec_CXX='-L$libdir'
11558 hardcode_libdir_separator_CXX=
11562 shared_flag='-shared'
11563 if test "$aix_use_runtimelinking" = yes; then
11564 shared_flag="$shared_flag "'${wl}-G'
11568 if test "$host_cpu" = ia64; then
11569 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11570 # chokes on -Wl,-G. The following line is correct:
11573 if test "$aix_use_runtimelinking" = yes; then
11574 shared_flag='${wl}-G'
11576 shared_flag='${wl}-bM:SRE'
11581 # It seems that -bexpall does not export symbols beginning with
11582 # underscore (_), so it is better to generate a list of symbols to export.
11583 always_export_symbols_CXX=yes
11584 if test "$aix_use_runtimelinking" = yes; then
11585 # Warning - without using the other runtime loading flags (-brtl),
11586 # -berok will link without error, but may produce a broken library.
11587 allow_undefined_flag_CXX='-berok'
11588 # Determine the default libpath from the value encoded in an empty executable.
11589 cat >conftest.$ac_ext <<_ACEOF
11592 cat confdefs.h >>conftest.$ac_ext
11593 cat >>conftest.$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11604 rm -f conftest.$ac_objext conftest$ac_exeext
11605 if { (ac_try="$ac_link"
11606 case "(($ac_try" in
11607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11608 *) ac_try_echo
=$ac_try;;
11610 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11611 $as_echo "$ac_try_echo") >&5
11612 (eval "$ac_link") 2>conftest.er1
11614 grep -v '^ *+' conftest.er1
>conftest.err
11616 cat conftest.err
>&5
11617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } && {
11619 test -z "$ac_cxx_werror_flag" ||
11620 test ! -s conftest.err
11621 } && test -s conftest
$ac_exeext && {
11622 test "$cross_compiling" = yes ||
11623 $as_test_x conftest
$ac_exeext
11626 lt_aix_libpath_sed
='
11627 /Import File Strings/,/^$/ {
11633 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11634 # Check for a 64-bit object if we didn't find anything.
11635 if test -z "$aix_libpath"; then
11636 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11639 $as_echo "$as_me: failed program was:" >&5
11640 sed 's/^/| /' conftest.
$ac_ext >&5
11645 rm -rf conftest.dSYM
11646 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11647 conftest
$ac_exeext conftest.
$ac_ext
11648 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11650 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11652 archive_expsym_cmds_CXX
="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11654 if test "$host_cpu" = ia64
; then
11655 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11656 allow_undefined_flag_CXX
="-z nodefs"
11657 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"
11659 # Determine the default libpath from the value encoded in an empty executable.
11660 cat >conftest.
$ac_ext <<_ACEOF
11663 cat confdefs.h
>>conftest.
$ac_ext
11664 cat >>conftest.
$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11675 rm -f conftest.
$ac_objext conftest
$ac_exeext
11676 if { (ac_try
="$ac_link"
11677 case "(($ac_try" in
11678 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11679 *) ac_try_echo=$ac_try;;
11681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11682 $as_echo "$ac_try_echo") >&5
11683 (eval "$ac_link") 2>conftest.er1
11685 grep -v '^ *+' conftest.er1 >conftest.err
11687 cat conftest.err >&5
11688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11689 (exit $ac_status); } && {
11690 test -z "$ac_cxx_werror_flag" ||
11691 test ! -s conftest.err
11692 } && test -s conftest$ac_exeext && {
11693 test "$cross_compiling" = yes ||
11694 $as_test_x conftest$ac_exeext
11697 lt_aix_libpath_sed='
11698 /Import File Strings/,/^$/ {
11704 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11705 # Check for a 64-bit object if we didn't find anything.
11706 if test -z "$aix_libpath"; then
11707 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11710 $as_echo "$as_me: failed program was:" >&5
11711 sed 's/^/| /' conftest.$ac_ext >&5
11716 rm -rf conftest.dSYM
11717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11718 conftest$ac_exeext conftest.$ac_ext
11719 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11721 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11722 # Warning - without using the other run time loading flags,
11723 # -berok will link without error, but may produce a broken library.
11724 no_undefined_flag_CXX=' ${wl}-bernotok'
11725 allow_undefined_flag_CXX=' ${wl}-berok'
11726 # Exported symbols can be pulled into shared objects from archives
11727 whole_archive_flag_spec_CXX='$convenience'
11728 archive_cmds_need_lc_CXX=yes
11729 # This is similar to how AIX traditionally builds its shared libraries.
11730 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'
11736 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11737 allow_undefined_flag_CXX=unsupported
11738 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11739 # support --undefined. This deserves some investigation. FIXME
11740 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11747 case $cc_basename in
11749 # FIXME: insert proper C++ library support
11755 cygwin* | mingw* | pw32*)
11756 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11757 # as there is no search path for DLLs.
11758 hardcode_libdir_flag_spec_CXX='-L$libdir'
11759 allow_undefined_flag_CXX=unsupported
11760 always_export_symbols_CXX=no
11761 enable_shared_with_static_runtimes_CXX=yes
11763 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11764 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'
11765 # If the export-symbols file already is a .def file (1st line
11766 # is EXPORTS), use it as is; otherwise, prepend...
11767 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11768 cp $export_symbols $output_objdir/$soname.def;
11770 echo EXPORTS > $output_objdir/$soname.def;
11771 cat $export_symbols >> $output_objdir/$soname.def;
11773 $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'
11778 darwin* | rhapsody*)
11779 archive_cmds_need_lc_CXX=no
11780 hardcode_direct_CXX=no
11781 hardcode_automatic_CXX=yes
11782 hardcode_shlibpath_var_CXX=unsupported
11783 whole_archive_flag_spec_CXX=''
11784 link_all_deplibs_CXX=yes
11785 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
11786 if test "$GXX" = yes ; then
11787 output_verbose_link_cmd='echo'
11788 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}"
11789 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11790 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}"
11791 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}"
11792 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
11793 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}"
11794 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}"
11797 case $cc_basename in
11799 output_verbose_link_cmd='echo'
11800 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11801 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11802 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11803 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11804 module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11814 case $cc_basename in
11816 # FIXME: insert proper C++ library support
11820 # Green Hills C++ Compiler
11821 # FIXME: insert proper C++ library support
11825 # FIXME: insert proper C++ library support
11831 # C++ shared libraries reported to be fairly broken before switch to ELF
11835 archive_cmds_need_lc_CXX=no
11837 freebsd* | dragonfly*)
11838 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11845 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11846 hardcode_libdir_separator_CXX=:
11847 export_dynamic_flag_spec_CXX='${wl}-E'
11848 hardcode_direct_CXX=yes
11849 hardcode_minus_L_CXX=yes # Not in the search PATH,
11850 # but as the default
11851 # location of the library.
11853 case $cc_basename in
11855 # FIXME: insert proper C++ library support
11859 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'
11860 # Commands to make compiler produce verbose output that lists
11861 # what "hidden" libraries, object files and flags are used when
11862 # linking a shared library.
11864 # There doesn't appear to be a way to prevent this compiler from
11865 # explicitly linking system object files so we need to strip them
11866 # from the output so that they don't get included in the library
11868 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11871 if test "$GXX" = yes; then
11872 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'
11874 # FIXME: insert proper C++ library support
11881 if test $with_gnu_ld = no; then
11882 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11883 hardcode_libdir_separator_CXX=:
11888 export_dynamic_flag_spec_CXX='${wl}-E'
11894 hardcode_direct_CXX=no
11895 hardcode_shlibpath_var_CXX=no
11898 hardcode_direct_CXX=yes
11899 hardcode_minus_L_CXX=yes # Not in the search PATH,
11900 # but as the default
11901 # location of the library.
11905 case $cc_basename in
11907 # FIXME: insert proper C++ library support
11913 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11916 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11919 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11922 # Commands to make compiler produce verbose output that lists
11923 # what "hidden" libraries, object files and flags are used when
11924 # linking a shared library.
11926 # There doesn't appear to be a way to prevent this compiler from
11927 # explicitly linking system object files so we need to strip them
11928 # from the output so that they don't get included in the library
11930 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.
$objext 2>&1) |
grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11933 if test "$GXX" = yes; then
11934 if test $with_gnu_ld = no; then
11937 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11940 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11943 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'
11948 # FIXME: insert proper C++ library support
11955 hardcode_direct_CXX=no
11956 hardcode_shlibpath_var_CXX=no
11957 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11958 export_dynamic_flag_spec_CXX='${wl}-E'
11959 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11960 # Instead, shared libraries are loaded at an image base (0x10000000 by
11961 # default) and relocated if they conflict, which is a slow very memory
11962 # consuming and fragmenting process. To avoid this, we pick a random,
11963 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11964 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11965 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'
11966 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'
11969 case $cc_basename in
11972 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
11974 # Archives containing C++ object files must be created using
11975 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11976 # necessary to make sure instantiated templates are included
11978 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11981 if test "$GXX" = yes; then
11982 if test "$with_gnu_ld" = no; then
11983 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11985 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
11988 link_all_deplibs_CXX=yes
11991 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11992 hardcode_libdir_separator_CXX=:
11994 linux* | k*bsd*-gnu)
11995 case $cc_basename in
11997 # Kuck and Associates, Inc. (KAI) C++ Compiler
11999 # KCC will only create a shared library if the output file
12000 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12001 # to its proper name (with version) after linking.
12002 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'
12003 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'
12004 # Commands to make compiler produce verbose output that lists
12005 # what "hidden" libraries, object files and flags are used when
12006 # linking a shared library.
12008 # There doesn't appear to be a way to prevent this compiler from
12009 # explicitly linking system object files so we need to strip them
12010 # from the output so that they don't get included in the library
12012 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12014 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
12015 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12017 # Archives containing C++ object files must be created using
12018 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12019 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12024 # version 8.0 and above of icpc choke on multiply defined symbols
12025 # if we add $predep_objects and $postdep_objects, however 7.1 and
12026 # earlier do not add the objects themselves.
12027 case `$CC -V 2>&1` in
12029 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12030 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'
12032 *) # Version 8.0 or newer
12035 ia64
*) tmp_idyn
=' -i_dynamic';;
12037 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12038 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'
12041 archive_cmds_need_lc_CXX
=no
12042 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12043 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12044 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12047 # Portland Group C++ compiler
12048 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12049 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'
12051 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
12052 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12053 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'
12057 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12058 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'
12060 runpath_var
=LD_RUN_PATH
12061 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12062 hardcode_libdir_separator_CXX
=:
12064 # Commands to make compiler produce verbose output that lists
12065 # what "hidden" libraries, object files and flags are used when
12066 # linking a shared library.
12068 # There doesn't appear to be a way to prevent this compiler from
12069 # explicitly linking system object files so we need to strip them
12070 # from the output so that they don't get included in the library
12072 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12075 case `$CC -V 2>&1 | sed 5q` in
12078 no_undefined_flag_CXX
=' -zdefs'
12079 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12080 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'
12081 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12082 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'
12084 # Not sure whether something based on
12085 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12087 output_verbose_link_cmd
='echo'
12089 # Archives containing C++ object files must be created using
12090 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12091 # necessary to make sure instantiated templates are included
12093 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12100 # FIXME: insert proper C++ library support
12104 # FIXME: insert proper C++ library support
12108 case $cc_basename in
12110 # FIXME: insert proper C++ library support
12114 # FIXME: insert proper C++ library support
12120 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12121 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12123 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12124 hardcode_direct_CXX
=yes
12125 hardcode_shlibpath_var_CXX
=no
12127 # Workaround some broken pre-1.5 toolchains
12128 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12131 # C++ shared libraries are fairly broken
12135 if test -f /usr
/libexec
/ld.so
; then
12136 hardcode_direct_CXX
=yes
12137 hardcode_shlibpath_var_CXX
=no
12138 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12139 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12140 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12141 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12142 export_dynamic_flag_spec_CXX
='${wl}-E'
12143 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12145 output_verbose_link_cmd
='echo'
12151 case $cc_basename in
12153 # Kuck and Associates, Inc. (KAI) C++ Compiler
12155 # KCC will only create a shared library if the output file
12156 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12157 # to its proper name (with version) after linking.
12158 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'
12160 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12161 hardcode_libdir_separator_CXX
=:
12163 # Archives containing C++ object files must be created using
12164 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12165 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12169 # Rational C++ 2.4.1
12170 # FIXME: insert proper C++ library support
12174 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12175 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12177 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12178 hardcode_libdir_separator_CXX
=:
12180 # Commands to make compiler produce verbose output that lists
12181 # what "hidden" libraries, object files and flags are used when
12182 # linking a shared library.
12184 # There doesn't appear to be a way to prevent this compiler from
12185 # explicitly linking system object files so we need to strip them
12186 # from the output so that they don't get included in the library
12188 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12191 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12192 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12193 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12195 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12196 hardcode_libdir_separator_CXX
=:
12198 # Commands to make compiler produce verbose output that lists
12199 # what "hidden" libraries, object files and flags are used when
12200 # linking a shared library.
12201 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12204 # FIXME: insert proper C++ library support
12211 case $cc_basename in
12213 # Kuck and Associates, Inc. (KAI) C++ Compiler
12215 # KCC will only create a shared library if the output file
12216 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12217 # to its proper name (with version) after linking.
12218 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'
12220 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12221 hardcode_libdir_separator_CXX
=:
12223 # Archives containing C++ object files must be created using
12224 # the KAI C++ compiler.
12225 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12228 # Rational C++ 2.4.1
12229 # FIXME: insert proper C++ library support
12233 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12234 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
12235 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12236 echo "-hidden">> $lib.exp~
12237 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~
12240 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12241 hardcode_libdir_separator_CXX
=:
12243 # Commands to make compiler produce verbose output that lists
12244 # what "hidden" libraries, object files and flags are used when
12245 # linking a shared library.
12247 # There doesn't appear to be a way to prevent this compiler from
12248 # explicitly linking system object files so we need to strip them
12249 # from the output so that they don't get included in the library
12251 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
12254 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12255 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12256 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12258 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12259 hardcode_libdir_separator_CXX
=:
12261 # Commands to make compiler produce verbose output that lists
12262 # what "hidden" libraries, object files and flags are used when
12263 # linking a shared library.
12264 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12267 # FIXME: insert proper C++ library support
12274 # FIXME: insert proper C++ library support
12278 case $cc_basename in
12281 # FIXME: insert proper C++ library support
12286 # FIXME: insert proper C++ library support
12290 # FIXME: insert proper C++ library support
12296 case $cc_basename in
12298 # Sun C++ 4.2, 5.x and Centerline C++
12299 archive_cmds_need_lc_CXX
=yes
12300 no_undefined_flag_CXX
=' -zdefs'
12301 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12302 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12303 $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'
12305 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12306 hardcode_shlibpath_var_CXX
=no
12308 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12310 # The compiler driver will combine and reorder linker options,
12311 # but understands `-z linker_flag'.
12312 # Supported since Solaris 2.6 (maybe 2.5.1?)
12313 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12316 link_all_deplibs_CXX
=yes
12318 output_verbose_link_cmd
='echo'
12320 # Archives containing C++ object files must be created using
12321 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12322 # necessary to make sure instantiated templates are included
12324 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12327 # Green Hills C++ Compiler
12328 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12330 # The C++ compiler must be used to create the archive.
12331 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12334 # GNU C++ compiler with Solaris linker
12335 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12336 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12337 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12338 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12339 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12340 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12342 # Commands to make compiler produce verbose output that lists
12343 # what "hidden" libraries, object files and flags are used when
12344 # linking a shared library.
12345 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12347 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12349 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12350 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12351 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12353 # Commands to make compiler produce verbose output that lists
12354 # what "hidden" libraries, object files and flags are used when
12355 # linking a shared library.
12356 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12359 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12361 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12363 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12370 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12371 no_undefined_flag_CXX
='${wl}-z,text'
12372 archive_cmds_need_lc_CXX
=no
12373 hardcode_shlibpath_var_CXX
=no
12374 runpath_var
='LD_RUN_PATH'
12376 case $cc_basename in
12378 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12379 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12382 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12383 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12387 sysv5
* | sco3.2v5
* | sco5v6
*)
12388 # Note: We can NOT use -z defs as we might desire, because we do not
12389 # link with -lc, and that would cause any symbols used from libc to
12390 # always be unresolved, which means just about no library would
12391 # ever link correctly. If we're not using GNU ld we use -z text
12392 # though, which does catch some bad symbols but isn't as heavy-handed
12394 # For security reasons, it is highly recommended that you always
12395 # use absolute paths for naming shared libraries, and exclude the
12396 # DT_RUNPATH tag from executables and libraries. But doing so
12397 # requires that you compile everything twice, which is a pain.
12398 # So that behaviour is only enabled if SCOABSPATH is set to a
12399 # non-empty value in the environment. Most likely only useful for
12400 # creating official distributions of packages.
12401 # This is a hack until libtool officially supports absolute path
12402 # names for shared libraries.
12403 no_undefined_flag_CXX
='${wl}-z,text'
12404 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12405 archive_cmds_need_lc_CXX
=no
12406 hardcode_shlibpath_var_CXX
=no
12407 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12408 hardcode_libdir_separator_CXX
=':'
12409 link_all_deplibs_CXX
=yes
12410 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12411 runpath_var
='LD_RUN_PATH'
12413 case $cc_basename in
12415 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12416 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12419 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12420 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12425 case $cc_basename in
12427 # NonStop-UX NCC 3.20
12428 # FIXME: insert proper C++ library support
12432 # FIXME: insert proper C++ library support
12438 # FIXME: insert proper C++ library support
12442 # FIXME: insert proper C++ library support
12446 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12447 $as_echo "$ld_shlibs_CXX" >&6; }
12448 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12453 cat > conftest.
$ac_ext <<EOF
12457 Foo (void) { a = 0; }
12463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12464 (eval $ac_compile) 2>&5
12466 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; then
12468 # Parse the compiler output and extract the necessary
12469 # objects, libraries and library flags.
12471 # Sentinel used to keep track of whether or not we are before
12472 # the conftest object file.
12473 pre_test_object_deps_done
=no
12475 # The `*' in the case matches for architectures that use `case' in
12476 # $output_verbose_cmd can trigger glob expansion during the loop
12477 # eval without this substitution.
12478 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12480 for p
in `eval $output_verbose_link_cmd`; do
12484 # Some compilers place space between "-{L,R}" and the path.
12485 # Remove the space.
12486 if test $p = "-L" \
12487 ||
test $p = "-R"; then
12494 if test "$pre_test_object_deps_done" = no
; then
12497 # Internal compiler library paths should come after those
12498 # provided the user. The postdeps already come after the
12499 # user supplied libs so there is no need to process them.
12500 if test -z "$compiler_lib_search_path_CXX"; then
12501 compiler_lib_search_path_CXX
="${prev}${p}"
12503 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12506 # The "-l" case would never come before the object being
12507 # linked, so don't bother handling this case.
12510 if test -z "$postdeps_CXX"; then
12511 postdeps_CXX
="${prev}${p}"
12513 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12519 # This assumes that the test object file only shows up
12520 # once in the compiler output.
12521 if test "$p" = "conftest.$objext"; then
12522 pre_test_object_deps_done
=yes
12526 if test "$pre_test_object_deps_done" = no
; then
12527 if test -z "$predep_objects_CXX"; then
12528 predep_objects_CXX
="$p"
12530 predep_objects_CXX
="$predep_objects_CXX $p"
12533 if test -z "$postdep_objects_CXX"; then
12534 postdep_objects_CXX
="$p"
12536 postdep_objects_CXX
="$postdep_objects_CXX $p"
12541 *) ;; # Ignore the rest.
12549 echo "libtool.m4: error: problem compiling CXX test program"
12552 $rm -f confest.
$objext
12554 compiler_lib_search_dirs_CXX
=
12555 if test -n "$compiler_lib_search_path_CXX"; then
12556 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12559 # PORTME: override above test on systems where it is broken
12562 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12563 # hack all around it, let's just trust "g++" to DTRT.
12564 predep_objects_CXX
=
12565 postdep_objects_CXX
=
12570 case `$CC -V 2>&1 | sed 5q` in
12574 # The more standards-conforming stlport4 library is
12575 # incompatible with the Cstd library. Avoid specifying
12576 # it if it's in CXXFLAGS. Ignore libCrun as
12577 # -library=stlport4 depends on it.
12578 case " $CXX $CXXFLAGS " in
12579 *" -library=stlport4 "*)
12580 solaris_use_stlport4
=yes
12583 if test "$solaris_use_stlport4" != yes; then
12584 postdeps_CXX
='-library=Cstd -library=Crun'
12591 case $cc_basename in
12593 # The more standards-conforming stlport4 library is
12594 # incompatible with the Cstd library. Avoid specifying
12595 # it if it's in CXXFLAGS. Ignore libCrun as
12596 # -library=stlport4 depends on it.
12597 case " $CXX $CXXFLAGS " in
12598 *" -library=stlport4 "*)
12599 solaris_use_stlport4
=yes
12603 # Adding this requires a known-good setup of shared libraries for
12604 # Sun compiler versions before 5.6, else PIC objects from an old
12605 # archive will be linked into the output, leading to subtle bugs.
12606 if test "$solaris_use_stlport4" != yes; then
12607 postdeps_CXX
='-library=Cstd -library=Crun'
12614 case " $postdeps_CXX " in
12615 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12618 lt_prog_compiler_wl_CXX
=
12619 lt_prog_compiler_pic_CXX
=
12620 lt_prog_compiler_static_CXX
=
12622 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12623 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12625 # C++ specific cases for pic, static, wl, etc.
12626 if test "$GXX" = yes; then
12627 lt_prog_compiler_wl_CXX
='-Wl,'
12628 lt_prog_compiler_static_CXX
='-static'
12632 # All AIX code is PIC.
12633 if test "$host_cpu" = ia64
; then
12634 # AIX 5 now supports IA64 processor
12635 lt_prog_compiler_static_CXX
='-Bstatic'
12639 # FIXME: we need at least 68020 code to build shared libraries, but
12640 # adding the `-m68020' flag to GCC prevents building anything better,
12642 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12644 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12645 # PIC is the default for these OSes.
12647 mingw
* | cygwin
* | os2
* | pw32
*)
12648 # This hack is so that the source file can tell whether it is being
12649 # built for inclusion in a dll (and should export symbols for example).
12650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12651 # (--disable-auto-import) libraries
12652 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12654 darwin
* | rhapsody
*)
12655 # PIC is the default on this platform
12656 # Common symbols not allowed in MH_DYLIB files
12657 lt_prog_compiler_pic_CXX
='-fno-common'
12660 # DJGPP does not support shared libraries at all
12661 lt_prog_compiler_pic_CXX
=
12664 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12665 # Instead, we relocate shared libraries at runtime.
12668 if test -d /usr
/nec
; then
12669 lt_prog_compiler_pic_CXX
=-Kconform_pic
12673 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12674 # not for PA HP-UX.
12679 lt_prog_compiler_pic_CXX
='-fPIC'
12684 lt_prog_compiler_pic_CXX
='-fPIC'
12690 # All AIX code is PIC.
12691 if test "$host_cpu" = ia64
; then
12692 # AIX 5 now supports IA64 processor
12693 lt_prog_compiler_static_CXX
='-Bstatic'
12695 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12699 case $cc_basename in
12701 # Green Hills C++ Compiler
12702 # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12707 # PIC is the default on this platform
12708 # Common symbols not allowed in MH_DYLIB files
12709 case $cc_basename in
12711 lt_prog_compiler_pic_CXX
='-qnocommon'
12712 lt_prog_compiler_wl_CXX
='-Wl,'
12717 case $cc_basename in
12719 lt_prog_compiler_pic_CXX
='-KPIC'
12722 # Green Hills C++ Compiler
12723 lt_prog_compiler_pic_CXX
='-pic'
12729 freebsd
* | dragonfly
*)
12730 # FreeBSD uses GNU C++
12732 hpux9
* | hpux10
* | hpux11
*)
12733 case $cc_basename in
12735 lt_prog_compiler_wl_CXX
='-Wl,'
12736 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12737 if test "$host_cpu" != ia64
; then
12738 lt_prog_compiler_pic_CXX
='+Z'
12742 lt_prog_compiler_wl_CXX
='-Wl,'
12743 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12749 lt_prog_compiler_pic_CXX
='+Z'
12758 # This is c89, which is MS Visual C++ (no shared libs)
12759 # Anyone wants to do a port?
12761 irix5
* | irix6
* | nonstopux
*)
12762 case $cc_basename in
12764 lt_prog_compiler_wl_CXX
='-Wl,'
12765 lt_prog_compiler_static_CXX
='-non_shared'
12766 # CC pic flag -KPIC is the default.
12772 linux
* | k
*bsd
*-gnu)
12773 case $cc_basename in
12776 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12777 lt_prog_compiler_pic_CXX
='-fPIC'
12781 lt_prog_compiler_wl_CXX
='-Wl,'
12782 lt_prog_compiler_pic_CXX
='-KPIC'
12783 lt_prog_compiler_static_CXX
='-static'
12786 # Portland Group C++ compiler.
12787 lt_prog_compiler_wl_CXX
='-Wl,'
12788 lt_prog_compiler_pic_CXX
='-fpic'
12789 lt_prog_compiler_static_CXX
='-Bstatic'
12793 # Make sure the PIC flag is empty. It appears that all Alpha
12794 # Linux and Compaq Tru64 Unix objects are PIC.
12795 lt_prog_compiler_pic_CXX
=
12796 lt_prog_compiler_static_CXX
='-non_shared'
12799 case `$CC -V 2>&1 | sed 5q` in
12802 lt_prog_compiler_pic_CXX
='-KPIC'
12803 lt_prog_compiler_static_CXX
='-Bstatic'
12804 lt_prog_compiler_wl_CXX
='-Qoption ld '
12815 case $cc_basename in
12817 lt_prog_compiler_pic_CXX
='-W c,exportall'
12825 osf3
* | osf4
* | osf5
*)
12826 case $cc_basename in
12828 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12831 # Rational C++ 2.4.1
12832 lt_prog_compiler_pic_CXX
='-pic'
12835 # Digital/Compaq C++
12836 lt_prog_compiler_wl_CXX
='-Wl,'
12837 # Make sure the PIC flag is empty. It appears that all Alpha
12838 # Linux and Compaq Tru64 Unix objects are PIC.
12839 lt_prog_compiler_pic_CXX
=
12840 lt_prog_compiler_static_CXX
='-non_shared'
12849 case $cc_basename in
12851 # Sun C++ 4.2, 5.x and Centerline C++
12852 lt_prog_compiler_pic_CXX
='-KPIC'
12853 lt_prog_compiler_static_CXX
='-Bstatic'
12854 lt_prog_compiler_wl_CXX
='-Qoption ld '
12857 # Green Hills C++ Compiler
12858 lt_prog_compiler_pic_CXX
='-PIC'
12865 case $cc_basename in
12868 lt_prog_compiler_pic_CXX
='-pic'
12869 lt_prog_compiler_static_CXX
='-Bstatic'
12873 lt_prog_compiler_pic_CXX
='-pic'
12880 case $cc_basename in
12882 # NonStop-UX NCC 3.20
12883 lt_prog_compiler_pic_CXX
='-KPIC'
12889 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12890 case $cc_basename in
12892 lt_prog_compiler_wl_CXX
='-Wl,'
12893 lt_prog_compiler_pic_CXX
='-KPIC'
12894 lt_prog_compiler_static_CXX
='-Bstatic'
12901 lt_prog_compiler_can_build_shared_CXX
=no
12906 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12907 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12910 # Check to make sure the PIC flag actually works.
12912 if test -n "$lt_prog_compiler_pic_CXX"; then
12914 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12915 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12916 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
12917 $as_echo_n "(cached) " >&6
12919 lt_cv_prog_compiler_pic_works_CXX
=no
12920 ac_outfile
=conftest.
$ac_objext
12921 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12922 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12923 # Insert the option either (1) after the last *FLAGS variable, or
12924 # (2) before a word containing "conftest.", or (3) at the end.
12925 # Note that $ac_compile itself does not contain backslashes and begins
12926 # with a dollar sign (not a hyphen), so the echo should work correctly.
12927 # The option is referenced via a variable to avoid confusing sed.
12928 lt_compile
=`echo "$ac_compile" | $SED \
12929 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12930 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12931 -e 's:$: $lt_compiler_flag:'`
12932 (eval echo "\"\$as_me:12932: $lt_compile\"" >&5)
12933 (eval "$lt_compile" 2>conftest.err
)
12935 cat conftest.err
>&5
12936 echo "$as_me:12936: \$? = $ac_status" >&5
12937 if (exit $ac_status) && test -s "$ac_outfile"; then
12938 # The compiler can only warn and ignore the option if not recognized
12939 # So say no if there are warnings other than the usual output.
12940 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12941 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12942 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12943 lt_cv_prog_compiler_pic_works_CXX
=yes
12949 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
12950 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
12952 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
12953 case $lt_prog_compiler_pic_CXX in
12955 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12958 lt_prog_compiler_pic_CXX
=
12959 lt_prog_compiler_can_build_shared_CXX
=no
12964 # For platforms which do not support PIC, -DPIC is meaningless:
12966 lt_prog_compiler_pic_CXX
=
12969 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12974 # Check to make sure the static flag actually works.
12976 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12977 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12978 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12979 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
12980 $as_echo_n "(cached) " >&6
12982 lt_cv_prog_compiler_static_works_CXX
=no
12983 save_LDFLAGS
="$LDFLAGS"
12984 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12985 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12986 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12987 # The linker can only warn and ignore the option if not recognized
12988 # So say no if there are warnings
12989 if test -s conftest.err
; then
12990 # Append any errors to the config.log.
12991 cat conftest.err
1>&5
12992 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12993 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12994 if diff conftest.exp conftest.er2
>/dev
/null
; then
12995 lt_cv_prog_compiler_static_works_CXX
=yes
12998 lt_cv_prog_compiler_static_works_CXX
=yes
13002 LDFLAGS
="$save_LDFLAGS"
13005 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13006 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13008 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
13011 lt_prog_compiler_static_CXX
=
13015 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13016 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13017 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13018 $as_echo_n "(cached) " >&6
13020 lt_cv_prog_compiler_c_o_CXX
=no
13021 $rm -r conftest
2>/dev
/null
13025 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13027 lt_compiler_flag
="-o out/conftest2.$ac_objext"
13028 # Insert the option either (1) after the last *FLAGS variable, or
13029 # (2) before a word containing "conftest.", or (3) at the end.
13030 # Note that $ac_compile itself does not contain backslashes and begins
13031 # with a dollar sign (not a hyphen), so the echo should work correctly.
13032 lt_compile
=`echo "$ac_compile" | $SED \
13033 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13034 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13035 -e 's:$: $lt_compiler_flag:'`
13036 (eval echo "\"\$as_me:13036: $lt_compile\"" >&5)
13037 (eval "$lt_compile" 2>out
/conftest.err
)
13039 cat out
/conftest.err
>&5
13040 echo "$as_me:13040: \$? = $ac_status" >&5
13041 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
13043 # The compiler can only warn and ignore the option if not recognized
13044 # So say no if there are warnings
13045 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
13046 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
13047 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
13048 lt_cv_prog_compiler_c_o_CXX
=yes
13053 # SGI C++ compiler will create directory out/ii_files/ for
13054 # template instantiation
13055 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13056 $rm out
/* && rmdir out
13062 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13063 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13066 hard_links
="nottested"
13067 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13068 # do not overwrite the value of need_locks provided by the user
13069 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13070 $as_echo_n "checking if we can lock with hard links... " >&6; }
13073 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13075 ln conftest.a conftest.b
2>&5 || hard_links
=no
13076 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13077 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13078 $as_echo "$hard_links" >&6; }
13079 if test "$hard_links" = no
; then
13080 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13081 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13088 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13089 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13091 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13094 # If we're using GNU nm, then we don't want the "-C" option.
13095 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13096 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13097 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'
13099 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'
13103 export_symbols_cmds_CXX
="$ltdll_cmds"
13106 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'
13109 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13112 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13114 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13115 $as_echo "$ld_shlibs_CXX" >&6; }
13116 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13119 # Do we need to explicitly link libc?
13121 case "x$archive_cmds_need_lc_CXX" in
13123 # Assume -lc should be added
13124 archive_cmds_need_lc_CXX
=yes
13126 if test "$enable_shared" = yes && test "$GCC" = yes; then
13127 case $archive_cmds_CXX in
13129 # FIXME: we may have to deal with multi-command sequences.
13132 # Test whether the compiler implicitly links with -lc since on some
13133 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13134 # to ld, don't add -lc before -lgcc.
13135 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13136 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13138 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13141 (eval $ac_compile) 2>&5
13143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13144 (exit $ac_status); } 2>conftest.err
; then
13147 libobjs
=conftest.
$ac_objext
13149 wl
=$lt_prog_compiler_wl_CXX
13150 pic_flag
=$lt_prog_compiler_pic_CXX
13156 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13157 allow_undefined_flag_CXX
=
13158 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13159 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13162 (exit $ac_status); }
13164 archive_cmds_need_lc_CXX
=no
13166 archive_cmds_need_lc_CXX
=yes
13168 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13170 cat conftest.err
1>&5
13173 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13174 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13181 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13182 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13183 library_names_spec
=
13184 libname_spec
='lib$name'
13188 postuninstall_cmds
=
13192 shlibpath_overrides_runpath
=unknown
13194 dynamic_linker
="$host_os ld.so"
13195 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13197 need_lib_prefix
=unknown
13198 hardcode_into_libs
=no
13200 # when you set need_version to no, make sure it does not cause -set_version
13201 # flags to be left without arguments
13202 need_version
=unknown
13207 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13208 shlibpath_var
=LIBPATH
13210 # AIX 3 has no versioning support, so we append a major version to the name.
13211 soname_spec
='${libname}${release}${shared_ext}$major'
13218 hardcode_into_libs
=yes
13219 if test "$host_cpu" = ia64
; then
13220 # AIX 5 supports IA64
13221 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13222 shlibpath_var
=LD_LIBRARY_PATH
13224 # With GCC up to 2.95.x, collect2 would create an import file
13225 # for dependence libraries. The import file would start with
13226 # the line `#! .'. This would cause the generated library to
13227 # depend on `.', always an invalid library. This was fixed in
13228 # development snapshots of GCC prior to 3.0.
13230 aix4 | aix4.
[01] | aix4.
[01].
*)
13231 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13233 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13236 can_build_shared
=no
13240 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13241 # soname into executable. Probably we can add versioning support to
13242 # collect2, so additional links can be useful in future.
13243 if test "$aix_use_runtimelinking" = yes; then
13244 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13245 # instead of lib<name>.a to let people know that these are not
13246 # typical AIX shared libraries.
13247 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13249 # We preserve .a as extension for shared libraries through AIX4.2
13250 # and later when we are not doing run time linking.
13251 library_names_spec
='${libname}${release}.a $libname.a'
13252 soname_spec
='${libname}${release}${shared_ext}$major'
13254 shlibpath_var
=LIBPATH
13259 library_names_spec
='$libname.ixlibrary $libname.a'
13260 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13261 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'
13265 library_names_spec
='${libname}${shared_ext}'
13266 dynamic_linker
="$host_os ld.so"
13267 shlibpath_var
=LIBRARY_PATH
13273 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13274 soname_spec
='${libname}${release}${shared_ext}$major'
13275 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13276 shlibpath_var
=LD_LIBRARY_PATH
13277 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13278 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13279 # the default ld.so.conf also contains /usr/contrib/lib and
13280 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13281 # libtool to hard-code these into programs
13284 cygwin
* | mingw
* | pw32
*)
13285 version_type
=windows
13290 case $GCC,$host_os in
13291 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13292 library_names_spec
='$libname.dll.a'
13293 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13294 postinstall_cmds
='base_file=`basename \${file}`~
13295 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13296 dldir=$destdir/`dirname \$dlpath`~
13297 test -d \$dldir || mkdir -p \$dldir~
13298 $install_prog $dir/$dlname \$dldir/$dlname~
13299 chmod a+x \$dldir/$dlname'
13300 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13301 dlpath=$dir/\$dldll~
13303 shlibpath_overrides_runpath
=yes
13307 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13308 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13309 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13312 # MinGW DLLs use traditional 'lib' prefix
13313 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13314 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13315 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13316 # It is most probably a Windows format PATH printed by
13317 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13318 # path with ; separators, and with drive letters. We can handle the
13319 # drive letters (cygwin fileutils understands them), so leave them,
13320 # especially as we might pass files found there to a mingw objdump,
13321 # which wouldn't understand a cygwinified path. Ahh.
13322 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13324 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13328 # pw32 DLLs use 'pw' prefix rather than 'lib'
13329 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13335 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13338 dynamic_linker
='Win32 ld.exe'
13339 # FIXME: first we should search . and the directory the executable is in
13343 darwin
* | rhapsody
*)
13344 dynamic_linker
="$host_os dyld"
13345 version_type
=darwin
13348 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13349 soname_spec
='${libname}${release}${major}$shared_ext'
13350 shlibpath_overrides_runpath
=yes
13351 shlibpath_var
=DYLD_LIBRARY_PATH
13352 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13354 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13362 soname_spec
='${libname}${release}${shared_ext}$major'
13363 shlibpath_var
=LD_LIBRARY_PATH
13370 freebsd
* | dragonfly
*)
13371 # DragonFly does not have aout. When/if they implement a new
13372 # versioning mechanism, adjust this.
13373 if test -x /usr
/bin
/objformat
; then
13374 objformat
=`/usr/bin/objformat`
13377 freebsd
[123]*) objformat
=aout
;;
13378 *) objformat
=elf
;;
13381 version_type
=freebsd-
$objformat
13382 case $version_type in
13384 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13389 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13393 shlibpath_var
=LD_LIBRARY_PATH
13396 shlibpath_overrides_runpath
=yes
13398 freebsd3.
[01]* | freebsdelf3.
[01]*)
13399 shlibpath_overrides_runpath
=yes
13400 hardcode_into_libs
=yes
13402 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13403 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13404 shlibpath_overrides_runpath
=no
13405 hardcode_into_libs
=yes
13407 *) # from 4.6 on, and DragonFly
13408 shlibpath_overrides_runpath
=yes
13409 hardcode_into_libs
=yes
13418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13419 soname_spec
='${libname}${release}${shared_ext}$major'
13420 shlibpath_var
=LD_LIBRARY_PATH
13421 hardcode_into_libs
=yes
13424 hpux9
* | hpux10
* | hpux11
*)
13425 # Give a soname corresponding to the major version so that dld.sl refuses to
13426 # link against other versions.
13433 hardcode_into_libs
=yes
13434 dynamic_linker
="$host_os dld.so"
13435 shlibpath_var
=LD_LIBRARY_PATH
13436 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13437 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13438 soname_spec
='${libname}${release}${shared_ext}$major'
13439 if test "X$HPUX_IA64_MODE" = X32
; then
13440 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13442 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13444 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13448 hardcode_into_libs
=yes
13449 dynamic_linker
="$host_os dld.sl"
13450 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13451 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13452 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13453 soname_spec
='${libname}${release}${shared_ext}$major'
13454 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13455 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13459 dynamic_linker
="$host_os dld.sl"
13460 shlibpath_var
=SHLIB_PATH
13461 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13462 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13463 soname_spec
='${libname}${release}${shared_ext}$major'
13466 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13467 postinstall_cmds
='chmod 555 $lib'
13474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13475 soname_spec
='${libname}${release}${shared_ext}$major'
13476 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13477 shlibpath_var
=LD_LIBRARY_PATH
13478 shlibpath_overrides_runpath
=no
13479 hardcode_into_libs
=yes
13482 irix5
* | irix6
* | nonstopux
*)
13484 nonstopux
*) version_type
=nonstopux
;;
13486 if test "$lt_cv_prog_gnu_ld" = yes; then
13494 soname_spec
='${libname}${release}${shared_ext}$major'
13495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13497 irix5
* | nonstopux
*)
13498 libsuff
= shlibsuff
=
13501 case $LD in # libtool.m4 will add one of these switches to LD
13502 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13503 libsuff
= shlibsuff
= libmagic
=32-bit;;
13504 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13505 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13506 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13507 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13508 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13512 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13513 shlibpath_overrides_runpath
=no
13514 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13515 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13516 hardcode_into_libs
=yes
13519 # No shared lib support for Linux oldld, aout, or coff.
13520 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13524 # This must be Linux ELF.
13525 linux
* | k
*bsd
*-gnu)
13529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13530 soname_spec
='${libname}${release}${shared_ext}$major'
13531 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13532 shlibpath_var
=LD_LIBRARY_PATH
13533 shlibpath_overrides_runpath
=no
13534 # This implies no fast_install, which is unacceptable.
13535 # Some rework will be needed to allow for fast_install
13536 # before this can be enabled.
13537 hardcode_into_libs
=yes
13539 # Append ld.so.conf contents to the search path
13540 if test -f /etc
/ld.so.conf
; then
13541 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' ' '`
13542 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13545 # We used to test for /lib/ld.so.1 and disable shared libraries on
13546 # powerpc, because MkLinux only supported shared libraries with the
13547 # GNU dynamic linker. Since this was broken with cross compilers,
13548 # most powerpc-linux boxes support dynamic linking these days and
13549 # people can always --disable-shared, the test was removed, and we
13550 # assume the GNU/Linux dynamic linker is in use.
13551 dynamic_linker
='GNU/Linux ld.so'
13558 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13560 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13561 dynamic_linker
='NetBSD (a.out) ld.so'
13563 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13564 soname_spec
='${libname}${release}${shared_ext}$major'
13565 dynamic_linker
='NetBSD ld.elf_so'
13567 shlibpath_var
=LD_LIBRARY_PATH
13568 shlibpath_overrides_runpath
=yes
13569 hardcode_into_libs
=yes
13574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13575 shlibpath_var
=LD_LIBRARY_PATH
13576 shlibpath_overrides_runpath
=yes
13583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13584 soname_spec
='${libname}${release}${shared_ext}$major'
13585 shlibpath_var
=LD_LIBRARY_PATH
13586 shlibpath_overrides_runpath
=yes
13591 sys_lib_dlsearch_path_spec
="/usr/lib"
13593 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13595 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13596 *) need_version
=no
;;
13598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13599 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13600 shlibpath_var
=LD_LIBRARY_PATH
13601 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13603 openbsd2.
[89] | openbsd2.
[89].
*)
13604 shlibpath_overrides_runpath
=no
13607 shlibpath_overrides_runpath
=yes
13611 shlibpath_overrides_runpath
=yes
13616 libname_spec
='$name'
13619 library_names_spec
='$libname${shared_ext} $libname.a'
13620 dynamic_linker
='OS/2 ld.exe'
13621 shlibpath_var
=LIBPATH
13624 osf3
* | osf4
* | osf5
*)
13628 soname_spec
='${libname}${release}${shared_ext}$major'
13629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13630 shlibpath_var
=LD_LIBRARY_PATH
13631 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13632 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13643 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13644 soname_spec
='${libname}${release}${shared_ext}$major'
13645 shlibpath_var
=LD_LIBRARY_PATH
13646 shlibpath_overrides_runpath
=yes
13647 hardcode_into_libs
=yes
13648 # ldd complains unless libraries are executable
13649 postinstall_cmds
='chmod +x $lib'
13654 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13655 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13656 shlibpath_var
=LD_LIBRARY_PATH
13657 shlibpath_overrides_runpath
=yes
13658 if test "$with_gnu_ld" = yes; then
13666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13667 soname_spec
='${libname}${release}${shared_ext}$major'
13668 shlibpath_var
=LD_LIBRARY_PATH
13669 case $host_vendor in
13671 shlibpath_overrides_runpath
=no
13673 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13674 runpath_var
=LD_RUN_PATH
13682 shlibpath_overrides_runpath
=no
13683 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13689 if test -d /usr
/nec
;then
13691 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13692 soname_spec
='$libname${shared_ext}.$major'
13693 shlibpath_var
=LD_LIBRARY_PATH
13697 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13698 version_type
=freebsd-elf
13701 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13702 soname_spec
='${libname}${release}${shared_ext}$major'
13703 shlibpath_var
=LD_LIBRARY_PATH
13704 hardcode_into_libs
=yes
13705 if test "$with_gnu_ld" = yes; then
13706 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13707 shlibpath_overrides_runpath
=no
13709 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13710 shlibpath_overrides_runpath
=yes
13713 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13717 sys_lib_dlsearch_path_spec
='/usr/lib'
13722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13723 soname_spec
='${libname}${release}${shared_ext}$major'
13724 shlibpath_var
=LD_LIBRARY_PATH
13731 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13732 $as_echo "$dynamic_linker" >&6; }
13733 test "$dynamic_linker" = no
&& can_build_shared
=no
13735 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13736 $as_echo_n "(cached) " >&6
13738 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
13741 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
13742 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13743 $as_echo_n "(cached) " >&6
13745 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
13748 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
13750 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13751 if test "$GCC" = yes; then
13752 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13755 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13756 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13757 hardcode_action_CXX
=
13758 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13759 test -n "$runpath_var_CXX" || \
13760 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13762 # We can hardcode non-existant directories.
13763 if test "$hardcode_direct_CXX" != no
&&
13764 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13765 # have to relink, otherwise we might link with an installed library
13766 # when we should be linking with a yet-to-be-installed one
13767 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13768 test "$hardcode_minus_L_CXX" != no
; then
13769 # Linking always hardcodes the temporary library directory.
13770 hardcode_action_CXX
=relink
13772 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13773 hardcode_action_CXX
=immediate
13776 # We cannot hardcode anything, or else we can only hardcode existing
13778 hardcode_action_CXX
=unsupported
13780 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13781 $as_echo "$hardcode_action_CXX" >&6; }
13783 if test "$hardcode_action_CXX" = relink
; then
13784 # Fast installation is not supported
13785 enable_fast_install
=no
13786 elif test "$shlibpath_overrides_runpath" = yes ||
13787 test "$enable_shared" = no
; then
13788 # Fast installation is not necessary
13789 enable_fast_install
=needless
13793 # The else clause should only fire when bootstrapping the
13794 # libtool distribution, otherwise you forgot to ship ltmain.sh
13795 # with your package, and you will get complaints that there are
13796 # no rules to generate ltmain.sh.
13797 if test -f "$ltmain"; then
13798 # See if we are running on zsh, and set the options which allow our commands through
13799 # without removal of \ escapes.
13800 if test -n "${ZSH_VERSION+set}" ; then
13801 setopt NO_GLOB_SUBST
13803 # Now quote all the things that may contain metacharacters while being
13804 # careful not to overquote the AC_SUBSTed values. We take copies of the
13805 # variables and quote the copies for generation of the libtool script.
13806 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13808 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13809 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13810 deplibs_check_method reload_flag reload_cmds need_locks \
13811 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13812 lt_cv_sys_global_symbol_to_c_name_address \
13813 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13814 old_postinstall_cmds old_postuninstall_cmds \
13818 lt_prog_compiler_wl_CXX \
13819 lt_prog_compiler_pic_CXX \
13820 lt_prog_compiler_static_CXX \
13821 lt_prog_compiler_no_builtin_flag_CXX \
13822 export_dynamic_flag_spec_CXX \
13823 thread_safe_flag_spec_CXX \
13824 whole_archive_flag_spec_CXX \
13825 enable_shared_with_static_runtimes_CXX \
13826 old_archive_cmds_CXX \
13827 old_archive_from_new_cmds_CXX \
13828 predep_objects_CXX \
13829 postdep_objects_CXX \
13832 compiler_lib_search_path_CXX \
13833 compiler_lib_search_dirs_CXX \
13835 archive_expsym_cmds_CXX \
13836 postinstall_cmds_CXX \
13837 postuninstall_cmds_CXX \
13838 old_archive_from_expsyms_cmds_CXX \
13839 allow_undefined_flag_CXX \
13840 no_undefined_flag_CXX \
13841 export_symbols_cmds_CXX \
13842 hardcode_libdir_flag_spec_CXX \
13843 hardcode_libdir_flag_spec_ld_CXX \
13844 hardcode_libdir_separator_CXX \
13845 hardcode_automatic_CXX \
13847 module_expsym_cmds_CXX \
13848 lt_cv_prog_compiler_c_o_CXX \
13849 fix_srcfile_path_CXX \
13850 exclude_expsyms_CXX \
13851 include_expsyms_CXX
; do
13854 old_archive_cmds_CXX | \
13855 old_archive_from_new_cmds_CXX | \
13856 archive_cmds_CXX | \
13857 archive_expsym_cmds_CXX | \
13858 module_cmds_CXX | \
13859 module_expsym_cmds_CXX | \
13860 old_archive_from_expsyms_cmds_CXX | \
13861 export_symbols_cmds_CXX | \
13862 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13863 postinstall_cmds | postuninstall_cmds | \
13864 old_postinstall_cmds | old_postuninstall_cmds | \
13865 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13866 # Double-quote double-evaled strings.
13867 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13870 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13876 *'\$0 --fallback-echo"')
13877 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13883 cat <<__EOF__ >> "$cfgfile"
13884 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13886 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13888 # Shell to use when invoking shell scripts.
13891 # Whether or not to build shared libraries.
13892 build_libtool_libs=$enable_shared
13894 # Whether or not to build static libraries.
13895 build_old_libs=$enable_static
13897 # Whether or not to add -lc for building shared libraries.
13898 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13900 # Whether or not to disallow shared libs when runtime libs are static
13901 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13903 # Whether or not to optimize for fast installation.
13904 fast_install=$enable_fast_install
13907 host_alias=$host_alias
13911 # The build system.
13912 build_alias=$build_alias
13916 # An echo program that does not interpret backslashes.
13921 AR_FLAGS=$lt_AR_FLAGS
13926 # LTCC compiler flags.
13927 LTCFLAGS=$lt_LTCFLAGS
13929 # A language-specific compiler.
13930 CC=$lt_compiler_CXX
13932 # Is the compiler the GNU C compiler?
13938 # The linker used to build libraries.
13941 # Whether we need hard or soft links.
13944 # A BSD-compatible nm program.
13947 # A symbol stripping program
13950 # Used to examine libraries when file_magic_cmd begins "file"
13951 MAGIC_CMD=$MAGIC_CMD
13953 # Used on cygwin: DLL creation program.
13956 # Used on cygwin: object dumper.
13959 # Used on cygwin: assembler.
13962 # The name of the directory that contains temporary libtool files.
13965 # How to create reloadable object files.
13966 reload_flag=$lt_reload_flag
13967 reload_cmds=$lt_reload_cmds
13969 # How to pass a linker flag through the compiler.
13970 wl=$lt_lt_prog_compiler_wl_CXX
13972 # Object file suffix (normally "o").
13973 objext="$ac_objext"
13975 # Old archive suffix (normally "a").
13978 # Shared library suffix (normally ".so").
13979 shrext_cmds='$shrext_cmds'
13981 # Executable file suffix (normally "").
13984 # Additional compiler flags for building library objects.
13985 pic_flag=$lt_lt_prog_compiler_pic_CXX
13988 # What is the maximum length of a command?
13989 max_cmd_len=$lt_cv_sys_max_cmd_len
13991 # Does compiler simultaneously support -c and -o options?
13992 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13994 # Must we lock files when doing compilation?
13995 need_locks=$lt_need_locks
13997 # Do we need the lib prefix for modules?
13998 need_lib_prefix=$need_lib_prefix
14000 # Do we need a version for libraries?
14001 need_version=$need_version
14003 # Whether dlopen is supported.
14004 dlopen_support=$enable_dlopen
14006 # Whether dlopen of programs is supported.
14007 dlopen_self=$enable_dlopen_self
14009 # Whether dlopen of statically linked programs is supported.
14010 dlopen_self_static=$enable_dlopen_self_static
14012 # Compiler flag to prevent dynamic linking.
14013 link_static_flag=$lt_lt_prog_compiler_static_CXX
14015 # Compiler flag to turn off builtin functions.
14016 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
14018 # Compiler flag to allow reflexive dlopens.
14019 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
14021 # Compiler flag to generate shared objects directly from archives.
14022 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
14024 # Compiler flag to generate thread-safe objects.
14025 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
14027 # Library versioning type.
14028 version_type=$version_type
14030 # Format of library name prefix.
14031 libname_spec=$lt_libname_spec
14033 # List of archive names. First name is the real one, the rest are links.
14034 # The last name is the one that the linker finds with -lNAME.
14035 library_names_spec=$lt_library_names_spec
14037 # The coded name of the library, if different from the real name.
14038 soname_spec=$lt_soname_spec
14040 # Commands used to build and install an old-style archive.
14042 old_archive_cmds=$lt_old_archive_cmds_CXX
14043 old_postinstall_cmds=$lt_old_postinstall_cmds
14044 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14046 # Create an old-style archive from a shared archive.
14047 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
14049 # Create a temporary old-style archive to link instead of a shared archive.
14050 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
14052 # Commands used to build and install a shared archive.
14053 archive_cmds=$lt_archive_cmds_CXX
14054 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
14055 postinstall_cmds=$lt_postinstall_cmds
14056 postuninstall_cmds=$lt_postuninstall_cmds
14058 # Commands used to build a loadable module (assumed same as above if empty)
14059 module_cmds=$lt_module_cmds_CXX
14060 module_expsym_cmds=$lt_module_expsym_cmds_CXX
14062 # Commands to strip libraries.
14063 old_striplib=$lt_old_striplib
14064 striplib=$lt_striplib
14066 # Dependencies to place before the objects being linked to create a
14068 predep_objects=$lt_predep_objects_CXX
14070 # Dependencies to place after the objects being linked to create a
14072 postdep_objects=$lt_postdep_objects_CXX
14074 # Dependencies to place before the objects being linked to create a
14076 predeps=$lt_predeps_CXX
14078 # Dependencies to place after the objects being linked to create a
14080 postdeps=$lt_postdeps_CXX
14082 # The directories searched by this compiler when creating a shared
14084 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
14086 # The library search path used internally by the compiler when linking
14087 # a shared library.
14088 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14090 # Method to check whether dependent libraries are shared objects.
14091 deplibs_check_method=$lt_deplibs_check_method
14093 # Command to use when deplibs_check_method == file_magic.
14094 file_magic_cmd=$lt_file_magic_cmd
14096 # Flag that allows shared libraries with undefined symbols to be built.
14097 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14099 # Flag that forces no undefined symbols.
14100 no_undefined_flag=$lt_no_undefined_flag_CXX
14102 # Commands used to finish a libtool library installation in a directory.
14103 finish_cmds=$lt_finish_cmds
14105 # Same as above, but a single script fragment to be evaled but not shown.
14106 finish_eval=$lt_finish_eval
14108 # Take the output of nm and produce a listing of raw symbols and C names.
14109 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14111 # Transform the output of nm in a proper C declaration
14112 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14114 # Transform the output of nm in a C name address pair
14115 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14117 # This is the shared library runtime path variable.
14118 runpath_var=$runpath_var
14120 # This is the shared library path variable.
14121 shlibpath_var=$shlibpath_var
14123 # Is shlibpath searched before the hard-coded library search path?
14124 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14126 # How to hardcode a shared library path into an executable.
14127 hardcode_action=$hardcode_action_CXX
14129 # Whether we should hardcode library paths into libraries.
14130 hardcode_into_libs=$hardcode_into_libs
14132 # Flag to hardcode \$libdir into a binary during linking.
14133 # This must work even if \$libdir does not exist.
14134 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14136 # If ld is used when linking, flag to hardcode \$libdir into
14137 # a binary during linking. This must work even if \$libdir does
14139 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14141 # Whether we need a single -rpath flag with a separated argument.
14142 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14144 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14145 # resulting binary.
14146 hardcode_direct=$hardcode_direct_CXX
14148 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14149 # resulting binary.
14150 hardcode_minus_L=$hardcode_minus_L_CXX
14152 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14153 # the resulting binary.
14154 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14156 # Set to yes if building a shared library automatically hardcodes DIR into the library
14157 # and all subsequent libraries and executables linked against it.
14158 hardcode_automatic=$hardcode_automatic_CXX
14160 # Variables whose values should be saved in libtool wrapper scripts and
14161 # restored at relink time.
14162 variables_saved_for_relink="$variables_saved_for_relink"
14164 # Whether libtool must link a program against all its dependency libraries.
14165 link_all_deplibs=$link_all_deplibs_CXX
14167 # Compile-time system search path for libraries
14168 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14170 # Run-time system search path for libraries
14171 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14173 # Fix the shell variable \$srcfile for the compiler.
14174 fix_srcfile_path=$lt_fix_srcfile_path
14176 # Set to yes if exported symbols are required.
14177 always_export_symbols=$always_export_symbols_CXX
14179 # The commands to list exported symbols.
14180 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14182 # The commands to extract the exported symbol list from a shared archive.
14183 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14185 # Symbols that should not be listed in the preloaded symbols.
14186 exclude_expsyms=$lt_exclude_expsyms_CXX
14188 # Symbols that must always be exported.
14189 include_expsyms=$lt_include_expsyms_CXX
14191 # ### END LIBTOOL TAG CONFIG: $tagname
14197 # If there is no Makefile yet, we rely on a make rule to execute
14198 # `config.status --recheck' to rerun these tests and create the
14199 # libtool script then.
14200 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14201 if test -f "$ltmain_in"; then
14202 test -f Makefile
&& make "$ltmain"
14208 ac_cpp
='$CPP $CPPFLAGS'
14209 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14210 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14211 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14217 with_gnu_ldcxx
=$with_gnu_ld
14218 with_gnu_ld
=$lt_save_with_gnu_ld
14219 lt_cv_path_LDCXX
=$lt_cv_path_LD
14220 lt_cv_path_LD
=$lt_save_path_LD
14221 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14222 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14230 if test -n "$F77" && test "X$F77" != "Xno"; then
14233 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14234 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14235 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14238 archive_cmds_need_lc_F77
=no
14239 allow_undefined_flag_F77
=
14240 always_export_symbols_F77
=no
14241 archive_expsym_cmds_F77
=
14242 export_dynamic_flag_spec_F77
=
14243 hardcode_direct_F77
=no
14244 hardcode_libdir_flag_spec_F77
=
14245 hardcode_libdir_flag_spec_ld_F77
=
14246 hardcode_libdir_separator_F77
=
14247 hardcode_minus_L_F77
=no
14248 hardcode_automatic_F77
=no
14250 module_expsym_cmds_F77
=
14251 link_all_deplibs_F77
=unknown
14252 old_archive_cmds_F77
=$old_archive_cmds
14253 no_undefined_flag_F77
=
14254 whole_archive_flag_spec_F77
=
14255 enable_shared_with_static_runtimes_F77
=no
14257 # Source file extension for f77 test sources.
14260 # Object file extension for compiled f77 test sources.
14264 # Code to be used in simple compile tests
14265 lt_simple_compile_test_code
="\
14271 # Code to be used in simple link tests
14272 lt_simple_link_test_code
="\
14277 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14279 # If no C compiler was specified, use CC.
14282 # If no C compiler flags were specified, use CFLAGS.
14283 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14285 # Allow CC to be a program name with arguments.
14289 # save warnings/boilerplate of simple test code
14290 ac_outfile
=conftest.
$ac_objext
14291 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14292 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14293 _lt_compiler_boilerplate
=`cat conftest.err`
14296 ac_outfile
=conftest.
$ac_objext
14297 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14298 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14299 _lt_linker_boilerplate
=`cat conftest.err`
14303 # Allow CC to be a program name with arguments.
14308 for cc_temp
in $compiler""; do
14310 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14311 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14316 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14319 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14320 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14321 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14322 $as_echo "$can_build_shared" >&6; }
14324 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14325 $as_echo_n "checking whether to build shared libraries... " >&6; }
14326 test "$can_build_shared" = "no" && enable_shared
=no
14328 # On AIX, shared libraries and static libraries use the same namespace, and
14329 # are all built from PIC.
14332 test "$enable_shared" = yes && enable_static
=no
14333 if test -n "$RANLIB"; then
14334 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14335 postinstall_cmds
='$RANLIB $lib'
14339 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14340 test "$enable_shared" = yes && enable_static
=no
14344 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14345 $as_echo "$enable_shared" >&6; }
14347 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14348 $as_echo_n "checking whether to build static libraries... " >&6; }
14349 # Make sure either enable_shared or enable_static is yes.
14350 test "$enable_shared" = yes || enable_static
=yes
14351 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14352 $as_echo "$enable_static" >&6; }
14357 lt_prog_compiler_wl_F77
=
14358 lt_prog_compiler_pic_F77
=
14359 lt_prog_compiler_static_F77
=
14361 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14362 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14364 if test "$GCC" = yes; then
14365 lt_prog_compiler_wl_F77
='-Wl,'
14366 lt_prog_compiler_static_F77
='-static'
14370 # All AIX code is PIC.
14371 if test "$host_cpu" = ia64
; then
14372 # AIX 5 now supports IA64 processor
14373 lt_prog_compiler_static_F77
='-Bstatic'
14378 # FIXME: we need at least 68020 code to build shared libraries, but
14379 # adding the `-m68020' flag to GCC prevents building anything better,
14381 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14384 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14385 # PIC is the default for these OSes.
14388 mingw
* | cygwin
* | pw32
* | os2
*)
14389 # This hack is so that the source file can tell whether it is being
14390 # built for inclusion in a dll (and should export symbols for example).
14391 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14392 # (--disable-auto-import) libraries
14393 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14396 darwin
* | rhapsody
*)
14397 # PIC is the default on this platform
14398 # Common symbols not allowed in MH_DYLIB files
14399 lt_prog_compiler_pic_F77
='-fno-common'
14403 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14404 # Instead, we relocate shared libraries at runtime.
14408 # Just because we use GCC doesn't mean we suddenly get shared libraries
14409 # on systems that don't support them.
14410 lt_prog_compiler_can_build_shared_F77
=no
14415 if test -d /usr
/nec
; then
14416 lt_prog_compiler_pic_F77
=-Kconform_pic
14421 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14422 # not for PA HP-UX.
14428 lt_prog_compiler_pic_F77
='-fPIC'
14434 lt_prog_compiler_pic_F77
='-fPIC'
14438 # PORTME Check for flag to pass linker flags through the system compiler.
14441 lt_prog_compiler_wl_F77
='-Wl,'
14442 if test "$host_cpu" = ia64
; then
14443 # AIX 5 now supports IA64 processor
14444 lt_prog_compiler_static_F77
='-Bstatic'
14446 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14450 # PIC is the default on this platform
14451 # Common symbols not allowed in MH_DYLIB files
14452 case $cc_basename in
14454 lt_prog_compiler_pic_F77
='-qnocommon'
14455 lt_prog_compiler_wl_F77
='-Wl,'
14460 mingw
* | cygwin
* | pw32
* | os2
*)
14461 # This hack is so that the source file can tell whether it is being
14462 # built for inclusion in a dll (and should export symbols for example).
14463 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14466 hpux9
* | hpux10
* | hpux11
*)
14467 lt_prog_compiler_wl_F77
='-Wl,'
14468 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14469 # not for PA HP-UX.
14475 lt_prog_compiler_pic_F77
='+Z'
14478 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14479 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14482 irix5
* | irix6
* | nonstopux
*)
14483 lt_prog_compiler_wl_F77
='-Wl,'
14484 # PIC (with -KPIC) is the default.
14485 lt_prog_compiler_static_F77
='-non_shared'
14489 lt_prog_compiler_pic_F77
='-KPIC'
14490 lt_prog_compiler_static_F77
='-Bstatic'
14493 linux
* | k
*bsd
*-gnu)
14494 case $cc_basename in
14496 lt_prog_compiler_wl_F77
='-Wl,'
14497 lt_prog_compiler_pic_F77
='-KPIC'
14498 lt_prog_compiler_static_F77
='-static'
14500 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14501 # Portland Group compilers (*not* the Pentium gcc compiler,
14502 # which looks to be a dead project)
14503 lt_prog_compiler_wl_F77
='-Wl,'
14504 lt_prog_compiler_pic_F77
='-fpic'
14505 lt_prog_compiler_static_F77
='-Bstatic'
14508 lt_prog_compiler_wl_F77
='-Wl,'
14509 # All Alpha code is PIC.
14510 lt_prog_compiler_static_F77
='-non_shared'
14513 case `$CC -V 2>&1 | sed 5q` in
14516 lt_prog_compiler_pic_F77
='-KPIC'
14517 lt_prog_compiler_static_F77
='-Bstatic'
14518 lt_prog_compiler_wl_F77
='-Wl,'
14521 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14522 lt_prog_compiler_pic_F77
='-KPIC'
14523 lt_prog_compiler_static_F77
='-Bstatic'
14524 lt_prog_compiler_wl_F77
=''
14531 osf3
* | osf4
* | osf5
*)
14532 lt_prog_compiler_wl_F77
='-Wl,'
14533 # All OSF/1 code is PIC.
14534 lt_prog_compiler_static_F77
='-non_shared'
14538 lt_prog_compiler_static_F77
='-non_shared'
14542 lt_prog_compiler_pic_F77
='-KPIC'
14543 lt_prog_compiler_static_F77
='-Bstatic'
14544 case $cc_basename in
14545 f77
* | f90
* | f95
*)
14546 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14548 lt_prog_compiler_wl_F77
='-Wl,';;
14553 lt_prog_compiler_wl_F77
='-Qoption ld '
14554 lt_prog_compiler_pic_F77
='-PIC'
14555 lt_prog_compiler_static_F77
='-Bstatic'
14558 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14559 lt_prog_compiler_wl_F77
='-Wl,'
14560 lt_prog_compiler_pic_F77
='-KPIC'
14561 lt_prog_compiler_static_F77
='-Bstatic'
14565 if test -d /usr
/nec
;then
14566 lt_prog_compiler_pic_F77
='-Kconform_pic'
14567 lt_prog_compiler_static_F77
='-Bstatic'
14571 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14572 lt_prog_compiler_wl_F77
='-Wl,'
14573 lt_prog_compiler_pic_F77
='-KPIC'
14574 lt_prog_compiler_static_F77
='-Bstatic'
14578 lt_prog_compiler_wl_F77
='-Wl,'
14579 lt_prog_compiler_can_build_shared_F77
=no
14583 lt_prog_compiler_pic_F77
='-pic'
14584 lt_prog_compiler_static_F77
='-Bstatic'
14588 lt_prog_compiler_can_build_shared_F77
=no
14593 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14594 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
14597 # Check to make sure the PIC flag actually works.
14599 if test -n "$lt_prog_compiler_pic_F77"; then
14601 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14602 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14603 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
14604 $as_echo_n "(cached) " >&6
14606 lt_cv_prog_compiler_pic_works_F77
=no
14607 ac_outfile
=conftest.
$ac_objext
14608 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14609 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14610 # Insert the option either (1) after the last *FLAGS variable, or
14611 # (2) before a word containing "conftest.", or (3) at the end.
14612 # Note that $ac_compile itself does not contain backslashes and begins
14613 # with a dollar sign (not a hyphen), so the echo should work correctly.
14614 # The option is referenced via a variable to avoid confusing sed.
14615 lt_compile
=`echo "$ac_compile" | $SED \
14616 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14617 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14618 -e 's:$: $lt_compiler_flag:'`
14619 (eval echo "\"\$as_me:14619: $lt_compile\"" >&5)
14620 (eval "$lt_compile" 2>conftest.err
)
14622 cat conftest.err
>&5
14623 echo "$as_me:14623: \$? = $ac_status" >&5
14624 if (exit $ac_status) && test -s "$ac_outfile"; then
14625 # The compiler can only warn and ignore the option if not recognized
14626 # So say no if there are warnings other than the usual output.
14627 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14628 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14629 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14630 lt_cv_prog_compiler_pic_works_F77
=yes
14636 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
14637 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
14639 if test x
"$lt_cv_prog_compiler_pic_works_F77" = xyes
; then
14640 case $lt_prog_compiler_pic_F77 in
14642 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14645 lt_prog_compiler_pic_F77
=
14646 lt_prog_compiler_can_build_shared_F77
=no
14651 # For platforms which do not support PIC, -DPIC is meaningless:
14653 lt_prog_compiler_pic_F77
=
14656 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14661 # Check to make sure the static flag actually works.
14663 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14664 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14665 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14666 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
14667 $as_echo_n "(cached) " >&6
14669 lt_cv_prog_compiler_static_works_F77
=no
14670 save_LDFLAGS
="$LDFLAGS"
14671 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14672 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14673 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14674 # The linker can only warn and ignore the option if not recognized
14675 # So say no if there are warnings
14676 if test -s conftest.err
; then
14677 # Append any errors to the config.log.
14678 cat conftest.err
1>&5
14679 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14680 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14681 if diff conftest.exp conftest.er2
>/dev
/null
; then
14682 lt_cv_prog_compiler_static_works_F77
=yes
14685 lt_cv_prog_compiler_static_works_F77
=yes
14689 LDFLAGS
="$save_LDFLAGS"
14692 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
14693 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
14695 if test x
"$lt_cv_prog_compiler_static_works_F77" = xyes
; then
14698 lt_prog_compiler_static_F77
=
14702 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14703 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14704 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14705 $as_echo_n "(cached) " >&6
14707 lt_cv_prog_compiler_c_o_F77
=no
14708 $rm -r conftest
2>/dev
/null
14712 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14714 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14715 # Insert the option either (1) after the last *FLAGS variable, or
14716 # (2) before a word containing "conftest.", or (3) at the end.
14717 # Note that $ac_compile itself does not contain backslashes and begins
14718 # with a dollar sign (not a hyphen), so the echo should work correctly.
14719 lt_compile
=`echo "$ac_compile" | $SED \
14720 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14721 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14722 -e 's:$: $lt_compiler_flag:'`
14723 (eval echo "\"\$as_me:14723: $lt_compile\"" >&5)
14724 (eval "$lt_compile" 2>out
/conftest.err
)
14726 cat out
/conftest.err
>&5
14727 echo "$as_me:14727: \$? = $ac_status" >&5
14728 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14730 # The compiler can only warn and ignore the option if not recognized
14731 # So say no if there are warnings
14732 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14733 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14734 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14735 lt_cv_prog_compiler_c_o_F77
=yes
14740 # SGI C++ compiler will create directory out/ii_files/ for
14741 # template instantiation
14742 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14743 $rm out
/* && rmdir out
14749 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14750 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14753 hard_links
="nottested"
14754 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14755 # do not overwrite the value of need_locks provided by the user
14756 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14757 $as_echo_n "checking if we can lock with hard links... " >&6; }
14760 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14762 ln conftest.a conftest.b
2>&5 || hard_links
=no
14763 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14764 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14765 $as_echo "$hard_links" >&6; }
14766 if test "$hard_links" = no
; then
14767 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14768 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14775 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14776 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14779 allow_undefined_flag_F77
=
14780 enable_shared_with_static_runtimes_F77
=no
14782 archive_expsym_cmds_F77
=
14783 old_archive_From_new_cmds_F77
=
14784 old_archive_from_expsyms_cmds_F77
=
14785 export_dynamic_flag_spec_F77
=
14786 whole_archive_flag_spec_F77
=
14787 thread_safe_flag_spec_F77
=
14788 hardcode_libdir_flag_spec_F77
=
14789 hardcode_libdir_flag_spec_ld_F77
=
14790 hardcode_libdir_separator_F77
=
14791 hardcode_direct_F77
=no
14792 hardcode_minus_L_F77
=no
14793 hardcode_shlibpath_var_F77
=unsupported
14794 link_all_deplibs_F77
=unknown
14795 hardcode_automatic_F77
=no
14797 module_expsym_cmds_F77
=
14798 always_export_symbols_F77
=no
14799 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14800 # include_expsyms should be a list of space-separated symbols to be *always*
14801 # included in the symbol list
14802 include_expsyms_F77
=
14803 # exclude_expsyms can be an extended regexp of symbols to exclude
14804 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14805 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14806 # as well as any symbol that contains `d'.
14807 exclude_expsyms_F77
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14808 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14809 # platforms (ab)use it in PIC code, but their linkers get confused if
14810 # the symbol is explicitly referenced. Since portable code cannot
14811 # rely on this symbol name, it's probably fine to never include it in
14812 # preloaded symbol tables.
14813 # Exclude shared library initialization/finalization symbols.
14814 extract_expsyms_cmds
=
14815 # Just being paranoid about ensuring that cc_basename is set.
14816 for cc_temp
in $compiler""; do
14818 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14819 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14824 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14827 cygwin
* | mingw
* | pw32
*)
14828 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14829 # When not using gcc, we currently assume that we are using
14830 # Microsoft Visual C++.
14831 if test "$GCC" != yes; then
14836 # we just hope/assume this is gcc and not c89 (= MSVC++)
14845 if test "$with_gnu_ld" = yes; then
14846 # If archive_cmds runs LD, not CC, wlarc should be empty
14849 # Set some defaults for GNU ld with shared library support. These
14850 # are reset later if shared libraries are not supported. Putting them
14851 # here allows them to be overridden if necessary.
14852 runpath_var
=LD_RUN_PATH
14853 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14854 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14855 # ancient GNU ld didn't support --whole-archive et. al.
14856 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14857 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14859 whole_archive_flag_spec_F77
=
14861 supports_anon_versioning
=no
14862 case `$LD -v 2>/dev/null` in
14863 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14864 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14865 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14866 *\
2.11.
*) ;; # other 2.11 versions
14867 *) supports_anon_versioning
=yes ;;
14870 # See if GNU ld supports shared libraries.
14873 # On AIX/PPC, the GNU linker is very broken
14874 if test "$host_cpu" != ia64
; then
14878 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14879 *** to be unable to reliably create shared libraries on AIX.
14880 *** Therefore, libtool is disabling shared libraries support. If you
14881 *** really care for shared libraries, you may want to modify your PATH
14882 *** so that a non-GNU linker is found, and then restart.
14889 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14890 hardcode_libdir_flag_spec_F77
='-L$libdir'
14891 hardcode_minus_L_F77
=yes
14893 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14894 # that the semantics of dynamic libraries on AmigaOS, at least up
14895 # to version 4, is to share data among multiple programs linked
14896 # with the same dynamic library. Since this doesn't match the
14897 # behavior of shared libraries on other platforms, we can't use
14903 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14904 allow_undefined_flag_F77
=unsupported
14905 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14906 # support --undefined. This deserves some investigation. FIXME
14907 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14913 cygwin
* | mingw
* | pw32
*)
14914 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14915 # as there is no search path for DLLs.
14916 hardcode_libdir_flag_spec_F77
='-L$libdir'
14917 allow_undefined_flag_F77
=unsupported
14918 always_export_symbols_F77
=no
14919 enable_shared_with_static_runtimes_F77
=yes
14920 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14922 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14923 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14924 # If the export-symbols file already is a .def file (1st line
14925 # is EXPORTS), use it as is; otherwise, prepend...
14926 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14927 cp $export_symbols $output_objdir/$soname.def;
14929 echo EXPORTS > $output_objdir/$soname.def;
14930 cat $export_symbols >> $output_objdir/$soname.def;
14932 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14939 hardcode_direct_F77
=no
14940 hardcode_shlibpath_var_F77
=no
14941 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14942 export_dynamic_flag_spec_F77
='${wl}-E'
14943 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14944 # Instead, shared libraries are loaded at an image base (0x10000000 by
14945 # default) and relocated if they conflict, which is a slow very memory
14946 # consuming and fragmenting process. To avoid this, we pick a random,
14947 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14948 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14949 archive_cmds_F77
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14950 archive_expsym_cmds_F77
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14953 gnu
* | linux
* | k
*bsd
*-gnu)
14954 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14956 case $cc_basename,$host_cpu in
14957 pgcc
*) # Portland Group C compiler
14958 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14959 tmp_addflag
=' $pic_flag'
14961 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14962 whole_archive_flag_spec_F77
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14963 tmp_addflag
=' $pic_flag -Mnomain' ;;
14964 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14965 tmp_addflag
=' -i_dynamic' ;;
14966 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14967 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14968 ifc
* | ifort
*) # Intel Fortran compiler
14969 tmp_addflag
=' -nofor_main' ;;
14971 case `$CC -V 2>&1 | sed 5q` in
14972 *Sun\ C
*) # Sun C 5.9
14973 whole_archive_flag_spec_F77
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
14974 tmp_sharedflag
='-G' ;;
14975 *Sun\ F
*) # Sun Fortran 8.3
14976 tmp_sharedflag
='-G' ;;
14978 tmp_sharedflag
='-shared' ;;
14980 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14982 if test $supports_anon_versioning = yes; then
14983 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14984 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14985 $echo "local: *; };" >> $output_objdir/$libname.ver~
14986 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14994 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14995 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14998 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14999 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15004 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
15008 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15009 *** create shared libraries on Solaris systems. Therefore, libtool
15010 *** is disabling shared libraries support. We urge you to upgrade GNU
15011 *** binutils to release 2.9.1 or newer. Another option is to modify
15012 *** your PATH or compiler configuration so that the native linker is
15013 *** used, and then restart.
15016 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15017 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15018 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15024 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
15025 case `$LD -v 2>&1` in
15026 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
15030 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
15031 *** reliably create shared libraries on SCO systems. Therefore, libtool
15032 *** is disabling shared libraries support. We urge you to upgrade GNU
15033 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
15034 *** your PATH or compiler configuration so that the native linker is
15035 *** used, and then restart.
15040 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15041 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
15042 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
15043 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
15052 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15054 hardcode_direct_F77
=yes
15055 hardcode_shlibpath_var_F77
=no
15059 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
15060 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15061 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15068 if test "$ld_shlibs_F77" = no
; then
15070 hardcode_libdir_flag_spec_F77
=
15071 export_dynamic_flag_spec_F77
=
15072 whole_archive_flag_spec_F77
=
15075 # PORTME fill in a description of your system's linker (not GNU ld)
15078 allow_undefined_flag_F77
=unsupported
15079 always_export_symbols_F77
=yes
15080 archive_expsym_cmds_F77
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
15081 # Note: this linker hardcodes the directories in LIBPATH if there
15082 # are no directories specified by -L.
15083 hardcode_minus_L_F77
=yes
15084 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15085 # Neither direct hardcoding nor static linking is supported with a
15087 hardcode_direct_F77
=unsupported
15092 if test "$host_cpu" = ia64
; then
15093 # On IA64, the linker does run time linking by default, so we don't
15094 # have to do anything special.
15095 aix_use_runtimelinking
=no
15096 exp_sym_flag
='-Bexport'
15099 # If we're using GNU nm, then we don't want the "-C" option.
15100 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15101 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15102 export_symbols_cmds_F77
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15104 export_symbols_cmds_F77
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
15106 aix_use_runtimelinking
=no
15108 # Test if we are trying to use run time linking or normal
15109 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15110 # need to do runtime linking.
15111 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
15112 for ld_flag
in $LDFLAGS; do
15113 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15114 aix_use_runtimelinking
=yes
15121 exp_sym_flag
='-bexport'
15122 no_entry_flag
='-bnoentry'
15125 # When large executables or shared objects are built, AIX ld can
15126 # have problems creating the table of contents. If linking a library
15127 # or program results in "error TOC overflow" add -mminimal-toc to
15128 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15129 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15131 archive_cmds_F77
=''
15132 hardcode_direct_F77
=yes
15133 hardcode_libdir_separator_F77
=':'
15134 link_all_deplibs_F77
=yes
15136 if test "$GCC" = yes; then
15137 case $host_os in aix4.
[012]|aix4.
[012].
*)
15138 # We only want to do this on AIX 4.2 and lower, the check
15139 # below for broken collect2 doesn't work under 4.3+
15140 collect2name
=`${CC} -print-prog-name=collect2`
15141 if test -f "$collect2name" && \
15142 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15144 # We have reworked collect2
15147 # We have old collect2
15148 hardcode_direct_F77
=unsupported
15149 # It fails to find uninstalled libraries when the uninstalled
15150 # path is not listed in the libpath. Setting hardcode_minus_L
15151 # to unsupported forces relinking
15152 hardcode_minus_L_F77
=yes
15153 hardcode_libdir_flag_spec_F77
='-L$libdir'
15154 hardcode_libdir_separator_F77
=
15158 shared_flag
='-shared'
15159 if test "$aix_use_runtimelinking" = yes; then
15160 shared_flag
="$shared_flag "'${wl}-G'
15164 if test "$host_cpu" = ia64
; then
15165 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15166 # chokes on -Wl,-G. The following line is correct:
15169 if test "$aix_use_runtimelinking" = yes; then
15170 shared_flag
='${wl}-G'
15172 shared_flag
='${wl}-bM:SRE'
15177 # It seems that -bexpall does not export symbols beginning with
15178 # underscore (_), so it is better to generate a list of symbols to export.
15179 always_export_symbols_F77
=yes
15180 if test "$aix_use_runtimelinking" = yes; then
15181 # Warning - without using the other runtime loading flags (-brtl),
15182 # -berok will link without error, but may produce a broken library.
15183 allow_undefined_flag_F77
='-berok'
15184 # Determine the default libpath from the value encoded in an empty executable.
15185 cat >conftest.
$ac_ext <<_ACEOF
15190 rm -f conftest.
$ac_objext conftest
$ac_exeext
15191 if { (ac_try
="$ac_link"
15192 case "(($ac_try" in
15193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15194 *) ac_try_echo=$ac_try;;
15196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15197 $as_echo "$ac_try_echo") >&5
15198 (eval "$ac_link") 2>conftest.er1
15200 grep -v '^ *+' conftest.er1 >conftest.err
15202 cat conftest.err >&5
15203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15204 (exit $ac_status); } && {
15205 test -z "$ac_f77_werror_flag" ||
15206 test ! -s conftest.err
15207 } && test -s conftest$ac_exeext && {
15208 test "$cross_compiling" = yes ||
15209 $as_test_x conftest$ac_exeext
15212 lt_aix_libpath_sed='
15213 /Import File Strings/,/^$/ {
15219 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15220 # Check for a 64-bit object if we didn't find anything.
15221 if test -z "$aix_libpath"; then
15222 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15225 $as_echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15231 rm -rf conftest.dSYM
15232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15233 conftest$ac_exeext conftest.$ac_ext
15234 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15236 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15237 archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
15239 if test "$host_cpu" = ia64; then
15240 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15241 allow_undefined_flag_F77="-z nodefs"
15242 archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
15244 # Determine the default libpath from the value encoded in an empty executable.
15245 cat >conftest.$ac_ext <<_ACEOF
15250 rm -f conftest.$ac_objext conftest$ac_exeext
15251 if { (ac_try="$ac_link"
15252 case "(($ac_try" in
15253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15254 *) ac_try_echo
=$ac_try;;
15256 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15257 $as_echo "$ac_try_echo") >&5
15258 (eval "$ac_link") 2>conftest.er1
15260 grep -v '^ *+' conftest.er1
>conftest.err
15262 cat conftest.err
>&5
15263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); } && {
15265 test -z "$ac_f77_werror_flag" ||
15266 test ! -s conftest.err
15267 } && test -s conftest
$ac_exeext && {
15268 test "$cross_compiling" = yes ||
15269 $as_test_x conftest
$ac_exeext
15272 lt_aix_libpath_sed
='
15273 /Import File Strings/,/^$/ {
15279 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15280 # Check for a 64-bit object if we didn't find anything.
15281 if test -z "$aix_libpath"; then
15282 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15285 $as_echo "$as_me: failed program was:" >&5
15286 sed 's/^/| /' conftest.
$ac_ext >&5
15291 rm -rf conftest.dSYM
15292 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15293 conftest
$ac_exeext conftest.
$ac_ext
15294 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15296 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15297 # Warning - without using the other run time loading flags,
15298 # -berok will link without error, but may produce a broken library.
15299 no_undefined_flag_F77
=' ${wl}-bernotok'
15300 allow_undefined_flag_F77
=' ${wl}-berok'
15301 # Exported symbols can be pulled into shared objects from archives
15302 whole_archive_flag_spec_F77
='$convenience'
15303 archive_cmds_need_lc_F77
=yes
15304 # This is similar to how AIX traditionally builds its shared libraries.
15305 archive_expsym_cmds_F77
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15311 archive_cmds_F77
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
15312 hardcode_libdir_flag_spec_F77
='-L$libdir'
15313 hardcode_minus_L_F77
=yes
15314 # see comment about different semantics on the GNU ld section
15319 export_dynamic_flag_spec_F77
=-rdynamic
15322 cygwin
* | mingw
* | pw32
*)
15323 # When not using gcc, we currently assume that we are using
15324 # Microsoft Visual C++.
15325 # hardcode_libdir_flag_spec is actually meaningless, as there is
15326 # no search path for DLLs.
15327 hardcode_libdir_flag_spec_F77
=' '
15328 allow_undefined_flag_F77
=unsupported
15329 # Tell ltmain to make .lib files, not .a files.
15331 # Tell ltmain to make .dll files, not .so files.
15333 # FIXME: Setting linknames here is a bad hack.
15334 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15335 # The linker will automatically build a .lib file if we build a DLL.
15336 old_archive_From_new_cmds_F77
='true'
15337 # FIXME: Should let the user specify the lib program.
15338 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15339 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15340 enable_shared_with_static_runtimes_F77
=yes
15343 darwin
* | rhapsody
*)
15344 allow_undefined_flag_F77
="$_lt_dar_allow_undefined"
15345 archive_cmds_need_lc_F77
=no
15346 hardcode_direct_F77
=no
15347 hardcode_automatic_F77
=yes
15348 hardcode_shlibpath_var_F77
=unsupported
15349 whole_archive_flag_spec_F77
=''
15350 link_all_deplibs_F77
=yes
15351 if test "$GCC" = yes ; then
15352 output_verbose_link_cmd
='echo'
15353 archive_cmds_F77
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
15354 module_cmds_F77
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15355 archive_expsym_cmds_F77
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
15356 module_expsym_cmds_F77
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
15358 case $cc_basename in
15360 output_verbose_link_cmd
='echo'
15361 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15362 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15363 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15364 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15365 module_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15375 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15376 hardcode_libdir_flag_spec_F77
='-L$libdir'
15377 hardcode_shlibpath_var_F77
=no
15384 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15385 # support. Future versions do this automatically, but an explicit c++rt0.o
15386 # does not break anything, and helps significantly (at the cost of a little
15389 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15390 hardcode_libdir_flag_spec_F77
='-R$libdir'
15391 hardcode_direct_F77
=yes
15392 hardcode_shlibpath_var_F77
=no
15395 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15397 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15398 hardcode_direct_F77
=yes
15399 hardcode_minus_L_F77
=yes
15400 hardcode_shlibpath_var_F77
=no
15403 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15404 freebsd
* | dragonfly
*)
15405 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15406 hardcode_libdir_flag_spec_F77
='-R$libdir'
15407 hardcode_direct_F77
=yes
15408 hardcode_shlibpath_var_F77
=no
15412 if test "$GCC" = yes; then
15413 archive_cmds_F77
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15415 archive_cmds_F77
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15417 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15418 hardcode_libdir_separator_F77
=:
15419 hardcode_direct_F77
=yes
15421 # hardcode_minus_L: Not really in the search PATH,
15422 # but as the default location of the library.
15423 hardcode_minus_L_F77
=yes
15424 export_dynamic_flag_spec_F77
='${wl}-E'
15428 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15429 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15431 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15433 if test "$with_gnu_ld" = no
; then
15434 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15435 hardcode_libdir_separator_F77
=:
15437 hardcode_direct_F77
=yes
15438 export_dynamic_flag_spec_F77
='${wl}-E'
15440 # hardcode_minus_L: Not really in the search PATH,
15441 # but as the default location of the library.
15442 hardcode_minus_L_F77
=yes
15447 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15450 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15453 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15456 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15462 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15465 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15468 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15472 if test "$with_gnu_ld" = no
; then
15473 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15474 hardcode_libdir_separator_F77
=:
15478 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15479 hardcode_direct_F77
=no
15480 hardcode_shlibpath_var_F77
=no
15483 hardcode_direct_F77
=yes
15484 export_dynamic_flag_spec_F77
='${wl}-E'
15486 # hardcode_minus_L: Not really in the search PATH,
15487 # but as the default location of the library.
15488 hardcode_minus_L_F77
=yes
15494 irix5
* | irix6
* | nonstopux
*)
15495 if test "$GCC" = yes; then
15496 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15498 archive_cmds_F77
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15499 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15501 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15502 hardcode_libdir_separator_F77
=:
15503 link_all_deplibs_F77
=yes
15507 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15508 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15510 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15512 hardcode_libdir_flag_spec_F77
='-R$libdir'
15513 hardcode_direct_F77
=yes
15514 hardcode_shlibpath_var_F77
=no
15518 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15519 hardcode_direct_F77
=yes
15520 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15521 hardcode_libdir_separator_F77
=:
15522 hardcode_shlibpath_var_F77
=no
15526 if test -f /usr
/libexec
/ld.so
; then
15527 hardcode_direct_F77
=yes
15528 hardcode_shlibpath_var_F77
=no
15529 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15530 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15531 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15532 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15533 export_dynamic_flag_spec_F77
='${wl}-E'
15536 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15537 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15538 hardcode_libdir_flag_spec_F77
='-R$libdir'
15541 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15542 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15552 hardcode_libdir_flag_spec_F77
='-L$libdir'
15553 hardcode_minus_L_F77
=yes
15554 allow_undefined_flag_F77
=unsupported
15555 archive_cmds_F77
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15556 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15560 if test "$GCC" = yes; then
15561 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15562 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15564 allow_undefined_flag_F77
=' -expect_unresolved \*'
15565 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15567 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15568 hardcode_libdir_separator_F77
=:
15571 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15572 if test "$GCC" = yes; then
15573 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15574 archive_cmds_F77
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15575 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15577 allow_undefined_flag_F77
=' -expect_unresolved \*'
15578 archive_cmds_F77
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
15579 archive_expsym_cmds_F77
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
15580 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
15582 # Both c and cxx compiler support -rpath directly
15583 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15585 hardcode_libdir_separator_F77
=:
15589 no_undefined_flag_F77
=' -z text'
15590 if test "$GCC" = yes; then
15592 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15593 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15594 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15597 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15598 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15599 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15601 hardcode_libdir_flag_spec_F77
='-R$libdir'
15602 hardcode_shlibpath_var_F77
=no
15604 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15606 # The compiler driver will combine and reorder linker options,
15607 # but understands `-z linker_flag'. GCC discards it without `$wl',
15608 # but is careful enough not to reorder.
15609 # Supported since Solaris 2.6 (maybe 2.5.1?)
15610 if test "$GCC" = yes; then
15611 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15613 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15617 link_all_deplibs_F77
=yes
15621 if test "x$host_vendor" = xsequent
; then
15622 # Use $CC to link under sequent, because it throws in some extra .o
15623 # files that make .init and .fini sections work.
15624 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15626 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15628 hardcode_libdir_flag_spec_F77
='-L$libdir'
15629 hardcode_direct_F77
=yes
15630 hardcode_minus_L_F77
=yes
15631 hardcode_shlibpath_var_F77
=no
15635 case $host_vendor in
15637 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15638 hardcode_direct_F77
=yes # is this really true???
15641 ## LD is ld it makes a PLAMLIB
15642 ## CC just makes a GrossModule.
15643 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15644 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15645 hardcode_direct_F77
=no
15648 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15649 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15652 runpath_var
='LD_RUN_PATH'
15653 hardcode_shlibpath_var_F77
=no
15657 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15658 hardcode_shlibpath_var_F77
=no
15659 export_dynamic_flag_spec_F77
='-Bexport'
15663 if test -d /usr
/nec
; then
15664 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15665 hardcode_shlibpath_var_F77
=no
15666 runpath_var
=LD_RUN_PATH
15667 hardcode_runpath_var
=yes
15672 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15673 no_undefined_flag_F77
='${wl}-z,text'
15674 archive_cmds_need_lc_F77
=no
15675 hardcode_shlibpath_var_F77
=no
15676 runpath_var
='LD_RUN_PATH'
15678 if test "$GCC" = yes; then
15679 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15680 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15682 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15683 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15687 sysv5
* | sco3.2v5
* | sco5v6
*)
15688 # Note: We can NOT use -z defs as we might desire, because we do not
15689 # link with -lc, and that would cause any symbols used from libc to
15690 # always be unresolved, which means just about no library would
15691 # ever link correctly. If we're not using GNU ld we use -z text
15692 # though, which does catch some bad symbols but isn't as heavy-handed
15694 no_undefined_flag_F77
='${wl}-z,text'
15695 allow_undefined_flag_F77
='${wl}-z,nodefs'
15696 archive_cmds_need_lc_F77
=no
15697 hardcode_shlibpath_var_F77
=no
15698 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15699 hardcode_libdir_separator_F77
=':'
15700 link_all_deplibs_F77
=yes
15701 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15702 runpath_var
='LD_RUN_PATH'
15704 if test "$GCC" = yes; then
15705 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15706 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15708 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15709 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15714 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15715 hardcode_libdir_flag_spec_F77
='-L$libdir'
15716 hardcode_shlibpath_var_F77
=no
15725 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15726 $as_echo "$ld_shlibs_F77" >&6; }
15727 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15730 # Do we need to explicitly link libc?
15732 case "x$archive_cmds_need_lc_F77" in
15734 # Assume -lc should be added
15735 archive_cmds_need_lc_F77
=yes
15737 if test "$enable_shared" = yes && test "$GCC" = yes; then
15738 case $archive_cmds_F77 in
15740 # FIXME: we may have to deal with multi-command sequences.
15743 # Test whether the compiler implicitly links with -lc since on some
15744 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15745 # to ld, don't add -lc before -lgcc.
15746 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15747 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15749 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15752 (eval $ac_compile) 2>&5
15754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); } 2>conftest.err
; then
15758 libobjs
=conftest.
$ac_objext
15760 wl
=$lt_prog_compiler_wl_F77
15761 pic_flag
=$lt_prog_compiler_pic_F77
15767 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15768 allow_undefined_flag_F77
=
15769 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15770 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); }
15775 archive_cmds_need_lc_F77
=no
15777 archive_cmds_need_lc_F77
=yes
15779 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15781 cat conftest.err
1>&5
15784 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15785 $as_echo "$archive_cmds_need_lc_F77" >&6; }
15792 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15793 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15794 library_names_spec
=
15795 libname_spec
='lib$name'
15799 postuninstall_cmds
=
15803 shlibpath_overrides_runpath
=unknown
15805 dynamic_linker
="$host_os ld.so"
15806 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15808 need_lib_prefix
=unknown
15809 hardcode_into_libs
=no
15811 # when you set need_version to no, make sure it does not cause -set_version
15812 # flags to be left without arguments
15813 need_version
=unknown
15818 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15819 shlibpath_var
=LIBPATH
15821 # AIX 3 has no versioning support, so we append a major version to the name.
15822 soname_spec
='${libname}${release}${shared_ext}$major'
15829 hardcode_into_libs
=yes
15830 if test "$host_cpu" = ia64
; then
15831 # AIX 5 supports IA64
15832 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15833 shlibpath_var
=LD_LIBRARY_PATH
15835 # With GCC up to 2.95.x, collect2 would create an import file
15836 # for dependence libraries. The import file would start with
15837 # the line `#! .'. This would cause the generated library to
15838 # depend on `.', always an invalid library. This was fixed in
15839 # development snapshots of GCC prior to 3.0.
15841 aix4 | aix4.
[01] | aix4.
[01].
*)
15842 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15844 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15847 can_build_shared
=no
15851 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15852 # soname into executable. Probably we can add versioning support to
15853 # collect2, so additional links can be useful in future.
15854 if test "$aix_use_runtimelinking" = yes; then
15855 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15856 # instead of lib<name>.a to let people know that these are not
15857 # typical AIX shared libraries.
15858 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15860 # We preserve .a as extension for shared libraries through AIX4.2
15861 # and later when we are not doing run time linking.
15862 library_names_spec
='${libname}${release}.a $libname.a'
15863 soname_spec
='${libname}${release}${shared_ext}$major'
15865 shlibpath_var
=LIBPATH
15870 library_names_spec
='$libname.ixlibrary $libname.a'
15871 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15872 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'
15876 library_names_spec
='${libname}${shared_ext}'
15877 dynamic_linker
="$host_os ld.so"
15878 shlibpath_var
=LIBRARY_PATH
15884 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15885 soname_spec
='${libname}${release}${shared_ext}$major'
15886 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15887 shlibpath_var
=LD_LIBRARY_PATH
15888 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15889 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15890 # the default ld.so.conf also contains /usr/contrib/lib and
15891 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15892 # libtool to hard-code these into programs
15895 cygwin
* | mingw
* | pw32
*)
15896 version_type
=windows
15901 case $GCC,$host_os in
15902 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15903 library_names_spec
='$libname.dll.a'
15904 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15905 postinstall_cmds
='base_file=`basename \${file}`~
15906 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15907 dldir=$destdir/`dirname \$dlpath`~
15908 test -d \$dldir || mkdir -p \$dldir~
15909 $install_prog $dir/$dlname \$dldir/$dlname~
15910 chmod a+x \$dldir/$dlname'
15911 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15912 dlpath=$dir/\$dldll~
15914 shlibpath_overrides_runpath
=yes
15918 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15919 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15920 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15923 # MinGW DLLs use traditional 'lib' prefix
15924 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15925 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15926 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15927 # It is most probably a Windows format PATH printed by
15928 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15929 # path with ; separators, and with drive letters. We can handle the
15930 # drive letters (cygwin fileutils understands them), so leave them,
15931 # especially as we might pass files found there to a mingw objdump,
15932 # which wouldn't understand a cygwinified path. Ahh.
15933 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15935 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15939 # pw32 DLLs use 'pw' prefix rather than 'lib'
15940 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15946 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15949 dynamic_linker
='Win32 ld.exe'
15950 # FIXME: first we should search . and the directory the executable is in
15954 darwin
* | rhapsody
*)
15955 dynamic_linker
="$host_os dyld"
15956 version_type
=darwin
15959 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15960 soname_spec
='${libname}${release}${major}$shared_ext'
15961 shlibpath_overrides_runpath
=yes
15962 shlibpath_var
=DYLD_LIBRARY_PATH
15963 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15965 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15973 soname_spec
='${libname}${release}${shared_ext}$major'
15974 shlibpath_var
=LD_LIBRARY_PATH
15981 freebsd
* | dragonfly
*)
15982 # DragonFly does not have aout. When/if they implement a new
15983 # versioning mechanism, adjust this.
15984 if test -x /usr
/bin
/objformat
; then
15985 objformat
=`/usr/bin/objformat`
15988 freebsd
[123]*) objformat
=aout
;;
15989 *) objformat
=elf
;;
15992 version_type
=freebsd-
$objformat
15993 case $version_type in
15995 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16000 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16004 shlibpath_var
=LD_LIBRARY_PATH
16007 shlibpath_overrides_runpath
=yes
16009 freebsd3.
[01]* | freebsdelf3.
[01]*)
16010 shlibpath_overrides_runpath
=yes
16011 hardcode_into_libs
=yes
16013 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
16014 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
16015 shlibpath_overrides_runpath
=no
16016 hardcode_into_libs
=yes
16018 *) # from 4.6 on, and DragonFly
16019 shlibpath_overrides_runpath
=yes
16020 hardcode_into_libs
=yes
16029 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16030 soname_spec
='${libname}${release}${shared_ext}$major'
16031 shlibpath_var
=LD_LIBRARY_PATH
16032 hardcode_into_libs
=yes
16035 hpux9
* | hpux10
* | hpux11
*)
16036 # Give a soname corresponding to the major version so that dld.sl refuses to
16037 # link against other versions.
16044 hardcode_into_libs
=yes
16045 dynamic_linker
="$host_os dld.so"
16046 shlibpath_var
=LD_LIBRARY_PATH
16047 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16048 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16049 soname_spec
='${libname}${release}${shared_ext}$major'
16050 if test "X$HPUX_IA64_MODE" = X32
; then
16051 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16053 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
16055 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16059 hardcode_into_libs
=yes
16060 dynamic_linker
="$host_os dld.sl"
16061 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16062 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16063 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16064 soname_spec
='${libname}${release}${shared_ext}$major'
16065 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16066 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16070 dynamic_linker
="$host_os dld.sl"
16071 shlibpath_var
=SHLIB_PATH
16072 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16073 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16074 soname_spec
='${libname}${release}${shared_ext}$major'
16077 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16078 postinstall_cmds
='chmod 555 $lib'
16085 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16086 soname_spec
='${libname}${release}${shared_ext}$major'
16087 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16088 shlibpath_var
=LD_LIBRARY_PATH
16089 shlibpath_overrides_runpath
=no
16090 hardcode_into_libs
=yes
16093 irix5
* | irix6
* | nonstopux
*)
16095 nonstopux
*) version_type
=nonstopux
;;
16097 if test "$lt_cv_prog_gnu_ld" = yes; then
16105 soname_spec
='${libname}${release}${shared_ext}$major'
16106 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16108 irix5
* | nonstopux
*)
16109 libsuff
= shlibsuff
=
16112 case $LD in # libtool.m4 will add one of these switches to LD
16113 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16114 libsuff
= shlibsuff
= libmagic
=32-bit;;
16115 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16116 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16117 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16118 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16119 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16123 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16124 shlibpath_overrides_runpath
=no
16125 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16126 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16127 hardcode_into_libs
=yes
16130 # No shared lib support for Linux oldld, aout, or coff.
16131 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16135 # This must be Linux ELF.
16136 linux
* | k
*bsd
*-gnu)
16140 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16141 soname_spec
='${libname}${release}${shared_ext}$major'
16142 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16143 shlibpath_var
=LD_LIBRARY_PATH
16144 shlibpath_overrides_runpath
=no
16145 # This implies no fast_install, which is unacceptable.
16146 # Some rework will be needed to allow for fast_install
16147 # before this can be enabled.
16148 hardcode_into_libs
=yes
16150 # Append ld.so.conf contents to the search path
16151 if test -f /etc
/ld.so.conf
; then
16152 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' ' '`
16153 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16156 # We used to test for /lib/ld.so.1 and disable shared libraries on
16157 # powerpc, because MkLinux only supported shared libraries with the
16158 # GNU dynamic linker. Since this was broken with cross compilers,
16159 # most powerpc-linux boxes support dynamic linking these days and
16160 # people can always --disable-shared, the test was removed, and we
16161 # assume the GNU/Linux dynamic linker is in use.
16162 dynamic_linker
='GNU/Linux ld.so'
16169 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16170 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16171 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16172 dynamic_linker
='NetBSD (a.out) ld.so'
16174 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16175 soname_spec
='${libname}${release}${shared_ext}$major'
16176 dynamic_linker
='NetBSD ld.elf_so'
16178 shlibpath_var
=LD_LIBRARY_PATH
16179 shlibpath_overrides_runpath
=yes
16180 hardcode_into_libs
=yes
16185 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16186 shlibpath_var
=LD_LIBRARY_PATH
16187 shlibpath_overrides_runpath
=yes
16194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16195 soname_spec
='${libname}${release}${shared_ext}$major'
16196 shlibpath_var
=LD_LIBRARY_PATH
16197 shlibpath_overrides_runpath
=yes
16202 sys_lib_dlsearch_path_spec
="/usr/lib"
16204 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16206 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16207 *) need_version
=no
;;
16209 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16210 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16211 shlibpath_var
=LD_LIBRARY_PATH
16212 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16214 openbsd2.
[89] | openbsd2.
[89].
*)
16215 shlibpath_overrides_runpath
=no
16218 shlibpath_overrides_runpath
=yes
16222 shlibpath_overrides_runpath
=yes
16227 libname_spec
='$name'
16230 library_names_spec
='$libname${shared_ext} $libname.a'
16231 dynamic_linker
='OS/2 ld.exe'
16232 shlibpath_var
=LIBPATH
16235 osf3
* | osf4
* | osf5
*)
16239 soname_spec
='${libname}${release}${shared_ext}$major'
16240 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16241 shlibpath_var
=LD_LIBRARY_PATH
16242 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16243 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16255 soname_spec
='${libname}${release}${shared_ext}$major'
16256 shlibpath_var
=LD_LIBRARY_PATH
16257 shlibpath_overrides_runpath
=yes
16258 hardcode_into_libs
=yes
16259 # ldd complains unless libraries are executable
16260 postinstall_cmds
='chmod +x $lib'
16265 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16266 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16267 shlibpath_var
=LD_LIBRARY_PATH
16268 shlibpath_overrides_runpath
=yes
16269 if test "$with_gnu_ld" = yes; then
16277 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16278 soname_spec
='${libname}${release}${shared_ext}$major'
16279 shlibpath_var
=LD_LIBRARY_PATH
16280 case $host_vendor in
16282 shlibpath_overrides_runpath
=no
16284 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16285 runpath_var
=LD_RUN_PATH
16293 shlibpath_overrides_runpath
=no
16294 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16300 if test -d /usr
/nec
;then
16302 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16303 soname_spec
='$libname${shared_ext}.$major'
16304 shlibpath_var
=LD_LIBRARY_PATH
16308 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16309 version_type
=freebsd-elf
16312 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16313 soname_spec
='${libname}${release}${shared_ext}$major'
16314 shlibpath_var
=LD_LIBRARY_PATH
16315 hardcode_into_libs
=yes
16316 if test "$with_gnu_ld" = yes; then
16317 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16318 shlibpath_overrides_runpath
=no
16320 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16321 shlibpath_overrides_runpath
=yes
16324 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16328 sys_lib_dlsearch_path_spec
='/usr/lib'
16333 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16334 soname_spec
='${libname}${release}${shared_ext}$major'
16335 shlibpath_var
=LD_LIBRARY_PATH
16342 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16343 $as_echo "$dynamic_linker" >&6; }
16344 test "$dynamic_linker" = no
&& can_build_shared
=no
16346 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16347 $as_echo_n "(cached) " >&6
16349 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
16352 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16353 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16354 $as_echo_n "(cached) " >&6
16356 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
16359 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16361 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16362 if test "$GCC" = yes; then
16363 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16366 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16367 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16368 hardcode_action_F77
=
16369 if test -n "$hardcode_libdir_flag_spec_F77" || \
16370 test -n "$runpath_var_F77" || \
16371 test "X$hardcode_automatic_F77" = "Xyes" ; then
16373 # We can hardcode non-existant directories.
16374 if test "$hardcode_direct_F77" != no
&&
16375 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16376 # have to relink, otherwise we might link with an installed library
16377 # when we should be linking with a yet-to-be-installed one
16378 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16379 test "$hardcode_minus_L_F77" != no
; then
16380 # Linking always hardcodes the temporary library directory.
16381 hardcode_action_F77
=relink
16383 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16384 hardcode_action_F77
=immediate
16387 # We cannot hardcode anything, or else we can only hardcode existing
16389 hardcode_action_F77
=unsupported
16391 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16392 $as_echo "$hardcode_action_F77" >&6; }
16394 if test "$hardcode_action_F77" = relink
; then
16395 # Fast installation is not supported
16396 enable_fast_install
=no
16397 elif test "$shlibpath_overrides_runpath" = yes ||
16398 test "$enable_shared" = no
; then
16399 # Fast installation is not necessary
16400 enable_fast_install
=needless
16404 # The else clause should only fire when bootstrapping the
16405 # libtool distribution, otherwise you forgot to ship ltmain.sh
16406 # with your package, and you will get complaints that there are
16407 # no rules to generate ltmain.sh.
16408 if test -f "$ltmain"; then
16409 # See if we are running on zsh, and set the options which allow our commands through
16410 # without removal of \ escapes.
16411 if test -n "${ZSH_VERSION+set}" ; then
16412 setopt NO_GLOB_SUBST
16414 # Now quote all the things that may contain metacharacters while being
16415 # careful not to overquote the AC_SUBSTed values. We take copies of the
16416 # variables and quote the copies for generation of the libtool script.
16417 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16419 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16420 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16421 deplibs_check_method reload_flag reload_cmds need_locks \
16422 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16423 lt_cv_sys_global_symbol_to_c_name_address \
16424 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16425 old_postinstall_cmds old_postuninstall_cmds \
16429 lt_prog_compiler_wl_F77 \
16430 lt_prog_compiler_pic_F77 \
16431 lt_prog_compiler_static_F77 \
16432 lt_prog_compiler_no_builtin_flag_F77 \
16433 export_dynamic_flag_spec_F77 \
16434 thread_safe_flag_spec_F77 \
16435 whole_archive_flag_spec_F77 \
16436 enable_shared_with_static_runtimes_F77 \
16437 old_archive_cmds_F77 \
16438 old_archive_from_new_cmds_F77 \
16439 predep_objects_F77 \
16440 postdep_objects_F77 \
16443 compiler_lib_search_path_F77 \
16444 compiler_lib_search_dirs_F77 \
16446 archive_expsym_cmds_F77 \
16447 postinstall_cmds_F77 \
16448 postuninstall_cmds_F77 \
16449 old_archive_from_expsyms_cmds_F77 \
16450 allow_undefined_flag_F77 \
16451 no_undefined_flag_F77 \
16452 export_symbols_cmds_F77 \
16453 hardcode_libdir_flag_spec_F77 \
16454 hardcode_libdir_flag_spec_ld_F77 \
16455 hardcode_libdir_separator_F77 \
16456 hardcode_automatic_F77 \
16458 module_expsym_cmds_F77 \
16459 lt_cv_prog_compiler_c_o_F77 \
16460 fix_srcfile_path_F77 \
16461 exclude_expsyms_F77 \
16462 include_expsyms_F77
; do
16465 old_archive_cmds_F77 | \
16466 old_archive_from_new_cmds_F77 | \
16467 archive_cmds_F77 | \
16468 archive_expsym_cmds_F77 | \
16469 module_cmds_F77 | \
16470 module_expsym_cmds_F77 | \
16471 old_archive_from_expsyms_cmds_F77 | \
16472 export_symbols_cmds_F77 | \
16473 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16474 postinstall_cmds | postuninstall_cmds | \
16475 old_postinstall_cmds | old_postuninstall_cmds | \
16476 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16477 # Double-quote double-evaled strings.
16478 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16481 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16487 *'\$0 --fallback-echo"')
16488 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16494 cat <<__EOF__ >> "$cfgfile"
16495 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16497 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16499 # Shell to use when invoking shell scripts.
16502 # Whether or not to build shared libraries.
16503 build_libtool_libs=$enable_shared
16505 # Whether or not to build static libraries.
16506 build_old_libs=$enable_static
16508 # Whether or not to add -lc for building shared libraries.
16509 build_libtool_need_lc=$archive_cmds_need_lc_F77
16511 # Whether or not to disallow shared libs when runtime libs are static
16512 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16514 # Whether or not to optimize for fast installation.
16515 fast_install=$enable_fast_install
16518 host_alias=$host_alias
16522 # The build system.
16523 build_alias=$build_alias
16527 # An echo program that does not interpret backslashes.
16532 AR_FLAGS=$lt_AR_FLAGS
16537 # LTCC compiler flags.
16538 LTCFLAGS=$lt_LTCFLAGS
16540 # A language-specific compiler.
16541 CC=$lt_compiler_F77
16543 # Is the compiler the GNU C compiler?
16549 # The linker used to build libraries.
16552 # Whether we need hard or soft links.
16555 # A BSD-compatible nm program.
16558 # A symbol stripping program
16561 # Used to examine libraries when file_magic_cmd begins "file"
16562 MAGIC_CMD=$MAGIC_CMD
16564 # Used on cygwin: DLL creation program.
16567 # Used on cygwin: object dumper.
16570 # Used on cygwin: assembler.
16573 # The name of the directory that contains temporary libtool files.
16576 # How to create reloadable object files.
16577 reload_flag=$lt_reload_flag
16578 reload_cmds=$lt_reload_cmds
16580 # How to pass a linker flag through the compiler.
16581 wl=$lt_lt_prog_compiler_wl_F77
16583 # Object file suffix (normally "o").
16584 objext="$ac_objext"
16586 # Old archive suffix (normally "a").
16589 # Shared library suffix (normally ".so").
16590 shrext_cmds='$shrext_cmds'
16592 # Executable file suffix (normally "").
16595 # Additional compiler flags for building library objects.
16596 pic_flag=$lt_lt_prog_compiler_pic_F77
16599 # What is the maximum length of a command?
16600 max_cmd_len=$lt_cv_sys_max_cmd_len
16602 # Does compiler simultaneously support -c and -o options?
16603 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16605 # Must we lock files when doing compilation?
16606 need_locks=$lt_need_locks
16608 # Do we need the lib prefix for modules?
16609 need_lib_prefix=$need_lib_prefix
16611 # Do we need a version for libraries?
16612 need_version=$need_version
16614 # Whether dlopen is supported.
16615 dlopen_support=$enable_dlopen
16617 # Whether dlopen of programs is supported.
16618 dlopen_self=$enable_dlopen_self
16620 # Whether dlopen of statically linked programs is supported.
16621 dlopen_self_static=$enable_dlopen_self_static
16623 # Compiler flag to prevent dynamic linking.
16624 link_static_flag=$lt_lt_prog_compiler_static_F77
16626 # Compiler flag to turn off builtin functions.
16627 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16629 # Compiler flag to allow reflexive dlopens.
16630 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16632 # Compiler flag to generate shared objects directly from archives.
16633 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16635 # Compiler flag to generate thread-safe objects.
16636 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16638 # Library versioning type.
16639 version_type=$version_type
16641 # Format of library name prefix.
16642 libname_spec=$lt_libname_spec
16644 # List of archive names. First name is the real one, the rest are links.
16645 # The last name is the one that the linker finds with -lNAME.
16646 library_names_spec=$lt_library_names_spec
16648 # The coded name of the library, if different from the real name.
16649 soname_spec=$lt_soname_spec
16651 # Commands used to build and install an old-style archive.
16653 old_archive_cmds=$lt_old_archive_cmds_F77
16654 old_postinstall_cmds=$lt_old_postinstall_cmds
16655 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16657 # Create an old-style archive from a shared archive.
16658 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16660 # Create a temporary old-style archive to link instead of a shared archive.
16661 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16663 # Commands used to build and install a shared archive.
16664 archive_cmds=$lt_archive_cmds_F77
16665 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16666 postinstall_cmds=$lt_postinstall_cmds
16667 postuninstall_cmds=$lt_postuninstall_cmds
16669 # Commands used to build a loadable module (assumed same as above if empty)
16670 module_cmds=$lt_module_cmds_F77
16671 module_expsym_cmds=$lt_module_expsym_cmds_F77
16673 # Commands to strip libraries.
16674 old_striplib=$lt_old_striplib
16675 striplib=$lt_striplib
16677 # Dependencies to place before the objects being linked to create a
16679 predep_objects=$lt_predep_objects_F77
16681 # Dependencies to place after the objects being linked to create a
16683 postdep_objects=$lt_postdep_objects_F77
16685 # Dependencies to place before the objects being linked to create a
16687 predeps=$lt_predeps_F77
16689 # Dependencies to place after the objects being linked to create a
16691 postdeps=$lt_postdeps_F77
16693 # The directories searched by this compiler when creating a shared
16695 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
16697 # The library search path used internally by the compiler when linking
16698 # a shared library.
16699 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16701 # Method to check whether dependent libraries are shared objects.
16702 deplibs_check_method=$lt_deplibs_check_method
16704 # Command to use when deplibs_check_method == file_magic.
16705 file_magic_cmd=$lt_file_magic_cmd
16707 # Flag that allows shared libraries with undefined symbols to be built.
16708 allow_undefined_flag=$lt_allow_undefined_flag_F77
16710 # Flag that forces no undefined symbols.
16711 no_undefined_flag=$lt_no_undefined_flag_F77
16713 # Commands used to finish a libtool library installation in a directory.
16714 finish_cmds=$lt_finish_cmds
16716 # Same as above, but a single script fragment to be evaled but not shown.
16717 finish_eval=$lt_finish_eval
16719 # Take the output of nm and produce a listing of raw symbols and C names.
16720 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16722 # Transform the output of nm in a proper C declaration
16723 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16725 # Transform the output of nm in a C name address pair
16726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16728 # This is the shared library runtime path variable.
16729 runpath_var=$runpath_var
16731 # This is the shared library path variable.
16732 shlibpath_var=$shlibpath_var
16734 # Is shlibpath searched before the hard-coded library search path?
16735 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16737 # How to hardcode a shared library path into an executable.
16738 hardcode_action=$hardcode_action_F77
16740 # Whether we should hardcode library paths into libraries.
16741 hardcode_into_libs=$hardcode_into_libs
16743 # Flag to hardcode \$libdir into a binary during linking.
16744 # This must work even if \$libdir does not exist.
16745 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16747 # If ld is used when linking, flag to hardcode \$libdir into
16748 # a binary during linking. This must work even if \$libdir does
16750 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16752 # Whether we need a single -rpath flag with a separated argument.
16753 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16755 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16756 # resulting binary.
16757 hardcode_direct=$hardcode_direct_F77
16759 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16760 # resulting binary.
16761 hardcode_minus_L=$hardcode_minus_L_F77
16763 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16764 # the resulting binary.
16765 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16767 # Set to yes if building a shared library automatically hardcodes DIR into the library
16768 # and all subsequent libraries and executables linked against it.
16769 hardcode_automatic=$hardcode_automatic_F77
16771 # Variables whose values should be saved in libtool wrapper scripts and
16772 # restored at relink time.
16773 variables_saved_for_relink="$variables_saved_for_relink"
16775 # Whether libtool must link a program against all its dependency libraries.
16776 link_all_deplibs=$link_all_deplibs_F77
16778 # Compile-time system search path for libraries
16779 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16781 # Run-time system search path for libraries
16782 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16784 # Fix the shell variable \$srcfile for the compiler.
16785 fix_srcfile_path=$lt_fix_srcfile_path
16787 # Set to yes if exported symbols are required.
16788 always_export_symbols=$always_export_symbols_F77
16790 # The commands to list exported symbols.
16791 export_symbols_cmds=$lt_export_symbols_cmds_F77
16793 # The commands to extract the exported symbol list from a shared archive.
16794 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16796 # Symbols that should not be listed in the preloaded symbols.
16797 exclude_expsyms=$lt_exclude_expsyms_F77
16799 # Symbols that must always be exported.
16800 include_expsyms=$lt_include_expsyms_F77
16802 # ### END LIBTOOL TAG CONFIG: $tagname
16808 # If there is no Makefile yet, we rely on a make rule to execute
16809 # `config.status --recheck' to rerun these tests and create the
16810 # libtool script then.
16811 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16812 if test -f "$ltmain_in"; then
16813 test -f Makefile
&& make "$ltmain"
16819 ac_cpp
='$CPP $CPPFLAGS'
16820 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16821 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16822 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16832 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16835 # Source file extension for Java test sources.
16838 # Object file extension for compiled Java test sources.
16842 # Code to be used in simple compile tests
16843 lt_simple_compile_test_code
="class foo {}"
16845 # Code to be used in simple link tests
16846 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16848 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16850 # If no C compiler was specified, use CC.
16853 # If no C compiler flags were specified, use CFLAGS.
16854 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16856 # Allow CC to be a program name with arguments.
16860 # save warnings/boilerplate of simple test code
16861 ac_outfile
=conftest.
$ac_objext
16862 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16863 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16864 _lt_compiler_boilerplate
=`cat conftest.err`
16867 ac_outfile
=conftest.
$ac_objext
16868 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16869 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16870 _lt_linker_boilerplate
=`cat conftest.err`
16874 # Allow CC to be a program name with arguments.
16879 for cc_temp
in $compiler""; do
16881 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16882 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16887 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16890 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16891 archive_cmds_need_lc_GCJ
=no
16893 old_archive_cmds_GCJ
=$old_archive_cmds
16896 lt_prog_compiler_no_builtin_flag_GCJ
=
16898 if test "$GCC" = yes; then
16899 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16902 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16903 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16904 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16905 $as_echo_n "(cached) " >&6
16907 lt_cv_prog_compiler_rtti_exceptions
=no
16908 ac_outfile
=conftest.
$ac_objext
16909 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16910 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16911 # Insert the option either (1) after the last *FLAGS variable, or
16912 # (2) before a word containing "conftest.", or (3) at the end.
16913 # Note that $ac_compile itself does not contain backslashes and begins
16914 # with a dollar sign (not a hyphen), so the echo should work correctly.
16915 # The option is referenced via a variable to avoid confusing sed.
16916 lt_compile
=`echo "$ac_compile" | $SED \
16917 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16918 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16919 -e 's:$: $lt_compiler_flag:'`
16920 (eval echo "\"\$as_me:16920: $lt_compile\"" >&5)
16921 (eval "$lt_compile" 2>conftest.err
)
16923 cat conftest.err
>&5
16924 echo "$as_me:16924: \$? = $ac_status" >&5
16925 if (exit $ac_status) && test -s "$ac_outfile"; then
16926 # The compiler can only warn and ignore the option if not recognized
16927 # So say no if there are warnings other than the usual output.
16928 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16929 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16930 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16931 lt_cv_prog_compiler_rtti_exceptions
=yes
16937 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16938 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16940 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16941 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16948 lt_prog_compiler_wl_GCJ
=
16949 lt_prog_compiler_pic_GCJ
=
16950 lt_prog_compiler_static_GCJ
=
16952 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16953 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16955 if test "$GCC" = yes; then
16956 lt_prog_compiler_wl_GCJ
='-Wl,'
16957 lt_prog_compiler_static_GCJ
='-static'
16961 # All AIX code is PIC.
16962 if test "$host_cpu" = ia64
; then
16963 # AIX 5 now supports IA64 processor
16964 lt_prog_compiler_static_GCJ
='-Bstatic'
16969 # FIXME: we need at least 68020 code to build shared libraries, but
16970 # adding the `-m68020' flag to GCC prevents building anything better,
16972 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16975 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16976 # PIC is the default for these OSes.
16979 mingw
* | cygwin
* | pw32
* | os2
*)
16980 # This hack is so that the source file can tell whether it is being
16981 # built for inclusion in a dll (and should export symbols for example).
16982 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16983 # (--disable-auto-import) libraries
16987 darwin
* | rhapsody
*)
16988 # PIC is the default on this platform
16989 # Common symbols not allowed in MH_DYLIB files
16990 lt_prog_compiler_pic_GCJ
='-fno-common'
16994 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16995 # Instead, we relocate shared libraries at runtime.
16999 # Just because we use GCC doesn't mean we suddenly get shared libraries
17000 # on systems that don't support them.
17001 lt_prog_compiler_can_build_shared_GCJ
=no
17006 if test -d /usr
/nec
; then
17007 lt_prog_compiler_pic_GCJ
=-Kconform_pic
17012 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17013 # not for PA HP-UX.
17019 lt_prog_compiler_pic_GCJ
='-fPIC'
17025 lt_prog_compiler_pic_GCJ
='-fPIC'
17029 # PORTME Check for flag to pass linker flags through the system compiler.
17032 lt_prog_compiler_wl_GCJ
='-Wl,'
17033 if test "$host_cpu" = ia64
; then
17034 # AIX 5 now supports IA64 processor
17035 lt_prog_compiler_static_GCJ
='-Bstatic'
17037 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
17041 # PIC is the default on this platform
17042 # Common symbols not allowed in MH_DYLIB files
17043 case $cc_basename in
17045 lt_prog_compiler_pic_GCJ
='-qnocommon'
17046 lt_prog_compiler_wl_GCJ
='-Wl,'
17051 mingw
* | cygwin
* | pw32
* | os2
*)
17052 # This hack is so that the source file can tell whether it is being
17053 # built for inclusion in a dll (and should export symbols for example).
17057 hpux9
* | hpux10
* | hpux11
*)
17058 lt_prog_compiler_wl_GCJ
='-Wl,'
17059 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
17060 # not for PA HP-UX.
17066 lt_prog_compiler_pic_GCJ
='+Z'
17069 # Is there a better lt_prog_compiler_static that works with the bundled CC?
17070 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
17073 irix5
* | irix6
* | nonstopux
*)
17074 lt_prog_compiler_wl_GCJ
='-Wl,'
17075 # PIC (with -KPIC) is the default.
17076 lt_prog_compiler_static_GCJ
='-non_shared'
17080 lt_prog_compiler_pic_GCJ
='-KPIC'
17081 lt_prog_compiler_static_GCJ
='-Bstatic'
17084 linux
* | k
*bsd
*-gnu)
17085 case $cc_basename in
17087 lt_prog_compiler_wl_GCJ
='-Wl,'
17088 lt_prog_compiler_pic_GCJ
='-KPIC'
17089 lt_prog_compiler_static_GCJ
='-static'
17091 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17092 # Portland Group compilers (*not* the Pentium gcc compiler,
17093 # which looks to be a dead project)
17094 lt_prog_compiler_wl_GCJ
='-Wl,'
17095 lt_prog_compiler_pic_GCJ
='-fpic'
17096 lt_prog_compiler_static_GCJ
='-Bstatic'
17099 lt_prog_compiler_wl_GCJ
='-Wl,'
17100 # All Alpha code is PIC.
17101 lt_prog_compiler_static_GCJ
='-non_shared'
17104 case `$CC -V 2>&1 | sed 5q` in
17107 lt_prog_compiler_pic_GCJ
='-KPIC'
17108 lt_prog_compiler_static_GCJ
='-Bstatic'
17109 lt_prog_compiler_wl_GCJ
='-Wl,'
17112 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17113 lt_prog_compiler_pic_GCJ
='-KPIC'
17114 lt_prog_compiler_static_GCJ
='-Bstatic'
17115 lt_prog_compiler_wl_GCJ
=''
17122 osf3
* | osf4
* | osf5
*)
17123 lt_prog_compiler_wl_GCJ
='-Wl,'
17124 # All OSF/1 code is PIC.
17125 lt_prog_compiler_static_GCJ
='-non_shared'
17129 lt_prog_compiler_static_GCJ
='-non_shared'
17133 lt_prog_compiler_pic_GCJ
='-KPIC'
17134 lt_prog_compiler_static_GCJ
='-Bstatic'
17135 case $cc_basename in
17136 f77
* | f90
* | f95
*)
17137 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17139 lt_prog_compiler_wl_GCJ
='-Wl,';;
17144 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17145 lt_prog_compiler_pic_GCJ
='-PIC'
17146 lt_prog_compiler_static_GCJ
='-Bstatic'
17149 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17150 lt_prog_compiler_wl_GCJ
='-Wl,'
17151 lt_prog_compiler_pic_GCJ
='-KPIC'
17152 lt_prog_compiler_static_GCJ
='-Bstatic'
17156 if test -d /usr
/nec
;then
17157 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17158 lt_prog_compiler_static_GCJ
='-Bstatic'
17162 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17163 lt_prog_compiler_wl_GCJ
='-Wl,'
17164 lt_prog_compiler_pic_GCJ
='-KPIC'
17165 lt_prog_compiler_static_GCJ
='-Bstatic'
17169 lt_prog_compiler_wl_GCJ
='-Wl,'
17170 lt_prog_compiler_can_build_shared_GCJ
=no
17174 lt_prog_compiler_pic_GCJ
='-pic'
17175 lt_prog_compiler_static_GCJ
='-Bstatic'
17179 lt_prog_compiler_can_build_shared_GCJ
=no
17184 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17185 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17188 # Check to make sure the PIC flag actually works.
17190 if test -n "$lt_prog_compiler_pic_GCJ"; then
17192 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17193 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17194 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
17195 $as_echo_n "(cached) " >&6
17197 lt_cv_prog_compiler_pic_works_GCJ
=no
17198 ac_outfile
=conftest.
$ac_objext
17199 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17200 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17201 # Insert the option either (1) after the last *FLAGS variable, or
17202 # (2) before a word containing "conftest.", or (3) at the end.
17203 # Note that $ac_compile itself does not contain backslashes and begins
17204 # with a dollar sign (not a hyphen), so the echo should work correctly.
17205 # The option is referenced via a variable to avoid confusing sed.
17206 lt_compile
=`echo "$ac_compile" | $SED \
17207 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17208 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17209 -e 's:$: $lt_compiler_flag:'`
17210 (eval echo "\"\$as_me:17210: $lt_compile\"" >&5)
17211 (eval "$lt_compile" 2>conftest.err
)
17213 cat conftest.err
>&5
17214 echo "$as_me:17214: \$? = $ac_status" >&5
17215 if (exit $ac_status) && test -s "$ac_outfile"; then
17216 # The compiler can only warn and ignore the option if not recognized
17217 # So say no if there are warnings other than the usual output.
17218 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17219 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17220 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17221 lt_cv_prog_compiler_pic_works_GCJ
=yes
17227 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
17228 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
17230 if test x
"$lt_cv_prog_compiler_pic_works_GCJ" = xyes
; then
17231 case $lt_prog_compiler_pic_GCJ in
17233 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17236 lt_prog_compiler_pic_GCJ
=
17237 lt_prog_compiler_can_build_shared_GCJ
=no
17242 # For platforms which do not support PIC, -DPIC is meaningless:
17244 lt_prog_compiler_pic_GCJ
=
17247 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17252 # Check to make sure the static flag actually works.
17254 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17255 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17256 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17257 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
17258 $as_echo_n "(cached) " >&6
17260 lt_cv_prog_compiler_static_works_GCJ
=no
17261 save_LDFLAGS
="$LDFLAGS"
17262 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17263 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17264 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17265 # The linker can only warn and ignore the option if not recognized
17266 # So say no if there are warnings
17267 if test -s conftest.err
; then
17268 # Append any errors to the config.log.
17269 cat conftest.err
1>&5
17270 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17271 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17272 if diff conftest.exp conftest.er2
>/dev
/null
; then
17273 lt_cv_prog_compiler_static_works_GCJ
=yes
17276 lt_cv_prog_compiler_static_works_GCJ
=yes
17280 LDFLAGS
="$save_LDFLAGS"
17283 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
17284 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
17286 if test x
"$lt_cv_prog_compiler_static_works_GCJ" = xyes
; then
17289 lt_prog_compiler_static_GCJ
=
17293 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17294 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17295 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17296 $as_echo_n "(cached) " >&6
17298 lt_cv_prog_compiler_c_o_GCJ
=no
17299 $rm -r conftest
2>/dev
/null
17303 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17305 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17306 # Insert the option either (1) after the last *FLAGS variable, or
17307 # (2) before a word containing "conftest.", or (3) at the end.
17308 # Note that $ac_compile itself does not contain backslashes and begins
17309 # with a dollar sign (not a hyphen), so the echo should work correctly.
17310 lt_compile
=`echo "$ac_compile" | $SED \
17311 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17312 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17313 -e 's:$: $lt_compiler_flag:'`
17314 (eval echo "\"\$as_me:17314: $lt_compile\"" >&5)
17315 (eval "$lt_compile" 2>out
/conftest.err
)
17317 cat out
/conftest.err
>&5
17318 echo "$as_me:17318: \$? = $ac_status" >&5
17319 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17321 # The compiler can only warn and ignore the option if not recognized
17322 # So say no if there are warnings
17323 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17324 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17325 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17326 lt_cv_prog_compiler_c_o_GCJ
=yes
17331 # SGI C++ compiler will create directory out/ii_files/ for
17332 # template instantiation
17333 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17334 $rm out
/* && rmdir out
17340 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17341 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17344 hard_links
="nottested"
17345 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17346 # do not overwrite the value of need_locks provided by the user
17347 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17348 $as_echo_n "checking if we can lock with hard links... " >&6; }
17351 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17353 ln conftest.a conftest.b
2>&5 || hard_links
=no
17354 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17355 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17356 $as_echo "$hard_links" >&6; }
17357 if test "$hard_links" = no
; then
17358 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17359 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17366 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17367 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17370 allow_undefined_flag_GCJ
=
17371 enable_shared_with_static_runtimes_GCJ
=no
17373 archive_expsym_cmds_GCJ
=
17374 old_archive_From_new_cmds_GCJ
=
17375 old_archive_from_expsyms_cmds_GCJ
=
17376 export_dynamic_flag_spec_GCJ
=
17377 whole_archive_flag_spec_GCJ
=
17378 thread_safe_flag_spec_GCJ
=
17379 hardcode_libdir_flag_spec_GCJ
=
17380 hardcode_libdir_flag_spec_ld_GCJ
=
17381 hardcode_libdir_separator_GCJ
=
17382 hardcode_direct_GCJ
=no
17383 hardcode_minus_L_GCJ
=no
17384 hardcode_shlibpath_var_GCJ
=unsupported
17385 link_all_deplibs_GCJ
=unknown
17386 hardcode_automatic_GCJ
=no
17388 module_expsym_cmds_GCJ
=
17389 always_export_symbols_GCJ
=no
17390 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17391 # include_expsyms should be a list of space-separated symbols to be *always*
17392 # included in the symbol list
17393 include_expsyms_GCJ
=
17394 # exclude_expsyms can be an extended regexp of symbols to exclude
17395 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17396 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17397 # as well as any symbol that contains `d'.
17398 exclude_expsyms_GCJ
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17399 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17400 # platforms (ab)use it in PIC code, but their linkers get confused if
17401 # the symbol is explicitly referenced. Since portable code cannot
17402 # rely on this symbol name, it's probably fine to never include it in
17403 # preloaded symbol tables.
17404 # Exclude shared library initialization/finalization symbols.
17405 extract_expsyms_cmds
=
17406 # Just being paranoid about ensuring that cc_basename is set.
17407 for cc_temp
in $compiler""; do
17409 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17410 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17415 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17418 cygwin
* | mingw
* | pw32
*)
17419 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17420 # When not using gcc, we currently assume that we are using
17421 # Microsoft Visual C++.
17422 if test "$GCC" != yes; then
17427 # we just hope/assume this is gcc and not c89 (= MSVC++)
17436 if test "$with_gnu_ld" = yes; then
17437 # If archive_cmds runs LD, not CC, wlarc should be empty
17440 # Set some defaults for GNU ld with shared library support. These
17441 # are reset later if shared libraries are not supported. Putting them
17442 # here allows them to be overridden if necessary.
17443 runpath_var
=LD_RUN_PATH
17444 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17445 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17446 # ancient GNU ld didn't support --whole-archive et. al.
17447 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17448 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17450 whole_archive_flag_spec_GCJ
=
17452 supports_anon_versioning
=no
17453 case `$LD -v 2>/dev/null` in
17454 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17455 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17456 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17457 *\
2.11.
*) ;; # other 2.11 versions
17458 *) supports_anon_versioning
=yes ;;
17461 # See if GNU ld supports shared libraries.
17464 # On AIX/PPC, the GNU linker is very broken
17465 if test "$host_cpu" != ia64
; then
17469 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17470 *** to be unable to reliably create shared libraries on AIX.
17471 *** Therefore, libtool is disabling shared libraries support. If you
17472 *** really care for shared libraries, you may want to modify your PATH
17473 *** so that a non-GNU linker is found, and then restart.
17480 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17481 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17482 hardcode_minus_L_GCJ
=yes
17484 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17485 # that the semantics of dynamic libraries on AmigaOS, at least up
17486 # to version 4, is to share data among multiple programs linked
17487 # with the same dynamic library. Since this doesn't match the
17488 # behavior of shared libraries on other platforms, we can't use
17494 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17495 allow_undefined_flag_GCJ
=unsupported
17496 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17497 # support --undefined. This deserves some investigation. FIXME
17498 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17504 cygwin
* | mingw
* | pw32
*)
17505 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17506 # as there is no search path for DLLs.
17507 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17508 allow_undefined_flag_GCJ
=unsupported
17509 always_export_symbols_GCJ
=no
17510 enable_shared_with_static_runtimes_GCJ
=yes
17511 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17513 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17514 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17515 # If the export-symbols file already is a .def file (1st line
17516 # is EXPORTS), use it as is; otherwise, prepend...
17517 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17518 cp $export_symbols $output_objdir/$soname.def;
17520 echo EXPORTS > $output_objdir/$soname.def;
17521 cat $export_symbols >> $output_objdir/$soname.def;
17523 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17530 hardcode_direct_GCJ
=no
17531 hardcode_shlibpath_var_GCJ
=no
17532 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17533 export_dynamic_flag_spec_GCJ
='${wl}-E'
17534 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17535 # Instead, shared libraries are loaded at an image base (0x10000000 by
17536 # default) and relocated if they conflict, which is a slow very memory
17537 # consuming and fragmenting process. To avoid this, we pick a random,
17538 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17539 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17540 archive_cmds_GCJ
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17541 archive_expsym_cmds_GCJ
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17544 gnu
* | linux
* | k
*bsd
*-gnu)
17545 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17547 case $cc_basename,$host_cpu in
17548 pgcc
*) # Portland Group C compiler
17549 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17550 tmp_addflag
=' $pic_flag'
17552 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17553 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17554 tmp_addflag
=' $pic_flag -Mnomain' ;;
17555 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17556 tmp_addflag
=' -i_dynamic' ;;
17557 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17558 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17559 ifc
* | ifort
*) # Intel Fortran compiler
17560 tmp_addflag
=' -nofor_main' ;;
17562 case `$CC -V 2>&1 | sed 5q` in
17563 *Sun\ C
*) # Sun C 5.9
17564 whole_archive_flag_spec_GCJ
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
17565 tmp_sharedflag
='-G' ;;
17566 *Sun\ F
*) # Sun Fortran 8.3
17567 tmp_sharedflag
='-G' ;;
17569 tmp_sharedflag
='-shared' ;;
17571 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17573 if test $supports_anon_versioning = yes; then
17574 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17575 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17576 $echo "local: *; };" >> $output_objdir/$libname.ver~
17577 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17585 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17586 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17589 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17590 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17595 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17599 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17600 *** create shared libraries on Solaris systems. Therefore, libtool
17601 *** is disabling shared libraries support. We urge you to upgrade GNU
17602 *** binutils to release 2.9.1 or newer. Another option is to modify
17603 *** your PATH or compiler configuration so that the native linker is
17604 *** used, and then restart.
17607 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17608 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17609 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17615 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17616 case `$LD -v 2>&1` in
17617 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17621 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17622 *** reliably create shared libraries on SCO systems. Therefore, libtool
17623 *** is disabling shared libraries support. We urge you to upgrade GNU
17624 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17625 *** your PATH or compiler configuration so that the native linker is
17626 *** used, and then restart.
17631 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17632 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17633 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17634 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17643 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17645 hardcode_direct_GCJ
=yes
17646 hardcode_shlibpath_var_GCJ
=no
17650 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17651 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17652 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17659 if test "$ld_shlibs_GCJ" = no
; then
17661 hardcode_libdir_flag_spec_GCJ
=
17662 export_dynamic_flag_spec_GCJ
=
17663 whole_archive_flag_spec_GCJ
=
17666 # PORTME fill in a description of your system's linker (not GNU ld)
17669 allow_undefined_flag_GCJ
=unsupported
17670 always_export_symbols_GCJ
=yes
17671 archive_expsym_cmds_GCJ
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17672 # Note: this linker hardcodes the directories in LIBPATH if there
17673 # are no directories specified by -L.
17674 hardcode_minus_L_GCJ
=yes
17675 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17676 # Neither direct hardcoding nor static linking is supported with a
17678 hardcode_direct_GCJ
=unsupported
17683 if test "$host_cpu" = ia64
; then
17684 # On IA64, the linker does run time linking by default, so we don't
17685 # have to do anything special.
17686 aix_use_runtimelinking
=no
17687 exp_sym_flag
='-Bexport'
17690 # If we're using GNU nm, then we don't want the "-C" option.
17691 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17692 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17693 export_symbols_cmds_GCJ
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17695 export_symbols_cmds_GCJ
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
17697 aix_use_runtimelinking
=no
17699 # Test if we are trying to use run time linking or normal
17700 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17701 # need to do runtime linking.
17702 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
17703 for ld_flag
in $LDFLAGS; do
17704 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17705 aix_use_runtimelinking
=yes
17712 exp_sym_flag
='-bexport'
17713 no_entry_flag
='-bnoentry'
17716 # When large executables or shared objects are built, AIX ld can
17717 # have problems creating the table of contents. If linking a library
17718 # or program results in "error TOC overflow" add -mminimal-toc to
17719 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17720 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17722 archive_cmds_GCJ
=''
17723 hardcode_direct_GCJ
=yes
17724 hardcode_libdir_separator_GCJ
=':'
17725 link_all_deplibs_GCJ
=yes
17727 if test "$GCC" = yes; then
17728 case $host_os in aix4.
[012]|aix4.
[012].
*)
17729 # We only want to do this on AIX 4.2 and lower, the check
17730 # below for broken collect2 doesn't work under 4.3+
17731 collect2name
=`${CC} -print-prog-name=collect2`
17732 if test -f "$collect2name" && \
17733 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17735 # We have reworked collect2
17738 # We have old collect2
17739 hardcode_direct_GCJ
=unsupported
17740 # It fails to find uninstalled libraries when the uninstalled
17741 # path is not listed in the libpath. Setting hardcode_minus_L
17742 # to unsupported forces relinking
17743 hardcode_minus_L_GCJ
=yes
17744 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17745 hardcode_libdir_separator_GCJ
=
17749 shared_flag
='-shared'
17750 if test "$aix_use_runtimelinking" = yes; then
17751 shared_flag
="$shared_flag "'${wl}-G'
17755 if test "$host_cpu" = ia64
; then
17756 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17757 # chokes on -Wl,-G. The following line is correct:
17760 if test "$aix_use_runtimelinking" = yes; then
17761 shared_flag
='${wl}-G'
17763 shared_flag
='${wl}-bM:SRE'
17768 # It seems that -bexpall does not export symbols beginning with
17769 # underscore (_), so it is better to generate a list of symbols to export.
17770 always_export_symbols_GCJ
=yes
17771 if test "$aix_use_runtimelinking" = yes; then
17772 # Warning - without using the other runtime loading flags (-brtl),
17773 # -berok will link without error, but may produce a broken library.
17774 allow_undefined_flag_GCJ
='-berok'
17775 # Determine the default libpath from the value encoded in an empty executable.
17776 cat >conftest.
$ac_ext <<_ACEOF
17779 cat confdefs.h
>>conftest.
$ac_ext
17780 cat >>conftest.
$ac_ext <<_ACEOF
17781 /* end confdefs.h. */
17791 rm -f conftest.
$ac_objext conftest
$ac_exeext
17792 if { (ac_try
="$ac_link"
17793 case "(($ac_try" in
17794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17795 *) ac_try_echo=$ac_try;;
17797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17798 $as_echo "$ac_try_echo") >&5
17799 (eval "$ac_link") 2>conftest.er1
17801 grep -v '^ *+' conftest.er1 >conftest.err
17803 cat conftest.err >&5
17804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); } && {
17806 test -z "$ac_c_werror_flag" ||
17807 test ! -s conftest.err
17808 } && test -s conftest$ac_exeext && {
17809 test "$cross_compiling" = yes ||
17810 $as_test_x conftest$ac_exeext
17813 lt_aix_libpath_sed='
17814 /Import File Strings/,/^$/ {
17820 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17821 # Check for a 64-bit object if we didn't find anything.
17822 if test -z "$aix_libpath"; then
17823 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17826 $as_echo "$as_me: failed program was:" >&5
17827 sed 's/^/| /' conftest.$ac_ext >&5
17832 rm -rf conftest.dSYM
17833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17834 conftest$ac_exeext conftest.$ac_ext
17835 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17837 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17838 archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
17840 if test "$host_cpu" = ia64; then
17841 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17842 allow_undefined_flag_GCJ="-z nodefs"
17843 archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
17845 # Determine the default libpath from the value encoded in an empty executable.
17846 cat >conftest.$ac_ext <<_ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17861 rm -f conftest.$ac_objext conftest$ac_exeext
17862 if { (ac_try="$ac_link"
17863 case "(($ac_try" in
17864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17865 *) ac_try_echo
=$ac_try;;
17867 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17868 $as_echo "$ac_try_echo") >&5
17869 (eval "$ac_link") 2>conftest.er1
17871 grep -v '^ *+' conftest.er1
>conftest.err
17873 cat conftest.err
>&5
17874 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17875 (exit $ac_status); } && {
17876 test -z "$ac_c_werror_flag" ||
17877 test ! -s conftest.err
17878 } && test -s conftest
$ac_exeext && {
17879 test "$cross_compiling" = yes ||
17880 $as_test_x conftest
$ac_exeext
17883 lt_aix_libpath_sed
='
17884 /Import File Strings/,/^$/ {
17890 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17891 # Check for a 64-bit object if we didn't find anything.
17892 if test -z "$aix_libpath"; then
17893 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17896 $as_echo "$as_me: failed program was:" >&5
17897 sed 's/^/| /' conftest.
$ac_ext >&5
17902 rm -rf conftest.dSYM
17903 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17904 conftest
$ac_exeext conftest.
$ac_ext
17905 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17907 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17908 # Warning - without using the other run time loading flags,
17909 # -berok will link without error, but may produce a broken library.
17910 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17911 allow_undefined_flag_GCJ
=' ${wl}-berok'
17912 # Exported symbols can be pulled into shared objects from archives
17913 whole_archive_flag_spec_GCJ
='$convenience'
17914 archive_cmds_need_lc_GCJ
=yes
17915 # This is similar to how AIX traditionally builds its shared libraries.
17916 archive_expsym_cmds_GCJ
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
17922 archive_cmds_GCJ
='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
17923 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17924 hardcode_minus_L_GCJ
=yes
17925 # see comment about different semantics on the GNU ld section
17930 export_dynamic_flag_spec_GCJ
=-rdynamic
17933 cygwin
* | mingw
* | pw32
*)
17934 # When not using gcc, we currently assume that we are using
17935 # Microsoft Visual C++.
17936 # hardcode_libdir_flag_spec is actually meaningless, as there is
17937 # no search path for DLLs.
17938 hardcode_libdir_flag_spec_GCJ
=' '
17939 allow_undefined_flag_GCJ
=unsupported
17940 # Tell ltmain to make .lib files, not .a files.
17942 # Tell ltmain to make .dll files, not .so files.
17944 # FIXME: Setting linknames here is a bad hack.
17945 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17946 # The linker will automatically build a .lib file if we build a DLL.
17947 old_archive_From_new_cmds_GCJ
='true'
17948 # FIXME: Should let the user specify the lib program.
17949 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17950 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17951 enable_shared_with_static_runtimes_GCJ
=yes
17954 darwin
* | rhapsody
*)
17955 allow_undefined_flag_GCJ
="$_lt_dar_allow_undefined"
17956 archive_cmds_need_lc_GCJ
=no
17957 hardcode_direct_GCJ
=no
17958 hardcode_automatic_GCJ
=yes
17959 hardcode_shlibpath_var_GCJ
=unsupported
17960 whole_archive_flag_spec_GCJ
=''
17961 link_all_deplibs_GCJ
=yes
17962 if test "$GCC" = yes ; then
17963 output_verbose_link_cmd
='echo'
17964 archive_cmds_GCJ
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17965 module_cmds_GCJ
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17966 archive_expsym_cmds_GCJ
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17967 module_expsym_cmds_GCJ
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17969 case $cc_basename in
17971 output_verbose_link_cmd
='echo'
17972 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17973 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17974 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17975 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17976 module_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17986 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17987 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17988 hardcode_shlibpath_var_GCJ
=no
17995 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17996 # support. Future versions do this automatically, but an explicit c++rt0.o
17997 # does not break anything, and helps significantly (at the cost of a little
18000 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
18001 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18002 hardcode_direct_GCJ
=yes
18003 hardcode_shlibpath_var_GCJ
=no
18006 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
18008 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18009 hardcode_direct_GCJ
=yes
18010 hardcode_minus_L_GCJ
=yes
18011 hardcode_shlibpath_var_GCJ
=no
18014 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
18015 freebsd
* | dragonfly
*)
18016 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
18017 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18018 hardcode_direct_GCJ
=yes
18019 hardcode_shlibpath_var_GCJ
=no
18023 if test "$GCC" = yes; then
18024 archive_cmds_GCJ
='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18026 archive_cmds_GCJ
='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
18028 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18029 hardcode_libdir_separator_GCJ
=:
18030 hardcode_direct_GCJ
=yes
18032 # hardcode_minus_L: Not really in the search PATH,
18033 # but as the default location of the library.
18034 hardcode_minus_L_GCJ
=yes
18035 export_dynamic_flag_spec_GCJ
='${wl}-E'
18039 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18040 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18042 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
18044 if test "$with_gnu_ld" = no
; then
18045 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18046 hardcode_libdir_separator_GCJ
=:
18048 hardcode_direct_GCJ
=yes
18049 export_dynamic_flag_spec_GCJ
='${wl}-E'
18051 # hardcode_minus_L: Not really in the search PATH,
18052 # but as the default location of the library.
18053 hardcode_minus_L_GCJ
=yes
18058 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18061 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18064 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18067 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18073 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18076 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18079 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18083 if test "$with_gnu_ld" = no
; then
18084 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18085 hardcode_libdir_separator_GCJ
=:
18089 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18090 hardcode_direct_GCJ
=no
18091 hardcode_shlibpath_var_GCJ
=no
18094 hardcode_direct_GCJ
=yes
18095 export_dynamic_flag_spec_GCJ
='${wl}-E'
18097 # hardcode_minus_L: Not really in the search PATH,
18098 # but as the default location of the library.
18099 hardcode_minus_L_GCJ
=yes
18105 irix5
* | irix6
* | nonstopux
*)
18106 if test "$GCC" = yes; then
18107 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18109 archive_cmds_GCJ
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18110 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18112 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18113 hardcode_libdir_separator_GCJ
=:
18114 link_all_deplibs_GCJ
=yes
18118 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18119 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18121 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18123 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18124 hardcode_direct_GCJ
=yes
18125 hardcode_shlibpath_var_GCJ
=no
18129 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18130 hardcode_direct_GCJ
=yes
18131 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18132 hardcode_libdir_separator_GCJ
=:
18133 hardcode_shlibpath_var_GCJ
=no
18137 if test -f /usr
/libexec
/ld.so
; then
18138 hardcode_direct_GCJ
=yes
18139 hardcode_shlibpath_var_GCJ
=no
18140 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18141 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18142 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18143 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18144 export_dynamic_flag_spec_GCJ
='${wl}-E'
18147 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18148 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18149 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18152 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18153 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18163 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18164 hardcode_minus_L_GCJ
=yes
18165 allow_undefined_flag_GCJ
=unsupported
18166 archive_cmds_GCJ
='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
18167 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18171 if test "$GCC" = yes; then
18172 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18173 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18175 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18176 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18178 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18179 hardcode_libdir_separator_GCJ
=:
18182 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18183 if test "$GCC" = yes; then
18184 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18185 archive_cmds_GCJ
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18186 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18188 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18189 archive_cmds_GCJ
='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
18190 archive_expsym_cmds_GCJ
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
18191 $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
18193 # Both c and cxx compiler support -rpath directly
18194 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18196 hardcode_libdir_separator_GCJ
=:
18200 no_undefined_flag_GCJ
=' -z text'
18201 if test "$GCC" = yes; then
18203 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18204 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18205 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18208 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18209 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18210 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18212 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18213 hardcode_shlibpath_var_GCJ
=no
18215 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18217 # The compiler driver will combine and reorder linker options,
18218 # but understands `-z linker_flag'. GCC discards it without `$wl',
18219 # but is careful enough not to reorder.
18220 # Supported since Solaris 2.6 (maybe 2.5.1?)
18221 if test "$GCC" = yes; then
18222 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18224 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18228 link_all_deplibs_GCJ
=yes
18232 if test "x$host_vendor" = xsequent
; then
18233 # Use $CC to link under sequent, because it throws in some extra .o
18234 # files that make .init and .fini sections work.
18235 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18237 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18239 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18240 hardcode_direct_GCJ
=yes
18241 hardcode_minus_L_GCJ
=yes
18242 hardcode_shlibpath_var_GCJ
=no
18246 case $host_vendor in
18248 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18249 hardcode_direct_GCJ
=yes # is this really true???
18252 ## LD is ld it makes a PLAMLIB
18253 ## CC just makes a GrossModule.
18254 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18255 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18256 hardcode_direct_GCJ
=no
18259 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18260 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18263 runpath_var
='LD_RUN_PATH'
18264 hardcode_shlibpath_var_GCJ
=no
18268 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18269 hardcode_shlibpath_var_GCJ
=no
18270 export_dynamic_flag_spec_GCJ
='-Bexport'
18274 if test -d /usr
/nec
; then
18275 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18276 hardcode_shlibpath_var_GCJ
=no
18277 runpath_var
=LD_RUN_PATH
18278 hardcode_runpath_var
=yes
18283 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18284 no_undefined_flag_GCJ
='${wl}-z,text'
18285 archive_cmds_need_lc_GCJ
=no
18286 hardcode_shlibpath_var_GCJ
=no
18287 runpath_var
='LD_RUN_PATH'
18289 if test "$GCC" = yes; then
18290 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18291 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18293 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18294 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18298 sysv5
* | sco3.2v5
* | sco5v6
*)
18299 # Note: We can NOT use -z defs as we might desire, because we do not
18300 # link with -lc, and that would cause any symbols used from libc to
18301 # always be unresolved, which means just about no library would
18302 # ever link correctly. If we're not using GNU ld we use -z text
18303 # though, which does catch some bad symbols but isn't as heavy-handed
18305 no_undefined_flag_GCJ
='${wl}-z,text'
18306 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18307 archive_cmds_need_lc_GCJ
=no
18308 hardcode_shlibpath_var_GCJ
=no
18309 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18310 hardcode_libdir_separator_GCJ
=':'
18311 link_all_deplibs_GCJ
=yes
18312 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18313 runpath_var
='LD_RUN_PATH'
18315 if test "$GCC" = yes; then
18316 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18317 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18319 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18320 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18325 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18326 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18327 hardcode_shlibpath_var_GCJ
=no
18336 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18337 $as_echo "$ld_shlibs_GCJ" >&6; }
18338 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18341 # Do we need to explicitly link libc?
18343 case "x$archive_cmds_need_lc_GCJ" in
18345 # Assume -lc should be added
18346 archive_cmds_need_lc_GCJ
=yes
18348 if test "$enable_shared" = yes && test "$GCC" = yes; then
18349 case $archive_cmds_GCJ in
18351 # FIXME: we may have to deal with multi-command sequences.
18354 # Test whether the compiler implicitly links with -lc since on some
18355 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18356 # to ld, don't add -lc before -lgcc.
18357 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18358 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18360 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18363 (eval $ac_compile) 2>&5
18365 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); } 2>conftest.err
; then
18369 libobjs
=conftest.
$ac_objext
18371 wl
=$lt_prog_compiler_wl_GCJ
18372 pic_flag
=$lt_prog_compiler_pic_GCJ
18378 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18379 allow_undefined_flag_GCJ
=
18380 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18381 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }
18386 archive_cmds_need_lc_GCJ
=no
18388 archive_cmds_need_lc_GCJ
=yes
18390 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18392 cat conftest.err
1>&5
18395 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18396 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18403 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18404 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18405 library_names_spec
=
18406 libname_spec
='lib$name'
18410 postuninstall_cmds
=
18414 shlibpath_overrides_runpath
=unknown
18416 dynamic_linker
="$host_os ld.so"
18417 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18419 need_lib_prefix
=unknown
18420 hardcode_into_libs
=no
18422 # when you set need_version to no, make sure it does not cause -set_version
18423 # flags to be left without arguments
18424 need_version
=unknown
18429 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18430 shlibpath_var
=LIBPATH
18432 # AIX 3 has no versioning support, so we append a major version to the name.
18433 soname_spec
='${libname}${release}${shared_ext}$major'
18440 hardcode_into_libs
=yes
18441 if test "$host_cpu" = ia64
; then
18442 # AIX 5 supports IA64
18443 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18444 shlibpath_var
=LD_LIBRARY_PATH
18446 # With GCC up to 2.95.x, collect2 would create an import file
18447 # for dependence libraries. The import file would start with
18448 # the line `#! .'. This would cause the generated library to
18449 # depend on `.', always an invalid library. This was fixed in
18450 # development snapshots of GCC prior to 3.0.
18452 aix4 | aix4.
[01] | aix4.
[01].
*)
18453 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18455 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18458 can_build_shared
=no
18462 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18463 # soname into executable. Probably we can add versioning support to
18464 # collect2, so additional links can be useful in future.
18465 if test "$aix_use_runtimelinking" = yes; then
18466 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18467 # instead of lib<name>.a to let people know that these are not
18468 # typical AIX shared libraries.
18469 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18471 # We preserve .a as extension for shared libraries through AIX4.2
18472 # and later when we are not doing run time linking.
18473 library_names_spec
='${libname}${release}.a $libname.a'
18474 soname_spec
='${libname}${release}${shared_ext}$major'
18476 shlibpath_var
=LIBPATH
18481 library_names_spec
='$libname.ixlibrary $libname.a'
18482 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18483 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'
18487 library_names_spec
='${libname}${shared_ext}'
18488 dynamic_linker
="$host_os ld.so"
18489 shlibpath_var
=LIBRARY_PATH
18495 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18496 soname_spec
='${libname}${release}${shared_ext}$major'
18497 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18498 shlibpath_var
=LD_LIBRARY_PATH
18499 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18500 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18501 # the default ld.so.conf also contains /usr/contrib/lib and
18502 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18503 # libtool to hard-code these into programs
18506 cygwin
* | mingw
* | pw32
*)
18507 version_type
=windows
18512 case $GCC,$host_os in
18513 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18514 library_names_spec
='$libname.dll.a'
18515 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18516 postinstall_cmds
='base_file=`basename \${file}`~
18517 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18518 dldir=$destdir/`dirname \$dlpath`~
18519 test -d \$dldir || mkdir -p \$dldir~
18520 $install_prog $dir/$dlname \$dldir/$dlname~
18521 chmod a+x \$dldir/$dlname'
18522 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18523 dlpath=$dir/\$dldll~
18525 shlibpath_overrides_runpath
=yes
18529 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18530 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18531 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18534 # MinGW DLLs use traditional 'lib' prefix
18535 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18536 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18537 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18538 # It is most probably a Windows format PATH printed by
18539 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18540 # path with ; separators, and with drive letters. We can handle the
18541 # drive letters (cygwin fileutils understands them), so leave them,
18542 # especially as we might pass files found there to a mingw objdump,
18543 # which wouldn't understand a cygwinified path. Ahh.
18544 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18546 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18550 # pw32 DLLs use 'pw' prefix rather than 'lib'
18551 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18557 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18560 dynamic_linker
='Win32 ld.exe'
18561 # FIXME: first we should search . and the directory the executable is in
18565 darwin
* | rhapsody
*)
18566 dynamic_linker
="$host_os dyld"
18567 version_type
=darwin
18570 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18571 soname_spec
='${libname}${release}${major}$shared_ext'
18572 shlibpath_overrides_runpath
=yes
18573 shlibpath_var
=DYLD_LIBRARY_PATH
18574 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18576 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18584 soname_spec
='${libname}${release}${shared_ext}$major'
18585 shlibpath_var
=LD_LIBRARY_PATH
18592 freebsd
* | dragonfly
*)
18593 # DragonFly does not have aout. When/if they implement a new
18594 # versioning mechanism, adjust this.
18595 if test -x /usr
/bin
/objformat
; then
18596 objformat
=`/usr/bin/objformat`
18599 freebsd
[123]*) objformat
=aout
;;
18600 *) objformat
=elf
;;
18603 version_type
=freebsd-
$objformat
18604 case $version_type in
18606 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18611 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18615 shlibpath_var
=LD_LIBRARY_PATH
18618 shlibpath_overrides_runpath
=yes
18620 freebsd3.
[01]* | freebsdelf3.
[01]*)
18621 shlibpath_overrides_runpath
=yes
18622 hardcode_into_libs
=yes
18624 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18625 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18626 shlibpath_overrides_runpath
=no
18627 hardcode_into_libs
=yes
18629 *) # from 4.6 on, and DragonFly
18630 shlibpath_overrides_runpath
=yes
18631 hardcode_into_libs
=yes
18640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18641 soname_spec
='${libname}${release}${shared_ext}$major'
18642 shlibpath_var
=LD_LIBRARY_PATH
18643 hardcode_into_libs
=yes
18646 hpux9
* | hpux10
* | hpux11
*)
18647 # Give a soname corresponding to the major version so that dld.sl refuses to
18648 # link against other versions.
18655 hardcode_into_libs
=yes
18656 dynamic_linker
="$host_os dld.so"
18657 shlibpath_var
=LD_LIBRARY_PATH
18658 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18659 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18660 soname_spec
='${libname}${release}${shared_ext}$major'
18661 if test "X$HPUX_IA64_MODE" = X32
; then
18662 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18664 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18666 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18670 hardcode_into_libs
=yes
18671 dynamic_linker
="$host_os dld.sl"
18672 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18673 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18674 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18675 soname_spec
='${libname}${release}${shared_ext}$major'
18676 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18677 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18681 dynamic_linker
="$host_os dld.sl"
18682 shlibpath_var
=SHLIB_PATH
18683 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18684 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18685 soname_spec
='${libname}${release}${shared_ext}$major'
18688 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18689 postinstall_cmds
='chmod 555 $lib'
18696 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18697 soname_spec
='${libname}${release}${shared_ext}$major'
18698 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18699 shlibpath_var
=LD_LIBRARY_PATH
18700 shlibpath_overrides_runpath
=no
18701 hardcode_into_libs
=yes
18704 irix5
* | irix6
* | nonstopux
*)
18706 nonstopux
*) version_type
=nonstopux
;;
18708 if test "$lt_cv_prog_gnu_ld" = yes; then
18716 soname_spec
='${libname}${release}${shared_ext}$major'
18717 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18719 irix5
* | nonstopux
*)
18720 libsuff
= shlibsuff
=
18723 case $LD in # libtool.m4 will add one of these switches to LD
18724 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18725 libsuff
= shlibsuff
= libmagic
=32-bit;;
18726 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18727 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18728 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18729 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18730 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18734 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18735 shlibpath_overrides_runpath
=no
18736 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18737 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18738 hardcode_into_libs
=yes
18741 # No shared lib support for Linux oldld, aout, or coff.
18742 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18746 # This must be Linux ELF.
18747 linux
* | k
*bsd
*-gnu)
18751 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18752 soname_spec
='${libname}${release}${shared_ext}$major'
18753 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18754 shlibpath_var
=LD_LIBRARY_PATH
18755 shlibpath_overrides_runpath
=no
18756 # This implies no fast_install, which is unacceptable.
18757 # Some rework will be needed to allow for fast_install
18758 # before this can be enabled.
18759 hardcode_into_libs
=yes
18761 # Append ld.so.conf contents to the search path
18762 if test -f /etc
/ld.so.conf
; then
18763 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' ' '`
18764 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18767 # We used to test for /lib/ld.so.1 and disable shared libraries on
18768 # powerpc, because MkLinux only supported shared libraries with the
18769 # GNU dynamic linker. Since this was broken with cross compilers,
18770 # most powerpc-linux boxes support dynamic linking these days and
18771 # people can always --disable-shared, the test was removed, and we
18772 # assume the GNU/Linux dynamic linker is in use.
18773 dynamic_linker
='GNU/Linux ld.so'
18780 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18781 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18782 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18783 dynamic_linker
='NetBSD (a.out) ld.so'
18785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18786 soname_spec
='${libname}${release}${shared_ext}$major'
18787 dynamic_linker
='NetBSD ld.elf_so'
18789 shlibpath_var
=LD_LIBRARY_PATH
18790 shlibpath_overrides_runpath
=yes
18791 hardcode_into_libs
=yes
18796 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18797 shlibpath_var
=LD_LIBRARY_PATH
18798 shlibpath_overrides_runpath
=yes
18805 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18806 soname_spec
='${libname}${release}${shared_ext}$major'
18807 shlibpath_var
=LD_LIBRARY_PATH
18808 shlibpath_overrides_runpath
=yes
18813 sys_lib_dlsearch_path_spec
="/usr/lib"
18815 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18817 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18818 *) need_version
=no
;;
18820 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18821 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18822 shlibpath_var
=LD_LIBRARY_PATH
18823 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18825 openbsd2.
[89] | openbsd2.
[89].
*)
18826 shlibpath_overrides_runpath
=no
18829 shlibpath_overrides_runpath
=yes
18833 shlibpath_overrides_runpath
=yes
18838 libname_spec
='$name'
18841 library_names_spec
='$libname${shared_ext} $libname.a'
18842 dynamic_linker
='OS/2 ld.exe'
18843 shlibpath_var
=LIBPATH
18846 osf3
* | osf4
* | osf5
*)
18850 soname_spec
='${libname}${release}${shared_ext}$major'
18851 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18852 shlibpath_var
=LD_LIBRARY_PATH
18853 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18854 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18865 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18866 soname_spec
='${libname}${release}${shared_ext}$major'
18867 shlibpath_var
=LD_LIBRARY_PATH
18868 shlibpath_overrides_runpath
=yes
18869 hardcode_into_libs
=yes
18870 # ldd complains unless libraries are executable
18871 postinstall_cmds
='chmod +x $lib'
18876 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18877 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18878 shlibpath_var
=LD_LIBRARY_PATH
18879 shlibpath_overrides_runpath
=yes
18880 if test "$with_gnu_ld" = yes; then
18888 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18889 soname_spec
='${libname}${release}${shared_ext}$major'
18890 shlibpath_var
=LD_LIBRARY_PATH
18891 case $host_vendor in
18893 shlibpath_overrides_runpath
=no
18895 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18896 runpath_var
=LD_RUN_PATH
18904 shlibpath_overrides_runpath
=no
18905 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18911 if test -d /usr
/nec
;then
18913 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18914 soname_spec
='$libname${shared_ext}.$major'
18915 shlibpath_var
=LD_LIBRARY_PATH
18919 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18920 version_type
=freebsd-elf
18923 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18924 soname_spec
='${libname}${release}${shared_ext}$major'
18925 shlibpath_var
=LD_LIBRARY_PATH
18926 hardcode_into_libs
=yes
18927 if test "$with_gnu_ld" = yes; then
18928 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18929 shlibpath_overrides_runpath
=no
18931 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18932 shlibpath_overrides_runpath
=yes
18935 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18939 sys_lib_dlsearch_path_spec
='/usr/lib'
18944 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18945 soname_spec
='${libname}${release}${shared_ext}$major'
18946 shlibpath_var
=LD_LIBRARY_PATH
18953 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18954 $as_echo "$dynamic_linker" >&6; }
18955 test "$dynamic_linker" = no
&& can_build_shared
=no
18957 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18958 $as_echo_n "(cached) " >&6
18960 lt_cv_sys_lib_search_path_spec
="$sys_lib_search_path_spec"
18963 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
18964 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18965 $as_echo_n "(cached) " >&6
18967 lt_cv_sys_lib_dlsearch_path_spec
="$sys_lib_dlsearch_path_spec"
18970 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
18972 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18973 if test "$GCC" = yes; then
18974 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18977 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18978 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18979 hardcode_action_GCJ
=
18980 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18981 test -n "$runpath_var_GCJ" || \
18982 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18984 # We can hardcode non-existant directories.
18985 if test "$hardcode_direct_GCJ" != no
&&
18986 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18987 # have to relink, otherwise we might link with an installed library
18988 # when we should be linking with a yet-to-be-installed one
18989 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18990 test "$hardcode_minus_L_GCJ" != no
; then
18991 # Linking always hardcodes the temporary library directory.
18992 hardcode_action_GCJ
=relink
18994 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18995 hardcode_action_GCJ
=immediate
18998 # We cannot hardcode anything, or else we can only hardcode existing
19000 hardcode_action_GCJ
=unsupported
19002 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
19003 $as_echo "$hardcode_action_GCJ" >&6; }
19005 if test "$hardcode_action_GCJ" = relink
; then
19006 # Fast installation is not supported
19007 enable_fast_install
=no
19008 elif test "$shlibpath_overrides_runpath" = yes ||
19009 test "$enable_shared" = no
; then
19010 # Fast installation is not necessary
19011 enable_fast_install
=needless
19015 # The else clause should only fire when bootstrapping the
19016 # libtool distribution, otherwise you forgot to ship ltmain.sh
19017 # with your package, and you will get complaints that there are
19018 # no rules to generate ltmain.sh.
19019 if test -f "$ltmain"; then
19020 # See if we are running on zsh, and set the options which allow our commands through
19021 # without removal of \ escapes.
19022 if test -n "${ZSH_VERSION+set}" ; then
19023 setopt NO_GLOB_SUBST
19025 # Now quote all the things that may contain metacharacters while being
19026 # careful not to overquote the AC_SUBSTed values. We take copies of the
19027 # variables and quote the copies for generation of the libtool script.
19028 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19030 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19031 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19032 deplibs_check_method reload_flag reload_cmds need_locks \
19033 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19034 lt_cv_sys_global_symbol_to_c_name_address \
19035 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19036 old_postinstall_cmds old_postuninstall_cmds \
19040 lt_prog_compiler_wl_GCJ \
19041 lt_prog_compiler_pic_GCJ \
19042 lt_prog_compiler_static_GCJ \
19043 lt_prog_compiler_no_builtin_flag_GCJ \
19044 export_dynamic_flag_spec_GCJ \
19045 thread_safe_flag_spec_GCJ \
19046 whole_archive_flag_spec_GCJ \
19047 enable_shared_with_static_runtimes_GCJ \
19048 old_archive_cmds_GCJ \
19049 old_archive_from_new_cmds_GCJ \
19050 predep_objects_GCJ \
19051 postdep_objects_GCJ \
19054 compiler_lib_search_path_GCJ \
19055 compiler_lib_search_dirs_GCJ \
19057 archive_expsym_cmds_GCJ \
19058 postinstall_cmds_GCJ \
19059 postuninstall_cmds_GCJ \
19060 old_archive_from_expsyms_cmds_GCJ \
19061 allow_undefined_flag_GCJ \
19062 no_undefined_flag_GCJ \
19063 export_symbols_cmds_GCJ \
19064 hardcode_libdir_flag_spec_GCJ \
19065 hardcode_libdir_flag_spec_ld_GCJ \
19066 hardcode_libdir_separator_GCJ \
19067 hardcode_automatic_GCJ \
19069 module_expsym_cmds_GCJ \
19070 lt_cv_prog_compiler_c_o_GCJ \
19071 fix_srcfile_path_GCJ \
19072 exclude_expsyms_GCJ \
19073 include_expsyms_GCJ
; do
19076 old_archive_cmds_GCJ | \
19077 old_archive_from_new_cmds_GCJ | \
19078 archive_cmds_GCJ | \
19079 archive_expsym_cmds_GCJ | \
19080 module_cmds_GCJ | \
19081 module_expsym_cmds_GCJ | \
19082 old_archive_from_expsyms_cmds_GCJ | \
19083 export_symbols_cmds_GCJ | \
19084 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19085 postinstall_cmds | postuninstall_cmds | \
19086 old_postinstall_cmds | old_postuninstall_cmds | \
19087 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19088 # Double-quote double-evaled strings.
19089 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19092 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19098 *'\$0 --fallback-echo"')
19099 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19105 cat <<__EOF__ >> "$cfgfile"
19106 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19108 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19110 # Shell to use when invoking shell scripts.
19113 # Whether or not to build shared libraries.
19114 build_libtool_libs=$enable_shared
19116 # Whether or not to build static libraries.
19117 build_old_libs=$enable_static
19119 # Whether or not to add -lc for building shared libraries.
19120 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19122 # Whether or not to disallow shared libs when runtime libs are static
19123 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19125 # Whether or not to optimize for fast installation.
19126 fast_install=$enable_fast_install
19129 host_alias=$host_alias
19133 # The build system.
19134 build_alias=$build_alias
19138 # An echo program that does not interpret backslashes.
19143 AR_FLAGS=$lt_AR_FLAGS
19148 # LTCC compiler flags.
19149 LTCFLAGS=$lt_LTCFLAGS
19151 # A language-specific compiler.
19152 CC=$lt_compiler_GCJ
19154 # Is the compiler the GNU C compiler?
19160 # The linker used to build libraries.
19163 # Whether we need hard or soft links.
19166 # A BSD-compatible nm program.
19169 # A symbol stripping program
19172 # Used to examine libraries when file_magic_cmd begins "file"
19173 MAGIC_CMD=$MAGIC_CMD
19175 # Used on cygwin: DLL creation program.
19178 # Used on cygwin: object dumper.
19181 # Used on cygwin: assembler.
19184 # The name of the directory that contains temporary libtool files.
19187 # How to create reloadable object files.
19188 reload_flag=$lt_reload_flag
19189 reload_cmds=$lt_reload_cmds
19191 # How to pass a linker flag through the compiler.
19192 wl=$lt_lt_prog_compiler_wl_GCJ
19194 # Object file suffix (normally "o").
19195 objext="$ac_objext"
19197 # Old archive suffix (normally "a").
19200 # Shared library suffix (normally ".so").
19201 shrext_cmds='$shrext_cmds'
19203 # Executable file suffix (normally "").
19206 # Additional compiler flags for building library objects.
19207 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19210 # What is the maximum length of a command?
19211 max_cmd_len=$lt_cv_sys_max_cmd_len
19213 # Does compiler simultaneously support -c and -o options?
19214 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19216 # Must we lock files when doing compilation?
19217 need_locks=$lt_need_locks
19219 # Do we need the lib prefix for modules?
19220 need_lib_prefix=$need_lib_prefix
19222 # Do we need a version for libraries?
19223 need_version=$need_version
19225 # Whether dlopen is supported.
19226 dlopen_support=$enable_dlopen
19228 # Whether dlopen of programs is supported.
19229 dlopen_self=$enable_dlopen_self
19231 # Whether dlopen of statically linked programs is supported.
19232 dlopen_self_static=$enable_dlopen_self_static
19234 # Compiler flag to prevent dynamic linking.
19235 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19237 # Compiler flag to turn off builtin functions.
19238 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19240 # Compiler flag to allow reflexive dlopens.
19241 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19243 # Compiler flag to generate shared objects directly from archives.
19244 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19246 # Compiler flag to generate thread-safe objects.
19247 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19249 # Library versioning type.
19250 version_type=$version_type
19252 # Format of library name prefix.
19253 libname_spec=$lt_libname_spec
19255 # List of archive names. First name is the real one, the rest are links.
19256 # The last name is the one that the linker finds with -lNAME.
19257 library_names_spec=$lt_library_names_spec
19259 # The coded name of the library, if different from the real name.
19260 soname_spec=$lt_soname_spec
19262 # Commands used to build and install an old-style archive.
19264 old_archive_cmds=$lt_old_archive_cmds_GCJ
19265 old_postinstall_cmds=$lt_old_postinstall_cmds
19266 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19268 # Create an old-style archive from a shared archive.
19269 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19271 # Create a temporary old-style archive to link instead of a shared archive.
19272 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19274 # Commands used to build and install a shared archive.
19275 archive_cmds=$lt_archive_cmds_GCJ
19276 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19277 postinstall_cmds=$lt_postinstall_cmds
19278 postuninstall_cmds=$lt_postuninstall_cmds
19280 # Commands used to build a loadable module (assumed same as above if empty)
19281 module_cmds=$lt_module_cmds_GCJ
19282 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19284 # Commands to strip libraries.
19285 old_striplib=$lt_old_striplib
19286 striplib=$lt_striplib
19288 # Dependencies to place before the objects being linked to create a
19290 predep_objects=$lt_predep_objects_GCJ
19292 # Dependencies to place after the objects being linked to create a
19294 postdep_objects=$lt_postdep_objects_GCJ
19296 # Dependencies to place before the objects being linked to create a
19298 predeps=$lt_predeps_GCJ
19300 # Dependencies to place after the objects being linked to create a
19302 postdeps=$lt_postdeps_GCJ
19304 # The directories searched by this compiler when creating a shared
19306 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
19308 # The library search path used internally by the compiler when linking
19309 # a shared library.
19310 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19312 # Method to check whether dependent libraries are shared objects.
19313 deplibs_check_method=$lt_deplibs_check_method
19315 # Command to use when deplibs_check_method == file_magic.
19316 file_magic_cmd=$lt_file_magic_cmd
19318 # Flag that allows shared libraries with undefined symbols to be built.
19319 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19321 # Flag that forces no undefined symbols.
19322 no_undefined_flag=$lt_no_undefined_flag_GCJ
19324 # Commands used to finish a libtool library installation in a directory.
19325 finish_cmds=$lt_finish_cmds
19327 # Same as above, but a single script fragment to be evaled but not shown.
19328 finish_eval=$lt_finish_eval
19330 # Take the output of nm and produce a listing of raw symbols and C names.
19331 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19333 # Transform the output of nm in a proper C declaration
19334 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19336 # Transform the output of nm in a C name address pair
19337 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19339 # This is the shared library runtime path variable.
19340 runpath_var=$runpath_var
19342 # This is the shared library path variable.
19343 shlibpath_var=$shlibpath_var
19345 # Is shlibpath searched before the hard-coded library search path?
19346 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19348 # How to hardcode a shared library path into an executable.
19349 hardcode_action=$hardcode_action_GCJ
19351 # Whether we should hardcode library paths into libraries.
19352 hardcode_into_libs=$hardcode_into_libs
19354 # Flag to hardcode \$libdir into a binary during linking.
19355 # This must work even if \$libdir does not exist.
19356 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19358 # If ld is used when linking, flag to hardcode \$libdir into
19359 # a binary during linking. This must work even if \$libdir does
19361 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19363 # Whether we need a single -rpath flag with a separated argument.
19364 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19366 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19367 # resulting binary.
19368 hardcode_direct=$hardcode_direct_GCJ
19370 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19371 # resulting binary.
19372 hardcode_minus_L=$hardcode_minus_L_GCJ
19374 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19375 # the resulting binary.
19376 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19378 # Set to yes if building a shared library automatically hardcodes DIR into the library
19379 # and all subsequent libraries and executables linked against it.
19380 hardcode_automatic=$hardcode_automatic_GCJ
19382 # Variables whose values should be saved in libtool wrapper scripts and
19383 # restored at relink time.
19384 variables_saved_for_relink="$variables_saved_for_relink"
19386 # Whether libtool must link a program against all its dependency libraries.
19387 link_all_deplibs=$link_all_deplibs_GCJ
19389 # Compile-time system search path for libraries
19390 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19392 # Run-time system search path for libraries
19393 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19395 # Fix the shell variable \$srcfile for the compiler.
19396 fix_srcfile_path=$lt_fix_srcfile_path
19398 # Set to yes if exported symbols are required.
19399 always_export_symbols=$always_export_symbols_GCJ
19401 # The commands to list exported symbols.
19402 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19404 # The commands to extract the exported symbol list from a shared archive.
19405 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19407 # Symbols that should not be listed in the preloaded symbols.
19408 exclude_expsyms=$lt_exclude_expsyms_GCJ
19410 # Symbols that must always be exported.
19411 include_expsyms=$lt_include_expsyms_GCJ
19413 # ### END LIBTOOL TAG CONFIG: $tagname
19419 # If there is no Makefile yet, we rely on a make rule to execute
19420 # `config.status --recheck' to rerun these tests and create the
19421 # libtool script then.
19422 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19423 if test -f "$ltmain_in"; then
19424 test -f Makefile
&& make "$ltmain"
19430 ac_cpp
='$CPP $CPPFLAGS'
19431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19445 # Source file extension for RC test sources.
19448 # Object file extension for compiled RC test sources.
19452 # Code to be used in simple compile tests
19453 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19455 # Code to be used in simple link tests
19456 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19458 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19460 # If no C compiler was specified, use CC.
19463 # If no C compiler flags were specified, use CFLAGS.
19464 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19466 # Allow CC to be a program name with arguments.
19470 # save warnings/boilerplate of simple test code
19471 ac_outfile
=conftest.
$ac_objext
19472 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19473 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19474 _lt_compiler_boilerplate
=`cat conftest.err`
19477 ac_outfile
=conftest.
$ac_objext
19478 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19479 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19480 _lt_linker_boilerplate
=`cat conftest.err`
19484 # Allow CC to be a program name with arguments.
19489 for cc_temp
in $compiler""; do
19491 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19492 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19497 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19499 lt_cv_prog_compiler_c_o_RC
=yes
19501 # The else clause should only fire when bootstrapping the
19502 # libtool distribution, otherwise you forgot to ship ltmain.sh
19503 # with your package, and you will get complaints that there are
19504 # no rules to generate ltmain.sh.
19505 if test -f "$ltmain"; then
19506 # See if we are running on zsh, and set the options which allow our commands through
19507 # without removal of \ escapes.
19508 if test -n "${ZSH_VERSION+set}" ; then
19509 setopt NO_GLOB_SUBST
19511 # Now quote all the things that may contain metacharacters while being
19512 # careful not to overquote the AC_SUBSTed values. We take copies of the
19513 # variables and quote the copies for generation of the libtool script.
19514 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19516 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19517 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19518 deplibs_check_method reload_flag reload_cmds need_locks \
19519 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19520 lt_cv_sys_global_symbol_to_c_name_address \
19521 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19522 old_postinstall_cmds old_postuninstall_cmds \
19526 lt_prog_compiler_wl_RC \
19527 lt_prog_compiler_pic_RC \
19528 lt_prog_compiler_static_RC \
19529 lt_prog_compiler_no_builtin_flag_RC \
19530 export_dynamic_flag_spec_RC \
19531 thread_safe_flag_spec_RC \
19532 whole_archive_flag_spec_RC \
19533 enable_shared_with_static_runtimes_RC \
19534 old_archive_cmds_RC \
19535 old_archive_from_new_cmds_RC \
19536 predep_objects_RC \
19537 postdep_objects_RC \
19540 compiler_lib_search_path_RC \
19541 compiler_lib_search_dirs_RC \
19543 archive_expsym_cmds_RC \
19544 postinstall_cmds_RC \
19545 postuninstall_cmds_RC \
19546 old_archive_from_expsyms_cmds_RC \
19547 allow_undefined_flag_RC \
19548 no_undefined_flag_RC \
19549 export_symbols_cmds_RC \
19550 hardcode_libdir_flag_spec_RC \
19551 hardcode_libdir_flag_spec_ld_RC \
19552 hardcode_libdir_separator_RC \
19553 hardcode_automatic_RC \
19555 module_expsym_cmds_RC \
19556 lt_cv_prog_compiler_c_o_RC \
19557 fix_srcfile_path_RC \
19558 exclude_expsyms_RC \
19559 include_expsyms_RC
; do
19562 old_archive_cmds_RC | \
19563 old_archive_from_new_cmds_RC | \
19564 archive_cmds_RC | \
19565 archive_expsym_cmds_RC | \
19567 module_expsym_cmds_RC | \
19568 old_archive_from_expsyms_cmds_RC | \
19569 export_symbols_cmds_RC | \
19570 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19571 postinstall_cmds | postuninstall_cmds | \
19572 old_postinstall_cmds | old_postuninstall_cmds | \
19573 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19574 # Double-quote double-evaled strings.
19575 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19578 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19584 *'\$0 --fallback-echo"')
19585 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19591 cat <<__EOF__ >> "$cfgfile"
19592 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19594 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19596 # Shell to use when invoking shell scripts.
19599 # Whether or not to build shared libraries.
19600 build_libtool_libs=$enable_shared
19602 # Whether or not to build static libraries.
19603 build_old_libs=$enable_static
19605 # Whether or not to add -lc for building shared libraries.
19606 build_libtool_need_lc=$archive_cmds_need_lc_RC
19608 # Whether or not to disallow shared libs when runtime libs are static
19609 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19611 # Whether or not to optimize for fast installation.
19612 fast_install=$enable_fast_install
19615 host_alias=$host_alias
19619 # The build system.
19620 build_alias=$build_alias
19624 # An echo program that does not interpret backslashes.
19629 AR_FLAGS=$lt_AR_FLAGS
19634 # LTCC compiler flags.
19635 LTCFLAGS=$lt_LTCFLAGS
19637 # A language-specific compiler.
19640 # Is the compiler the GNU C compiler?
19646 # The linker used to build libraries.
19649 # Whether we need hard or soft links.
19652 # A BSD-compatible nm program.
19655 # A symbol stripping program
19658 # Used to examine libraries when file_magic_cmd begins "file"
19659 MAGIC_CMD=$MAGIC_CMD
19661 # Used on cygwin: DLL creation program.
19664 # Used on cygwin: object dumper.
19667 # Used on cygwin: assembler.
19670 # The name of the directory that contains temporary libtool files.
19673 # How to create reloadable object files.
19674 reload_flag=$lt_reload_flag
19675 reload_cmds=$lt_reload_cmds
19677 # How to pass a linker flag through the compiler.
19678 wl=$lt_lt_prog_compiler_wl_RC
19680 # Object file suffix (normally "o").
19681 objext="$ac_objext"
19683 # Old archive suffix (normally "a").
19686 # Shared library suffix (normally ".so").
19687 shrext_cmds='$shrext_cmds'
19689 # Executable file suffix (normally "").
19692 # Additional compiler flags for building library objects.
19693 pic_flag=$lt_lt_prog_compiler_pic_RC
19696 # What is the maximum length of a command?
19697 max_cmd_len=$lt_cv_sys_max_cmd_len
19699 # Does compiler simultaneously support -c and -o options?
19700 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19702 # Must we lock files when doing compilation?
19703 need_locks=$lt_need_locks
19705 # Do we need the lib prefix for modules?
19706 need_lib_prefix=$need_lib_prefix
19708 # Do we need a version for libraries?
19709 need_version=$need_version
19711 # Whether dlopen is supported.
19712 dlopen_support=$enable_dlopen
19714 # Whether dlopen of programs is supported.
19715 dlopen_self=$enable_dlopen_self
19717 # Whether dlopen of statically linked programs is supported.
19718 dlopen_self_static=$enable_dlopen_self_static
19720 # Compiler flag to prevent dynamic linking.
19721 link_static_flag=$lt_lt_prog_compiler_static_RC
19723 # Compiler flag to turn off builtin functions.
19724 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19726 # Compiler flag to allow reflexive dlopens.
19727 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19729 # Compiler flag to generate shared objects directly from archives.
19730 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19732 # Compiler flag to generate thread-safe objects.
19733 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19735 # Library versioning type.
19736 version_type=$version_type
19738 # Format of library name prefix.
19739 libname_spec=$lt_libname_spec
19741 # List of archive names. First name is the real one, the rest are links.
19742 # The last name is the one that the linker finds with -lNAME.
19743 library_names_spec=$lt_library_names_spec
19745 # The coded name of the library, if different from the real name.
19746 soname_spec=$lt_soname_spec
19748 # Commands used to build and install an old-style archive.
19750 old_archive_cmds=$lt_old_archive_cmds_RC
19751 old_postinstall_cmds=$lt_old_postinstall_cmds
19752 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19754 # Create an old-style archive from a shared archive.
19755 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19757 # Create a temporary old-style archive to link instead of a shared archive.
19758 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19760 # Commands used to build and install a shared archive.
19761 archive_cmds=$lt_archive_cmds_RC
19762 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19763 postinstall_cmds=$lt_postinstall_cmds
19764 postuninstall_cmds=$lt_postuninstall_cmds
19766 # Commands used to build a loadable module (assumed same as above if empty)
19767 module_cmds=$lt_module_cmds_RC
19768 module_expsym_cmds=$lt_module_expsym_cmds_RC
19770 # Commands to strip libraries.
19771 old_striplib=$lt_old_striplib
19772 striplib=$lt_striplib
19774 # Dependencies to place before the objects being linked to create a
19776 predep_objects=$lt_predep_objects_RC
19778 # Dependencies to place after the objects being linked to create a
19780 postdep_objects=$lt_postdep_objects_RC
19782 # Dependencies to place before the objects being linked to create a
19784 predeps=$lt_predeps_RC
19786 # Dependencies to place after the objects being linked to create a
19788 postdeps=$lt_postdeps_RC
19790 # The directories searched by this compiler when creating a shared
19792 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
19794 # The library search path used internally by the compiler when linking
19795 # a shared library.
19796 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19798 # Method to check whether dependent libraries are shared objects.
19799 deplibs_check_method=$lt_deplibs_check_method
19801 # Command to use when deplibs_check_method == file_magic.
19802 file_magic_cmd=$lt_file_magic_cmd
19804 # Flag that allows shared libraries with undefined symbols to be built.
19805 allow_undefined_flag=$lt_allow_undefined_flag_RC
19807 # Flag that forces no undefined symbols.
19808 no_undefined_flag=$lt_no_undefined_flag_RC
19810 # Commands used to finish a libtool library installation in a directory.
19811 finish_cmds=$lt_finish_cmds
19813 # Same as above, but a single script fragment to be evaled but not shown.
19814 finish_eval=$lt_finish_eval
19816 # Take the output of nm and produce a listing of raw symbols and C names.
19817 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19819 # Transform the output of nm in a proper C declaration
19820 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19822 # Transform the output of nm in a C name address pair
19823 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19825 # This is the shared library runtime path variable.
19826 runpath_var=$runpath_var
19828 # This is the shared library path variable.
19829 shlibpath_var=$shlibpath_var
19831 # Is shlibpath searched before the hard-coded library search path?
19832 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19834 # How to hardcode a shared library path into an executable.
19835 hardcode_action=$hardcode_action_RC
19837 # Whether we should hardcode library paths into libraries.
19838 hardcode_into_libs=$hardcode_into_libs
19840 # Flag to hardcode \$libdir into a binary during linking.
19841 # This must work even if \$libdir does not exist.
19842 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19844 # If ld is used when linking, flag to hardcode \$libdir into
19845 # a binary during linking. This must work even if \$libdir does
19847 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19849 # Whether we need a single -rpath flag with a separated argument.
19850 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19852 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19853 # resulting binary.
19854 hardcode_direct=$hardcode_direct_RC
19856 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19857 # resulting binary.
19858 hardcode_minus_L=$hardcode_minus_L_RC
19860 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19861 # the resulting binary.
19862 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19864 # Set to yes if building a shared library automatically hardcodes DIR into the library
19865 # and all subsequent libraries and executables linked against it.
19866 hardcode_automatic=$hardcode_automatic_RC
19868 # Variables whose values should be saved in libtool wrapper scripts and
19869 # restored at relink time.
19870 variables_saved_for_relink="$variables_saved_for_relink"
19872 # Whether libtool must link a program against all its dependency libraries.
19873 link_all_deplibs=$link_all_deplibs_RC
19875 # Compile-time system search path for libraries
19876 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19878 # Run-time system search path for libraries
19879 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19881 # Fix the shell variable \$srcfile for the compiler.
19882 fix_srcfile_path=$lt_fix_srcfile_path
19884 # Set to yes if exported symbols are required.
19885 always_export_symbols=$always_export_symbols_RC
19887 # The commands to list exported symbols.
19888 export_symbols_cmds=$lt_export_symbols_cmds_RC
19890 # The commands to extract the exported symbol list from a shared archive.
19891 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19893 # Symbols that should not be listed in the preloaded symbols.
19894 exclude_expsyms=$lt_exclude_expsyms_RC
19896 # Symbols that must always be exported.
19897 include_expsyms=$lt_include_expsyms_RC
19899 # ### END LIBTOOL TAG CONFIG: $tagname
19905 # If there is no Makefile yet, we rely on a make rule to execute
19906 # `config.status --recheck' to rerun these tests and create the
19907 # libtool script then.
19908 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19909 if test -f "$ltmain_in"; then
19910 test -f Makefile
&& make "$ltmain"
19916 ac_cpp
='$CPP $CPPFLAGS'
19917 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19918 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19919 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19926 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19927 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19928 { (exit 1); exit 1; }; }
19932 # Append the new tag name to the list of available tags.
19933 if test -n "$tagname" ; then
19934 available_tags
="$available_tags $tagname"
19940 # Now substitute the updated list of available tags.
19941 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19942 mv "${ofile}T" "$ofile"
19946 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19947 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19948 { (exit 1); exit 1; }; }
19954 # This can be used to rebuild libtool when needed
19955 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19957 # Always use our own libtool.
19958 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19960 # Prevent multiple expansion
19985 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
19986 $as_echo_n "checking for socket in -lsocket... " >&6; }
19987 if test "${ac_cv_lib_socket_socket+set}" = set; then
19988 $as_echo_n "(cached) " >&6
19990 ac_check_lib_save_LIBS
=$LIBS
19991 LIBS
="-lsocket $LIBS"
19992 cat >conftest.
$ac_ext <<_ACEOF
19995 cat confdefs.h
>>conftest.
$ac_ext
19996 cat >>conftest.
$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
19999 /* Override any GCC internal prototype to avoid an error.
20000 Use char because int might match the return type of a GCC
20001 builtin and then its argument prototype would still apply. */
20014 rm -f conftest.
$ac_objext conftest
$ac_exeext
20015 if { (ac_try
="$ac_link"
20016 case "(($ac_try" in
20017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20018 *) ac_try_echo=$ac_try;;
20020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20021 $as_echo "$ac_try_echo") >&5
20022 (eval "$ac_link") 2>conftest.er1
20024 grep -v '^ *+' conftest.er1 >conftest.err
20026 cat conftest.err >&5
20027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20028 (exit $ac_status); } && {
20029 test -z "$ac_c_werror_flag" ||
20030 test ! -s conftest.err
20031 } && test -s conftest$ac_exeext && {
20032 test "$cross_compiling" = yes ||
20033 $as_test_x conftest$ac_exeext
20035 ac_cv_lib_socket_socket=yes
20037 $as_echo "$as_me: failed program was:" >&5
20038 sed 's/^/| /' conftest.$ac_ext >&5
20040 ac_cv_lib_socket_socket=no
20043 rm -rf conftest.dSYM
20044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20045 conftest$ac_exeext conftest.$ac_ext
20046 LIBS=$ac_check_lib_save_LIBS
20048 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
20049 $as_echo "$ac_cv_lib_socket_socket" >&6; }
20050 if test "x$ac_cv_lib_socket_socket" = x""yes; then
20051 cat >>confdefs.h <<_ACEOF
20052 #define HAVE_LIBSOCKET 1
20055 LIBS="-lsocket $LIBS"
20060 { $as_echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
20061 $as_echo_n "checking for inet_aton in -lresolv... " >&6; }
20062 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
20063 $as_echo_n "(cached) " >&6
20065 ac_check_lib_save_LIBS=$LIBS
20066 LIBS="-lresolv $LIBS"
20067 cat >conftest.$ac_ext <<_ACEOF
20070 cat confdefs.h >>conftest.$ac_ext
20071 cat >>conftest.$ac_ext <<_ACEOF
20072 /* end confdefs.h. */
20074 /* Override any GCC internal prototype to avoid an error.
20075 Use char because int might match the return type of a GCC
20076 builtin and then its argument prototype would still apply. */
20084 return inet_aton ();
20089 rm -f conftest.$ac_objext conftest$ac_exeext
20090 if { (ac_try="$ac_link"
20091 case "(($ac_try" in
20092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20093 *) ac_try_echo
=$ac_try;;
20095 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20096 $as_echo "$ac_try_echo") >&5
20097 (eval "$ac_link") 2>conftest.er1
20099 grep -v '^ *+' conftest.er1
>conftest.err
20101 cat conftest.err
>&5
20102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest
$ac_exeext && {
20107 test "$cross_compiling" = yes ||
20108 $as_test_x conftest
$ac_exeext
20110 ac_cv_lib_resolv_inet_aton
=yes
20112 $as_echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.
$ac_ext >&5
20115 ac_cv_lib_resolv_inet_aton
=no
20118 rm -rf conftest.dSYM
20119 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20120 conftest
$ac_exeext conftest.
$ac_ext
20121 LIBS
=$ac_check_lib_save_LIBS
20123 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
20124 $as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
20125 if test "x$ac_cv_lib_resolv_inet_aton" = x
""yes; then
20126 cat >>confdefs.h
<<_ACEOF
20127 #define HAVE_LIBRESOLV 1
20130 LIBS
="-lresolv $LIBS"
20135 { $as_echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
20136 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
20137 if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
20138 $as_echo_n "(cached) " >&6
20140 ac_check_lib_save_LIBS
=$LIBS
20142 cat >conftest.
$ac_ext <<_ACEOF
20145 cat confdefs.h
>>conftest.
$ac_ext
20146 cat >>conftest.
$ac_ext <<_ACEOF
20147 /* end confdefs.h. */
20149 /* Override any GCC internal prototype to avoid an error.
20150 Use char because int might match the return type of a GCC
20151 builtin and then its argument prototype would still apply. */
20155 char clock_gettime ();
20159 return clock_gettime ();
20164 rm -f conftest.
$ac_objext conftest
$ac_exeext
20165 if { (ac_try
="$ac_link"
20166 case "(($ac_try" in
20167 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20168 *) ac_try_echo=$ac_try;;
20170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20171 $as_echo "$ac_try_echo") >&5
20172 (eval "$ac_link") 2>conftest.er1
20174 grep -v '^ *+' conftest.er1 >conftest.err
20176 cat conftest.err >&5
20177 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } && {
20179 test -z "$ac_c_werror_flag" ||
20180 test ! -s conftest.err
20181 } && test -s conftest$ac_exeext && {
20182 test "$cross_compiling" = yes ||
20183 $as_test_x conftest$ac_exeext
20185 ac_cv_lib_rt_clock_gettime=yes
20187 $as_echo "$as_me: failed program was:" >&5
20188 sed 's/^/| /' conftest.$ac_ext >&5
20190 ac_cv_lib_rt_clock_gettime=no
20193 rm -rf conftest.dSYM
20194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20195 conftest$ac_exeext conftest.$ac_ext
20196 LIBS=$ac_check_lib_save_LIBS
20198 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5
20199 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
20200 if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then
20201 cat >>confdefs.h <<_ACEOF
20202 #define HAVE_LIBRT 1
20210 { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lnsl" >&5
20211 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
20212 if test "${ac_cv_lib_nsl_inet_ntoa+set}" = set; then
20213 $as_echo_n "(cached) " >&6
20215 ac_check_lib_save_LIBS=$LIBS
20217 cat >conftest.$ac_ext <<_ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20224 /* Override any GCC internal prototype to avoid an error.
20225 Use char because int might match the return type of a GCC
20226 builtin and then its argument prototype would still apply. */
20234 return inet_ntoa ();
20239 rm -f conftest.$ac_objext conftest$ac_exeext
20240 if { (ac_try="$ac_link"
20241 case "(($ac_try" in
20242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20243 *) ac_try_echo
=$ac_try;;
20245 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20246 $as_echo "$ac_try_echo") >&5
20247 (eval "$ac_link") 2>conftest.er1
20249 grep -v '^ *+' conftest.er1
>conftest.err
20251 cat conftest.err
>&5
20252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20253 (exit $ac_status); } && {
20254 test -z "$ac_c_werror_flag" ||
20255 test ! -s conftest.err
20256 } && test -s conftest
$ac_exeext && {
20257 test "$cross_compiling" = yes ||
20258 $as_test_x conftest
$ac_exeext
20260 ac_cv_lib_nsl_inet_ntoa
=yes
20262 $as_echo "$as_me: failed program was:" >&5
20263 sed 's/^/| /' conftest.
$ac_ext >&5
20265 ac_cv_lib_nsl_inet_ntoa
=no
20268 rm -rf conftest.dSYM
20269 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20270 conftest
$ac_exeext conftest.
$ac_ext
20271 LIBS
=$ac_check_lib_save_LIBS
20273 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_ntoa" >&5
20274 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
20275 if test "x$ac_cv_lib_nsl_inet_ntoa" = x
""yes; then
20276 cat >>confdefs.h
<<_ACEOF
20277 #define HAVE_LIBNSL 1
20285 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20286 $as_echo_n "checking for ANSI C header files... " >&6; }
20287 if test "${ac_cv_header_stdc+set}" = set; then
20288 $as_echo_n "(cached) " >&6
20290 cat >conftest.
$ac_ext <<_ACEOF
20293 cat confdefs.h
>>conftest.
$ac_ext
20294 cat >>conftest.
$ac_ext <<_ACEOF
20295 /* end confdefs.h. */
20296 #include <stdlib.h>
20297 #include <stdarg.h>
20298 #include <string.h>
20309 rm -f conftest.
$ac_objext
20310 if { (ac_try
="$ac_compile"
20311 case "(($ac_try" in
20312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20313 *) ac_try_echo=$ac_try;;
20315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20316 $as_echo "$ac_try_echo") >&5
20317 (eval "$ac_compile") 2>conftest.er1
20319 grep -v '^ *+' conftest.er1 >conftest.err
20321 cat conftest.err >&5
20322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); } && {
20324 test -z "$ac_c_werror_flag" ||
20325 test ! -s conftest.err
20326 } && test -s conftest.$ac_objext; then
20327 ac_cv_header_stdc=yes
20329 $as_echo "$as_me: failed program was:" >&5
20330 sed 's/^/| /' conftest.$ac_ext >&5
20332 ac_cv_header_stdc=no
20335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20337 if test $ac_cv_header_stdc = yes; then
20338 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20339 cat >conftest.$ac_ext <<_ACEOF
20342 cat confdefs.h >>conftest.$ac_ext
20343 cat >>conftest.$ac_ext <<_ACEOF
20344 /* end confdefs.h. */
20345 #include <string.h>
20348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20349 $EGREP "memchr" >/dev/null 2>&1; then
20352 ac_cv_header_stdc=no
20358 if test $ac_cv_header_stdc = yes; then
20359 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20360 cat >conftest.$ac_ext <<_ACEOF
20363 cat confdefs.h >>conftest.$ac_ext
20364 cat >>conftest.$ac_ext <<_ACEOF
20365 /* end confdefs.h. */
20366 #include <stdlib.h>
20369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20370 $EGREP "free" >/dev/null 2>&1; then
20373 ac_cv_header_stdc=no
20379 if test $ac_cv_header_stdc = yes; then
20380 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20381 if test "$cross_compiling" = yes; then
20384 cat >conftest.$ac_ext <<_ACEOF
20387 cat confdefs.h >>conftest.$ac_ext
20388 cat >>conftest.$ac_ext <<_ACEOF
20389 /* end confdefs.h. */
20391 #include <stdlib.h>
20392 #if ((' ' & 0x0FF) == 0x020)
20393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20396 # define ISLOWER(c) \
20397 (('a' <= (c) && (c) <= 'i') \
20398 || ('j' <= (c) && (c) <= 'r') \
20399 || ('s' <= (c) && (c) <= 'z'))
20400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20408 for (i = 0; i < 256; i++)
20409 if (XOR (islower (i), ISLOWER (i))
20410 || toupper (i) != TOUPPER (i))
20415 rm -f conftest$ac_exeext
20416 if { (ac_try="$ac_link"
20417 case "(($ac_try" in
20418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20419 *) ac_try_echo
=$ac_try;;
20421 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20422 $as_echo "$ac_try_echo") >&5
20423 (eval "$ac_link") 2>&5
20425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20427 { (case "(($ac_try" in
20428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20432 $as_echo "$ac_try_echo") >&5
20433 (eval "$ac_try") 2>&5
20435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); }; }; then
20439 $as_echo "$as_me: program exited with status $ac_status" >&5
20440 $as_echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20443 ( exit $ac_status )
20444 ac_cv_header_stdc=no
20446 rm -rf conftest.dSYM
20447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20453 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20454 $as_echo "$ac_cv_header_stdc" >&6; }
20455 if test $ac_cv_header_stdc = yes; then
20457 cat >>confdefs.h <<\_ACEOF
20458 #define STDC_HEADERS 1
20481 for ac_header in fcntl.h stdarg.h inttypes.h stdint.h poll.h signal.h unistd.h sys/epoll.h sys/time.h sys/queue.h sys/event.h sys/param.h sys/ioctl.h sys/select.h sys/devpoll.h port.h netinet/in6.h sys/socket.h
20483 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20485 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20486 $as_echo_n "checking for $ac_header... " >&6; }
20487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20488 $as_echo_n "(cached) " >&6
20490 ac_res=`eval 'as_val=${'$as_ac_Header'}
20491 $as_echo "$as_val"'`
20492 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20493 $as_echo "$ac_res" >&6; }
20495 # Is the header compilable?
20496 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20497 $as_echo_n "checking $ac_header usability... " >&6; }
20498 cat >conftest.$ac_ext <<_ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 $ac_includes_default
20505 #include <$ac_header>
20507 rm -f conftest.$ac_objext
20508 if { (ac_try="$ac_compile"
20509 case "(($ac_try" in
20510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20511 *) ac_try_echo
=$ac_try;;
20513 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20514 $as_echo "$ac_try_echo") >&5
20515 (eval "$ac_compile") 2>conftest.er1
20517 grep -v '^ *+' conftest.er1
>conftest.err
20519 cat conftest.err
>&5
20520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } && {
20522 test -z "$ac_c_werror_flag" ||
20523 test ! -s conftest.err
20524 } && test -s conftest.
$ac_objext; then
20525 ac_header_compiler
=yes
20527 $as_echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.
$ac_ext >&5
20530 ac_header_compiler
=no
20533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20534 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20535 $as_echo "$ac_header_compiler" >&6; }
20537 # Is the header present?
20538 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20539 $as_echo_n "checking $ac_header presence... " >&6; }
20540 cat >conftest.
$ac_ext <<_ACEOF
20543 cat confdefs.h
>>conftest.
$ac_ext
20544 cat >>conftest.
$ac_ext <<_ACEOF
20545 /* end confdefs.h. */
20546 #include <$ac_header>
20548 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20549 case "(($ac_try" in
20550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20554 $as_echo "$ac_try_echo") >&5
20555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20557 grep -v '^ *+' conftest.er1 >conftest.err
20559 cat conftest.err >&5
20560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } >/dev/null && {
20562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20563 test ! -s conftest.err
20565 ac_header_preproc=yes
20567 $as_echo "$as_me: failed program was:" >&5
20568 sed 's/^/| /' conftest.$ac_ext >&5
20570 ac_header_preproc=no
20573 rm -f conftest.err conftest.$ac_ext
20574 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20575 $as_echo "$ac_header_preproc" >&6; }
20577 # So? What about this header?
20578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20580 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20581 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20582 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20583 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20584 ac_header_preproc=yes
20587 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20588 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20589 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20590 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20591 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20592 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20593 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20594 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20595 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20596 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20597 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20598 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20602 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20603 $as_echo_n "checking for $ac_header... " >&6; }
20604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20605 $as_echo_n "(cached) " >&6
20607 eval "$as_ac_Header=\$ac_header_preproc"
20609 ac_res=`eval 'as_val=${'$as_ac_Header'}
20610 $as_echo "$as_val"'`
20611 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20612 $as_echo "$ac_res" >&6; }
20615 as_val=`eval 'as_val=${'$as_ac_Header'}
20616 $as_echo "$as_val"'`
20617 if test "x$as_val" = x""yes; then
20618 cat >>confdefs.h <<_ACEOF
20619 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20626 if test "x$ac_cv_header_sys_queue_h" = "xyes"; then
20627 { $as_echo "$as_me:$LINENO: checking for TAILQ_FOREACH in sys/queue.h" >&5
20628 $as_echo_n "checking for TAILQ_FOREACH in sys/queue.h... " >&6; }
20629 cat >conftest.$ac_ext <<_ACEOF
20632 cat confdefs.h >>conftest.$ac_ext
20633 cat >>conftest.$ac_ext <<_ACEOF
20634 /* end confdefs.h. */
20636 #include <sys/queue.h>
20637 #ifdef TAILQ_FOREACH
20642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20643 $EGREP "yes" >/dev/null 2>&1; then
20644 { $as_echo "$as_me:$LINENO: result: yes" >&5
20645 $as_echo "yes" >&6; }
20647 cat >>confdefs.h <<\_ACEOF
20648 #define HAVE_TAILQFOREACH 1
20652 { $as_echo "$as_me:$LINENO: result: no" >&5
20653 $as_echo "no" >&6; }
20660 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
20661 { $as_echo "$as_me:$LINENO: checking for timeradd in sys/time.h" >&5
20662 $as_echo_n "checking for timeradd in sys/time.h... " >&6; }
20663 cat >conftest.$ac_ext <<_ACEOF
20666 cat confdefs.h >>conftest.$ac_ext
20667 cat >>conftest.$ac_ext <<_ACEOF
20668 /* end confdefs.h. */
20670 #include <sys/time.h>
20676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20677 $EGREP "yes" >/dev/null 2>&1; then
20679 cat >>confdefs.h <<\_ACEOF
20680 #define HAVE_TIMERADD 1
20683 { $as_echo "$as_me:$LINENO: result: yes" >&5
20684 $as_echo "yes" >&6; }
20686 { $as_echo "$as_me:$LINENO: result: no" >&5
20687 $as_echo "no" >&6; }
20694 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
20695 { $as_echo "$as_me:$LINENO: checking for timercmp in sys/time.h" >&5
20696 $as_echo_n "checking for timercmp in sys/time.h... " >&6; }
20697 cat >conftest.$ac_ext <<_ACEOF
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20704 #include <sys/time.h>
20710 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20711 $EGREP "yes" >/dev/null 2>&1; then
20713 cat >>confdefs.h <<\_ACEOF
20714 #define HAVE_TIMERCMP 1
20717 { $as_echo "$as_me:$LINENO: result: yes" >&5
20718 $as_echo "yes" >&6; }
20720 { $as_echo "$as_me:$LINENO: result: no" >&5
20721 $as_echo "no" >&6; }
20728 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
20729 { $as_echo "$as_me:$LINENO: checking for timerclear in sys/time.h" >&5
20730 $as_echo_n "checking for timerclear in sys/time.h... " >&6; }
20731 cat >conftest.$ac_ext <<_ACEOF
20734 cat confdefs.h >>conftest.$ac_ext
20735 cat >>conftest.$ac_ext <<_ACEOF
20736 /* end confdefs.h. */
20738 #include <sys/time.h>
20744 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20745 $EGREP "yes" >/dev/null 2>&1; then
20747 cat >>confdefs.h <<\_ACEOF
20748 #define HAVE_TIMERCLEAR 1
20751 { $as_echo "$as_me:$LINENO: result: yes" >&5
20752 $as_echo "yes" >&6; }
20754 { $as_echo "$as_me:$LINENO: result: no" >&5
20755 $as_echo "no" >&6; }
20762 if test "x$ac_cv_header_sys_time_h" = "xyes"; then
20763 { $as_echo "$as_me:$LINENO: checking for timerisset in sys/time.h" >&5
20764 $as_echo_n "checking for timerisset in sys/time.h... " >&6; }
20765 cat >conftest.$ac_ext <<_ACEOF
20768 cat confdefs.h >>conftest.$ac_ext
20769 cat >>conftest.$ac_ext <<_ACEOF
20770 /* end confdefs.h. */
20772 #include <sys/time.h>
20778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20779 $EGREP "yes" >/dev/null 2>&1; then
20781 cat >>confdefs.h <<\_ACEOF
20782 #define HAVE_TIMERISSET 1
20785 { $as_echo "$as_me:$LINENO: result: yes" >&5
20786 $as_echo "yes" >&6; }
20788 { $as_echo "$as_me:$LINENO: result: no" >&5
20789 $as_echo "no" >&6; }
20796 { $as_echo "$as_me:$LINENO: checking for WIN32" >&5
20797 $as_echo_n "checking for WIN32... " >&6; }
20798 cat >conftest.$ac_ext <<_ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20817 rm -f conftest.$ac_objext
20818 if { (ac_try="$ac_compile"
20819 case "(($ac_try" in
20820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20821 *) ac_try_echo
=$ac_try;;
20823 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20824 $as_echo "$ac_try_echo") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20827 grep -v '^ *+' conftest.er1
>conftest.err
20829 cat conftest.err
>&5
20830 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.
$ac_objext; then
20835 bwin32
=true
; { $as_echo "$as_me:$LINENO: result: yes" >&5
20836 $as_echo "yes" >&6; }
20838 $as_echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.
$ac_ext >&5
20841 bwin32
=false
; { $as_echo "$as_me:$LINENO: result: no" >&5
20842 $as_echo "no" >&6; }
20845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20847 if test x
$bwin32 = xtrue
; then
20849 BUILD_WIN32_FALSE
='#'
20851 BUILD_WIN32_TRUE
='#'
20856 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20857 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20858 if test "${ac_cv_c_const+set}" = set; then
20859 $as_echo_n "(cached) " >&6
20861 cat >conftest.
$ac_ext <<_ACEOF
20864 cat confdefs.h
>>conftest.
$ac_ext
20865 cat >>conftest.
$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20871 /* FIXME: Include the comments suggested by Paul. */
20872 #ifndef __cplusplus
20873 /* Ultrix mips cc rejects this. */
20874 typedef int charset[2];
20876 /* SunOS 4.1.1 cc rejects this. */
20877 char const *const *pcpcc;
20879 /* NEC SVR4.0.2 mips cc rejects this. */
20880 struct point {int x, y;};
20881 static struct point const zero = {0,0};
20882 /* AIX XL C 1.02.0.0 rejects this.
20883 It does not let you subtract one const X* pointer from another in
20884 an arm of an if-expression whose if-part is not a constant
20886 const char *g = "string";
20887 pcpcc = &g + (g ? g-g : 0);
20888 /* HPUX 7.0 cc rejects these. */
20890 ppc = (char**) pcpcc;
20891 pcpcc = (char const *const *) ppc;
20892 { /* SCO 3.2v4 cc rejects this. */
20894 char const *s = 0 ? (char *) 0 : (char const *) 0;
20899 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20900 int x[] = {25, 17};
20901 const int *foo = &x[0];
20904 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20905 typedef const int *iptr;
20909 { /* AIX XL C 1.02.0.0 rejects this saying
20910 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20911 struct s { int j; const int *ap[3]; };
20912 struct s *b; b->j = 5;
20914 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20915 const int foo = 10;
20916 if (!foo) return 0;
20918 return !cs[0] && !zero.x;
20925 rm -f conftest.
$ac_objext
20926 if { (ac_try
="$ac_compile"
20927 case "(($ac_try" in
20928 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20929 *) ac_try_echo=$ac_try;;
20931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20932 $as_echo "$ac_try_echo") >&5
20933 (eval "$ac_compile") 2>conftest.er1
20935 grep -v '^ *+' conftest.er1 >conftest.err
20937 cat conftest.err >&5
20938 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); } && {
20940 test -z "$ac_c_werror_flag" ||
20941 test ! -s conftest.err
20942 } && test -s conftest.$ac_objext; then
20945 $as_echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20953 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20954 $as_echo "$ac_cv_c_const" >&6; }
20955 if test $ac_cv_c_const = no; then
20957 cat >>confdefs.h <<\_ACEOF
20963 { $as_echo "$as_me:$LINENO: checking for inline" >&5
20964 $as_echo_n "checking for inline... " >&6; }
20965 if test "${ac_cv_c_inline+set}" = set; then
20966 $as_echo_n "(cached) " >&6
20969 for ac_kw in inline __inline__ __inline; do
20970 cat >conftest.$ac_ext <<_ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 #ifndef __cplusplus
20978 static $ac_kw foo_t static_foo () {return 0; }
20979 $ac_kw foo_t foo () {return 0; }
20983 rm -f conftest.$ac_objext
20984 if { (ac_try="$ac_compile"
20985 case "(($ac_try" in
20986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20987 *) ac_try_echo
=$ac_try;;
20989 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20990 $as_echo "$ac_try_echo") >&5
20991 (eval "$ac_compile") 2>conftest.er1
20993 grep -v '^ *+' conftest.er1
>conftest.err
20995 cat conftest.err
>&5
20996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); } && {
20998 test -z "$ac_c_werror_flag" ||
20999 test ! -s conftest.err
21000 } && test -s conftest.
$ac_objext; then
21001 ac_cv_c_inline
=$ac_kw
21003 $as_echo "$as_me: failed program was:" >&5
21004 sed 's/^/| /' conftest.
$ac_ext >&5
21009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21010 test "$ac_cv_c_inline" != no
&& break
21014 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21015 $as_echo "$ac_cv_c_inline" >&6; }
21018 case $ac_cv_c_inline in
21021 case $ac_cv_c_inline in
21023 *) ac_val
=$ac_cv_c_inline;;
21025 cat >>confdefs.h
<<_ACEOF
21026 #ifndef __cplusplus
21027 #define inline $ac_val
21033 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
21034 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
21035 if test "${ac_cv_header_time+set}" = set; then
21036 $as_echo_n "(cached) " >&6
21038 cat >conftest.
$ac_ext <<_ACEOF
21041 cat confdefs.h
>>conftest.
$ac_ext
21042 cat >>conftest.
$ac_ext <<_ACEOF
21043 /* end confdefs.h. */
21044 #include <sys/types.h>
21045 #include <sys/time.h>
21051 if ((struct tm *) 0)
21057 rm -f conftest.
$ac_objext
21058 if { (ac_try
="$ac_compile"
21059 case "(($ac_try" in
21060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21061 *) ac_try_echo=$ac_try;;
21063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21064 $as_echo "$ac_try_echo") >&5
21065 (eval "$ac_compile") 2>conftest.er1
21067 grep -v '^ *+' conftest.er1 >conftest.err
21069 cat conftest.err >&5
21070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } && {
21072 test -z "$ac_c_werror_flag" ||
21073 test ! -s conftest.err
21074 } && test -s conftest.$ac_objext; then
21075 ac_cv_header_time=yes
21077 $as_echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.$ac_ext >&5
21080 ac_cv_header_time=no
21083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21085 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
21086 $as_echo "$ac_cv_header_time" >&6; }
21087 if test $ac_cv_header_time = yes; then
21089 cat >>confdefs.h <<\_ACEOF
21090 #define TIME_WITH_SYS_TIME 1
21112 for ac_func in gettimeofday vasprintf fcntl clock_gettime strtok_r strsep getaddrinfo getnameinfo strlcpy inet_ntop signal sigaction strtoll issetugid geteuid getegid
21114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
21115 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
21116 $as_echo_n "checking for $ac_func... " >&6; }
21117 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21118 $as_echo_n "(cached) " >&6
21120 cat >conftest.$ac_ext <<_ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21128 #define $ac_func innocuous_$ac_func
21130 /* System header to define __stub macros and hopefully few prototypes,
21131 which can conflict with char $ac_func (); below.
21132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21133 <limits.h> exists even on freestanding compilers. */
21136 # include <limits.h>
21138 # include <assert.h>
21143 /* Override any GCC internal prototype to avoid an error.
21144 Use char because int might match the return type of a GCC
21145 builtin and then its argument prototype would still apply. */
21150 /* The GNU C library defines this for functions which it implements
21151 to always fail with ENOSYS. Some functions are actually named
21152 something starting with __ and the normal name is an alias. */
21153 #if defined __stub_$ac_func || defined __stub___$ac_func
21160 return $ac_func ();
21165 rm -f conftest.$ac_objext conftest$ac_exeext
21166 if { (ac_try="$ac_link"
21167 case "(($ac_try" in
21168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21169 *) ac_try_echo
=$ac_try;;
21171 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21172 $as_echo "$ac_try_echo") >&5
21173 (eval "$ac_link") 2>conftest.er1
21175 grep -v '^ *+' conftest.er1
>conftest.err
21177 cat conftest.err
>&5
21178 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } && {
21180 test -z "$ac_c_werror_flag" ||
21181 test ! -s conftest.err
21182 } && test -s conftest
$ac_exeext && {
21183 test "$cross_compiling" = yes ||
21184 $as_test_x conftest
$ac_exeext
21186 eval "$as_ac_var=yes"
21188 $as_echo "$as_me: failed program was:" >&5
21189 sed 's/^/| /' conftest.
$ac_ext >&5
21191 eval "$as_ac_var=no"
21194 rm -rf conftest.dSYM
21195 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21196 conftest
$ac_exeext conftest.
$ac_ext
21198 ac_res
=`eval 'as_val=${'$as_ac_var'}
21199 $as_echo "$as_val"'`
21200 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21201 $as_echo "$ac_res" >&6; }
21202 as_val
=`eval 'as_val=${'$as_ac_var'}
21203 $as_echo "$as_val"'`
21204 if test "x$as_val" = x
""yes; then
21205 cat >>confdefs.h
<<_ACEOF
21206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21213 # The cast to long int works around a bug in the HP C Compiler
21214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21216 # This bug is HP SR number 8606223364.
21217 { $as_echo "$as_me:$LINENO: checking size of long" >&5
21218 $as_echo_n "checking size of long... " >&6; }
21219 if test "${ac_cv_sizeof_long+set}" = set; then
21220 $as_echo_n "(cached) " >&6
21222 if test "$cross_compiling" = yes; then
21223 # Depending upon the size, compute the lo and hi bounds.
21224 cat >conftest.
$ac_ext <<_ACEOF
21227 cat confdefs.h
>>conftest.
$ac_ext
21228 cat >>conftest.
$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21230 $ac_includes_default
21234 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
21241 rm -f conftest.
$ac_objext
21242 if { (ac_try
="$ac_compile"
21243 case "(($ac_try" in
21244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21245 *) ac_try_echo=$ac_try;;
21247 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21248 $as_echo "$ac_try_echo") >&5
21249 (eval "$ac_compile") 2>conftest.er1
21251 grep -v '^ *+' conftest.er1 >conftest.err
21253 cat conftest.err >&5
21254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); } && {
21256 test -z "$ac_c_werror_flag" ||
21257 test ! -s conftest.err
21258 } && test -s conftest.$ac_objext; then
21261 cat >conftest.$ac_ext <<_ACEOF
21264 cat confdefs.h >>conftest.$ac_ext
21265 cat >>conftest.$ac_ext <<_ACEOF
21266 /* end confdefs.h. */
21267 $ac_includes_default
21271 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
21278 rm -f conftest.$ac_objext
21279 if { (ac_try="$ac_compile"
21280 case "(($ac_try" in
21281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21282 *) ac_try_echo
=$ac_try;;
21284 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21285 $as_echo "$ac_try_echo") >&5
21286 (eval "$ac_compile") 2>conftest.er1
21288 grep -v '^ *+' conftest.er1
>conftest.err
21290 cat conftest.err
>&5
21291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); } && {
21293 test -z "$ac_c_werror_flag" ||
21294 test ! -s conftest.err
21295 } && test -s conftest.
$ac_objext; then
21296 ac_hi
=$ac_mid; break
21298 $as_echo "$as_me: failed program was:" >&5
21299 sed 's/^/| /' conftest.
$ac_ext >&5
21301 ac_lo
=`expr $ac_mid + 1`
21302 if test $ac_lo -le $ac_mid; then
21306 ac_mid
=`expr 2 '*' $ac_mid + 1`
21309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21312 $as_echo "$as_me: failed program was:" >&5
21313 sed 's/^/| /' conftest.
$ac_ext >&5
21315 cat >conftest.
$ac_ext <<_ACEOF
21318 cat confdefs.h
>>conftest.
$ac_ext
21319 cat >>conftest.
$ac_ext <<_ACEOF
21320 /* end confdefs.h. */
21321 $ac_includes_default
21325 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
21332 rm -f conftest.
$ac_objext
21333 if { (ac_try
="$ac_compile"
21334 case "(($ac_try" in
21335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21336 *) ac_try_echo=$ac_try;;
21338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21339 $as_echo "$ac_try_echo") >&5
21340 (eval "$ac_compile") 2>conftest.er1
21342 grep -v '^ *+' conftest.er1 >conftest.err
21344 cat conftest.err >&5
21345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); } && {
21347 test -z "$ac_c_werror_flag" ||
21348 test ! -s conftest.err
21349 } && test -s conftest.$ac_objext; then
21352 cat >conftest.$ac_ext <<_ACEOF
21355 cat confdefs.h >>conftest.$ac_ext
21356 cat >>conftest.$ac_ext <<_ACEOF
21357 /* end confdefs.h. */
21358 $ac_includes_default
21362 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
21369 rm -f conftest.$ac_objext
21370 if { (ac_try="$ac_compile"
21371 case "(($ac_try" in
21372 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21373 *) ac_try_echo
=$ac_try;;
21375 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21376 $as_echo "$ac_try_echo") >&5
21377 (eval "$ac_compile") 2>conftest.er1
21379 grep -v '^ *+' conftest.er1
>conftest.err
21381 cat conftest.err
>&5
21382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21383 (exit $ac_status); } && {
21384 test -z "$ac_c_werror_flag" ||
21385 test ! -s conftest.err
21386 } && test -s conftest.
$ac_objext; then
21387 ac_lo
=$ac_mid; break
21389 $as_echo "$as_me: failed program was:" >&5
21390 sed 's/^/| /' conftest.
$ac_ext >&5
21392 ac_hi
=`expr '(' $ac_mid ')' - 1`
21393 if test $ac_mid -le $ac_hi; then
21397 ac_mid
=`expr 2 '*' $ac_mid`
21400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21403 $as_echo "$as_me: failed program was:" >&5
21404 sed 's/^/| /' conftest.
$ac_ext >&5
21409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21413 # Binary search between lo and hi bounds.
21414 while test "x$ac_lo" != "x$ac_hi"; do
21415 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21416 cat >conftest.
$ac_ext <<_ACEOF
21419 cat confdefs.h
>>conftest.
$ac_ext
21420 cat >>conftest.
$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 $ac_includes_default
21426 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
21433 rm -f conftest.
$ac_objext
21434 if { (ac_try
="$ac_compile"
21435 case "(($ac_try" in
21436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21437 *) ac_try_echo=$ac_try;;
21439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21440 $as_echo "$ac_try_echo") >&5
21441 (eval "$ac_compile") 2>conftest.er1
21443 grep -v '^ *+' conftest.er1 >conftest.err
21445 cat conftest.err >&5
21446 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21447 (exit $ac_status); } && {
21448 test -z "$ac_c_werror_flag" ||
21449 test ! -s conftest.err
21450 } && test -s conftest.$ac_objext; then
21453 $as_echo "$as_me: failed program was:" >&5
21454 sed 's/^/| /' conftest.$ac_ext >&5
21456 ac_lo=`expr '(' $ac_mid ')' + 1`
21459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21462 ?*) ac_cv_sizeof_long=$ac_lo;;
21463 '') if test "$ac_cv_type_long" = yes; then
21464 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21466 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
21467 See \
`config.log' for more details." >&5
21468 $as_echo "$as_me: error: cannot compute sizeof (long)
21469 See \`config.log
' for more details." >&2;}
21470 { (exit 77); exit 77; }; }; }
21472 ac_cv_sizeof_long=0
21476 cat >conftest.$ac_ext <<_ACEOF
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 $ac_includes_default
21483 static long int longval () { return (long int) (sizeof (long)); }
21484 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
21486 #include <stdlib.h>
21491 FILE *f = fopen ("conftest.val", "w");
21494 if (((long int) (sizeof (long))) < 0)
21496 long int i = longval ();
21497 if (i != ((long int) (sizeof (long))))
21499 fprintf (f, "%ld", i);
21503 unsigned long int i = ulongval ();
21504 if (i != ((long int) (sizeof (long))))
21506 fprintf (f, "%lu", i);
21508 /* Do not output a trailing newline, as this causes \r\n confusion
21509 on some platforms. */
21510 return ferror (f) || fclose (f) != 0;
21516 rm -f conftest$ac_exeext
21517 if { (ac_try="$ac_link"
21518 case "(($ac_try" in
21519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21520 *) ac_try_echo=$ac_try;;
21522 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21523 $as_echo "$ac_try_echo") >&5
21524 (eval "$ac_link") 2>&5
21526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21527 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21528 { (case "(($ac_try" in
21529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21530 *) ac_try_echo=$ac_try;;
21532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21533 $as_echo "$ac_try_echo") >&5
21534 (eval "$ac_try") 2>&5
21536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21537 (exit $ac_status); }; }; then
21538 ac_cv_sizeof_long=`cat conftest.val`
21540 $as_echo "$as_me: program exited with status $ac_status" >&5
21541 $as_echo "$as_me: failed program was:" >&5
21542 sed 's
/^
/|
/' conftest.$ac_ext >&5
21544 ( exit $ac_status )
21545 if test "$ac_cv_type_long" = yes; then
21546 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21547 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
21548 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
21549 See \`config.log
' for more details." >&5
21550 $as_echo "$as_me: error: cannot compute sizeof (long)
21551 See \`config.log' for more details.
" >&2;}
21552 { (exit 77); exit 77; }; }; }
21554 ac_cv_sizeof_long=0
21557 rm -rf conftest.dSYM
21558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21562 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_long" >&5
21563 $as_echo "$ac_cv_sizeof_long" >&6; }
21567 cat >>confdefs.h <<_ACEOF
21568 #define SIZEOF_LONG $ac_cv_sizeof_long
21573 if test "x
$ac_cv_func_clock_gettime" = "xyes
"; then
21575 cat >>confdefs.h <<\_ACEOF
21576 #define DNS_USE_CPU_CLOCK_FOR_ID 1
21581 cat >>confdefs.h <<\_ACEOF
21582 #define DNS_USE_GETTIMEOFDAY_FOR_ID 1
21587 { $as_echo "$as_me:$LINENO: checking
for F_SETFD
in fcntl.h
" >&5
21588 $as_echo_n "checking
for F_SETFD
in fcntl.h...
" >&6; }
21589 cat >conftest.$ac_ext <<_ACEOF
21592 cat confdefs.h >>conftest.$ac_ext
21593 cat >>conftest.$ac_ext <<_ACEOF
21594 /* end confdefs.h. */
21596 #define _GNU_SOURCE
21603 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
21604 $EGREP "yes" >/dev/null 2>&1; then
21606 cat >>confdefs.h <<\_ACEOF
21607 #define HAVE_SETFD 1
21610 { $as_echo "$as_me:$LINENO: result
: yes" >&5
21611 $as_echo "yes" >&6; }
21613 { $as_echo "$as_me:$LINENO: result
: no
" >&5
21614 $as_echo "no
" >&6; }
21622 for ac_func in select
21624 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21625 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
21626 $as_echo_n "checking
for $ac_func...
" >&6; }
21627 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21628 $as_echo_n "(cached
) " >&6
21630 cat >conftest.$ac_ext <<_ACEOF
21633 cat confdefs.h >>conftest.$ac_ext
21634 cat >>conftest.$ac_ext <<_ACEOF
21635 /* end confdefs.h. */
21636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21638 #define $ac_func innocuous_$ac_func
21640 /* System header to define __stub macros and hopefully few prototypes,
21641 which can conflict with char $ac_func (); below.
21642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21643 <limits.h> exists even on freestanding compilers. */
21646 # include <limits.h>
21648 # include <assert.h>
21653 /* Override any GCC internal prototype to avoid an error.
21654 Use char because int might match the return type of a GCC
21655 builtin and then its argument prototype would still apply. */
21660 /* The GNU C library defines this for functions which it implements
21661 to always fail with ENOSYS. Some functions are actually named
21662 something starting with __ and the normal name is an alias. */
21663 #if defined __stub_$ac_func || defined __stub___$ac_func
21670 return $ac_func ();
21675 rm -f conftest.$ac_objext conftest$ac_exeext
21676 if { (ac_try="$ac_link"
21677 case "(($ac_try" in
21678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21679 *) ac_try_echo=$ac_try;;
21681 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21682 $as_echo "$ac_try_echo") >&5
21683 (eval "$ac_link") 2>conftest.er1
21685 grep -v '^ *+' conftest.er1 >conftest.err
21687 cat conftest.err >&5
21688 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21689 (exit $ac_status); } && {
21690 test -z "$ac_c_werror_flag" ||
21691 test ! -s conftest.err
21692 } && test -s conftest$ac_exeext && {
21693 test "$cross_compiling" = yes ||
21694 $as_test_x conftest$ac_exeext
21696 eval "$as_ac_var=yes"
21698 $as_echo "$as_me: failed program was
:" >&5
21699 sed 's/^/| /' conftest.$ac_ext >&5
21701 eval "$as_ac_var=no
"
21704 rm -rf conftest.dSYM
21705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21706 conftest$ac_exeext conftest.$ac_ext
21708 ac_res=`eval 'as_val=${'$as_ac_var'}
21709 $as_echo "$as_val"'`
21710 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
21711 $as_echo "$ac_res" >&6; }
21712 as_val=`eval 'as_val=${'$as_ac_var'}
21713 $as_echo "$as_val"'`
21714 if test "x
$as_val" = x""yes; then
21715 cat >>confdefs.h <<_ACEOF
21716 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21722 if test "x
$haveselect" = "xyes
" ; then
21723 case " $LIBOBJS " in
21724 *" select.
$ac_objext "* ) ;;
21725 *) LIBOBJS="$LIBOBJS select.
$ac_objext"
21734 for ac_func in poll
21736 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21737 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
21738 $as_echo_n "checking
for $ac_func...
" >&6; }
21739 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21740 $as_echo_n "(cached
) " >&6
21742 cat >conftest.$ac_ext <<_ACEOF
21745 cat confdefs.h >>conftest.$ac_ext
21746 cat >>conftest.$ac_ext <<_ACEOF
21747 /* end confdefs.h. */
21748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21750 #define $ac_func innocuous_$ac_func
21752 /* System header to define __stub macros and hopefully few prototypes,
21753 which can conflict with char $ac_func (); below.
21754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21755 <limits.h> exists even on freestanding compilers. */
21758 # include <limits.h>
21760 # include <assert.h>
21765 /* Override any GCC internal prototype to avoid an error.
21766 Use char because int might match the return type of a GCC
21767 builtin and then its argument prototype would still apply. */
21772 /* The GNU C library defines this for functions which it implements
21773 to always fail with ENOSYS. Some functions are actually named
21774 something starting with __ and the normal name is an alias. */
21775 #if defined __stub_$ac_func || defined __stub___$ac_func
21782 return $ac_func ();
21787 rm -f conftest.$ac_objext conftest$ac_exeext
21788 if { (ac_try="$ac_link"
21789 case "(($ac_try" in
21790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21791 *) ac_try_echo=$ac_try;;
21793 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21794 $as_echo "$ac_try_echo") >&5
21795 (eval "$ac_link") 2>conftest.er1
21797 grep -v '^ *+' conftest.er1 >conftest.err
21799 cat conftest.err >&5
21800 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21801 (exit $ac_status); } && {
21802 test -z "$ac_c_werror_flag" ||
21803 test ! -s conftest.err
21804 } && test -s conftest$ac_exeext && {
21805 test "$cross_compiling" = yes ||
21806 $as_test_x conftest$ac_exeext
21808 eval "$as_ac_var=yes"
21810 $as_echo "$as_me: failed program was
:" >&5
21811 sed 's/^/| /' conftest.$ac_ext >&5
21813 eval "$as_ac_var=no
"
21816 rm -rf conftest.dSYM
21817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21818 conftest$ac_exeext conftest.$ac_ext
21820 ac_res=`eval 'as_val=${'$as_ac_var'}
21821 $as_echo "$as_val"'`
21822 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
21823 $as_echo "$ac_res" >&6; }
21824 as_val=`eval 'as_val=${'$as_ac_var'}
21825 $as_echo "$as_val"'`
21826 if test "x
$as_val" = x""yes; then
21827 cat >>confdefs.h <<_ACEOF
21828 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21834 if test "x
$havepoll" = "xyes
" ; then
21835 case " $LIBOBJS " in
21836 *" poll.
$ac_objext "* ) ;;
21837 *) LIBOBJS="$LIBOBJS poll.
$ac_objext"
21846 for ac_func in epoll_ctl
21848 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21849 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
21850 $as_echo_n "checking
for $ac_func...
" >&6; }
21851 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21852 $as_echo_n "(cached
) " >&6
21854 cat >conftest.$ac_ext <<_ACEOF
21857 cat confdefs.h >>conftest.$ac_ext
21858 cat >>conftest.$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21862 #define $ac_func innocuous_$ac_func
21864 /* System header to define __stub macros and hopefully few prototypes,
21865 which can conflict with char $ac_func (); below.
21866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21867 <limits.h> exists even on freestanding compilers. */
21870 # include <limits.h>
21872 # include <assert.h>
21877 /* Override any GCC internal prototype to avoid an error.
21878 Use char because int might match the return type of a GCC
21879 builtin and then its argument prototype would still apply. */
21884 /* The GNU C library defines this for functions which it implements
21885 to always fail with ENOSYS. Some functions are actually named
21886 something starting with __ and the normal name is an alias. */
21887 #if defined __stub_$ac_func || defined __stub___$ac_func
21894 return $ac_func ();
21899 rm -f conftest.$ac_objext conftest$ac_exeext
21900 if { (ac_try="$ac_link"
21901 case "(($ac_try" in
21902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21903 *) ac_try_echo=$ac_try;;
21905 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21906 $as_echo "$ac_try_echo") >&5
21907 (eval "$ac_link") 2>conftest.er1
21909 grep -v '^ *+' conftest.er1 >conftest.err
21911 cat conftest.err >&5
21912 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21913 (exit $ac_status); } && {
21914 test -z "$ac_c_werror_flag" ||
21915 test ! -s conftest.err
21916 } && test -s conftest$ac_exeext && {
21917 test "$cross_compiling" = yes ||
21918 $as_test_x conftest$ac_exeext
21920 eval "$as_ac_var=yes"
21922 $as_echo "$as_me: failed program was
:" >&5
21923 sed 's/^/| /' conftest.$ac_ext >&5
21925 eval "$as_ac_var=no
"
21928 rm -rf conftest.dSYM
21929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21930 conftest$ac_exeext conftest.$ac_ext
21932 ac_res=`eval 'as_val=${'$as_ac_var'}
21933 $as_echo "$as_val"'`
21934 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
21935 $as_echo "$ac_res" >&6; }
21936 as_val=`eval 'as_val=${'$as_ac_var'}
21937 $as_echo "$as_val"'`
21938 if test "x
$as_val" = x""yes; then
21939 cat >>confdefs.h <<_ACEOF
21940 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
21946 if test "x
$haveepoll" = "xyes
" ; then
21948 cat >>confdefs.h <<\_ACEOF
21949 #define HAVE_EPOLL 1
21952 case " $LIBOBJS " in
21953 *" epoll.
$ac_objext "* ) ;;
21954 *) LIBOBJS="$LIBOBJS epoll.
$ac_objext"
21962 if test "x
$ac_cv_header_sys_devpoll_h" = "xyes
"; then
21964 cat >>confdefs.h <<\_ACEOF
21965 #define HAVE_DEVPOLL 1
21968 case " $LIBOBJS " in
21969 *" devpoll.
$ac_objext "* ) ;;
21970 *) LIBOBJS="$LIBOBJS devpoll.
$ac_objext"
21977 if test "x
$ac_cv_header_sys_event_h" = "xyes
"; then
21979 for ac_func in kqueue
21981 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
21982 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
21983 $as_echo_n "checking
for $ac_func...
" >&6; }
21984 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
21985 $as_echo_n "(cached
) " >&6
21987 cat >conftest.$ac_ext <<_ACEOF
21990 cat confdefs.h >>conftest.$ac_ext
21991 cat >>conftest.$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21995 #define $ac_func innocuous_$ac_func
21997 /* System header to define __stub macros and hopefully few prototypes,
21998 which can conflict with char $ac_func (); below.
21999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22000 <limits.h> exists even on freestanding compilers. */
22003 # include <limits.h>
22005 # include <assert.h>
22010 /* Override any GCC internal prototype to avoid an error.
22011 Use char because int might match the return type of a GCC
22012 builtin and then its argument prototype would still apply. */
22017 /* The GNU C library defines this for functions which it implements
22018 to always fail with ENOSYS. Some functions are actually named
22019 something starting with __ and the normal name is an alias. */
22020 #if defined __stub_$ac_func || defined __stub___$ac_func
22027 return $ac_func ();
22032 rm -f conftest.$ac_objext conftest$ac_exeext
22033 if { (ac_try="$ac_link"
22034 case "(($ac_try" in
22035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22036 *) ac_try_echo=$ac_try;;
22038 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22039 $as_echo "$ac_try_echo") >&5
22040 (eval "$ac_link") 2>conftest.er1
22042 grep -v '^ *+' conftest.er1 >conftest.err
22044 cat conftest.err >&5
22045 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22046 (exit $ac_status); } && {
22047 test -z "$ac_c_werror_flag" ||
22048 test ! -s conftest.err
22049 } && test -s conftest$ac_exeext && {
22050 test "$cross_compiling" = yes ||
22051 $as_test_x conftest$ac_exeext
22053 eval "$as_ac_var=yes"
22055 $as_echo "$as_me: failed program was
:" >&5
22056 sed 's/^/| /' conftest.$ac_ext >&5
22058 eval "$as_ac_var=no
"
22061 rm -rf conftest.dSYM
22062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22063 conftest$ac_exeext conftest.$ac_ext
22065 ac_res=`eval 'as_val=${'$as_ac_var'}
22066 $as_echo "$as_val"'`
22067 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
22068 $as_echo "$ac_res" >&6; }
22069 as_val=`eval 'as_val=${'$as_ac_var'}
22070 $as_echo "$as_val"'`
22071 if test "x
$as_val" = x""yes; then
22072 cat >>confdefs.h <<_ACEOF
22073 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22079 if test "x
$havekqueue" = "xyes
" ; then
22080 { $as_echo "$as_me:$LINENO: checking
for working kqueue
" >&5
22081 $as_echo_n "checking
for working kqueue...
" >&6; }
22082 if test "$cross_compiling" = yes; then
22083 { $as_echo "$as_me:$LINENO: result
: no
" >&5
22084 $as_echo "no
" >&6; }
22086 cat >conftest.$ac_ext <<_ACEOF
22089 cat confdefs.h >>conftest.$ac_ext
22090 cat >>conftest.$ac_ext <<_ACEOF
22091 /* end confdefs.h. */
22092 #include <sys/types.h>
22093 #include <sys/time.h>
22094 #include <sys/event.h>
22096 #include <unistd.h>
22100 main(int argc, char **argv)
22106 struct timespec ts;
22109 if (pipe(fd) == -1)
22111 if (fcntl(fd[1], F_SETFL, O_NONBLOCK) == -1)
22114 while ((n = write(fd[1], buf, sizeof(buf))) == sizeof(buf))
22117 if ((kq = kqueue()) == -1)
22121 ev.filter = EVFILT_WRITE;
22122 ev.flags = EV_ADD | EV_ENABLE;
22123 n = kevent(kq, &ev, 1, NULL, 0, NULL);
22127 read(fd[0], buf, sizeof(buf));
22131 n = kevent(kq, NULL, 0, &ev, 1, &ts);
22132 if (n == -1 || n == 0)
22138 rm -f conftest$ac_exeext
22139 if { (ac_try="$ac_link"
22140 case "(($ac_try" in
22141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22142 *) ac_try_echo=$ac_try;;
22144 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22145 $as_echo "$ac_try_echo") >&5
22146 (eval "$ac_link") 2>&5
22148 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22150 { (case "(($ac_try" in
22151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22152 *) ac_try_echo=$ac_try;;
22154 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22155 $as_echo "$ac_try_echo") >&5
22156 (eval "$ac_try") 2>&5
22158 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22159 (exit $ac_status); }; }; then
22160 { $as_echo "$as_me:$LINENO: result
: yes" >&5
22161 $as_echo "yes" >&6; }
22163 cat >>confdefs.h <<\_ACEOF
22164 #define HAVE_WORKING_KQUEUE 1
22167 case " $LIBOBJS " in
22168 *" kqueue.
$ac_objext "* ) ;;
22169 *) LIBOBJS="$LIBOBJS kqueue.
$ac_objext"
22174 $as_echo "$as_me: program exited with status
$ac_status" >&5
22175 $as_echo "$as_me: failed program was
:" >&5
22176 sed 's/^/| /' conftest.$ac_ext >&5
22178 ( exit $ac_status )
22179 { $as_echo "$as_me:$LINENO: result
: no
" >&5
22180 $as_echo "no
" >&6; }
22182 rm -rf conftest.dSYM
22183 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22190 haveepollsyscall=no
22191 if test "x
$ac_cv_header_sys_epoll_h" = "xyes
"; then
22192 if test "x
$haveepoll" = "xno
" ; then
22193 { $as_echo "$as_me:$LINENO: checking
for epoll system call
" >&5
22194 $as_echo_n "checking
for epoll system call...
" >&6; }
22195 if test "$cross_compiling" = yes; then
22196 { $as_echo "$as_me:$LINENO: result
: no
" >&5
22197 $as_echo "no
" >&6; }
22199 cat >conftest.$ac_ext <<_ACEOF
22202 cat confdefs.h >>conftest.$ac_ext
22203 cat >>conftest.$ac_ext <<_ACEOF
22204 /* end confdefs.h. */
22205 #include <stdint.h>
22206 #include <sys/param.h>
22207 #include <sys/types.h>
22208 #include <sys/syscall.h>
22209 #include <sys/epoll.h>
22210 #include <unistd.h>
22213 epoll_create(int size)
22215 return (syscall(__NR_epoll_create, size));
22219 main(int argc, char **argv)
22223 epfd = epoll_create(256);
22224 exit (epfd == -1 ? 1 : 0);
22227 rm -f conftest$ac_exeext
22228 if { (ac_try="$ac_link"
22229 case "(($ac_try" in
22230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22231 *) ac_try_echo=$ac_try;;
22233 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22234 $as_echo "$ac_try_echo") >&5
22235 (eval "$ac_link") 2>&5
22237 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22239 { (case "(($ac_try" in
22240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22241 *) ac_try_echo=$ac_try;;
22243 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22244 $as_echo "$ac_try_echo") >&5
22245 (eval "$ac_try") 2>&5
22247 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22248 (exit $ac_status); }; }; then
22249 { $as_echo "$as_me:$LINENO: result
: yes" >&5
22250 $as_echo "yes" >&6; }
22252 cat >>confdefs.h <<\_ACEOF
22253 #define HAVE_EPOLL 1
22257 case " $LIBOBJS " in
22258 *" epoll_sub.
$ac_objext "* ) ;;
22259 *) LIBOBJS="$LIBOBJS epoll_sub.
$ac_objext"
22263 case " $LIBOBJS " in
22264 *" epoll.
$ac_objext "* ) ;;
22265 *) LIBOBJS="$LIBOBJS epoll.
$ac_objext"
22270 $as_echo "$as_me: program exited with status
$ac_status" >&5
22271 $as_echo "$as_me: failed program was
:" >&5
22272 sed 's/^/| /' conftest.$ac_ext >&5
22274 ( exit $ac_status )
22275 { $as_echo "$as_me:$LINENO: result
: no
" >&5
22276 $as_echo "no
" >&6; }
22278 rm -rf conftest.dSYM
22279 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22288 for ac_func in port_create
22290 as_ac_var=`$as_echo "ac_cv_func_
$ac_func" | $as_tr_sh`
22291 { $as_echo "$as_me:$LINENO: checking
for $ac_func" >&5
22292 $as_echo_n "checking
for $ac_func...
" >&6; }
22293 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
22294 $as_echo_n "(cached
) " >&6
22296 cat >conftest.$ac_ext <<_ACEOF
22299 cat confdefs.h >>conftest.$ac_ext
22300 cat >>conftest.$ac_ext <<_ACEOF
22301 /* end confdefs.h. */
22302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22304 #define $ac_func innocuous_$ac_func
22306 /* System header to define __stub macros and hopefully few prototypes,
22307 which can conflict with char $ac_func (); below.
22308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22309 <limits.h> exists even on freestanding compilers. */
22312 # include <limits.h>
22314 # include <assert.h>
22319 /* Override any GCC internal prototype to avoid an error.
22320 Use char because int might match the return type of a GCC
22321 builtin and then its argument prototype would still apply. */
22326 /* The GNU C library defines this for functions which it implements
22327 to always fail with ENOSYS. Some functions are actually named
22328 something starting with __ and the normal name is an alias. */
22329 #if defined __stub_$ac_func || defined __stub___$ac_func
22336 return $ac_func ();
22341 rm -f conftest.$ac_objext conftest$ac_exeext
22342 if { (ac_try="$ac_link"
22343 case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22345 *) ac_try_echo=$ac_try;;
22347 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22348 $as_echo "$ac_try_echo") >&5
22349 (eval "$ac_link") 2>conftest.er1
22351 grep -v '^ *+' conftest.er1 >conftest.err
22353 cat conftest.err >&5
22354 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22355 (exit $ac_status); } && {
22356 test -z "$ac_c_werror_flag" ||
22357 test ! -s conftest.err
22358 } && test -s conftest$ac_exeext && {
22359 test "$cross_compiling" = yes ||
22360 $as_test_x conftest$ac_exeext
22362 eval "$as_ac_var=yes"
22364 $as_echo "$as_me: failed program was
:" >&5
22365 sed 's/^/| /' conftest.$ac_ext >&5
22367 eval "$as_ac_var=no
"
22370 rm -rf conftest.dSYM
22371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22372 conftest$ac_exeext conftest.$ac_ext
22374 ac_res=`eval 'as_val=${'$as_ac_var'}
22375 $as_echo "$as_val"'`
22376 { $as_echo "$as_me:$LINENO: result
: $ac_res" >&5
22377 $as_echo "$ac_res" >&6; }
22378 as_val=`eval 'as_val=${'$as_ac_var'}
22379 $as_echo "$as_val"'`
22380 if test "x
$as_val" = x""yes; then
22381 cat >>confdefs.h <<_ACEOF
22382 #define `$as_echo "HAVE_
$ac_func" | $as_tr_cpp` 1
22388 if test "x
$haveeventports" = "xyes
" ; then
22390 cat >>confdefs.h <<\_ACEOF
22391 #define HAVE_EVENT_PORTS 1
22394 case " $LIBOBJS " in
22395 *" evport.
$ac_objext "* ) ;;
22396 *) LIBOBJS="$LIBOBJS evport.
$ac_objext"
22402 if test "x
$bwin32" = "xtrue
"; then
22405 if test "x
$bwin32" = "xtrue
"; then
22408 if test "x
$needsignal" = "xyes
" ; then
22409 case " $LIBOBJS " in
22410 *" signal.
$ac_objext "* ) ;;
22411 *) LIBOBJS="$LIBOBJS signal.
$ac_objext"
22417 { $as_echo "$as_me:$LINENO: checking
for pid_t
" >&5
22418 $as_echo_n "checking
for pid_t...
" >&6; }
22419 if test "${ac_cv_type_pid_t+set}" = set; then
22420 $as_echo_n "(cached
) " >&6
22422 ac_cv_type_pid_t=no
22423 cat >conftest.$ac_ext <<_ACEOF
22426 cat confdefs.h >>conftest.$ac_ext
22427 cat >>conftest.$ac_ext <<_ACEOF
22428 /* end confdefs.h. */
22429 $ac_includes_default
22433 if (sizeof (pid_t))
22439 rm -f conftest.$ac_objext
22440 if { (ac_try="$ac_compile"
22441 case "(($ac_try" in
22442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22443 *) ac_try_echo=$ac_try;;
22445 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22446 $as_echo "$ac_try_echo") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22449 grep -v '^ *+' conftest.er1 >conftest.err
22451 cat conftest.err >&5
22452 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22453 (exit $ac_status); } && {
22454 test -z "$ac_c_werror_flag" ||
22455 test ! -s conftest.err
22456 } && test -s conftest.$ac_objext; then
22457 cat >conftest.$ac_ext <<_ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 $ac_includes_default
22467 if (sizeof ((pid_t)))
22473 rm -f conftest.$ac_objext
22474 if { (ac_try="$ac_compile"
22475 case "(($ac_try" in
22476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22477 *) ac_try_echo=$ac_try;;
22479 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22480 $as_echo "$ac_try_echo") >&5
22481 (eval "$ac_compile") 2>conftest.er1
22483 grep -v '^ *+' conftest.er1 >conftest.err
22485 cat conftest.err >&5
22486 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22487 (exit $ac_status); } && {
22488 test -z "$ac_c_werror_flag" ||
22489 test ! -s conftest.err
22490 } && test -s conftest.$ac_objext; then
22493 $as_echo "$as_me: failed program was
:" >&5
22494 sed 's/^/| /' conftest.$ac_ext >&5
22496 ac_cv_type_pid_t=yes
22499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22501 $as_echo "$as_me: failed program was
:" >&5
22502 sed 's/^/| /' conftest.$ac_ext >&5
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22509 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
22510 $as_echo "$ac_cv_type_pid_t" >&6; }
22511 if test "x
$ac_cv_type_pid_t" = x""yes; then
22515 cat >>confdefs.h <<_ACEOF
22521 { $as_echo "$as_me:$LINENO: checking
for size_t
" >&5
22522 $as_echo_n "checking
for size_t...
" >&6; }
22523 if test "${ac_cv_type_size_t+set}" = set; then
22524 $as_echo_n "(cached
) " >&6
22526 ac_cv_type_size_t=no
22527 cat >conftest.$ac_ext <<_ACEOF
22530 cat confdefs.h >>conftest.$ac_ext
22531 cat >>conftest.$ac_ext <<_ACEOF
22532 /* end confdefs.h. */
22533 $ac_includes_default
22537 if (sizeof (size_t))
22543 rm -f conftest.$ac_objext
22544 if { (ac_try="$ac_compile"
22545 case "(($ac_try" in
22546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22547 *) ac_try_echo=$ac_try;;
22549 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22550 $as_echo "$ac_try_echo") >&5
22551 (eval "$ac_compile") 2>conftest.er1
22553 grep -v '^ *+' conftest.er1 >conftest.err
22555 cat conftest.err >&5
22556 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22557 (exit $ac_status); } && {
22558 test -z "$ac_c_werror_flag" ||
22559 test ! -s conftest.err
22560 } && test -s conftest.$ac_objext; then
22561 cat >conftest.$ac_ext <<_ACEOF
22564 cat confdefs.h >>conftest.$ac_ext
22565 cat >>conftest.$ac_ext <<_ACEOF
22566 /* end confdefs.h. */
22567 $ac_includes_default
22571 if (sizeof ((size_t)))
22577 rm -f conftest.$ac_objext
22578 if { (ac_try="$ac_compile"
22579 case "(($ac_try" in
22580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22581 *) ac_try_echo=$ac_try;;
22583 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22584 $as_echo "$ac_try_echo") >&5
22585 (eval "$ac_compile") 2>conftest.er1
22587 grep -v '^ *+' conftest.er1 >conftest.err
22589 cat conftest.err >&5
22590 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22591 (exit $ac_status); } && {
22592 test -z "$ac_c_werror_flag" ||
22593 test ! -s conftest.err
22594 } && test -s conftest.$ac_objext; then
22597 $as_echo "$as_me: failed program was
:" >&5
22598 sed 's/^/| /' conftest.$ac_ext >&5
22600 ac_cv_type_size_t=yes
22603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22605 $as_echo "$as_me: failed program was
:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
22614 $as_echo "$ac_cv_type_size_t" >&6; }
22615 if test "x
$ac_cv_type_size_t" = x""yes; then
22619 cat >>confdefs.h <<_ACEOF
22620 #define size_t unsigned int
22625 { $as_echo "$as_me:$LINENO: checking
for uint64_t
" >&5
22626 $as_echo_n "checking
for uint64_t...
" >&6; }
22627 if test "${ac_cv_type_uint64_t+set}" = set; then
22628 $as_echo_n "(cached
) " >&6
22630 ac_cv_type_uint64_t=no
22631 cat >conftest.$ac_ext <<_ACEOF
22634 cat confdefs.h >>conftest.$ac_ext
22635 cat >>conftest.$ac_ext <<_ACEOF
22636 /* end confdefs.h. */
22637 #ifdef HAVE_STDINT_H
22638 #include <stdint.h>
22639 #elif defined(HAVE_INTTYPES_H)
22640 #include <inttypes.h>
22642 #ifdef HAVE_SYS_TYPES_H
22643 #include <sys/types.h>
22649 if (sizeof (uint64_t))
22655 rm -f conftest.$ac_objext
22656 if { (ac_try="$ac_compile"
22657 case "(($ac_try" in
22658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22659 *) ac_try_echo=$ac_try;;
22661 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22662 $as_echo "$ac_try_echo") >&5
22663 (eval "$ac_compile") 2>conftest.er1
22665 grep -v '^ *+' conftest.er1 >conftest.err
22667 cat conftest.err >&5
22668 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22669 (exit $ac_status); } && {
22670 test -z "$ac_c_werror_flag" ||
22671 test ! -s conftest.err
22672 } && test -s conftest.$ac_objext; then
22673 cat >conftest.$ac_ext <<_ACEOF
22676 cat confdefs.h >>conftest.$ac_ext
22677 cat >>conftest.$ac_ext <<_ACEOF
22678 /* end confdefs.h. */
22679 #ifdef HAVE_STDINT_H
22680 #include <stdint.h>
22681 #elif defined(HAVE_INTTYPES_H)
22682 #include <inttypes.h>
22684 #ifdef HAVE_SYS_TYPES_H
22685 #include <sys/types.h>
22691 if (sizeof ((uint64_t)))
22697 rm -f conftest.$ac_objext
22698 if { (ac_try="$ac_compile"
22699 case "(($ac_try" in
22700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22701 *) ac_try_echo=$ac_try;;
22703 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22704 $as_echo "$ac_try_echo") >&5
22705 (eval "$ac_compile") 2>conftest.er1
22707 grep -v '^ *+' conftest.er1 >conftest.err
22709 cat conftest.err >&5
22710 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22711 (exit $ac_status); } && {
22712 test -z "$ac_c_werror_flag" ||
22713 test ! -s conftest.err
22714 } && test -s conftest.$ac_objext; then
22717 $as_echo "$as_me: failed program was
:" >&5
22718 sed 's/^/| /' conftest.$ac_ext >&5
22720 ac_cv_type_uint64_t=yes
22723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22725 $as_echo "$as_me: failed program was
:" >&5
22726 sed 's/^/| /' conftest.$ac_ext >&5
22731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22733 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_uint64_t" >&5
22734 $as_echo "$ac_cv_type_uint64_t" >&6; }
22735 if test "x
$ac_cv_type_uint64_t" = x""yes; then
22737 cat >>confdefs.h <<_ACEOF
22738 #define HAVE_UINT64_T 1
22743 { $as_echo "$as_me:$LINENO: checking
for uint32_t
" >&5
22744 $as_echo_n "checking
for uint32_t...
" >&6; }
22745 if test "${ac_cv_type_uint32_t+set}" = set; then
22746 $as_echo_n "(cached
) " >&6
22748 ac_cv_type_uint32_t=no
22749 cat >conftest.$ac_ext <<_ACEOF
22752 cat confdefs.h >>conftest.$ac_ext
22753 cat >>conftest.$ac_ext <<_ACEOF
22754 /* end confdefs.h. */
22755 #ifdef HAVE_STDINT_H
22756 #include <stdint.h>
22757 #elif defined(HAVE_INTTYPES_H)
22758 #include <inttypes.h>
22760 #ifdef HAVE_SYS_TYPES_H
22761 #include <sys/types.h>
22767 if (sizeof (uint32_t))
22773 rm -f conftest.$ac_objext
22774 if { (ac_try="$ac_compile"
22775 case "(($ac_try" in
22776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22777 *) ac_try_echo=$ac_try;;
22779 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22780 $as_echo "$ac_try_echo") >&5
22781 (eval "$ac_compile") 2>conftest.er1
22783 grep -v '^ *+' conftest.er1 >conftest.err
22785 cat conftest.err >&5
22786 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22787 (exit $ac_status); } && {
22788 test -z "$ac_c_werror_flag" ||
22789 test ! -s conftest.err
22790 } && test -s conftest.$ac_objext; then
22791 cat >conftest.$ac_ext <<_ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797 #ifdef HAVE_STDINT_H
22798 #include <stdint.h>
22799 #elif defined(HAVE_INTTYPES_H)
22800 #include <inttypes.h>
22802 #ifdef HAVE_SYS_TYPES_H
22803 #include <sys/types.h>
22809 if (sizeof ((uint32_t)))
22815 rm -f conftest.$ac_objext
22816 if { (ac_try="$ac_compile"
22817 case "(($ac_try" in
22818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22819 *) ac_try_echo=$ac_try;;
22821 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22822 $as_echo "$ac_try_echo") >&5
22823 (eval "$ac_compile") 2>conftest.er1
22825 grep -v '^ *+' conftest.er1 >conftest.err
22827 cat conftest.err >&5
22828 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22829 (exit $ac_status); } && {
22830 test -z "$ac_c_werror_flag" ||
22831 test ! -s conftest.err
22832 } && test -s conftest.$ac_objext; then
22835 $as_echo "$as_me: failed program was
:" >&5
22836 sed 's/^/| /' conftest.$ac_ext >&5
22838 ac_cv_type_uint32_t=yes
22841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22843 $as_echo "$as_me: failed program was
:" >&5
22844 sed 's/^/| /' conftest.$ac_ext >&5
22849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22851 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_uint32_t" >&5
22852 $as_echo "$ac_cv_type_uint32_t" >&6; }
22853 if test "x
$ac_cv_type_uint32_t" = x""yes; then
22855 cat >>confdefs.h <<_ACEOF
22856 #define HAVE_UINT32_T 1
22861 { $as_echo "$as_me:$LINENO: checking
for uint16_t
" >&5
22862 $as_echo_n "checking
for uint16_t...
" >&6; }
22863 if test "${ac_cv_type_uint16_t+set}" = set; then
22864 $as_echo_n "(cached
) " >&6
22866 ac_cv_type_uint16_t=no
22867 cat >conftest.$ac_ext <<_ACEOF
22870 cat confdefs.h >>conftest.$ac_ext
22871 cat >>conftest.$ac_ext <<_ACEOF
22872 /* end confdefs.h. */
22873 #ifdef HAVE_STDINT_H
22874 #include <stdint.h>
22875 #elif defined(HAVE_INTTYPES_H)
22876 #include <inttypes.h>
22878 #ifdef HAVE_SYS_TYPES_H
22879 #include <sys/types.h>
22885 if (sizeof (uint16_t))
22891 rm -f conftest.$ac_objext
22892 if { (ac_try="$ac_compile"
22893 case "(($ac_try" in
22894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22895 *) ac_try_echo=$ac_try;;
22897 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22898 $as_echo "$ac_try_echo") >&5
22899 (eval "$ac_compile") 2>conftest.er1
22901 grep -v '^ *+' conftest.er1 >conftest.err
22903 cat conftest.err >&5
22904 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22905 (exit $ac_status); } && {
22906 test -z "$ac_c_werror_flag" ||
22907 test ! -s conftest.err
22908 } && test -s conftest.$ac_objext; then
22909 cat >conftest.$ac_ext <<_ACEOF
22912 cat confdefs.h >>conftest.$ac_ext
22913 cat >>conftest.$ac_ext <<_ACEOF
22914 /* end confdefs.h. */
22915 #ifdef HAVE_STDINT_H
22916 #include <stdint.h>
22917 #elif defined(HAVE_INTTYPES_H)
22918 #include <inttypes.h>
22920 #ifdef HAVE_SYS_TYPES_H
22921 #include <sys/types.h>
22927 if (sizeof ((uint16_t)))
22933 rm -f conftest.$ac_objext
22934 if { (ac_try="$ac_compile"
22935 case "(($ac_try" in
22936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22937 *) ac_try_echo=$ac_try;;
22939 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
22940 $as_echo "$ac_try_echo") >&5
22941 (eval "$ac_compile") 2>conftest.er1
22943 grep -v '^ *+' conftest.er1 >conftest.err
22945 cat conftest.err >&5
22946 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22947 (exit $ac_status); } && {
22948 test -z "$ac_c_werror_flag" ||
22949 test ! -s conftest.err
22950 } && test -s conftest.$ac_objext; then
22953 $as_echo "$as_me: failed program was
:" >&5
22954 sed 's/^/| /' conftest.$ac_ext >&5
22956 ac_cv_type_uint16_t=yes
22959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 $as_echo "$as_me: failed program was
:" >&5
22962 sed 's/^/| /' conftest.$ac_ext >&5
22967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22969 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_uint16_t" >&5
22970 $as_echo "$ac_cv_type_uint16_t" >&6; }
22971 if test "x
$ac_cv_type_uint16_t" = x""yes; then
22973 cat >>confdefs.h <<_ACEOF
22974 #define HAVE_UINT16_T 1
22979 { $as_echo "$as_me:$LINENO: checking
for uint8_t
" >&5
22980 $as_echo_n "checking
for uint8_t...
" >&6; }
22981 if test "${ac_cv_type_uint8_t+set}" = set; then
22982 $as_echo_n "(cached
) " >&6
22984 ac_cv_type_uint8_t=no
22985 cat >conftest.$ac_ext <<_ACEOF
22988 cat confdefs.h >>conftest.$ac_ext
22989 cat >>conftest.$ac_ext <<_ACEOF
22990 /* end confdefs.h. */
22991 #ifdef HAVE_STDINT_H
22992 #include <stdint.h>
22993 #elif defined(HAVE_INTTYPES_H)
22994 #include <inttypes.h>
22996 #ifdef HAVE_SYS_TYPES_H
22997 #include <sys/types.h>
23003 if (sizeof (uint8_t))
23009 rm -f conftest.$ac_objext
23010 if { (ac_try="$ac_compile"
23011 case "(($ac_try" in
23012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23013 *) ac_try_echo=$ac_try;;
23015 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23016 $as_echo "$ac_try_echo") >&5
23017 (eval "$ac_compile") 2>conftest.er1
23019 grep -v '^ *+' conftest.er1 >conftest.err
23021 cat conftest.err >&5
23022 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23023 (exit $ac_status); } && {
23024 test -z "$ac_c_werror_flag" ||
23025 test ! -s conftest.err
23026 } && test -s conftest.$ac_objext; then
23027 cat >conftest.$ac_ext <<_ACEOF
23030 cat confdefs.h >>conftest.$ac_ext
23031 cat >>conftest.$ac_ext <<_ACEOF
23032 /* end confdefs.h. */
23033 #ifdef HAVE_STDINT_H
23034 #include <stdint.h>
23035 #elif defined(HAVE_INTTYPES_H)
23036 #include <inttypes.h>
23038 #ifdef HAVE_SYS_TYPES_H
23039 #include <sys/types.h>
23045 if (sizeof ((uint8_t)))
23051 rm -f conftest.$ac_objext
23052 if { (ac_try="$ac_compile"
23053 case "(($ac_try" in
23054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23055 *) ac_try_echo=$ac_try;;
23057 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23058 $as_echo "$ac_try_echo") >&5
23059 (eval "$ac_compile") 2>conftest.er1
23061 grep -v '^ *+' conftest.er1 >conftest.err
23063 cat conftest.err >&5
23064 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23065 (exit $ac_status); } && {
23066 test -z "$ac_c_werror_flag" ||
23067 test ! -s conftest.err
23068 } && test -s conftest.$ac_objext; then
23071 $as_echo "$as_me: failed program was
:" >&5
23072 sed 's/^/| /' conftest.$ac_ext >&5
23074 ac_cv_type_uint8_t=yes
23077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23079 $as_echo "$as_me: failed program was
:" >&5
23080 sed 's/^/| /' conftest.$ac_ext >&5
23085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23087 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_uint8_t" >&5
23088 $as_echo "$ac_cv_type_uint8_t" >&6; }
23089 if test "x
$ac_cv_type_uint8_t" = x""yes; then
23091 cat >>confdefs.h <<_ACEOF
23092 #define HAVE_UINT8_T 1
23098 { $as_echo "$as_me:$LINENO: checking
for fd_mask
" >&5
23099 $as_echo_n "checking
for fd_mask...
" >&6; }
23100 if test "${ac_cv_type_fd_mask+set}" = set; then
23101 $as_echo_n "(cached
) " >&6
23103 ac_cv_type_fd_mask=no
23104 cat >conftest.$ac_ext <<_ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 #ifdef HAVE_SYS_TYPES_H
23111 #include <sys/types.h>
23113 #ifdef HAVE_SELECT_H
23114 #include <select.h>
23120 if (sizeof (fd_mask))
23126 rm -f conftest.$ac_objext
23127 if { (ac_try="$ac_compile"
23128 case "(($ac_try" in
23129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23130 *) ac_try_echo=$ac_try;;
23132 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23133 $as_echo "$ac_try_echo") >&5
23134 (eval "$ac_compile") 2>conftest.er1
23136 grep -v '^ *+' conftest.er1 >conftest.err
23138 cat conftest.err >&5
23139 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23140 (exit $ac_status); } && {
23141 test -z "$ac_c_werror_flag" ||
23142 test ! -s conftest.err
23143 } && test -s conftest.$ac_objext; then
23144 cat >conftest.$ac_ext <<_ACEOF
23147 cat confdefs.h >>conftest.$ac_ext
23148 cat >>conftest.$ac_ext <<_ACEOF
23149 /* end confdefs.h. */
23150 #ifdef HAVE_SYS_TYPES_H
23151 #include <sys/types.h>
23153 #ifdef HAVE_SELECT_H
23154 #include <select.h>
23160 if (sizeof ((fd_mask)))
23166 rm -f conftest.$ac_objext
23167 if { (ac_try="$ac_compile"
23168 case "(($ac_try" in
23169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23170 *) ac_try_echo=$ac_try;;
23172 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23173 $as_echo "$ac_try_echo") >&5
23174 (eval "$ac_compile") 2>conftest.er1
23176 grep -v '^ *+' conftest.er1 >conftest.err
23178 cat conftest.err >&5
23179 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23180 (exit $ac_status); } && {
23181 test -z "$ac_c_werror_flag" ||
23182 test ! -s conftest.err
23183 } && test -s conftest.$ac_objext; then
23186 $as_echo "$as_me: failed program was
:" >&5
23187 sed 's/^/| /' conftest.$ac_ext >&5
23189 ac_cv_type_fd_mask=yes
23192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23194 $as_echo "$as_me: failed program was
:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5
23200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23202 { $as_echo "$as_me:$LINENO: result
: $ac_cv_type_fd_mask" >&5
23203 $as_echo "$ac_cv_type_fd_mask" >&6; }
23204 if test "x
$ac_cv_type_fd_mask" = x""yes; then
23206 cat >>confdefs.h <<_ACEOF
23207 #define HAVE_FD_MASK 1
23214 # The cast to long int works around a bug in the HP C Compiler
23215 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23216 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23217 # This bug is HP SR number 8606223364.
23218 { $as_echo "$as_me:$LINENO: checking size of long long
" >&5
23219 $as_echo_n "checking size of long long...
" >&6; }
23220 if test "${ac_cv_sizeof_long_long+set}" = set; then
23221 $as_echo_n "(cached
) " >&6
23223 if test "$cross_compiling" = yes; then
23224 # Depending upon the size, compute the lo and hi bounds.
23225 cat >conftest.$ac_ext <<_ACEOF
23228 cat confdefs.h >>conftest.$ac_ext
23229 cat >>conftest.$ac_ext <<_ACEOF
23230 /* end confdefs.h. */
23231 $ac_includes_default
23235 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
23242 rm -f conftest.$ac_objext
23243 if { (ac_try="$ac_compile"
23244 case "(($ac_try" in
23245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23246 *) ac_try_echo=$ac_try;;
23248 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23249 $as_echo "$ac_try_echo") >&5
23250 (eval "$ac_compile") 2>conftest.er1
23252 grep -v '^ *+' conftest.er1 >conftest.err
23254 cat conftest.err >&5
23255 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23256 (exit $ac_status); } && {
23257 test -z "$ac_c_werror_flag" ||
23258 test ! -s conftest.err
23259 } && test -s conftest.$ac_objext; then
23262 cat >conftest.$ac_ext <<_ACEOF
23265 cat confdefs.h >>conftest.$ac_ext
23266 cat >>conftest.$ac_ext <<_ACEOF
23267 /* end confdefs.h. */
23268 $ac_includes_default
23272 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
23279 rm -f conftest.$ac_objext
23280 if { (ac_try="$ac_compile"
23281 case "(($ac_try" in
23282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23283 *) ac_try_echo=$ac_try;;
23285 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23286 $as_echo "$ac_try_echo") >&5
23287 (eval "$ac_compile") 2>conftest.er1
23289 grep -v '^ *+' conftest.er1 >conftest.err
23291 cat conftest.err >&5
23292 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23293 (exit $ac_status); } && {
23294 test -z "$ac_c_werror_flag" ||
23295 test ! -s conftest.err
23296 } && test -s conftest.$ac_objext; then
23297 ac_hi=$ac_mid; break
23299 $as_echo "$as_me: failed program was
:" >&5
23300 sed 's/^/| /' conftest.$ac_ext >&5
23302 ac_lo=`expr $ac_mid + 1`
23303 if test $ac_lo -le $ac_mid; then
23307 ac_mid=`expr 2 '*' $ac_mid + 1`
23310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23313 $as_echo "$as_me: failed program was
:" >&5
23314 sed 's/^/| /' conftest.$ac_ext >&5
23316 cat >conftest.$ac_ext <<_ACEOF
23319 cat confdefs.h >>conftest.$ac_ext
23320 cat >>conftest.$ac_ext <<_ACEOF
23321 /* end confdefs.h. */
23322 $ac_includes_default
23326 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
23333 rm -f conftest.$ac_objext
23334 if { (ac_try="$ac_compile"
23335 case "(($ac_try" in
23336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23337 *) ac_try_echo=$ac_try;;
23339 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23340 $as_echo "$ac_try_echo") >&5
23341 (eval "$ac_compile") 2>conftest.er1
23343 grep -v '^ *+' conftest.er1 >conftest.err
23345 cat conftest.err >&5
23346 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23347 (exit $ac_status); } && {
23348 test -z "$ac_c_werror_flag" ||
23349 test ! -s conftest.err
23350 } && test -s conftest.$ac_objext; then
23353 cat >conftest.$ac_ext <<_ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 $ac_includes_default
23363 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
23370 rm -f conftest.$ac_objext
23371 if { (ac_try="$ac_compile"
23372 case "(($ac_try" in
23373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23374 *) ac_try_echo=$ac_try;;
23376 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23377 $as_echo "$ac_try_echo") >&5
23378 (eval "$ac_compile") 2>conftest.er1
23380 grep -v '^ *+' conftest.er1 >conftest.err
23382 cat conftest.err >&5
23383 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23384 (exit $ac_status); } && {
23385 test -z "$ac_c_werror_flag" ||
23386 test ! -s conftest.err
23387 } && test -s conftest.$ac_objext; then
23388 ac_lo=$ac_mid; break
23390 $as_echo "$as_me: failed program was
:" >&5
23391 sed 's/^/| /' conftest.$ac_ext >&5
23393 ac_hi=`expr '(' $ac_mid ')' - 1`
23394 if test $ac_mid -le $ac_hi; then
23398 ac_mid=`expr 2 '*' $ac_mid`
23401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23404 $as_echo "$as_me: failed program was
:" >&5
23405 sed 's/^/| /' conftest.$ac_ext >&5
23410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23414 # Binary search between lo and hi bounds.
23415 while test "x
$ac_lo" != "x
$ac_hi"; do
23416 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23417 cat >conftest.$ac_ext <<_ACEOF
23420 cat confdefs.h >>conftest.$ac_ext
23421 cat >>conftest.$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23423 $ac_includes_default
23427 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
23434 rm -f conftest.$ac_objext
23435 if { (ac_try="$ac_compile"
23436 case "(($ac_try" in
23437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23438 *) ac_try_echo=$ac_try;;
23440 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23441 $as_echo "$ac_try_echo") >&5
23442 (eval "$ac_compile") 2>conftest.er1
23444 grep -v '^ *+' conftest.er1 >conftest.err
23446 cat conftest.err >&5
23447 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23448 (exit $ac_status); } && {
23449 test -z "$ac_c_werror_flag" ||
23450 test ! -s conftest.err
23451 } && test -s conftest.$ac_objext; then
23454 $as_echo "$as_me: failed program was
:" >&5
23455 sed 's/^/| /' conftest.$ac_ext >&5
23457 ac_lo=`expr '(' $ac_mid ')' + 1`
23460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23463 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23464 '') if test "$ac_cv_type_long_long" = yes; then
23465 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
23466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23467 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23468 See \`config.log' for more details.
" >&5
23469 $as_echo "$as_me: error
: cannot compute sizeof
(long long
)
23470 See \
`config.log' for more details." >&2;}
23471 { (exit 77); exit 77; }; }; }
23473 ac_cv_sizeof_long_long=0
23477 cat >conftest.$ac_ext <<_ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 $ac_includes_default
23484 static long int longval () { return (long int) (sizeof (long long)); }
23485 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
23487 #include <stdlib.h>
23492 FILE *f = fopen ("conftest.val", "w");
23495 if (((long int) (sizeof (long long))) < 0)
23497 long int i = longval ();
23498 if (i != ((long int) (sizeof (long long))))
23500 fprintf (f, "%ld", i);
23504 unsigned long int i = ulongval ();
23505 if (i != ((long int) (sizeof (long long))))
23507 fprintf (f, "%lu", i);
23509 /* Do not output a trailing newline, as this causes \r\n confusion
23510 on some platforms. */
23511 return ferror (f) || fclose (f) != 0;
23517 rm -f conftest$ac_exeext
23518 if { (ac_try="$ac_link"
23519 case "(($ac_try" in
23520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23521 *) ac_try_echo
=$ac_try;;
23523 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
23524 $as_echo "$ac_try_echo") >&5
23525 (eval "$ac_link") 2>&5
23527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23528 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
23529 { (case "(($ac_try" in
23530 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23531 *) ac_try_echo=$ac_try;;
23533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23534 $as_echo "$ac_try_echo") >&5
23535 (eval "$ac_try") 2>&5
23537 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; }; then
23539 ac_cv_sizeof_long_long=`cat conftest.val
`
23541 $as_echo "$as_me: program exited with status $ac_status" >&5
23542 $as_echo "$as_me: failed program was:" >&5
23543 sed 's/^/| /' conftest.$ac_ext >&5
23545 ( exit $ac_status )
23546 if test "$ac_cv_type_long_long" = yes; then
23547 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23549 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23550 See \
`config.log' for more details." >&5
23551 $as_echo "$as_me: error: cannot compute sizeof (long long)
23552 See \`config.log
' for more details." >&2;}
23553 { (exit 77); exit 77; }; }; }
23555 ac_cv_sizeof_long_long=0
23558 rm -rf conftest.dSYM
23559 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23563 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23564 $as_echo "$ac_cv_sizeof_long_long" >&6; }
23568 cat >>confdefs.h <<_ACEOF
23569 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23573 # The cast to long int works around a bug in the HP C Compiler
23574 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23575 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23576 # This bug is HP SR number 8606223364.
23577 { $as_echo "$as_me:$LINENO: checking size of int" >&5
23578 $as_echo_n "checking size of int... " >&6; }
23579 if test "${ac_cv_sizeof_int+set}" = set; then
23580 $as_echo_n "(cached) " >&6
23582 if test "$cross_compiling" = yes; then
23583 # Depending upon the size, compute the lo and hi bounds.
23584 cat >conftest.
$ac_ext <<_ACEOF
23587 cat confdefs.h
>>conftest.
$ac_ext
23588 cat >>conftest.
$ac_ext <<_ACEOF
23589 /* end confdefs.h. */
23590 $ac_includes_default
23594 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
23601 rm -f conftest.
$ac_objext
23602 if { (ac_try
="$ac_compile"
23603 case "(($ac_try" in
23604 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23605 *) ac_try_echo=$ac_try;;
23607 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23608 $as_echo "$ac_try_echo") >&5
23609 (eval "$ac_compile") 2>conftest.er1
23611 grep -v '^ *+' conftest.er1 >conftest.err
23613 cat conftest.err >&5
23614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } && {
23616 test -z "$ac_c_werror_flag" ||
23617 test ! -s conftest.err
23618 } && test -s conftest.$ac_objext; then
23621 cat >conftest.$ac_ext <<_ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627 $ac_includes_default
23631 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
23638 rm -f conftest.$ac_objext
23639 if { (ac_try="$ac_compile"
23640 case "(($ac_try" in
23641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23642 *) ac_try_echo
=$ac_try;;
23644 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
23645 $as_echo "$ac_try_echo") >&5
23646 (eval "$ac_compile") 2>conftest.er1
23648 grep -v '^ *+' conftest.er1
>conftest.err
23650 cat conftest.err
>&5
23651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23652 (exit $ac_status); } && {
23653 test -z "$ac_c_werror_flag" ||
23654 test ! -s conftest.err
23655 } && test -s conftest.
$ac_objext; then
23656 ac_hi
=$ac_mid; break
23658 $as_echo "$as_me: failed program was:" >&5
23659 sed 's/^/| /' conftest.
$ac_ext >&5
23661 ac_lo
=`expr $ac_mid + 1`
23662 if test $ac_lo -le $ac_mid; then
23666 ac_mid
=`expr 2 '*' $ac_mid + 1`
23669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23672 $as_echo "$as_me: failed program was:" >&5
23673 sed 's/^/| /' conftest.
$ac_ext >&5
23675 cat >conftest.
$ac_ext <<_ACEOF
23678 cat confdefs.h
>>conftest.
$ac_ext
23679 cat >>conftest.
$ac_ext <<_ACEOF
23680 /* end confdefs.h. */
23681 $ac_includes_default
23685 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
23692 rm -f conftest.
$ac_objext
23693 if { (ac_try
="$ac_compile"
23694 case "(($ac_try" in
23695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23696 *) ac_try_echo=$ac_try;;
23698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23699 $as_echo "$ac_try_echo") >&5
23700 (eval "$ac_compile") 2>conftest.er1
23702 grep -v '^ *+' conftest.er1 >conftest.err
23704 cat conftest.err >&5
23705 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); } && {
23707 test -z "$ac_c_werror_flag" ||
23708 test ! -s conftest.err
23709 } && test -s conftest.$ac_objext; then
23712 cat >conftest.$ac_ext <<_ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h. */
23718 $ac_includes_default
23722 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
23729 rm -f conftest.$ac_objext
23730 if { (ac_try="$ac_compile"
23731 case "(($ac_try" in
23732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23733 *) ac_try_echo
=$ac_try;;
23735 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
23736 $as_echo "$ac_try_echo") >&5
23737 (eval "$ac_compile") 2>conftest.er1
23739 grep -v '^ *+' conftest.er1
>conftest.err
23741 cat conftest.err
>&5
23742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); } && {
23744 test -z "$ac_c_werror_flag" ||
23745 test ! -s conftest.err
23746 } && test -s conftest.
$ac_objext; then
23747 ac_lo
=$ac_mid; break
23749 $as_echo "$as_me: failed program was:" >&5
23750 sed 's/^/| /' conftest.
$ac_ext >&5
23752 ac_hi
=`expr '(' $ac_mid ')' - 1`
23753 if test $ac_mid -le $ac_hi; then
23757 ac_mid
=`expr 2 '*' $ac_mid`
23760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23763 $as_echo "$as_me: failed program was:" >&5
23764 sed 's/^/| /' conftest.
$ac_ext >&5
23769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23773 # Binary search between lo and hi bounds.
23774 while test "x$ac_lo" != "x$ac_hi"; do
23775 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23776 cat >conftest.
$ac_ext <<_ACEOF
23779 cat confdefs.h
>>conftest.
$ac_ext
23780 cat >>conftest.
$ac_ext <<_ACEOF
23781 /* end confdefs.h. */
23782 $ac_includes_default
23786 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
23793 rm -f conftest.
$ac_objext
23794 if { (ac_try
="$ac_compile"
23795 case "(($ac_try" in
23796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23797 *) ac_try_echo=$ac_try;;
23799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23800 $as_echo "$ac_try_echo") >&5
23801 (eval "$ac_compile") 2>conftest.er1
23803 grep -v '^ *+' conftest.er1 >conftest.err
23805 cat conftest.err >&5
23806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } && {
23808 test -z "$ac_c_werror_flag" ||
23809 test ! -s conftest.err
23810 } && test -s conftest.$ac_objext; then
23813 $as_echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23816 ac_lo=`expr '(' $ac_mid ')' + 1`
23819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23822 ?*) ac_cv_sizeof_int=$ac_lo;;
23823 '') if test "$ac_cv_type_int" = yes; then
23824 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23825 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23826 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
23827 See \
`config.log' for more details." >&5
23828 $as_echo "$as_me: error: cannot compute sizeof (int)
23829 See \`config.log
' for more details." >&2;}
23830 { (exit 77); exit 77; }; }; }
23836 cat >conftest.$ac_ext <<_ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 static long int longval () { return (long int) (sizeof (int)); }
23844 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
23846 #include <stdlib.h>
23851 FILE *f = fopen ("conftest.val", "w");
23854 if (((long int) (sizeof (int))) < 0)
23856 long int i = longval ();
23857 if (i != ((long int) (sizeof (int))))
23859 fprintf (f, "%ld", i);
23863 unsigned long int i = ulongval ();
23864 if (i != ((long int) (sizeof (int))))
23866 fprintf (f, "%lu", i);
23868 /* Do not output a trailing newline, as this causes \r\n confusion
23869 on some platforms. */
23870 return ferror (f) || fclose (f) != 0;
23876 rm -f conftest$ac_exeext
23877 if { (ac_try="$ac_link"
23878 case "(($ac_try" in
23879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23880 *) ac_try_echo=$ac_try;;
23882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23883 $as_echo "$ac_try_echo") >&5
23884 (eval "$ac_link") 2>&5
23886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
23888 { (case "(($ac_try" in
23889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23890 *) ac_try_echo=$ac_try;;
23892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
23893 $as_echo "$ac_try_echo") >&5
23894 (eval "$ac_try") 2>&5
23896 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; }; then
23898 ac_cv_sizeof_int=`cat conftest.val`
23900 $as_echo "$as_me: program exited with status $ac_status" >&5
23901 $as_echo "$as_me: failed program was:" >&5
23902 sed 's
/^
/|
/' conftest.$ac_ext >&5
23904 ( exit $ac_status )
23905 if test "$ac_cv_type_int" = yes; then
23906 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
23907 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
23908 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
23909 See \`config.log
' for more details." >&5
23910 $as_echo "$as_me: error: cannot compute sizeof (int)
23911 See \`config.log' for more details.
" >&2;}
23912 { (exit 77); exit 77; }; }; }
23917 rm -rf conftest.dSYM
23918 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23922 { $as_echo "$as_me:$LINENO: result
: $ac_cv_sizeof_int" >&5
23923 $as_echo "$ac_cv_sizeof_int" >&6; }
23927 cat >>confdefs.h <<_ACEOF
23928 #define SIZEOF_INT $ac_cv_sizeof_int
23932 # The cast to long int works around a bug in the HP C Compiler
23933 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23934 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23935 # This bug is HP SR number 8606223364.
23936 { $as_echo "$as_me:$LINENO: checking size of short
" >&5
23937 $as_echo_n "checking size of short...
" >&6; }
23938 if test "${ac_cv_sizeof_short+set}" = set; then
23939 $as_echo_n "(cached
) " >&6
23941 if test "$cross_compiling" = yes; then
23942 # Depending upon the size, compute the lo and hi bounds.
23943 cat >conftest.$ac_ext <<_ACEOF
23946 cat confdefs.h >>conftest.$ac_ext
23947 cat >>conftest.$ac_ext <<_ACEOF
23948 /* end confdefs.h. */
23949 $ac_includes_default
23953 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)];
23960 rm -f conftest.$ac_objext
23961 if { (ac_try="$ac_compile"
23962 case "(($ac_try" in
23963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23964 *) ac_try_echo=$ac_try;;
23966 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
23967 $as_echo "$ac_try_echo") >&5
23968 (eval "$ac_compile") 2>conftest.er1
23970 grep -v '^ *+' conftest.er1 >conftest.err
23972 cat conftest.err >&5
23973 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23974 (exit $ac_status); } && {
23975 test -z "$ac_c_werror_flag" ||
23976 test ! -s conftest.err
23977 } && test -s conftest.$ac_objext; then
23980 cat >conftest.$ac_ext <<_ACEOF
23983 cat confdefs.h >>conftest.$ac_ext
23984 cat >>conftest.$ac_ext <<_ACEOF
23985 /* end confdefs.h. */
23986 $ac_includes_default
23990 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
23997 rm -f conftest.$ac_objext
23998 if { (ac_try="$ac_compile"
23999 case "(($ac_try" in
24000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24001 *) ac_try_echo=$ac_try;;
24003 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
24004 $as_echo "$ac_try_echo") >&5
24005 (eval "$ac_compile") 2>conftest.er1
24007 grep -v '^ *+' conftest.er1 >conftest.err
24009 cat conftest.err >&5
24010 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24011 (exit $ac_status); } && {
24012 test -z "$ac_c_werror_flag" ||
24013 test ! -s conftest.err
24014 } && test -s conftest.$ac_objext; then
24015 ac_hi=$ac_mid; break
24017 $as_echo "$as_me: failed program was
:" >&5
24018 sed 's/^/| /' conftest.$ac_ext >&5
24020 ac_lo=`expr $ac_mid + 1`
24021 if test $ac_lo -le $ac_mid; then
24025 ac_mid=`expr 2 '*' $ac_mid + 1`
24028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24031 $as_echo "$as_me: failed program was
:" >&5
24032 sed 's/^/| /' conftest.$ac_ext >&5
24034 cat >conftest.$ac_ext <<_ACEOF
24037 cat confdefs.h >>conftest.$ac_ext
24038 cat >>conftest.$ac_ext <<_ACEOF
24039 /* end confdefs.h. */
24040 $ac_includes_default
24044 static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)];
24051 rm -f conftest.$ac_objext
24052 if { (ac_try="$ac_compile"
24053 case "(($ac_try" in
24054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24055 *) ac_try_echo=$ac_try;;
24057 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
24058 $as_echo "$ac_try_echo") >&5
24059 (eval "$ac_compile") 2>conftest.er1
24061 grep -v '^ *+' conftest.er1 >conftest.err
24063 cat conftest.err >&5
24064 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24065 (exit $ac_status); } && {
24066 test -z "$ac_c_werror_flag" ||
24067 test ! -s conftest.err
24068 } && test -s conftest.$ac_objext; then
24071 cat >conftest.$ac_ext <<_ACEOF
24074 cat confdefs.h >>conftest.$ac_ext
24075 cat >>conftest.$ac_ext <<_ACEOF
24076 /* end confdefs.h. */
24077 $ac_includes_default
24081 static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)];
24088 rm -f conftest.$ac_objext
24089 if { (ac_try="$ac_compile"
24090 case "(($ac_try" in
24091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24092 *) ac_try_echo=$ac_try;;
24094 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
24095 $as_echo "$ac_try_echo") >&5
24096 (eval "$ac_compile") 2>conftest.er1
24098 grep -v '^ *+' conftest.er1 >conftest.err
24100 cat conftest.err >&5
24101 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24102 (exit $ac_status); } && {
24103 test -z "$ac_c_werror_flag" ||
24104 test ! -s conftest.err
24105 } && test -s conftest.$ac_objext; then
24106 ac_lo=$ac_mid; break
24108 $as_echo "$as_me: failed program was
:" >&5
24109 sed 's/^/| /' conftest.$ac_ext >&5
24111 ac_hi=`expr '(' $ac_mid ')' - 1`
24112 if test $ac_mid -le $ac_hi; then
24116 ac_mid=`expr 2 '*' $ac_mid`
24119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24122 $as_echo "$as_me: failed program was
:" >&5
24123 sed 's/^/| /' conftest.$ac_ext >&5
24128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24132 # Binary search between lo and hi bounds.
24133 while test "x
$ac_lo" != "x
$ac_hi"; do
24134 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24135 cat >conftest.$ac_ext <<_ACEOF
24138 cat confdefs.h >>conftest.$ac_ext
24139 cat >>conftest.$ac_ext <<_ACEOF
24140 /* end confdefs.h. */
24141 $ac_includes_default
24145 static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)];
24152 rm -f conftest.$ac_objext
24153 if { (ac_try="$ac_compile"
24154 case "(($ac_try" in
24155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24156 *) ac_try_echo=$ac_try;;
24158 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
24159 $as_echo "$ac_try_echo") >&5
24160 (eval "$ac_compile") 2>conftest.er1
24162 grep -v '^ *+' conftest.er1 >conftest.err
24164 cat conftest.err >&5
24165 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24166 (exit $ac_status); } && {
24167 test -z "$ac_c_werror_flag" ||
24168 test ! -s conftest.err
24169 } && test -s conftest.$ac_objext; then
24172 $as_echo "$as_me: failed program was
:" >&5
24173 sed 's/^/| /' conftest.$ac_ext >&5
24175 ac_lo=`expr '(' $ac_mid ')' + 1`
24178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24181 ?*) ac_cv_sizeof_short=$ac_lo;;
24182 '') if test "$ac_cv_type_short" = yes; then
24183 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
24184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24185 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short)
24186 See \`config.log' for more details.
" >&5
24187 $as_echo "$as_me: error
: cannot compute sizeof
(short
)
24188 See \
`config.log' for more details." >&2;}
24189 { (exit 77); exit 77; }; }; }
24191 ac_cv_sizeof_short=0
24195 cat >conftest.$ac_ext <<_ACEOF
24198 cat confdefs.h >>conftest.$ac_ext
24199 cat >>conftest.$ac_ext <<_ACEOF
24200 /* end confdefs.h. */
24201 $ac_includes_default
24202 static long int longval () { return (long int) (sizeof (short)); }
24203 static unsigned long int ulongval () { return (long int) (sizeof (short)); }
24205 #include <stdlib.h>
24210 FILE *f = fopen ("conftest.val", "w");
24213 if (((long int) (sizeof (short))) < 0)
24215 long int i = longval ();
24216 if (i != ((long int) (sizeof (short))))
24218 fprintf (f, "%ld", i);
24222 unsigned long int i = ulongval ();
24223 if (i != ((long int) (sizeof (short))))
24225 fprintf (f, "%lu", i);
24227 /* Do not output a trailing newline, as this causes \r\n confusion
24228 on some platforms. */
24229 return ferror (f) || fclose (f) != 0;
24235 rm -f conftest$ac_exeext
24236 if { (ac_try="$ac_link"
24237 case "(($ac_try" in
24238 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24239 *) ac_try_echo
=$ac_try;;
24241 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24242 $as_echo "$ac_try_echo") >&5
24243 (eval "$ac_link") 2>&5
24245 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
24247 { (case "(($ac_try" in
24248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24249 *) ac_try_echo=$ac_try;;
24251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24252 $as_echo "$ac_try_echo") >&5
24253 (eval "$ac_try") 2>&5
24255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); }; }; then
24257 ac_cv_sizeof_short=`cat conftest.val
`
24259 $as_echo "$as_me: program exited with status $ac_status" >&5
24260 $as_echo "$as_me: failed program was:" >&5
24261 sed 's/^/| /' conftest.$ac_ext >&5
24263 ( exit $ac_status )
24264 if test "$ac_cv_type_short" = yes; then
24265 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
24266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
24267 { { $as_echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
24268 See \
`config.log' for more details." >&5
24269 $as_echo "$as_me: error: cannot compute sizeof (short)
24270 See \`config.log
' for more details." >&2;}
24271 { (exit 77); exit 77; }; }; }
24273 ac_cv_sizeof_short=0
24276 rm -rf conftest.dSYM
24277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24281 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
24282 $as_echo "$ac_cv_sizeof_short" >&6; }
24286 cat >>confdefs.h <<_ACEOF
24287 #define SIZEOF_SHORT $ac_cv_sizeof_short
24291 { $as_echo "$as_me:$LINENO: checking for struct in6_addr" >&5
24292 $as_echo_n "checking for struct in6_addr... " >&6; }
24293 if test "${ac_cv_type_struct_in6_addr+set}" = set; then
24294 $as_echo_n "(cached) " >&6
24296 ac_cv_type_struct_in6_addr=no
24297 cat >conftest.$ac_ext <<_ACEOF
24300 cat confdefs.h >>conftest.$ac_ext
24301 cat >>conftest.$ac_ext <<_ACEOF
24302 /* end confdefs.h. */
24304 #include <winsock2.h>
24306 #include <sys/types.h>
24307 #include <netinet/in.h>
24308 #include <sys/socket.h>
24310 #ifdef HAVE_NETINET_IN6_H
24311 #include <netinet/in6.h>
24317 if (sizeof (struct in6_addr))
24323 rm -f conftest.$ac_objext
24324 if { (ac_try="$ac_compile"
24325 case "(($ac_try" in
24326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24327 *) ac_try_echo=$ac_try;;
24329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24330 $as_echo "$ac_try_echo") >&5
24331 (eval "$ac_compile") 2>conftest.er1
24333 grep -v '^
*+' conftest.er1 >conftest.err
24335 cat conftest.err >&5
24336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); } && {
24338 test -z "$ac_c_werror_flag" ||
24339 test ! -s conftest.err
24340 } && test -s conftest.$ac_objext; then
24341 cat >conftest.$ac_ext <<_ACEOF
24344 cat confdefs.h >>conftest.$ac_ext
24345 cat >>conftest.$ac_ext <<_ACEOF
24346 /* end confdefs.h. */
24348 #include <winsock2.h>
24350 #include <sys/types.h>
24351 #include <netinet/in.h>
24352 #include <sys/socket.h>
24354 #ifdef HAVE_NETINET_IN6_H
24355 #include <netinet/in6.h>
24361 if (sizeof ((struct in6_addr)))
24367 rm -f conftest.$ac_objext
24368 if { (ac_try="$ac_compile"
24369 case "(($ac_try" in
24370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24371 *) ac_try_echo=$ac_try;;
24373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24374 $as_echo "$ac_try_echo") >&5
24375 (eval "$ac_compile") 2>conftest.er1
24377 grep -v '^
*+' conftest.er1 >conftest.err
24379 cat conftest.err >&5
24380 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24381 (exit $ac_status); } && {
24382 test -z "$ac_c_werror_flag" ||
24383 test ! -s conftest.err
24384 } && test -s conftest.$ac_objext; then
24387 $as_echo "$as_me: failed program was:" >&5
24388 sed 's
/^
/|
/' conftest.$ac_ext >&5
24390 ac_cv_type_struct_in6_addr=yes
24393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24395 $as_echo "$as_me: failed program was:" >&5
24396 sed 's
/^
/|
/' conftest.$ac_ext >&5
24401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24403 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_in6_addr" >&5
24404 $as_echo "$ac_cv_type_struct_in6_addr" >&6; }
24405 if test "x$ac_cv_type_struct_in6_addr" = x""yes; then
24407 cat >>confdefs.h <<_ACEOF
24408 #define HAVE_STRUCT_IN6_ADDR 1
24415 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
24416 $as_echo_n "checking for socklen_t... " >&6; }
24417 cat >conftest.$ac_ext <<_ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24424 #include <sys/types.h>
24425 #include <sys/socket.h>
24434 rm -f conftest.$ac_objext
24435 if { (ac_try="$ac_compile"
24436 case "(($ac_try" in
24437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24438 *) ac_try_echo=$ac_try;;
24440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24441 $as_echo "$ac_try_echo") >&5
24442 (eval "$ac_compile") 2>conftest.er1
24444 grep -v '^
*+' conftest.er1 >conftest.err
24446 cat conftest.err >&5
24447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24448 (exit $ac_status); } && {
24449 test -z "$ac_c_werror_flag" ||
24450 test ! -s conftest.err
24451 } && test -s conftest.$ac_objext; then
24452 { $as_echo "$as_me:$LINENO: result: yes" >&5
24453 $as_echo "yes" >&6; }
24455 $as_echo "$as_me: failed program was:" >&5
24456 sed 's
/^
/|
/' conftest.$ac_ext >&5
24458 { $as_echo "$as_me:$LINENO: result: no" >&5
24459 $as_echo "no" >&6; }
24461 cat >>confdefs.h <<\_ACEOF
24462 #define socklen_t unsigned int
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24470 { $as_echo "$as_me:$LINENO: checking whether our compiler supports __func__" >&5
24471 $as_echo_n "checking whether our compiler supports __func__... " >&6; }
24472 cat >conftest.$ac_ext <<_ACEOF
24475 cat confdefs.h >>conftest.$ac_ext
24476 cat >>conftest.$ac_ext <<_ACEOF
24477 /* end confdefs.h. */
24482 const char *cp = __func__;
24487 rm -f conftest.$ac_objext
24488 if { (ac_try="$ac_compile"
24489 case "(($ac_try" in
24490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24491 *) ac_try_echo=$ac_try;;
24493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24494 $as_echo "$ac_try_echo") >&5
24495 (eval "$ac_compile") 2>conftest.er1
24497 grep -v '^
*+' conftest.er1 >conftest.err
24499 cat conftest.err >&5
24500 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); } && {
24502 test -z "$ac_c_werror_flag" ||
24503 test ! -s conftest.err
24504 } && test -s conftest.$ac_objext; then
24505 { $as_echo "$as_me:$LINENO: result: yes" >&5
24506 $as_echo "yes" >&6; }
24508 $as_echo "$as_me: failed program was:" >&5
24509 sed 's
/^
/|
/' conftest.$ac_ext >&5
24511 { $as_echo "$as_me:$LINENO: result: no" >&5
24512 $as_echo "no" >&6; }
24513 { $as_echo "$as_me:$LINENO: checking whether our compiler supports __FUNCTION__" >&5
24514 $as_echo_n "checking whether our compiler supports __FUNCTION__... " >&6; }
24515 cat >conftest.$ac_ext <<_ACEOF
24518 cat confdefs.h >>conftest.$ac_ext
24519 cat >>conftest.$ac_ext <<_ACEOF
24520 /* end confdefs.h. */
24525 const char *cp = __FUNCTION__;
24530 rm -f conftest.$ac_objext
24531 if { (ac_try="$ac_compile"
24532 case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24536 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24537 $as_echo "$ac_try_echo") >&5
24538 (eval "$ac_compile") 2>conftest.er1
24540 grep -v '^
*+' conftest.er1 >conftest.err
24542 cat conftest.err >&5
24543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24544 (exit $ac_status); } && {
24545 test -z "$ac_c_werror_flag" ||
24546 test ! -s conftest.err
24547 } && test -s conftest.$ac_objext; then
24548 { $as_echo "$as_me:$LINENO: result: yes" >&5
24549 $as_echo "yes" >&6; }
24551 cat >>confdefs.h <<\_ACEOF
24552 #define __func__ __FUNCTION__
24556 $as_echo "$as_me: failed program was:" >&5
24557 sed 's
/^
/|
/' conftest.$ac_ext >&5
24559 { $as_echo "$as_me:$LINENO: result: no" >&5
24560 $as_echo "no" >&6; }
24562 cat >>confdefs.h <<\_ACEOF
24563 #define __func__ __FILE__
24568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24574 # Add some more warnings which we use in development but not in the
24575 # released versions. (Some relevant gcc versions can't handle these.
)
24576 if test x
$enable_gcc_warnings = xyes
; then
24578 cat >conftest.
$ac_ext <<_ACEOF
24581 cat confdefs.h
>>conftest.
$ac_ext
24582 cat >>conftest.
$ac_ext <<_ACEOF
24583 /* end confdefs.h. */
24589 #if !defined(__GNUC__) || (__GNUC__ < 4)
24596 rm -f conftest.
$ac_objext
24597 if { (ac_try
="$ac_compile"
24598 case "(($ac_try" in
24599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
24600 *) ac_try_echo=$ac_try;;
24602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
24603 $as_echo "$ac_try_echo") >&5
24604 (eval "$ac_compile") 2>conftest.er1
24606 grep -v '^ *+' conftest.er1 >conftest.err
24608 cat conftest.err >&5
24609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24610 (exit $ac_status); } && {
24611 test -z "$ac_c_werror_flag" ||
24612 test ! -s conftest.err
24613 } && test -s conftest.$ac_objext; then
24616 $as_echo "$as_me: failed program was:" >&5
24617 sed 's/^/| /' conftest.$ac_ext >&5
24622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24624 cat >conftest.$ac_ext <<_ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24635 #if !defined(__GNUC__) || (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 2)
24642 rm -f conftest.$ac_objext
24643 if { (ac_try="$ac_compile"
24644 case "(($ac_try" in
24645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
24646 *) ac_try_echo
=$ac_try;;
24648 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
24649 $as_echo "$ac_try_echo") >&5
24650 (eval "$ac_compile") 2>conftest.er1
24652 grep -v '^ *+' conftest.er1
>conftest.err
24654 cat conftest.err
>&5
24655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
24656 (exit $ac_status); } && {
24657 test -z "$ac_c_werror_flag" ||
24658 test ! -s conftest.err
24659 } && test -s conftest.
$ac_objext; then
24662 $as_echo "$as_me: failed program was:" >&5
24663 sed 's/^/| /' conftest.
$ac_ext >&5
24668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24670 CFLAGS
="$CFLAGS -W -Wfloat-equal -Wundef -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wchar-subscripts -Wcomment -Wformat=2 -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wbad-function-cast -Wswitch-enum -Werror"
24671 CFLAGS
="$CFLAGS -Wno-unused-parameter -Wno-sign-compare -Wstrict-aliasing"
24673 if test x
$have_gcc4 = xyes
; then
24674 # These warnings break gcc 3.3.5 and work on gcc 4.0.2
24675 CFLAGS
="$CFLAGS -Winit-self -Wmissing-field-initializers -Wdeclaration-after-statement"
24676 #CFLAGS="$CFLAGS -Wold-style-definition"
24679 if test x
$have_gcc42 = xyes
; then
24680 # These warnings break gcc 4.0.2 and work on gcc 4.2
24681 CFLAGS
="$CFLAGS -Waddress -Wnormalized=id -Woverride-init"
24684 ##This will break the world on some 64-bit architectures
24685 # CFLAGS="$CFLAGS -Winline"
24689 ac_config_files
="$ac_config_files Makefile test/Makefile sample/Makefile"
24691 cat >confcache
<<\_ACEOF
24692 # This file is a shell script that caches the results of configure
24693 # tests run on this system so they can be shared between configure
24694 # scripts and configure runs, see configure's option --config-cache.
24695 # It is not useful on other systems. If it contains results you don't
24696 # want to keep, you may remove or edit it.
24698 # config.status only pays attention to the cache file if you give it
24699 # the --recheck option to rerun configure.
24701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24703 # following values.
24707 # The following way of writing the cache mishandles newlines in values,
24708 # but we know of no workaround that is simple, portable, and efficient.
24709 # So, we kill variables containing newlines.
24710 # Ultrix sh set writes to stderr and can't be redirected directly,
24711 # and sets the high bit in the cache file unless we assign to the vars.
24713 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24714 eval ac_val
=\$
$ac_var
24718 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
24719 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24722 _ | IFS | as_nl
) ;; #(
24723 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24724 *) $as_unset $ac_var ;;
24730 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24731 *${as_nl}ac_space
=\
*)
24732 # `set' does not quote correctly, so add quotes (double-quote
24733 # substitution turns \\\\ into \\, and sed turns \\ into \).
24736 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24739 # `set' quotes correctly as required by POSIX, so do not add quotes.
24740 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24749 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24751 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24753 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24754 if test -w "$cache_file"; then
24755 test "x$cache_file" != "x/dev/null" &&
24756 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
24757 $as_echo "$as_me: updating cache $cache_file" >&6;}
24758 cat confcache
>$cache_file
24760 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24761 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24766 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24767 # Let make expand exec_prefix.
24768 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24770 DEFS
=-DHAVE_CONFIG_H
24774 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24775 # 1. Remove the extension, and $U if already installed.
24776 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24777 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24778 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24779 # will be set to the directory where LIBOBJS objects are built.
24780 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24781 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24783 LIBOBJS
=$ac_libobjs
24785 LTLIBOBJS
=$ac_ltlibobjs
24788 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24789 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24790 Usually this means the macro was only invoked conditionally." >&5
24791 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
24792 Usually this means the macro was only invoked conditionally." >&2;}
24793 { (exit 1); exit 1; }; }
24795 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24796 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24797 Usually this means the macro was only invoked conditionally." >&5
24798 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24799 Usually this means the macro was only invoked conditionally." >&2;}
24800 { (exit 1); exit 1; }; }
24802 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24803 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24804 Usually this means the macro was only invoked conditionally." >&5
24805 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24806 Usually this means the macro was only invoked conditionally." >&2;}
24807 { (exit 1); exit 1; }; }
24809 if test -z "${BUILD_WIN32_TRUE}" && test -z "${BUILD_WIN32_FALSE}"; then
24810 { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_WIN32\" was never defined.
24811 Usually this means the macro was only invoked conditionally." >&5
24812 $as_echo "$as_me: error: conditional \"BUILD_WIN32\" was never defined.
24813 Usually this means the macro was only invoked conditionally." >&2;}
24814 { (exit 1); exit 1; }; }
24817 : ${CONFIG_STATUS=./config.status}
24819 ac_clean_files_save
=$ac_clean_files
24820 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24821 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24822 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24823 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24825 # Generated by $as_me.
24826 # Run this file to recreate the current configuration.
24827 # Compiler output produced by configure, useful for debugging
24828 # configure, is in config.log if it exists.
24831 ac_cs_recheck=false
24833 SHELL=\${CONFIG_SHELL-$SHELL}
24836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24837 ## --------------------- ##
24838 ## M4sh Initialization. ##
24839 ## --------------------- ##
24841 # Be more Bourne compatible
24842 DUALCASE
=1; export DUALCASE
# for MKS sh
24843 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24846 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24847 # is contrary to our usage. Disable this feature.
24848 alias -g '${1+"$@"}'='"$@"'
24849 setopt NO_GLOB_SUBST
24851 case `(set -o) 2>/dev/null` in
24852 *posix
*) set -o posix
;;
24861 # Avoid depending upon Character Ranges.
24862 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24863 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24864 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24865 as_cr_digits
='0123456789'
24866 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24871 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24872 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24873 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24874 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24875 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24876 as_echo='printf %s
\n'
24877 as_echo_n='printf %s
'
24879 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24880 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24881 as_echo_n='/usr
/ucb
/echo -n'
24883 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24884 as_echo_n_body='eval
24888 expr "X$arg" : "X\\(.*\\)$as_nl";
24889 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24891 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
24893 export as_echo_n_body
24894 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24896 export as_echo_body
24897 as_echo='sh
-c $as_echo_body as_echo
'
24900 # The user is always right.
24901 if test "${PATH_SEPARATOR+set}" != set; then
24903 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24904 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24909 # Support unset when possible.
24910 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24918 # We need space, tab and new line, in precisely that order. Quoting is
24919 # there to prevent editors from complaining about space-tab.
24920 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24921 # splitting by setting IFS to empty value.)
24924 # Find who we are. Look in the path if we contain no directory separator.
24926 *[\\/]* ) as_myself=$0 ;;
24927 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24928 for as_dir in $PATH
24931 test -z "$as_dir" && as_dir=.
24932 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24938 # We did not find ourselves, most probably we were run as `sh COMMAND'
24939 # in which case we are not to be found in the path.
24940 if test "x$as_myself" = x
; then
24943 if test ! -f "$as_myself"; then
24944 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24945 { (exit 1); exit 1; }
24948 # Work around bugs in pre-3.0 UWIN ksh.
24949 for as_var
in ENV MAIL MAILPATH
24950 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24962 # Required to use basename.
24963 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24964 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24970 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24971 as_basename
=basename
24977 # Name of the executable.
24978 as_me
=`$as_basename -- "$0" ||
24979 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24980 X"$0" : 'X\(//\)$' \| \
24981 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24983 sed '/^.*\/\([^/][^/]*\)\/*$/{
25002 as_lineno_1
=$LINENO
25003 as_lineno_2
=$LINENO
25004 test "x$as_lineno_1" != "x$as_lineno_2" &&
25005 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
25007 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25008 # uniformly replaced by the line number. The first 'sed' inserts a
25009 # line-number line after each line using $LINENO; the second 'sed'
25010 # does the real work. The second script uses 'N' to pair each
25011 # line-number line with the line containing $LINENO, and appends
25012 # trailing '-' during substitution so that $LINENO is not a special
25013 # case at line end.
25014 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25015 # scripts with optimization help from Paolo Bonzini. Blame Lee
25016 # E. McMahon (1931-1989) for sed's syntax. :-)
25028 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25031 ' >$as_me.lineno
&&
25032 chmod +x
"$as_me.lineno" ||
25033 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25034 { (exit 1); exit 1; }; }
25036 # Don't try to exec as it changes $[0], causing all sort of problems
25037 # (the dirname of $[0] is not the place where we might find the
25038 # original and so on. Autoconf is especially sensitive to this).
25039 .
"./$as_me.lineno"
25040 # Exit status is that of the last command.
25045 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
25051 ECHO_C
= ECHO_N
= ECHO_T
=
25052 case `echo -n x` in
25054 case `echo 'x\c'` in
25055 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
25061 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
25062 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
25068 rm -f conf$$ conf$$.exe conf$$.
file
25069 if test -d conf$$.dir
; then
25070 rm -f conf$$.dir
/conf$$.
file
25073 mkdir conf$$.dir
2>/dev
/null
25075 if (echo >conf$$.
file) 2>/dev
/null
; then
25076 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
25078 # ... but there are two gotchas:
25079 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25080 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25081 # In both cases, we have to default to `cp -p'.
25082 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
25084 elif ln conf$$.
file conf$$
2>/dev
/null
; then
25092 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
25093 rmdir conf$$.dir
2>/dev
/null
25095 if mkdir
-p .
2>/dev
/null
; then
25098 test -d .
/-p && rmdir .
/-p
25102 if test -x / >/dev
/null
2>&1; then
25103 as_test_x
='test -x'
25105 if ls -dL / >/dev
/null
2>&1; then
25112 if test -d "$1"; then
25118 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25119 ???[sx]*):;;*)false;;esac;fi
25123 as_executable_p
=$as_test_x
25125 # Sed expression to map a string onto a valid CPP name.
25126 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25128 # Sed expression to map a string onto a valid variable name.
25129 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25134 # Save the log message, to keep $[0] and so on meaningful, and to
25135 # report actual input values of CONFIG_FILES etc. instead of their
25136 # values after options handling.
25138 This file was extended by $as_me, which was
25139 generated by GNU Autoconf 2.63. Invocation command line was
25141 CONFIG_FILES = $CONFIG_FILES
25142 CONFIG_HEADERS = $CONFIG_HEADERS
25143 CONFIG_LINKS = $CONFIG_LINKS
25144 CONFIG_COMMANDS = $CONFIG_COMMANDS
25147 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25152 case $ac_config_files in *"
25153 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25156 case $ac_config_headers in *"
25157 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25161 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25162 # Files that config.status was made for.
25163 config_files="$ac_config_files"
25164 config_headers="$ac_config_headers"
25165 config_commands="$ac_config_commands"
25169 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25171 \`$as_me' instantiates files from templates according to the
25172 current configuration.
25174 Usage: $0 [OPTION]... [FILE]...
25176 -h, --help print this help, then exit
25177 -V, --version print version number and configuration settings, then exit
25178 -q, --quiet, --silent
25179 do not print progress messages
25180 -d, --debug don't remove temporary files
25181 --recheck update $as_me by reconfiguring in the same conditions
25182 --file=FILE[:TEMPLATE]
25183 instantiate the configuration file FILE
25184 --header=FILE[:TEMPLATE]
25185 instantiate the configuration header FILE
25187 Configuration files:
25190 Configuration headers:
25193 Configuration commands:
25196 Report bugs to <bug-autoconf@gnu.org>."
25199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25202 configured by $0, generated by GNU Autoconf 2.63,
25203 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25205 Copyright (C) 2008 Free Software Foundation, Inc.
25206 This config.status script is free software; the Free Software Foundation
25207 gives unlimited permission to copy, distribute and modify it."
25214 test -n "\$AWK" || AWK=awk
25217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25218 # The default lists apply if the user does not specify any file.
25224 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25225 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25236 # Handling of the options.
25237 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25239 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25240 $as_echo "$ac_cs_version"; exit ;;
25241 --debug |
--debu |
--deb |
--de |
--d |
-d )
25243 --file |
--fil |
--fi |
--f )
25246 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25248 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
25249 ac_need_defaults
=false
;;
25250 --header |
--heade |
--head |
--hea )
25253 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25255 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
25256 ac_need_defaults
=false
;;
25258 # Conflict between --help and --header
25259 { $as_echo "$as_me: error: ambiguous option: $1
25260 Try \`$0 --help' for more information." >&2
25261 { (exit 1); exit 1; }; };;
25262 --help |
--hel |
-h )
25263 $as_echo "$ac_cs_usage"; exit ;;
25264 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25265 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25268 # This is an error.
25269 -*) { $as_echo "$as_me: error: unrecognized option: $1
25270 Try \`$0 --help' for more information." >&2
25271 { (exit 1); exit 1; }; } ;;
25273 *) ac_config_targets
="$ac_config_targets $1"
25274 ac_need_defaults
=false
;;
25280 ac_configure_extra_args
=
25282 if $ac_cs_silent; then
25284 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25289 if \$ac_cs_recheck; then
25290 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25292 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25293 CONFIG_SHELL='$SHELL'
25294 export CONFIG_SHELL
25299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25303 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25304 ## Running $as_me. ##
25310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25314 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25320 # Handling of arguments.
25321 for ac_config_target
in $ac_config_targets
25323 case $ac_config_target in
25324 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
25325 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25326 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25327 "test/Makefile") CONFIG_FILES
="$CONFIG_FILES test/Makefile" ;;
25328 "sample/Makefile") CONFIG_FILES
="$CONFIG_FILES sample/Makefile" ;;
25330 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25331 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25332 { (exit 1); exit 1; }; };;
25337 # If the user did not use the arguments to specify the items to instantiate,
25338 # then the envvar interface is used. Set only those that are not.
25339 # We use the long form for the default assignment because of an extremely
25340 # bizarre bug on SunOS 4.1.3.
25341 if $ac_need_defaults; then
25342 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25343 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25344 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25347 # Have a temporary directory for convenience. Make it in the build tree
25348 # simply because there is no reason against having it here, and in addition,
25349 # creating and moving files from /tmp can sometimes cause problems.
25350 # Hook for its removal unless debugging.
25351 # Note that there is a small window in which the directory will not be cleaned:
25352 # after its creation but before its name has been assigned to `$tmp'.
25356 trap 'exit_status=$?
25357 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25359 trap '{ (exit 1); exit 1; }' 1 2 13 15
25361 # Create a (secure) tmp directory for tmp files.
25364 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25365 test -n "$tmp" && test -d "$tmp"
25368 tmp
=.
/conf$$
-$RANDOM
25369 (umask 077 && mkdir
"$tmp")
25372 $as_echo "$as_me: cannot create a temporary directory in ." >&2
25373 { (exit 1); exit 1; }
25376 # Set up the scripts for CONFIG_FILES section.
25377 # No need to generate them if there are no CONFIG_FILES.
25378 # This happens for instance with `./config.status config.h'.
25379 if test -n "$CONFIG_FILES"; then
25383 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25384 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25387 ac_cs_awk_cr
=$ac_cr
25390 echo 'BEGIN {' >"$tmp/subs1.awk" &&
25395 echo "cat >conf$$subs.awk <<_ACEOF" &&
25396 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25398 } >conf$$subs.sh ||
25399 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
25400 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
25401 { (exit 1); exit 1; }; }
25402 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25404 for ac_last_try in false false false false false :; do
25405 . ./conf$$subs.sh ||
25406 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
25407 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
25408 { (exit 1); exit 1; }; }
25410 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25411 if test $ac_delim_n = $ac_delim_num; then
25413 elif $ac_last_try; then
25414 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
25415 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
25416 { (exit 1); exit 1; }; }
25418 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25421 rm -f conf$$subs.sh
25423 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25424 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
25428 s/^/S["/; s
/!.
*/"]=/
25438 s/\(.\{148\}\).*/\1/
25440 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25445 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25452 s/\(.\{148\}\).*/\1/
25454 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25458 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25463 ' <conf$$subs.awk | sed '
25468 ' >>$CONFIG_STATUS || ac_write_fail=1
25469 rm -f conf$$subs.awk
25470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25472 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
25473 for (key in S) S_is_set[key] = 1
25479 nfields = split(line, field, "@
")
25481 len = length(field[1])
25482 for (i = 2; i < nfields; i++) {
25484 keylen = length(key)
25485 if (S_is_set[key]) {
25487 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25488 len += length(value) + length(field[++i])
25499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25500 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25501 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25504 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
25505 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
25506 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
25507 { (exit 1); exit 1; }; }
25510 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25511 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
25512 # trailing colons and then remove the whole line if VPATH becomes empty
25513 # (actually we leave an empty line to preserve line numbers).
25514 if test "x
$srcdir" = x.; then
25515 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25516 s/:*\$(srcdir):*/:/
25517 s/:*\${srcdir}:*/:/
25519 s/^\([^=]*=[ ]*\):*/\1/
25525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25526 fi # test -n "$CONFIG_FILES"
25528 # Set up the scripts for CONFIG_HEADERS section.
25529 # No need to generate them if there are no CONFIG_HEADERS.
25530 # This happens for instance with `./config.status Makefile'.
25531 if test -n "$CONFIG_HEADERS"; then
25532 cat >"$tmp/defines.
awk" <<\_ACAWK ||
25536 # Transform confdefs.h into an awk script `defines.awk', embedded as
25537 # here-document in config.status, that substitutes the proper values into
25538 # config.h.in to produce config.h.
25540 # Create a delimiter string that does not exist in confdefs.h, to ease
25541 # handling of long lines.
25543 for ac_last_try in false false :; do
25544 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
25545 if test -z "$ac_t"; then
25547 elif $ac_last_try; then
25548 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
25549 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
25550 { (exit 1); exit 1; }; }
25552 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25556 # For the awk script, D is an array of macro values keyed by name,
25557 # likewise P contains macro parameters if any. Preserve backslash
25558 # newline sequences.
25560 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25562 s/.\{148\}/&'"$ac_delim"'/g
25565 s/^[ ]*#[ ]*define[ ][ ]*/ /
25572 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25574 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25578 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25579 D["\
1"]=" \
3\\\\\\n
"\\/p
25581 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25586 s/.\{148\}/&'"$ac_delim"'/g
25591 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25594 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25596 ' <confdefs.h | sed '
25597 s/'"$ac_delim"'/"\\\
25598 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25600 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25601 for (key in D) D_is_set[key] = 1
25604 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25606 split(line, arg, " ")
25607 if (arg[1] == "#") {
25611 defundef
= substr
(arg
[1], 2)
25614 split(mac1
, mac2
, "(") #)
25616 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25617 if (D_is_set
[macro
]) {
25618 # Preserve the white space surrounding the "#".
25619 print prefix
"define", macro P
[macro
] D
[macro
]
25622 # Replace #undef with comments. This is necessary, for example,
25623 # in the case of _POSIX_SOURCE, which is predefined and required
25624 # on some systems where configure will not decide to define it.
25625 if (defundef
== "undef") {
25626 print
"/*", prefix defundef
, macro
, "*/"
25634 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25635 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
25636 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
25637 { (exit 1); exit 1; }; }
25638 fi # test -n "$CONFIG_HEADERS"
25641 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25646 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25648 case $ac_mode$ac_tag in
25650 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
25651 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
25652 { (exit 1); exit 1; }; };;
25653 :[FH
]-) ac_tag
=-:-;;
25654 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25671 -) ac_f
="$tmp/stdin";;
25672 *) # Look for the file first in the build tree, then in the source tree
25673 # (if the path is not absolute). The absolute path cannot be DOS-style,
25674 # because $ac_f cannot contain `:'.
25678 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25680 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25681 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25682 { (exit 1); exit 1; }; };;
25684 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25685 ac_file_inputs
="$ac_file_inputs '$ac_f'"
25688 # Let's still pretend it is `configure' which instantiates (i.e., don't
25689 # use $as_me), people would be surprised to read:
25690 # /* config.h. Generated by config.status. */
25691 configure_input
='Generated from '`
25692 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25694 if test x
"$ac_file" != x-
; then
25695 configure_input
="$ac_file. $configure_input"
25696 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
25697 $as_echo "$as_me: creating $ac_file" >&6;}
25699 # Neutralize special characters interpreted by sed in replacement strings.
25700 case $configure_input in #(
25701 *\
&* |
*\|
* |
*\\* )
25702 ac_sed_conf_input
=`$as_echo "$configure_input" |
25703 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25704 *) ac_sed_conf_input
=$configure_input;;
25708 *:-:* |
*:-) cat >"$tmp/stdin" \
25709 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25710 $as_echo "$as_me: error: could not create $ac_file" >&2;}
25711 { (exit 1); exit 1; }; } ;;
25716 ac_dir
=`$as_dirname -- "$ac_file" ||
25717 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25718 X"$ac_file" : 'X\(//\)[^/]' \| \
25719 X"$ac_file" : 'X\(//\)$' \| \
25720 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25721 $as_echo X"$ac_file" |
25722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25726 /^X\(\/\/\)[^/].*/{
25741 -*) as_dir
=.
/$as_dir;;
25743 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25747 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25748 *) as_qdir
=$as_dir;;
25750 as_dirs
="'$as_qdir' $as_dirs"
25751 as_dir
=`$as_dirname -- "$as_dir" ||
25752 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25753 X"$as_dir" : 'X\(//\)[^/]' \| \
25754 X"$as_dir" : 'X\(//\)$' \| \
25755 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25756 $as_echo X"$as_dir" |
25757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25761 /^X\(\/\/\)[^/].*/{
25774 test -d "$as_dir" && break
25776 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25777 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25778 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25779 { (exit 1); exit 1; }; }; }
25783 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25785 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25786 # A ".." for each directory in $ac_dir_suffix.
25787 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25788 case $ac_top_builddir_sub in
25789 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25790 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25793 ac_abs_top_builddir
=$ac_pwd
25794 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25795 # for backward compatibility:
25796 ac_top_builddir
=$ac_top_build_prefix
25799 .
) # We are building in place.
25801 ac_top_srcdir
=$ac_top_builddir_sub
25802 ac_abs_top_srcdir
=$ac_pwd ;;
25803 [\\/]* | ?
:[\\/]* ) # Absolute name.
25804 ac_srcdir
=$srcdir$ac_dir_suffix;
25805 ac_top_srcdir
=$srcdir
25806 ac_abs_top_srcdir
=$srcdir ;;
25807 *) # Relative name.
25808 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25809 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25810 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25812 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25822 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25823 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25825 ac_MKDIR_P
=$MKDIR_P
25827 [\\/$
]* | ?
:[\\/]* ) ;;
25828 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25833 # If the template does not know about datarootdir, expand it.
25834 # FIXME: This hack should be removed a few years after 2.60.
25835 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25848 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25849 *datarootdir
*) ac_datarootdir_seen
=yes;;
25850 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25851 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25852 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25855 ac_datarootdir_hack='
25856 s&@datadir@&$datadir&g
25857 s&@docdir@&$docdir&g
25858 s&@infodir@&$infodir&g
25859 s&@localedir@&$localedir&g
25860 s&@mandir@&$mandir&g
25861 s&\\\${datarootdir}&$datarootdir&g' ;;
25865 # Neutralize VPATH when `$srcdir' = `.'.
25866 # Shell code in configure.ac might set extrasub.
25867 # FIXME: do we really want to maintain this feature?
25868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25869 ac_sed_extra="$ac_vpsub
25872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25874 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25875 s|@configure_input@|
$ac_sed_conf_input|
;t t
25876 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25877 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
25878 s
&@srcdir@
&$ac_srcdir&;t t
25879 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25880 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25881 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25882 s
&@builddir@
&$ac_builddir&;t t
25883 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25884 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25885 s
&@INSTALL@
&$ac_INSTALL&;t t
25886 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
25887 $ac_datarootdir_hack
25889 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
25890 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
25891 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
25892 { (exit 1); exit 1; }; }
25894 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25895 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25896 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25897 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25898 which seems to be undefined. Please make sure it is defined." >&5
25899 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25900 which seems to be undefined. Please make sure it is defined." >&2;}
25904 -) cat "$tmp/out" && rm -f "$tmp/out";;
25905 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
25907 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25908 $as_echo "$as_me: error: could not create $ac_file" >&2;}
25909 { (exit 1); exit 1; }; }
25915 if test x"$ac_file" != x-; then
25917 $as_echo "/* $configure_input */" \
25918 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
25919 } >"$tmp/config.h" \
25920 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25921 $as_echo "$as_me: error: could not create $ac_file" >&2;}
25922 { (exit 1); exit 1; }; }
25923 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
25924 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25928 mv "$tmp/config.h" "$ac_file" \
25929 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25930 $as_echo "$as_me: error: could not create $ac_file" >&2;}
25931 { (exit 1); exit 1; }; }
25934 $as_echo "/* $configure_input */" \
25935 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
25936 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
25937 $as_echo "$as_me: error: could not create -" >&2;}
25938 { (exit 1); exit 1; }; }
25940 # Compute "$ac_file"'s index
in $config_headers.
25943 for _am_header
in $config_headers :; do
25944 case $_am_header in
25945 $_am_arg |
$_am_arg:* )
25948 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25951 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25952 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25953 X"$_am_arg" : 'X\(//\)[^/]' \| \
25954 X"$_am_arg" : 'X\(//\)$' \| \
25955 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25956 $as_echo X"$_am_arg" |
25957 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25961 /^X\(\/\/\)[^/].*/{
25973 s/.*/./; q'`/stamp-h
$_am_stamp_count
25976 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
25977 $as_echo "$as_me: executing $ac_file commands" >&6;}
25982 case $ac_file$ac_mode in
25983 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
25984 # Strip MF so we end up with the name of the file.
25985 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25986 # Check whether this is an Automake generated Makefile or not.
25987 # We used to match only the files named `Makefile.in', but
25988 # some people rename them; so instead we look at the file content.
25989 # Grep'ing the first line is not enough: some people post-process
25990 # each Makefile.in and add a new line on top of each file to say so.
25991 # Grep'ing the whole file is not good either: AIX grep has a line
25992 # limit of 2048, but all sed's we know have understand at least 4000.
25993 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
25994 dirpart
=`$as_dirname -- "$mf" ||
25995 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25996 X"$mf" : 'X\(//\)[^/]' \| \
25997 X"$mf" : 'X\(//\)$' \| \
25998 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26000 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26004 /^X\(\/\/\)[^/].*/{
26020 # Extract the definition of DEPDIR, am__include, and am__quote
26021 # from the Makefile without running `make'.
26022 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
26023 test -z "$DEPDIR" && continue
26024 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
26025 test -z "am__include" && continue
26026 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
26027 # When using ansi2knr, U may be empty or an underscore; expand it
26028 U
=`sed -n 's/^U = //p' < "$mf"`
26029 # Find all dependency output files, they are included files with
26030 # $(DEPDIR) in their names. We invoke sed twice because it is the
26031 # simplest approach to changing $(DEPDIR) to its actual value in the
26033 for file in `sed -n "
26034 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26035 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26036 # Make sure the directory exists.
26037 test -f "$dirpart/$file" && continue
26038 fdir
=`$as_dirname -- "$file" ||
26039 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26040 X"$file" : 'X\(//\)[^/]' \| \
26041 X"$file" : 'X\(//\)$' \| \
26042 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26043 $as_echo X"$file" |
26044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26048 /^X\(\/\/\)[^/].*/{
26061 { as_dir
=$dirpart/$fdir
26063 -*) as_dir
=.
/$as_dir;;
26065 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
26069 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26070 *) as_qdir
=$as_dir;;
26072 as_dirs
="'$as_qdir' $as_dirs"
26073 as_dir
=`$as_dirname -- "$as_dir" ||
26074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26075 X"$as_dir" : 'X\(//\)[^/]' \| \
26076 X"$as_dir" : 'X\(//\)$' \| \
26077 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26078 $as_echo X"$as_dir" |
26079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26083 /^X\(\/\/\)[^/].*/{
26096 test -d "$as_dir" && break
26098 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
26099 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26100 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
26101 { (exit 1); exit 1; }; }; }
26102 # echo "creating $dirpart/$file"
26103 echo '# dummy' > "$dirpart/$file"
26112 { (exit 0); exit 0; }
26114 chmod +x
$CONFIG_STATUS
26115 ac_clean_files
=$ac_clean_files_save
26117 test $ac_write_fail = 0 ||
26118 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
26119 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
26120 { (exit 1); exit 1; }; }
26123 # configure is writing to config.log, and then calls config.status.
26124 # config.status does its own redirection, appending to config.log.
26125 # Unfortunately, on DOS this fails, as config.log is still kept open
26126 # by configure, so config.status won't be able to write to it; its
26127 # output is simply discarded. So we exec the FD to /dev/null,
26128 # effectively closing config.log, so it can be properly (re)opened and
26129 # appended to by config.status. When coming back to configure, we
26130 # need to make the FD available again.
26131 if test "$no_create" != yes; then
26133 ac_config_status_args
=
26134 test "$silent" = yes &&
26135 ac_config_status_args
="$ac_config_status_args --quiet"
26137 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26139 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26140 # would make configure fail if this is the last instruction.
26141 $ac_cs_success ||
{ (exit 1); exit 1; }
26143 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
26144 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26145 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}