2 # From configure.ac Revision: 1.19 .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for netpgp 20091221.
6 # Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
99 # Find who we are. Look in the path if we contain no directory separator.
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x
; then
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var
in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
137 # Required to use basename.
138 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
145 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
152 # Name of the executable.
153 as_me
=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
176 if test "x$CONFIG_SHELL" = x
; then
177 if (eval ":") 2>/dev
/null
; then
183 if test $as_have_required = yes && (eval ":
193 as_func_ret_success () {
196 as_func_ret_failure () {
201 if as_func_success; then
205 echo as_func_success failed.
208 if as_func_failure; then
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev
/null
; then
243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
244 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
247 test -z "$as_dir" && as_dir
=.
250 for as_base
in sh bash ksh sh5
; do
251 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
258 for as_shell
in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix
*) set -o posix
;;
280 CONFIG_SHELL
=$as_shell
282 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
291 case `(set -o) 2>/dev/null` in
292 *posix
*) set -o posix
;;
308 as_func_ret_success
() {
311 as_func_ret_failure
() {
316 if as_func_success
; then
320 echo as_func_success failed.
323 if as_func_failure
; then
325 echo as_func_failure succeeded.
328 if as_func_ret_success
; then
332 echo as_func_ret_success failed.
335 if as_func_ret_failure
; then
337 echo as_func_ret_failure succeeded.
340 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
344 echo positional parameters were not saved.
347 test $exitcode = 0) ||
{ (exit 1); exit 1; }
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
364 if test "x$CONFIG_SHELL" != x
; then
365 for as_var
in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no
; then
374 echo This
script requires a shell
more modern than all the
375 echo shells that I found on your system. Please
install a
376 echo modern shell
, or manually run the
script under such a
377 echo shell
if you
do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
397 as_func_ret_success () {
400 as_func_ret_failure () {
405 if as_func_success; then
409 echo as_func_success failed.
412 if as_func_failure; then
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
433 echo positional parameters were not saved.
436 test \$exitcode = 0") ||
{
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system
,
439 echo including any error possibly output before this message.
440 echo This can
help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
476 chmod +x
"$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
484 # Exit status is that of the last command.
489 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
495 ECHO_C
= ECHO_N
= ECHO_T
=
499 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
505 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
512 rm -f conf$$ conf$$.exe conf$$.
file
513 if test -d conf$$.dir
; then
514 rm -f conf$$.dir
/conf$$.
file
517 mkdir conf$$.dir
2>/dev
/null
519 if (echo >conf$$.
file) 2>/dev
/null
; then
520 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
528 elif ln conf$$.
file conf$$
2>/dev
/null
; then
536 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
537 rmdir conf$$.dir
2>/dev
/null
539 if mkdir
-p .
2>/dev
/null
; then
542 test -d .
/-p && rmdir .
/-p
546 if test -x / >/dev
/null
2>&1; then
549 if ls -dL / >/dev
/null
2>&1; then
556 if test -d "$1"; then
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
567 as_executable_p
=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
578 # Check that we are running under the correct shell.
579 SHELL
=${CONFIG_SHELL-/bin/sh}
583 # Remove one level of quotation (which was required for Make).
584 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
589 if test "X$1" = X--no-reexec
; then
590 # Discard the --no-reexec flag, and continue.
592 elif test "X$1" = X--fallback-echo
; then
593 # Avoid inline document here, it may be left over
595 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
596 # Yippee, $echo works!
599 # Restart under the correct shell.
600 exec $SHELL "$0" --no-reexec ${1+"$@"}
603 if test "X$1" = X--fallback-echo
; then
604 # used as fallback echo
612 # The HP-UX ksh and POSIX shell print the target directory to stdout
614 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
616 if test -z "$ECHO"; then
617 if test "X${echo_test_string+set}" != Xset
; then
618 # find a string as large as possible, as long as the shell can cope with it
619 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
620 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
621 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
622 echo_test_string
=`eval $cmd` &&
623 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
630 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
631 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
632 test "X$echo_testing_string" = "X$echo_test_string"; then
635 # The Solaris, AIX, and Digital Unix default echo programs unquote
636 # backslashes. This makes it impossible to quote backslashes using
637 # echo "$something" | sed 's/\\/\\\\/g'
639 # So, first we look for a working echo in the user's PATH.
641 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
642 for dir
in $PATH /usr
/ucb
; do
644 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
645 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
646 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
647 test "X$echo_testing_string" = "X$echo_test_string"; then
654 if test "X$echo" = Xecho
; then
655 # We didn't find a better echo, so look for alternatives.
656 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
657 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
658 test "X$echo_testing_string" = "X$echo_test_string"; then
659 # This shell has a builtin print -r that does the trick.
661 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
662 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
663 # If we have ksh, try running configure again with it.
664 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
665 export ORIGINAL_CONFIG_SHELL
666 CONFIG_SHELL
=/bin
/ksh
668 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
672 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
673 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
674 test "X$echo_testing_string" = "X$echo_test_string"; then
677 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
678 test "X$echo_testing_string" = 'X\t' &&
679 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
680 test "X$echo_testing_string" = "X$echo_test_string"; then
681 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
683 SHELL
="$CONFIG_SHELL"
685 echo="$CONFIG_SHELL $0 --fallback-echo"
686 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
687 test "X$echo_testing_string" = 'X\t' &&
688 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
689 test "X$echo_testing_string" = "X$echo_test_string"; then
690 echo="$CONFIG_SHELL $0 --fallback-echo"
692 # maybe with a smaller string...
695 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
696 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
703 if test "$prev" != 'sed 50q "$0"'; then
704 echo_test_string
=`eval $prev`
705 export echo_test_string
706 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
708 # Oops. We lost completely, so just stick with echo.
717 # Copy echo and quote the copy suitably for passing to libtool from
718 # the Makefile, instead of quoting the original, which is used later.
720 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
721 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
727 tagnames
=${tagnames+${tagnames},}CXX
729 tagnames
=${tagnames+${tagnames},}F77
731 exec 7<&0 </dev
/null
6>&1
734 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
735 # so uname gets run too.
736 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
741 ac_default_prefix
=/usr
/local
743 ac_config_libobj_dir
=.
749 SHELL
=${CONFIG_SHELL-/bin/sh}
751 # Identity of this package.
752 PACKAGE_NAME
='netpgp'
753 PACKAGE_TARNAME
='netpgp'
754 PACKAGE_VERSION
='20091221'
755 PACKAGE_STRING
='netpgp 20091221'
756 PACKAGE_BUGREPORT
='Alistair Crooks <agc@netbsd.org> c0596823'
758 ac_unique_file
="src/netpgp/netpgp.c"
759 # Factoring default headers for most tests.
760 ac_includes_default
="\
762 #ifdef HAVE_SYS_TYPES_H
763 # include <sys/types.h>
765 #ifdef HAVE_SYS_STAT_H
766 # include <sys/stat.h>
772 # ifdef HAVE_STDLIB_H
777 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
782 #ifdef HAVE_STRINGS_H
783 # include <strings.h>
785 #ifdef HAVE_INTTYPES_H
786 # include <inttypes.h>
795 ac_subst_vars
='LTLIBOBJS
844 MAINTAINER_MODE_FALSE
854 INSTALL_STRIP_PROGRAM
896 program_transform_name
908 enable_option_checking
909 enable_maintainer_mode
910 enable_dependency_tracking
919 ac_precious_vars
='build_alias
936 # Initialize some variables set by options.
938 ac_init_version
=false
939 ac_unrecognized_opts
=
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name
=s
,x
,x
,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir
='${exec_prefix}/bin'
965 sbindir
='${exec_prefix}/sbin'
966 libexecdir
='${exec_prefix}/libexec'
967 datarootdir
='${prefix}/share'
968 datadir
='${datarootdir}'
969 sysconfdir
='${prefix}/etc'
970 sharedstatedir
='${prefix}/com'
971 localstatedir
='${prefix}/var'
972 includedir
='${prefix}/include'
973 oldincludedir
='/usr/include'
974 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir
='${datarootdir}/info'
980 libdir
='${exec_prefix}/lib'
981 localedir
='${datarootdir}/locale'
982 mandir
='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\
$ac_option
996 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1000 # Accept the important Cygnus configure options, so we can diagnose typos.
1002 case $ac_dashdash$ac_option in
1006 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1008 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1009 bindir
=$ac_optarg ;;
1011 -build |
--build |
--buil |
--bui |
--bu)
1012 ac_prev
=build_alias
;;
1013 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1014 build_alias
=$ac_optarg ;;
1016 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1017 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1018 ac_prev
=cache_file
;;
1019 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1020 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1021 cache_file
=$ac_optarg ;;
1023 --config-cache |
-C)
1024 cache_file
=config.cache
;;
1026 -datadir |
--datadir |
--datadi |
--datad)
1028 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1029 datadir
=$ac_optarg ;;
1031 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1032 |
--dataroo |
--dataro |
--datar)
1033 ac_prev
=datarootdir
;;
1034 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1035 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1036 datarootdir
=$ac_optarg ;;
1038 -disable-* |
--disable-*)
1039 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1042 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1043 { (exit 1); exit 1; }; }
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_
$ac_useropt"
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval enable_
$ac_useropt=no
;;
1055 -docdir |
--docdir |
--docdi |
--doc |
--do)
1057 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1058 docdir
=$ac_optarg ;;
1060 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1062 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1063 dvidir
=$ac_optarg ;;
1065 -enable-* |
--enable-*)
1066 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1069 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1070 { (exit 1); exit 1; }; }
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_
$ac_useropt"
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval enable_
$ac_useropt=\
$ac_optarg ;;
1082 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1083 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1084 |
--exec |
--exe |
--ex)
1085 ac_prev
=exec_prefix
;;
1086 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1087 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1088 |
--exec=* |
--exe=* |
--ex=*)
1089 exec_prefix
=$ac_optarg ;;
1091 -gas |
--gas |
--ga |
--g)
1092 # Obsolete; use --with-gas.
1095 -help |
--help |
--hel |
--he |
-h)
1096 ac_init_help
=long
;;
1097 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1098 ac_init_help
=recursive
;;
1099 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1100 ac_init_help
=short
;;
1102 -host |
--host |
--hos |
--ho)
1103 ac_prev
=host_alias
;;
1104 -host=* |
--host=* |
--hos=* |
--ho=*)
1105 host_alias
=$ac_optarg ;;
1107 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1109 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1111 htmldir
=$ac_optarg ;;
1113 -includedir |
--includedir |
--includedi |
--included |
--include \
1114 |
--includ |
--inclu |
--incl |
--inc)
1115 ac_prev
=includedir
;;
1116 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1117 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1118 includedir
=$ac_optarg ;;
1120 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1122 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1123 infodir
=$ac_optarg ;;
1125 -libdir |
--libdir |
--libdi |
--libd)
1127 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1128 libdir
=$ac_optarg ;;
1130 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1131 |
--libexe |
--libex |
--libe)
1132 ac_prev
=libexecdir
;;
1133 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1134 |
--libexe=* |
--libex=* |
--libe=*)
1135 libexecdir
=$ac_optarg ;;
1137 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1138 ac_prev
=localedir
;;
1139 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1140 localedir
=$ac_optarg ;;
1142 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1143 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1144 ac_prev
=localstatedir
;;
1145 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1146 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1147 localstatedir
=$ac_optarg ;;
1149 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1151 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1152 mandir
=$ac_optarg ;;
1154 -nfp |
--nfp |
--nf)
1155 # Obsolete; use --without-fp.
1158 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1159 |
--no-cr |
--no-c |
-n)
1162 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1163 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1166 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1167 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1168 |
--oldin |
--oldi |
--old |
--ol |
--o)
1169 ac_prev
=oldincludedir
;;
1170 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1171 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1172 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1173 oldincludedir
=$ac_optarg ;;
1175 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1177 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1178 prefix
=$ac_optarg ;;
1180 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1181 |
--program-pre |
--program-pr |
--program-p)
1182 ac_prev
=program_prefix
;;
1183 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1184 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1185 program_prefix
=$ac_optarg ;;
1187 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1188 |
--program-suf |
--program-su |
--program-s)
1189 ac_prev
=program_suffix
;;
1190 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1191 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1192 program_suffix
=$ac_optarg ;;
1194 -program-transform-name |
--program-transform-name \
1195 |
--program-transform-nam |
--program-transform-na \
1196 |
--program-transform-n |
--program-transform- \
1197 |
--program-transform |
--program-transfor \
1198 |
--program-transfo |
--program-transf \
1199 |
--program-trans |
--program-tran \
1200 |
--progr-tra |
--program-tr |
--program-t)
1201 ac_prev
=program_transform_name
;;
1202 -program-transform-name=* |
--program-transform-name=* \
1203 |
--program-transform-nam=* |
--program-transform-na=* \
1204 |
--program-transform-n=* |
--program-transform-=* \
1205 |
--program-transform=* |
--program-transfor=* \
1206 |
--program-transfo=* |
--program-transf=* \
1207 |
--program-trans=* |
--program-tran=* \
1208 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1209 program_transform_name
=$ac_optarg ;;
1211 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1213 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1214 pdfdir
=$ac_optarg ;;
1216 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1218 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1222 |
-silent |
--silent |
--silen |
--sile |
--sil)
1225 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1227 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1229 sbindir
=$ac_optarg ;;
1231 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1232 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1233 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1235 ac_prev
=sharedstatedir
;;
1236 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1237 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1238 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1240 sharedstatedir
=$ac_optarg ;;
1242 -site |
--site |
--sit)
1244 -site=* |
--site=* |
--sit=*)
1247 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1249 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1250 srcdir
=$ac_optarg ;;
1252 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1253 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1254 ac_prev
=sysconfdir
;;
1255 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1256 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1257 sysconfdir
=$ac_optarg ;;
1259 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1260 ac_prev
=target_alias
;;
1261 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1262 target_alias
=$ac_optarg ;;
1264 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1267 -version |
--version |
--versio |
--versi |
--vers |
-V)
1268 ac_init_version
=: ;;
1271 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1275 { (exit 1); exit 1; }; }
1276 ac_useropt_orig
=$ac_useropt
1277 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1283 ac_unrecognized_sep
=', ';;
1285 eval with_
$ac_useropt=\
$ac_optarg ;;
1287 -without-* |
--without-*)
1288 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1289 # Reject names that are not valid shell variable names.
1290 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1291 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1292 { (exit 1); exit 1; }; }
1293 ac_useropt_orig
=$ac_useropt
1294 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295 case $ac_user_opts in
1299 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300 ac_unrecognized_sep
=', ';;
1302 eval with_
$ac_useropt=no
;;
1305 # Obsolete; use --with-x.
1308 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1309 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1310 ac_prev
=x_includes
;;
1311 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1312 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1313 x_includes
=$ac_optarg ;;
1315 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1316 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1317 ac_prev
=x_libraries
;;
1318 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1319 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1320 x_libraries
=$ac_optarg ;;
1322 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1323 Try \`$0 --help' for more information." >&2
1324 { (exit 1); exit 1; }; }
1328 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1329 # Reject names that are not valid shell variable names.
1330 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1331 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1332 { (exit 1); exit 1; }; }
1333 eval $ac_envvar=\
$ac_optarg
1334 export $ac_envvar ;;
1337 # FIXME: should be removed in autoconf 3.0.
1338 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1340 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1347 if test -n "$ac_prev"; then
1348 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1349 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1350 { (exit 1); exit 1; }; }
1353 if test -n "$ac_unrecognized_opts"; then
1354 case $enable_option_checking in
1356 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1357 { (exit 1); exit 1; }; } ;;
1358 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1362 # Check all directory arguments for consistency.
1363 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1364 datadir sysconfdir sharedstatedir localstatedir includedir \
1365 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1366 libdir localedir mandir
1368 eval ac_val
=\$
$ac_var
1369 # Remove trailing slashes.
1372 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1373 eval $ac_var=\
$ac_val;;
1375 # Be sure to have absolute directory names.
1377 [\\/$
]* | ?
:[\\/]* ) continue;;
1378 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1380 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1381 { (exit 1); exit 1; }; }
1384 # There might be people who depend on the old broken behavior: `$host'
1385 # used to hold the argument of --host etc.
1386 # FIXME: To remove some day.
1389 target
=$target_alias
1391 # FIXME: To remove some day.
1392 if test "x$host_alias" != x
; then
1393 if test "x$build_alias" = x
; then
1394 cross_compiling
=maybe
1395 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1396 If a cross compiler is detected then cross compile mode will be used." >&2
1397 elif test "x$build_alias" != "x$host_alias"; then
1403 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1405 test "$silent" = yes && exec 6>/dev
/null
1408 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1409 ac_ls_di
=`ls -di .` &&
1410 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1411 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1412 { (exit 1); exit 1; }; }
1413 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1414 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1415 { (exit 1); exit 1; }; }
1418 # Find the source files, if location was not specified.
1419 if test -z "$srcdir"; then
1420 ac_srcdir_defaulted
=yes
1421 # Try the directory containing this script, then the parent directory.
1422 ac_confdir
=`$as_dirname -- "$as_myself" ||
1423 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1424 X"$as_myself" : 'X\(//\)[^/]' \| \
1425 X"$as_myself" : 'X\(//\)$' \| \
1426 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1427 $as_echo X"$as_myself" |
1428 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1446 if test ! -r "$srcdir/$ac_unique_file"; then
1450 ac_srcdir_defaulted
=no
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1453 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1454 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1455 { (exit 1); exit 1; }; }
1457 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1459 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1460 { (exit 1); exit 1; }; }
1462 # When building in place, set srcdir=.
1463 if test "$ac_abs_confdir" = "$ac_pwd"; then
1466 # Remove unnecessary trailing slashes from srcdir.
1467 # Double slashes in file names in object file debugging info
1468 # mess up M-x gdb in Emacs.
1470 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1472 for ac_var
in $ac_precious_vars; do
1473 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1474 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1475 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1476 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1480 # Report the --help message.
1482 if test "$ac_init_help" = "long"; then
1483 # Omit some internal or obsolete options to make the list less imposing.
1484 # This message is too long to be a string in the A/UX 3.1 sh.
1486 \`configure' configures netpgp 20091221 to adapt to many kinds of systems.
1488 Usage: $0 [OPTION]... [VAR=VALUE]...
1490 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1491 VAR=VALUE. See below for descriptions of some of the useful variables.
1493 Defaults for the options are specified in brackets.
1496 -h, --help display this help and exit
1497 --help=short display options specific to this package
1498 --help=recursive display the short help of all the included packages
1499 -V, --version display version information and exit
1500 -q, --quiet, --silent do not print \`checking...' messages
1501 --cache-file=FILE cache test results in FILE [disabled]
1502 -C, --config-cache alias for \`--cache-file=config.cache'
1503 -n, --no-create do not create output files
1504 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1506 Installation directories:
1507 --prefix=PREFIX install architecture-independent files in PREFIX
1508 [$ac_default_prefix]
1509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1512 By default, \`make install' will install all the files in
1513 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1514 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1515 for instance \`--prefix=\$HOME'.
1517 For better control, use the options below.
1519 Fine tuning of the installation directories:
1520 --bindir=DIR user executables [EPREFIX/bin]
1521 --sbindir=DIR system admin executables [EPREFIX/sbin]
1522 --libexecdir=DIR program executables [EPREFIX/libexec]
1523 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1524 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1525 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1526 --libdir=DIR object code libraries [EPREFIX/lib]
1527 --includedir=DIR C header files [PREFIX/include]
1528 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1529 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1530 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1531 --infodir=DIR info documentation [DATAROOTDIR/info]
1532 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1533 --mandir=DIR man documentation [DATAROOTDIR/man]
1534 --docdir=DIR documentation root [DATAROOTDIR/doc/netpgp]
1535 --htmldir=DIR html documentation [DOCDIR]
1536 --dvidir=DIR dvi documentation [DOCDIR]
1537 --pdfdir=DIR pdf documentation [DOCDIR]
1538 --psdir=DIR ps documentation [DOCDIR]
1544 --program-prefix=PREFIX prepend PREFIX to installed program names
1545 --program-suffix=SUFFIX append SUFFIX to installed program names
1546 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1549 --build=BUILD configure
for building on BUILD
[guessed
]
1550 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short | recursive
) echo "Configuration of netpgp 20091221:";;
1561 --disable-option-checking ignore unrecognized
--enable/--with options
1562 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1563 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1564 --enable-maintainer-mode enable make rules and dependencies not useful
1565 (and sometimes confusing
) to the casual installer
1566 --disable-dependency-tracking speeds up one-time build
1567 --enable-dependency-tracking do not reject slow dependency extractors
1568 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1569 --enable-static[=PKGS
] build static libraries
[default
=yes]
1570 --enable-fast-install[=PKGS
]
1571 optimize
for fast installation
[default
=yes]
1572 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1575 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1576 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1577 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1578 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1580 --with-tags[=TAGS
] include additional configurations
[automatic
]
1582 Some influential environment variables
:
1583 CC C compiler
command
1584 CFLAGS C compiler flags
1585 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1586 nonstandard directory
<lib dir
>
1587 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1588 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1589 you have headers
in a nonstandard directory
<include dir
>
1591 CXX C
++ compiler
command
1592 CXXFLAGS C
++ compiler flags
1593 CXXCPP C
++ preprocessor
1594 F77 Fortran
77 compiler
command
1595 FFLAGS Fortran
77 compiler flags
1597 Use these variables to override the choices made by
`configure' or to help
1598 it to find libraries and programs with nonstandard names/locations.
1600 Report bugs to <Alistair Crooks <agc@netbsd.org> c0596823>.
1605 if test "$ac_init_help" = "recursive"; then
1606 # If there are subdirs, report their specific --help.
1607 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1608 test -d "$ac_dir" ||
1609 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1614 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1616 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1617 # A ".." for each directory in $ac_dir_suffix.
1618 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1619 case $ac_top_builddir_sub in
1620 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1624 ac_abs_top_builddir=$ac_pwd
1625 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1626 # for backward compatibility:
1627 ac_top_builddir=$ac_top_build_prefix
1630 .) # We are building in place.
1632 ac_top_srcdir=$ac_top_builddir_sub
1633 ac_abs_top_srcdir=$ac_pwd ;;
1634 [\\/]* | ?:[\\/]* ) # Absolute name.
1635 ac_srcdir=$srcdir$ac_dir_suffix;
1636 ac_top_srcdir=$srcdir
1637 ac_abs_top_srcdir=$srcdir ;;
1639 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1640 ac_top_srcdir=$ac_top_build_prefix$srcdir
1641 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1643 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1645 cd "$ac_dir" || { ac_status=$?; continue; }
1646 # Check for guested configure.
1647 if test -f "$ac_srcdir/configure.gnu"; then
1649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1650 elif test -f "$ac_srcdir/configure"; then
1652 $SHELL "$ac_srcdir/configure" --help=recursive
1654 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1656 cd "$ac_pwd" || { ac_status=$?; break; }
1660 test -n "$ac_init_help" && exit $ac_status
1661 if $ac_init_version; then
1663 netpgp configure 20091221
1664 generated by GNU Autoconf 2.63
1666 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1667 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1668 This configure script is free software; the Free Software Foundation
1669 gives unlimited permission to copy, distribute and modify it.
1673 cat >config.log <<_ACEOF
1674 This file contains any messages produced by compilers while
1675 running configure, to aid debugging if configure makes a mistake.
1677 It was created by netpgp $as_me 20091221, which was
1678 generated by GNU Autoconf 2.63. Invocation command line was
1690 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1691 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1692 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1693 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1694 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1696 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1697 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1699 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1700 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1701 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1702 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1703 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1704 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1705 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1713 test -z "$as_dir" && as_dir=.
1714 $as_echo "PATH: $as_dir"
1730 # Keep a trace of the command line.
1731 # Strip out --no-create and --no-recursion so they do not pile up.
1732 # Strip out --silent because we don't want to record it for future runs.
1733 # Also quote any args containing shell meta-characters.
1734 # Make two passes to allow for proper duplicate-argument suppression.
1738 ac_must_keep_next=false
1744 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1745 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1746 | -silent | --silent | --silen | --sile | --sil)
1749 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1752 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1754 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1755 if test $ac_must_keep_next = true; then
1756 ac_must_keep_next=false # Got value, back to normal.
1759 *=* | --config-cache | -C | -disable-* | --disable-* \
1760 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1761 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1762 | -with-* | --with-* | -without-* | --without-* | --x)
1763 case "$ac_configure_args0 " in
1764 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1767 -* ) ac_must_keep_next=true ;;
1770 ac_configure_args="$ac_configure_args '$ac_arg'"
1775 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1776 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1778 # When interrupted or exit'd, cleanup temporary files, and complete
1779 # config.log. We remove comments because anyway the quotes in there
1780 # would cause problems or look ugly.
1781 # WARNING: Use '\'' to represent an apostrophe within the trap.
1782 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1783 trap 'exit_status=$?
1784 # Save into config.log some information that might help in debugging.
1789 ## ---------------- ##
1790 ## Cache variables. ##
1791 ## ---------------- ##
1794 # The following way of writing the cache mishandles newlines in values,
1796 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1797 eval ac_val=\$$ac_var
1801 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1802 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1805 _ | IFS | as_nl) ;; #(
1806 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1807 *) $as_unset $ac_var ;;
1812 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1813 *${as_nl}ac_space=\ *)
1815 "s/'\''/'\''\\\\'\'''\''/g;
1816 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1819 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1827 ## ----------------- ##
1828 ## Output variables. ##
1829 ## ----------------- ##
1832 for ac_var in $ac_subst_vars
1834 eval ac_val=\$$ac_var
1836 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1838 $as_echo "$ac_var='\''$ac_val'\''"
1842 if test -n "$ac_subst_files"; then
1844 ## ------------------- ##
1845 ## File substitutions. ##
1846 ## ------------------- ##
1849 for ac_var in $ac_subst_files
1851 eval ac_val=\$$ac_var
1853 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1855 $as_echo "$ac_var='\''$ac_val'\''"
1860 if test -s confdefs.h; then
1870 test "$ac_signal" != 0 &&
1871 $as_echo "$as_me: caught signal $ac_signal"
1872 $as_echo "$as_me: exit $exit_status"
1874 rm -f core *.core core.conftest.* &&
1875 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1878 for ac_signal in 1 2 13 15; do
1879 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1883 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1884 rm -f -r conftest* confdefs.h
1886 # Predefined preprocessor variables.
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_NAME "$PACKAGE_NAME"
1893 cat >>confdefs.h <<_ACEOF
1894 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1898 cat >>confdefs.h <<_ACEOF
1899 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1903 cat >>confdefs.h <<_ACEOF
1904 #define PACKAGE_STRING "$PACKAGE_STRING"
1908 cat >>confdefs.h <<_ACEOF
1909 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1913 # Let the site file select an alternate cache file if it wants to.
1914 # Prefer an explicitly selected file to automatically selected ones.
1917 if test -n "$CONFIG_SITE"; then
1918 ac_site_file1=$CONFIG_SITE
1919 elif test "x$prefix" != xNONE; then
1920 ac_site_file1=$prefix/share/config.site
1921 ac_site_file2=$prefix/etc/config.site
1923 ac_site_file1=$ac_default_prefix/share/config.site
1924 ac_site_file2=$ac_default_prefix/etc/config.site
1926 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1928 test "x$ac_site_file" = xNONE && continue
1929 if test -r "$ac_site_file"; then
1930 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1931 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1932 sed 's/^/| /' "$ac_site_file" >&5
1937 if test -r "$cache_file"; then
1938 # Some versions of bash will fail to source /dev/null (special
1939 # files actually), so we avoid doing that.
1940 if test -f "$cache_file"; then
1941 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1942 $as_echo "$as_me: loading cache $cache_file" >&6;}
1944 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1945 *) . "./$cache_file";;
1949 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1950 $as_echo "$as_me: creating cache $cache_file" >&6;}
1954 # Check that the precious variables saved in the cache have kept the same
1956 ac_cache_corrupted=false
1957 for ac_var in $ac_precious_vars; do
1958 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1959 eval ac_new_set=\$ac_env_${ac_var}_set
1960 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1961 eval ac_new_val=\$ac_env_${ac_var}_value
1962 case $ac_old_set,$ac_new_set in
1964 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1965 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1966 ac_cache_corrupted=: ;;
1968 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1969 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1970 ac_cache_corrupted=: ;;
1973 if test "x$ac_old_val" != "x$ac_new_val"; then
1974 # differences in whitespace do not lead to failure.
1975 ac_old_val_w=`echo x
$ac_old_val`
1976 ac_new_val_w=`echo x
$ac_new_val`
1977 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1978 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1979 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1980 ac_cache_corrupted=:
1982 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1983 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1984 eval $ac_var=\$ac_old_val
1986 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1987 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1988 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1989 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1992 # Pass precious variables to config.status.
1993 if test "$ac_new_set" = set; then
1995 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1996 *) ac_arg=$ac_var=$ac_new_val ;;
1998 case " $ac_configure_args " in
1999 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2000 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2004 if $ac_cache_corrupted; then
2005 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2007 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2008 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2009 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2010 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2011 { (exit 1); exit 1; }; }
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2048 ## --------------------- ##
2049 ## M4sh Initialization. ##
2050 ## --------------------- ##
2052 # Be more Bourne compatible
2053 DUALCASE=1; export DUALCASE # for MKS sh
2054 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2057 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2058 # is contrary to our usage. Disable this feature.
2059 alias -g '${1+"$@"}'='"$@
"'
2060 setopt NO_GLOB_SUBST
2062 case `(set -o) 2>/dev/null` in
2063 *posix*) set -o posix ;;
2072 # Avoid depending upon Character Ranges.
2073 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2074 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2075 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2076 as_cr_digits='0123456789'
2077 as_cr_alnum=$as_cr_Letters$as_cr_digits
2082 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2083 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2084 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2085 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2086 if (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
2087 as_echo='printf %s\n'
2088 as_echo_n='printf %s'
2090 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
2091 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2092 as_echo_n='/usr/ucb/echo -n'
2094 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
2095 as_echo_n_body='eval
2099 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
2100 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
2102 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
2104 export as_echo_n_body
2105 as_echo_n='sh -c $as_echo_n_body as_echo'
2108 as_echo='sh -c $as_echo_body as_echo'
2111 # The user is always right.
2112 if test "${PATH_SEPARATOR+set}" != set; then
2114 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2115 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2120 # Support unset when possible.
2121 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2129 # We need space, tab and new line, in precisely that order. Quoting is
2130 # there to prevent editors from complaining about space-tab.
2131 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2132 # splitting by setting IFS to empty value.)
2135 # Find who we are. Look in the path if we contain no directory separator.
2137 *[\\/]* ) as_myself=$0 ;;
2138 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir=.
2143 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2149 # We did not find ourselves, most probably we were run as `sh COMMAND'
2150 # in which case we are not to be found in the path.
2151 if test "x
$as_myself" = x; then
2154 if test ! -f "$as_myself"; then
2155 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
2156 { (exit 1); exit 1; }
2159 # Work around bugs in pre-3.0 UWIN ksh.
2160 for as_var in ENV MAIL MAILPATH
2161 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2173 # Required to use basename.
2174 if expr a : '\(a\)' >/dev/null 2>&1 &&
2175 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
2181 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
2182 as_basename=basename
2188 # Name of the executable.
2189 as_me=`$as_basename -- "$0" ||
2190 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2191 X"$0" : 'X\(//\)$' \| \
2192 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2194 sed '/^.*\/\([^/][^/]*\)\/*$/{
2214 for ac_dir in buildaux "$srcdir"/buildaux; do
2215 if test -f "$ac_dir/install-sh
"; then
2217 ac_install_sh="$ac_aux_dir/install-sh
-c"
2219 elif test -f "$ac_dir/install.sh
"; then
2221 ac_install_sh="$ac_aux_dir/install.sh
-c"
2223 elif test -f "$ac_dir/shtool
"; then
2225 ac_install_sh="$ac_aux_dir/shtool
install -c"
2229 if test -z "$ac_aux_dir"; then
2230 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in buildaux
\"$srcdir\"/buildaux
" >&5
2231 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in buildaux
\"$srcdir\"/buildaux
" >&2;}
2232 { (exit 1); exit 1; }; }
2235 # These three variables are undocumented and unsupported,
2236 # and are intended to be withdrawn in a future Autoconf release.
2237 # They can cause serious problems if a builder's source tree is in a directory
2238 # whose full name contains unusual characters.
2239 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2240 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2241 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2244 ac_config_headers="$ac_config_headers src
/lib
/config.h
"
2247 am__api_version='1.10'
2249 # Find a good install program. We prefer a C program (faster),
2250 # so one script is as good as another. But avoid the broken or
2251 # incompatible versions:
2252 # SysV /etc/install, /usr/sbin/install
2253 # SunOS /usr/etc/install
2254 # IRIX /sbin/install
2256 # AmigaOS /C/install, which installs bootblocks on floppy discs
2257 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2258 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2259 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2260 # OS/2's system install, which has a completely different semantic
2261 # ./install, which can be erroneously created by make from ./install.sh.
2262 # Reject install programs that cannot install multiple files.
2263 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2264 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2265 if test -z "$INSTALL"; then
2266 if test "${ac_cv_path_install+set}" = set; then
2267 $as_echo_n "(cached
) " >&6
2269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir=.
2274 # Account for people who put trailing slashes in PATH elements.
2276 ./ | .// | /cC/* | \
2277 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2278 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2281 # OSF1 and SCO ODT 3.0 have their own names for install.
2282 # Don't use installbsd from OSF since it installs stuff as root
2284 for ac_prog in ginstall scoinst install; do
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2287 if test $ac_prog = install &&
2288 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2289 # AIX install. It has an incompatible calling convention.
2291 elif test $ac_prog = install &&
2292 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2293 # program-specific install script used by HP pwplus--don't use.
2296 rm -rf conftest.one conftest.two conftest.dir
2297 echo one > conftest.one
2298 echo two > conftest.two
2300 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2301 test -s conftest.one && test -s conftest.two &&
2302 test -s conftest.dir/conftest.one &&
2303 test -s conftest.dir/conftest.two
2305 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2318 rm -rf conftest.one conftest.two conftest.dir
2321 if test "${ac_cv_path_install+set}" = set; then
2322 INSTALL=$ac_cv_path_install
2324 # As a last resort, use the slow shell script. Don't cache a
2325 # value for INSTALL within a source directory, because that will
2326 # break other packages using the cache if that directory is
2327 # removed, or if the value is a relative name.
2328 INSTALL=$ac_install_sh
2331 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2332 $as_echo "$INSTALL" >&6; }
2334 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2335 # It thinks the first close brace ends the variable substitution.
2336 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2338 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2340 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2342 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2343 $as_echo_n "checking whether build environment is sane...
" >&6; }
2346 echo timestamp > conftest.file
2347 # Do `set' in a subshell so we don't clobber the current shell's
2348 # arguments. Must try -L first in case configure is actually a
2349 # symlink; some systems play weird games with the mod time of symlinks
2350 # (eg FreeBSD returns the mod time of the symlink's containing
2353 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2354 if test "$
*" = "X
"; then
2356 set X `ls -t $srcdir/configure conftest.file`
2359 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2360 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2362 # If neither matched, then we have a broken ls. This can happen
2363 # if, for instance, CONFIG_SHELL is bash and it inherits a
2364 # broken ls alias from the environment. This has actually
2365 # happened. Such a system could not be considered "sane
".
2366 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2367 alias in your environment
" >&5
2368 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2369 alias in your environment
" >&2;}
2370 { (exit 1); exit 1; }; }
2373 test "$2" = conftest.file
2379 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2380 Check your system
clock" >&5
2381 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2382 Check your system
clock" >&2;}
2383 { (exit 1); exit 1; }; }
2385 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2386 $as_echo "yes" >&6; }
2387 test "$program_prefix" != NONE &&
2388 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2389 # Use a double $ so make ignores it.
2390 test "$program_suffix" != NONE &&
2391 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2392 # Double any \ or $.
2393 # By default was `s,x,x', remove it if useless.
2394 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2395 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2397 # expand $ac_aux_dir to an absolute path
2398 am_aux_dir=`cd $ac_aux_dir && pwd`
2400 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2401 # Use eval to expand $SHELL
2402 if eval "$MISSING --run true
"; then
2403 am_missing_run="$MISSING --run "
2406 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2407 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2410 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2411 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2412 if test -z "$MKDIR_P"; then
2413 if test "${ac_cv_path_mkdir+set}" = set; then
2414 $as_echo_n "(cached) " >&6
2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2420 test -z "$as_dir" && as_dir=.
2421 for ac_prog in mkdir gmkdir; do
2422 for ac_exec_ext in '' $ac_executable_extensions; do
2423 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2424 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2425 'mkdir
(GNU coreutils
) '* | \
2426 'mkdir
(coreutils
) '* | \
2427 'mkdir
(fileutils
) '4.1*)
2428 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2438 if test "${ac_cv_path_mkdir+set}" = set; then
2439 MKDIR_P="$ac_cv_path_mkdir -p"
2441 # As a last resort, use the slow shell script. Don't cache a
2442 # value for MKDIR_P within a source directory, because that will
2443 # break other packages using the cache if that directory is
2444 # removed, or if the value is a relative name.
2445 test -d .
/--version && rmdir .
/--version
2446 MKDIR_P
="$ac_install_sh -d"
2449 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2450 $as_echo "$MKDIR_P" >&6; }
2454 [\\/$
]* | ?
:[\\/]*) ;;
2455 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2458 for ac_prog
in gawk mawk nawk
awk
2460 # Extract the first word of "$ac_prog", so it can be a program name with args.
2461 set dummy
$ac_prog; ac_word
=$2
2462 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 $as_echo_n "checking for $ac_word... " >&6; }
2464 if test "${ac_cv_prog_AWK+set}" = set; then
2465 $as_echo_n "(cached) " >&6
2467 if test -n "$AWK"; then
2468 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir
=.
2475 for ac_exec_ext
in '' $ac_executable_extensions; do
2476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2477 ac_cv_prog_AWK
="$ac_prog"
2478 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2488 if test -n "$AWK"; then
2489 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2490 $as_echo "$AWK" >&6; }
2492 { $as_echo "$as_me:$LINENO: result: no" >&5
2493 $as_echo "no" >&6; }
2497 test -n "$AWK" && break
2500 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2501 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2503 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2504 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2505 $as_echo_n "(cached) " >&6
2507 cat >conftest.
make <<\_ACEOF
2510 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2512 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2513 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2515 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2517 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2521 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2522 { $as_echo "$as_me:$LINENO: result: yes" >&5
2523 $as_echo "yes" >&6; }
2526 { $as_echo "$as_me:$LINENO: result: no" >&5
2527 $as_echo "no" >&6; }
2528 SET_MAKE
="MAKE=${MAKE-make}"
2531 rm -rf .tst
2>/dev
/null
2532 mkdir .tst
2>/dev
/null
2533 if test -d .tst
; then
2538 rmdir .tst
2>/dev
/null
2540 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2541 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2542 # is not polluted with repeated "-I."
2543 am__isrc
=' -I$(srcdir)'
2544 # test to see if srcdir already configured
2545 if test -f $srcdir/config.status
; then
2546 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2547 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2548 { (exit 1); exit 1; }; }
2552 # test whether we have cygpath
2553 if test -z "$CYGPATH_W"; then
2554 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2555 CYGPATH_W
='cygpath -w'
2562 # Define the identity of the package.
2567 cat >>confdefs.h
<<_ACEOF
2568 #define PACKAGE "$PACKAGE"
2572 cat >>confdefs.h
<<_ACEOF
2573 #define VERSION "$VERSION"
2576 # Some tools Automake needs.
2578 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2581 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2584 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2587 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2590 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2592 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2594 # Installed binaries are usually stripped using `strip' when the user
2595 # run `make install-strip'. However `strip' might not be the right
2596 # tool to use in cross-compilation environments, therefore Automake
2597 # will honor the `STRIP' environment variable to overrule this program.
2598 if test "$cross_compiling" != no
; then
2599 if test -n "$ac_tool_prefix"; then
2600 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2601 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2602 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2603 $as_echo_n "checking for $ac_word... " >&6; }
2604 if test "${ac_cv_prog_STRIP+set}" = set; then
2605 $as_echo_n "(cached) " >&6
2607 if test -n "$STRIP"; then
2608 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir
=.
2615 for ac_exec_ext
in '' $ac_executable_extensions; do
2616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2617 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2618 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 STRIP
=$ac_cv_prog_STRIP
2628 if test -n "$STRIP"; then
2629 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2630 $as_echo "$STRIP" >&6; }
2632 { $as_echo "$as_me:$LINENO: result: no" >&5
2633 $as_echo "no" >&6; }
2638 if test -z "$ac_cv_prog_STRIP"; then
2640 # Extract the first word of "strip", so it can be a program name with args.
2641 set dummy strip
; ac_word
=$2
2642 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 $as_echo_n "checking for $ac_word... " >&6; }
2644 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2645 $as_echo_n "(cached) " >&6
2647 if test -n "$ac_ct_STRIP"; then
2648 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2654 test -z "$as_dir" && as_dir
=.
2655 for ac_exec_ext
in '' $ac_executable_extensions; do
2656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2657 ac_cv_prog_ac_ct_STRIP
="strip"
2658 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2668 if test -n "$ac_ct_STRIP"; then
2669 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2670 $as_echo "$ac_ct_STRIP" >&6; }
2672 { $as_echo "$as_me:$LINENO: result: no" >&5
2673 $as_echo "no" >&6; }
2676 if test "x$ac_ct_STRIP" = x
; then
2679 case $cross_compiling:$ac_tool_warned in
2681 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2682 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2683 ac_tool_warned
=yes ;;
2688 STRIP
="$ac_cv_prog_STRIP"
2692 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2694 # We need awk for the "check" target. The system "awk" is bad on
2696 # Always define AMTAR for backward compatibility.
2698 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2700 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2706 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2707 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2708 # Check whether --enable-maintainer-mode was given.
2709 if test "${enable_maintainer_mode+set}" = set; then
2710 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2712 USE_MAINTAINER_MODE
=no
2715 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2716 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2717 if test $USE_MAINTAINER_MODE = yes; then
2718 MAINTAINER_MODE_TRUE
=
2719 MAINTAINER_MODE_FALSE
='#'
2721 MAINTAINER_MODE_TRUE
='#'
2722 MAINTAINER_MODE_FALSE
=
2725 MAINT
=$MAINTAINER_MODE_TRUE
2729 # Make sure we can run config.sub.
2730 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2731 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2732 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2733 { (exit 1); exit 1; }; }
2735 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2736 $as_echo_n "checking build system type... " >&6; }
2737 if test "${ac_cv_build+set}" = set; then
2738 $as_echo_n "(cached) " >&6
2740 ac_build_alias
=$build_alias
2741 test "x$ac_build_alias" = x
&&
2742 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2743 test "x$ac_build_alias" = x
&&
2744 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2745 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2746 { (exit 1); exit 1; }; }
2747 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2748 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2749 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2750 { (exit 1); exit 1; }; }
2753 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2754 $as_echo "$ac_cv_build" >&6; }
2755 case $ac_cv_build in
2757 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2758 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2759 { (exit 1); exit 1; }; };;
2762 ac_save_IFS
=$IFS; IFS
='-'
2768 # Remember, the first character of IFS is used to create $*,
2769 # except with old shells:
2772 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2775 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2776 $as_echo_n "checking host system type... " >&6; }
2777 if test "${ac_cv_host+set}" = set; then
2778 $as_echo_n "(cached) " >&6
2780 if test "x$host_alias" = x
; then
2781 ac_cv_host
=$ac_cv_build
2783 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2784 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2785 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2786 { (exit 1); exit 1; }; }
2790 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2791 $as_echo "$ac_cv_host" >&6; }
2794 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2795 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2796 { (exit 1); exit 1; }; };;
2799 ac_save_IFS
=$IFS; IFS
='-'
2805 # Remember, the first character of IFS is used to create $*,
2806 # except with old shells:
2809 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2812 CANONICAL_HOST
=$host
2815 # Checks for programs.
2817 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2818 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2820 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2821 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2822 $as_echo_n "(cached) " >&6
2824 cat >conftest.
make <<\_ACEOF
2827 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2829 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2830 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2832 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2834 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2838 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2839 { $as_echo "$as_me:$LINENO: result: yes" >&5
2840 $as_echo "yes" >&6; }
2843 { $as_echo "$as_me:$LINENO: result: no" >&5
2844 $as_echo "no" >&6; }
2845 SET_MAKE
="MAKE=${MAKE-make}"
2848 for ac_prog
in gawk mawk nawk
awk
2850 # Extract the first word of "$ac_prog", so it can be a program name with args.
2851 set dummy
$ac_prog; ac_word
=$2
2852 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if test "${ac_cv_prog_AWK+set}" = set; then
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$AWK"; then
2858 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 ac_cv_prog_AWK
="$ac_prog"
2868 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2878 if test -n "$AWK"; then
2879 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2880 $as_echo "$AWK" >&6; }
2882 { $as_echo "$as_me:$LINENO: result: no" >&5
2883 $as_echo "no" >&6; }
2887 test -n "$AWK" && break
2891 ac_cpp
='$CPP $CPPFLAGS'
2892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2895 if test -n "$ac_tool_prefix"; then
2896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2897 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2898 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test "${ac_cv_prog_CC+set}" = set; then
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$CC"; then
2904 ac_cv_prog_CC
="$CC" # Let the user override the test.
2906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir
=.
2911 for ac_exec_ext
in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2914 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test -n "$CC"; then
2925 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2926 $as_echo "$CC" >&6; }
2928 { $as_echo "$as_me:$LINENO: result: no" >&5
2929 $as_echo "no" >&6; }
2934 if test -z "$ac_cv_prog_CC"; then
2936 # Extract the first word of "gcc", so it can be a program name with args.
2937 set dummy gcc
; ac_word
=$2
2938 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$ac_ct_CC"; then
2944 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir
=.
2951 for ac_exec_ext
in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_ac_ct_CC
="gcc"
2954 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2964 if test -n "$ac_ct_CC"; then
2965 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2966 $as_echo "$ac_ct_CC" >&6; }
2968 { $as_echo "$as_me:$LINENO: result: no" >&5
2969 $as_echo "no" >&6; }
2972 if test "x$ac_ct_CC" = x
; then
2975 case $cross_compiling:$ac_tool_warned in
2977 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2979 ac_tool_warned
=yes ;;
2987 if test -z "$CC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2990 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2991 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2992 $as_echo_n "checking for $ac_word... " >&6; }
2993 if test "${ac_cv_prog_CC+set}" = set; then
2994 $as_echo_n "(cached) " >&6
2996 if test -n "$CC"; then
2997 ac_cv_prog_CC
="$CC" # Let the user override the test.
2999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir
=.
3004 for ac_exec_ext
in '' $ac_executable_extensions; do
3005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3006 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3007 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 if test -n "$CC"; then
3018 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3019 $as_echo "$CC" >&6; }
3021 { $as_echo "$as_me:$LINENO: result: no" >&5
3022 $as_echo "no" >&6; }
3028 if test -z "$CC"; then
3029 # Extract the first word of "cc", so it can be a program name with args.
3030 set dummy cc
; ac_word
=$2
3031 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if test "${ac_cv_prog_CC+set}" = set; then
3034 $as_echo_n "(cached) " >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC
="$CC" # Let the user override the test.
3040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir
=.
3045 for ac_exec_ext
in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3048 ac_prog_rejected
=yes
3052 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 if test $ac_prog_rejected = yes; then
3060 # We found a bogon in the path, so make sure we never use it.
3061 set dummy
$ac_cv_prog_CC
3063 if test $# != 0; then
3064 # We chose a different compiler from the bogus one.
3065 # However, it has the same basename, so the bogon will be chosen
3066 # first if we set CC to just the basename; use the full file name.
3068 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3074 if test -n "$CC"; then
3075 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3076 $as_echo "$CC" >&6; }
3078 { $as_echo "$as_me:$LINENO: result: no" >&5
3079 $as_echo "no" >&6; }
3084 if test -z "$CC"; then
3085 if test -n "$ac_tool_prefix"; then
3086 for ac_prog
in cl.exe
3088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3089 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3090 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if test "${ac_cv_prog_CC+set}" = set; then
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$CC"; then
3096 ac_cv_prog_CC
="$CC" # Let the user override the test.
3098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir
=.
3103 for ac_exec_ext
in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3106 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test -n "$CC"; then
3117 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3118 $as_echo "$CC" >&6; }
3120 { $as_echo "$as_me:$LINENO: result: no" >&5
3121 $as_echo "no" >&6; }
3125 test -n "$CC" && break
3128 if test -z "$CC"; then
3130 for ac_prog
in cl.exe
3132 # Extract the first word of "$ac_prog", so it can be a program name with args.
3133 set dummy
$ac_prog; ac_word
=$2
3134 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$ac_ct_CC"; then
3140 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_exec_ext
in '' $ac_executable_extensions; do
3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149 ac_cv_prog_ac_ct_CC
="$ac_prog"
3150 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3160 if test -n "$ac_ct_CC"; then
3161 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3162 $as_echo "$ac_ct_CC" >&6; }
3164 { $as_echo "$as_me:$LINENO: result: no" >&5
3165 $as_echo "no" >&6; }
3169 test -n "$ac_ct_CC" && break
3172 if test "x$ac_ct_CC" = x
; then
3175 case $cross_compiling:$ac_tool_warned in
3177 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3179 ac_tool_warned
=yes ;;
3188 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3191 See \`config.log' for more details." >&5
3192 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3193 See \`config.log' for more details." >&2;}
3194 { (exit 1); exit 1; }; }; }
3196 # Provide some information about the compiler.
3197 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3200 { (ac_try
="$ac_compiler --version >&5"
3202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3206 $as_echo "$ac_try_echo") >&5
3207 (eval "$ac_compiler --version >&5") 2>&5
3209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }
3211 { (ac_try="$ac_compiler -v >&5"
3213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3214 *) ac_try_echo
=$ac_try;;
3216 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3217 $as_echo "$ac_try_echo") >&5
3218 (eval "$ac_compiler -v >&5") 2>&5
3220 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); }
3222 { (ac_try
="$ac_compiler -V >&5"
3224 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3225 *) ac_try_echo=$ac_try;;
3227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3228 $as_echo "$ac_try_echo") >&5
3229 (eval "$ac_compiler -V >&5") 2>&5
3231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); }
3234 cat >conftest.$ac_ext <<_ACEOF
3237 cat confdefs.h >>conftest.$ac_ext
3238 cat >>conftest.$ac_ext <<_ACEOF
3239 /* end confdefs.h. */
3249 ac_clean_files_save=$ac_clean_files
3250 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3251 # Try to create an executable without -o first, disregard a.out.
3252 # It will help us diagnose broken compilers, and finding out an intuition
3254 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3255 $as_echo_n "checking for C compiler default output file name... " >&6; }
3256 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3258 # The possible output files:
3259 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3262 for ac_file in $ac_files
3265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3266 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3271 if { (ac_try="$ac_link_default"
3273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3274 *) ac_try_echo
=$ac_try;;
3276 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3277 $as_echo "$ac_try_echo") >&5
3278 (eval "$ac_link_default") 2>&5
3280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); }; then
3282 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3283 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3284 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3285 # so that the user can short-circuit this test for compilers unknown to
3287 for ac_file
in $ac_files ''
3289 test -f "$ac_file" ||
continue
3291 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3294 # We found the default executable, but exeext='' is most
3298 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3300 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3302 # We set ac_cv_exeext here because the later test for it is not
3303 # safe: cross compilers may not add the suffix if given an `-o'
3304 # argument, so we may need to know it at that point already.
3305 # Even if this section looks crufty: it has the advantage of
3312 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3318 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3319 $as_echo "$ac_file" >&6; }
3320 if test -z "$ac_file"; then
3321 $as_echo "$as_me: failed program was:" >&5
3322 sed 's/^/| /' conftest.
$ac_ext >&5
3324 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3326 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3327 See \`config.log' for more details." >&5
3328 $as_echo "$as_me: error: C compiler cannot create executables
3329 See \`config.log' for more details." >&2;}
3330 { (exit 77); exit 77; }; }; }
3333 ac_exeext
=$ac_cv_exeext
3335 # Check that the compiler produces executables we can run. If not, either
3336 # the compiler is broken, or we cross compile.
3337 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3338 $as_echo_n "checking whether the C compiler works... " >&6; }
3339 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3340 # If not cross compiling, check that we can run a simple program.
3341 if test "$cross_compiling" != yes; then
3342 if { ac_try
='./$ac_file'
3343 { (case "(($ac_try" in
3344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3345 *) ac_try_echo=$ac_try;;
3347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3348 $as_echo "$ac_try_echo") >&5
3349 (eval "$ac_try") 2>&5
3351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; }; then
3355 if test "$cross_compiling" = maybe; then
3358 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3361 If you meant to cross compile
, use \
`--host'.
3362 See \`config.log
' for more details." >&5
3363 $as_echo "$as_me: error: cannot run C compiled programs.
3364 If you meant to cross compile, use \`--host'.
3365 See \
`config.log' for more details." >&2;}
3366 { (exit 1); exit 1; }; }; }
3370 { $as_echo "$as_me:$LINENO: result: yes" >&5
3371 $as_echo "yes" >&6; }
3373 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3374 ac_clean_files=$ac_clean_files_save
3375 # Check that the compiler produces executables we can run. If not, either
3376 # the compiler is broken, or we cross compile.
3377 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3378 $as_echo_n "checking whether we are cross compiling... " >&6; }
3379 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3380 $as_echo "$cross_compiling" >&6; }
3382 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3383 $as_echo_n "checking for suffix of executables... " >&6; }
3384 if { (ac_try="$ac_link"
3386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3387 *) ac_try_echo
=$ac_try;;
3389 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3390 $as_echo "$ac_try_echo") >&5
3391 (eval "$ac_link") 2>&5
3393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3394 (exit $ac_status); }; then
3395 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3396 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3397 # work properly (i.e., refer to `conftest.exe'), while it won't with
3399 for ac_file
in conftest.exe conftest conftest.
*; do
3400 test -f "$ac_file" ||
continue
3402 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3403 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3409 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3412 See \`config.log' for more details." >&5
3413 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3414 See \`config.log' for more details." >&2;}
3415 { (exit 1); exit 1; }; }; }
3418 rm -f conftest
$ac_cv_exeext
3419 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3420 $as_echo "$ac_cv_exeext" >&6; }
3422 rm -f conftest.
$ac_ext
3423 EXEEXT
=$ac_cv_exeext
3425 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3426 $as_echo_n "checking for suffix of object files... " >&6; }
3427 if test "${ac_cv_objext+set}" = set; then
3428 $as_echo_n "(cached) " >&6
3430 cat >conftest.
$ac_ext <<_ACEOF
3433 cat confdefs.h
>>conftest.
$ac_ext
3434 cat >>conftest.
$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3445 rm -f conftest.o conftest.obj
3446 if { (ac_try
="$ac_compile"
3448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3452 $as_echo "$ac_try_echo") >&5
3453 (eval "$ac_compile") 2>&5
3455 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); }; then
3457 for ac_file in conftest.o conftest.obj conftest.*; do
3458 test -f "$ac_file" || continue;
3460 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3461 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3466 $as_echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.$ac_ext >&5
3469 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3471 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3472 See \
`config.log' for more details." >&5
3473 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3474 See \`config.log
' for more details." >&2;}
3475 { (exit 1); exit 1; }; }; }
3478 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3480 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3481 $as_echo "$ac_cv_objext" >&6; }
3482 OBJEXT=$ac_cv_objext
3484 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3485 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3486 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3487 $as_echo_n "(cached) " >&6
3489 cat >conftest.$ac_ext <<_ACEOF
3492 cat confdefs.h >>conftest.$ac_ext
3493 cat >>conftest.$ac_ext <<_ACEOF
3494 /* end confdefs.h. */
3507 rm -f conftest.$ac_objext
3508 if { (ac_try="$ac_compile"
3510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3511 *) ac_try_echo=$ac_try;;
3513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3514 $as_echo "$ac_try_echo") >&5
3515 (eval "$ac_compile") 2>conftest.er1
3517 grep -v '^
*+' conftest.er1 >conftest.err
3519 cat conftest.err >&5
3520 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } && {
3522 test -z "$ac_c_werror_flag" ||
3523 test ! -s conftest.err
3524 } && test -s conftest.$ac_objext; then
3527 $as_echo "$as_me: failed program was:" >&5
3528 sed 's
/^
/|
/' conftest.$ac_ext >&5
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3537 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3538 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3539 if test $ac_compiler_gnu = yes; then
3544 ac_test_CFLAGS=${CFLAGS+set}
3545 ac_save_CFLAGS=$CFLAGS
3546 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3547 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3548 if test "${ac_cv_prog_cc_g+set}" = set; then
3549 $as_echo_n "(cached) " >&6
3551 ac_save_c_werror_flag=$ac_c_werror_flag
3552 ac_c_werror_flag=yes
3555 cat >conftest.$ac_ext <<_ACEOF
3558 cat confdefs.h >>conftest.$ac_ext
3559 cat >>conftest.$ac_ext <<_ACEOF
3560 /* end confdefs.h. */
3570 rm -f conftest.$ac_objext
3571 if { (ac_try="$ac_compile"
3573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3574 *) ac_try_echo=$ac_try;;
3576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3577 $as_echo "$ac_try_echo") >&5
3578 (eval "$ac_compile") 2>conftest.er1
3580 grep -v '^
*+' conftest.er1 >conftest.err
3582 cat conftest.err >&5
3583 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } && {
3585 test -z "$ac_c_werror_flag" ||
3586 test ! -s conftest.err
3587 } && test -s conftest.$ac_objext; then
3590 $as_echo "$as_me: failed program was:" >&5
3591 sed 's
/^
/|
/' conftest.$ac_ext >&5
3594 cat >conftest.$ac_ext <<_ACEOF
3597 cat confdefs.h >>conftest.$ac_ext
3598 cat >>conftest.$ac_ext <<_ACEOF
3599 /* end confdefs.h. */
3609 rm -f conftest.$ac_objext
3610 if { (ac_try="$ac_compile"
3612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613 *) ac_try_echo=$ac_try;;
3615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3616 $as_echo "$ac_try_echo") >&5
3617 (eval "$ac_compile") 2>conftest.er1
3619 grep -v '^
*+' conftest.er1 >conftest.err
3621 cat conftest.err >&5
3622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } && {
3624 test -z "$ac_c_werror_flag" ||
3625 test ! -s conftest.err
3626 } && test -s conftest.$ac_objext; then
3629 $as_echo "$as_me: failed program was:" >&5
3630 sed 's
/^
/|
/' conftest.$ac_ext >&5
3632 ac_c_werror_flag=$ac_save_c_werror_flag
3634 cat >conftest.$ac_ext <<_ACEOF
3637 cat confdefs.h >>conftest.$ac_ext
3638 cat >>conftest.$ac_ext <<_ACEOF
3639 /* end confdefs.h. */
3649 rm -f conftest.$ac_objext
3650 if { (ac_try="$ac_compile"
3652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3653 *) ac_try_echo=$ac_try;;
3655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3656 $as_echo "$ac_try_echo") >&5
3657 (eval "$ac_compile") 2>conftest.er1
3659 grep -v '^
*+' conftest.er1 >conftest.err
3661 cat conftest.err >&5
3662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } && {
3664 test -z "$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3666 } && test -s conftest.$ac_objext; then
3669 $as_echo "$as_me: failed program was:" >&5
3670 sed 's
/^
/|
/' conftest.$ac_ext >&5
3675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3682 ac_c_werror_flag=$ac_save_c_werror_flag
3684 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3685 $as_echo "$ac_cv_prog_cc_g" >&6; }
3686 if test "$ac_test_CFLAGS" = set; then
3687 CFLAGS=$ac_save_CFLAGS
3688 elif test $ac_cv_prog_cc_g = yes; then
3689 if test "$GCC" = yes; then
3695 if test "$GCC" = yes; then
3701 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3702 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3703 if test "${ac_cv_prog_cc_c89+set}" = set; then
3704 $as_echo_n "(cached) " >&6
3706 ac_cv_prog_cc_c89=no
3708 cat >conftest.$ac_ext <<_ACEOF
3711 cat confdefs.h >>conftest.$ac_ext
3712 cat >>conftest.$ac_ext <<_ACEOF
3713 /* end confdefs.h. */
3716 #include <sys/types.h>
3717 #include <sys/stat.h>
3718 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3719 struct buf
{ int x
; };
3720 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3721 static char
*e
(p
, i
)
3727 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3732 s
= g
(p
, va_arg
(v
,int
));
3737 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3738 function prototypes and stuff
, but not
'\xHH' hex character constants.
3739 These don
't provoke an error unfortunately, instead are silently treated
3740 as 'x
'. The following induces an error, until -std is added to get
3741 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3742 array size at least. It's necessary to
write '\x00'==0 to get something
3743 that
's true only with -std. */
3744 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3746 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3747 inside strings and character constants. */
3749 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3751 int test (int i, double x);
3752 struct s1 {int (*f) (int a);};
3753 struct s2 {int (*f) (double a);};
3754 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3760 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3765 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3766 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3768 CC="$ac_save_CC $ac_arg"
3769 rm -f conftest.$ac_objext
3770 if { (ac_try="$ac_compile"
3772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3773 *) ac_try_echo=$ac_try;;
3775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3776 $as_echo "$ac_try_echo") >&5
3777 (eval "$ac_compile") 2>conftest.er1
3779 grep -v '^
*+' conftest.er1 >conftest.err
3781 cat conftest.err >&5
3782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); } && {
3784 test -z "$ac_c_werror_flag" ||
3785 test ! -s conftest.err
3786 } && test -s conftest.$ac_objext; then
3787 ac_cv_prog_cc_c89=$ac_arg
3789 $as_echo "$as_me: failed program was:" >&5
3790 sed 's
/^
/|
/' conftest.$ac_ext >&5
3795 rm -f core conftest.err conftest.$ac_objext
3796 test "x$ac_cv_prog_cc_c89" != "xno" && break
3798 rm -f conftest.$ac_ext
3803 case "x$ac_cv_prog_cc_c89" in
3805 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3806 $as_echo "none needed" >&6; } ;;
3808 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3809 $as_echo "unsupported" >&6; } ;;
3811 CC="$CC $ac_cv_prog_cc_c89"
3812 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3813 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3818 ac_cpp='$CPP $CPPFLAGS'
3819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3820 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3822 DEPDIR="${am__leading_dot}deps"
3824 ac_config_commands="$ac_config_commands depfiles"
3827 am_make=${MAKE-make}
3828 cat > confinc << 'END
'
3833 # If we don't
find an include directive
, just comment out the code.
3834 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3835 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3839 # First try GNU make style include.
3840 echo "include confinc" > confmf
3841 # We grep out `Entering directory' and `Leaving directory'
3842 # messages which can occur if `w' ends up in MAKEFLAGS.
3843 # In particular we don't look at `^make:' because GNU make might
3844 # be invoked under some other name (usually "gmake"), in which
3845 # case it prints its new name instead of `make'.
3846 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3851 # Now try BSD make style include.
3852 if test "$am__include" = "#"; then
3853 echo '.include "confinc"' > confmf
3854 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3855 am__include
=.include
3862 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3863 $as_echo "$_am_result" >&6; }
3864 rm -f confinc confmf
3866 # Check whether --enable-dependency-tracking was given.
3867 if test "${enable_dependency_tracking+set}" = set; then
3868 enableval
=$enable_dependency_tracking;
3871 if test "x$enable_dependency_tracking" != xno
; then
3872 am_depcomp
="$ac_aux_dir/depcomp"
3875 if test "x$enable_dependency_tracking" != xno; then
3885 depcc
="$CC" am_compiler_list
=
3887 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3888 $as_echo_n "checking dependency style of $depcc... " >&6; }
3889 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3890 $as_echo_n "(cached) " >&6
3892 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3893 # We make a subdir and do the tests there. Otherwise we can end up
3894 # making bogus files that we don't know about and never remove. For
3895 # instance it was reported that on HP-UX the gcc test will end up
3896 # making a dummy file named `D' -- because `-MD' means `put the output
3899 # Copy depcomp to subdir because otherwise we won't find it if we're
3900 # using a relative directory.
3901 cp "$am_depcomp" conftest.dir
3903 # We will build objects and dependencies in a subdirectory because
3904 # it helps to detect inapplicable dependency modes. For instance
3905 # both Tru64's cc and ICC support -MD to output dependencies as a
3906 # side effect of compilation, but ICC will put the dependencies in
3907 # the current directory while Tru64 will put them in the object
3911 am_cv_CC_dependencies_compiler_type
=none
3912 if test "$am_compiler_list" = ""; then
3913 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3915 for depmode
in $am_compiler_list; do
3916 # Setup a source with many dependencies, because some compilers
3917 # like to wrap large dependency lists on column 80 (with \), and
3918 # we should not choose a depcomp mode which is confused by this.
3920 # We need to recreate these files for each test, as the compiler may
3921 # overwrite some of them when testing with obscure command lines.
3922 # This happens at least with the AIX C compiler.
3924 for i
in 1 2 3 4 5 6; do
3925 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3926 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3927 # Solaris 8's {/usr,}/bin/sh.
3928 touch sub
/conftst
$i.h
3930 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3934 # after this tag, mechanisms are not by side-effect, so they'll
3935 # only be used when explicitly requested
3936 if test "x$enable_dependency_tracking" = xyes
; then
3944 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3945 # mode. It turns out that the SunPro C++ compiler does not properly
3946 # handle `-M -o', and we need to detect this.
3947 if depmode
=$depmode \
3948 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3949 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3950 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3951 >/dev
/null
2>conftest.err
&&
3952 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3953 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3954 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3955 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3956 # icc doesn't choke on unknown options, it will just issue warnings
3957 # or remarks (even with -Werror). So we grep stderr for any message
3958 # that says an option was ignored or not supported.
3959 # When given -MP, icc 7.0 and 7.1 complain thusly:
3960 # icc: Command line warning: ignoring option '-M'; no argument required
3961 # The diagnosis changed in icc 8.0:
3962 # icc: Command line remark: option '-MP' not supported
3963 if (grep 'ignoring option' conftest.err ||
3964 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3965 am_cv_CC_dependencies_compiler_type
=$depmode
3974 am_cv_CC_dependencies_compiler_type
=none
3978 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3979 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3980 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3983 test "x$enable_dependency_tracking" != xno \
3984 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3986 am__fastdepCC_FALSE
='#'
3988 am__fastdepCC_TRUE
='#'
3989 am__fastdepCC_FALSE
=
3993 # Find a good install program. We prefer a C program (faster),
3994 # so one script is as good as another. But avoid the broken or
3995 # incompatible versions:
3996 # SysV /etc/install, /usr/sbin/install
3997 # SunOS /usr/etc/install
3998 # IRIX /sbin/install
4000 # AmigaOS /C/install, which installs bootblocks on floppy discs
4001 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4002 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4003 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4004 # OS/2's system install, which has a completely different semantic
4005 # ./install, which can be erroneously created by make from ./install.sh.
4006 # Reject install programs that cannot install multiple files.
4007 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4008 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4009 if test -z "$INSTALL"; then
4010 if test "${ac_cv_path_install+set}" = set; then
4011 $as_echo_n "(cached) " >&6
4013 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4017 test -z "$as_dir" && as_dir
=.
4018 # Account for people who put trailing slashes in PATH elements.
4020 .
/ | .
// |
/cC
/* | \
4021 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4022 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4025 # OSF1 and SCO ODT 3.0 have their own names for install.
4026 # Don't use installbsd from OSF since it installs stuff as root
4028 for ac_prog
in ginstall scoinst
install; do
4029 for ac_exec_ext
in '' $ac_executable_extensions; do
4030 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4031 if test $ac_prog = install &&
4032 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4033 # AIX install. It has an incompatible calling convention.
4035 elif test $ac_prog = install &&
4036 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4037 # program-specific install script used by HP pwplus--don't use.
4040 rm -rf conftest.one conftest.two conftest.dir
4041 echo one
> conftest.one
4042 echo two
> conftest.two
4044 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4045 test -s conftest.one
&& test -s conftest.two
&&
4046 test -s conftest.dir
/conftest.one
&&
4047 test -s conftest.dir
/conftest.two
4049 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4062 rm -rf conftest.one conftest.two conftest.dir
4065 if test "${ac_cv_path_install+set}" = set; then
4066 INSTALL
=$ac_cv_path_install
4068 # As a last resort, use the slow shell script. Don't cache a
4069 # value for INSTALL within a source directory, because that will
4070 # break other packages using the cache if that directory is
4071 # removed, or if the value is a relative name.
4072 INSTALL
=$ac_install_sh
4075 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4076 $as_echo "$INSTALL" >&6; }
4078 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4079 # It thinks the first close brace ends the variable substitution.
4080 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4082 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4084 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4086 # Check whether --enable-shared was given.
4087 if test "${enable_shared+set}" = set; then
4088 enableval
=$enable_shared; p
=${PACKAGE-default}
4090 yes) enable_shared
=yes ;;
4091 no
) enable_shared
=no
;;
4094 # Look at the argument we got. We use all the common list separators.
4095 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4096 for pkg
in $enableval; do
4098 if test "X$pkg" = "X$p"; then
4110 # Check whether --enable-static was given.
4111 if test "${enable_static+set}" = set; then
4112 enableval
=$enable_static; p
=${PACKAGE-default}
4114 yes) enable_static
=yes ;;
4115 no
) enable_static
=no
;;
4118 # Look at the argument we got. We use all the common list separators.
4119 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4120 for pkg
in $enableval; do
4122 if test "X$pkg" = "X$p"; then
4134 # Check whether --enable-fast-install was given.
4135 if test "${enable_fast_install+set}" = set; then
4136 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4138 yes) enable_fast_install
=yes ;;
4139 no
) enable_fast_install
=no
;;
4141 enable_fast_install
=no
4142 # Look at the argument we got. We use all the common list separators.
4143 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4144 for pkg
in $enableval; do
4146 if test "X$pkg" = "X$p"; then
4147 enable_fast_install
=yes
4154 enable_fast_install
=yes
4158 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4159 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4160 if test "${lt_cv_path_SED+set}" = set; then
4161 $as_echo_n "(cached) " >&6
4163 # Loop through the user's path and test for sed and gsed.
4164 # Then use that list of sed's as ones to test for truncation.
4165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4169 test -z "$as_dir" && as_dir
=.
4170 for lt_ac_prog
in sed gsed
; do
4171 for ac_exec_ext
in '' $ac_executable_extensions; do
4172 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4173 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4181 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4182 # along with /bin/sed that truncates output.
4183 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4184 test ! -f $lt_ac_sed && continue
4185 cat /dev
/null
> conftest.
in
4187 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4188 # Check for GNU sed and select it if it is found.
4189 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4190 lt_cv_path_SED
=$lt_ac_sed
4194 cat conftest.
in conftest.
in >conftest.tmp
4195 mv conftest.tmp conftest.
in
4196 cp conftest.
in conftest.
nl
4198 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4199 cmp -s conftest.out conftest.
nl ||
break
4200 # 10000 chars as input seems more than enough
4201 test $lt_ac_count -gt 10 && break
4202 lt_ac_count
=`expr $lt_ac_count + 1`
4203 if test $lt_ac_count -gt $lt_ac_max; then
4204 lt_ac_max
=$lt_ac_count
4205 lt_cv_path_SED
=$lt_ac_sed
4214 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4215 $as_echo "$SED" >&6; }
4217 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4218 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4219 if test "${ac_cv_path_GREP+set}" = set; then
4220 $as_echo_n "(cached) " >&6
4222 if test -z "$GREP"; then
4223 ac_path_GREP_found
=false
4224 # Loop through the user's path and test for each of PROGNAME-LIST
4225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4226 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4229 test -z "$as_dir" && as_dir
=.
4230 for ac_prog
in grep ggrep
; do
4231 for ac_exec_ext
in '' $ac_executable_extensions; do
4232 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4233 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4234 # Check for GNU ac_path_GREP and select it if it is found.
4235 # Check for GNU $ac_path_GREP
4236 case `"$ac_path_GREP" --version 2>&1` in
4238 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4241 $as_echo_n 0123456789 >"conftest.in"
4244 cat "conftest.in" "conftest.in" >"conftest.tmp"
4245 mv "conftest.tmp" "conftest.in"
4246 cp "conftest.in" "conftest.nl"
4247 $as_echo 'GREP' >> "conftest.nl"
4248 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4249 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4250 ac_count
=`expr $ac_count + 1`
4251 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4252 # Best one so far, save it but keep looking for a better one
4253 ac_cv_path_GREP
="$ac_path_GREP"
4254 ac_path_GREP_max
=$ac_count
4256 # 10*(2^10) chars as input seems more than enough
4257 test $ac_count -gt 10 && break
4259 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4262 $ac_path_GREP_found && break 3
4267 if test -z "$ac_cv_path_GREP"; then
4268 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4269 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4270 { (exit 1); exit 1; }; }
4273 ac_cv_path_GREP
=$GREP
4277 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4278 $as_echo "$ac_cv_path_GREP" >&6; }
4279 GREP
="$ac_cv_path_GREP"
4282 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4283 $as_echo_n "checking for egrep... " >&6; }
4284 if test "${ac_cv_path_EGREP+set}" = set; then
4285 $as_echo_n "(cached) " >&6
4287 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4288 then ac_cv_path_EGREP
="$GREP -E"
4290 if test -z "$EGREP"; then
4291 ac_path_EGREP_found
=false
4292 # Loop through the user's path and test for each of PROGNAME-LIST
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4294 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_prog
in egrep; do
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4301 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4302 # Check for GNU ac_path_EGREP and select it if it is found.
4303 # Check for GNU $ac_path_EGREP
4304 case `"$ac_path_EGREP" --version 2>&1` in
4306 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4309 $as_echo_n 0123456789 >"conftest.in"
4312 cat "conftest.in" "conftest.in" >"conftest.tmp"
4313 mv "conftest.tmp" "conftest.in"
4314 cp "conftest.in" "conftest.nl"
4315 $as_echo 'EGREP' >> "conftest.nl"
4316 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4317 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4318 ac_count
=`expr $ac_count + 1`
4319 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4320 # Best one so far, save it but keep looking for a better one
4321 ac_cv_path_EGREP
="$ac_path_EGREP"
4322 ac_path_EGREP_max
=$ac_count
4324 # 10*(2^10) chars as input seems more than enough
4325 test $ac_count -gt 10 && break
4327 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4330 $ac_path_EGREP_found && break 3
4335 if test -z "$ac_cv_path_EGREP"; then
4336 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4337 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4338 { (exit 1); exit 1; }; }
4341 ac_cv_path_EGREP
=$EGREP
4346 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4347 $as_echo "$ac_cv_path_EGREP" >&6; }
4348 EGREP
="$ac_cv_path_EGREP"
4352 # Check whether --with-gnu-ld was given.
4353 if test "${with_gnu_ld+set}" = set; then
4354 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4360 if test "$GCC" = yes; then
4361 # Check if gcc -print-prog-name=ld gives a path.
4362 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4363 $as_echo_n "checking for ld used by $CC... " >&6; }
4366 # gcc leaves a trailing carriage return which upsets mingw
4367 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4369 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4372 # Accept absolute paths.
4374 re_direlt
='/[^/][^/]*/\.\./'
4375 # Canonicalize the pathname of ld
4376 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4377 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4378 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4380 test -z "$LD" && LD
="$ac_prog"
4383 # If it fails, then pretend we aren't using GCC.
4387 # If it is relative, then search for the first ld in PATH.
4391 elif test "$with_gnu_ld" = yes; then
4392 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4393 $as_echo_n "checking for GNU ld... " >&6; }
4395 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4396 $as_echo_n "checking for non-GNU ld... " >&6; }
4398 if test "${lt_cv_path_LD+set}" = set; then
4399 $as_echo_n "(cached) " >&6
4401 if test -z "$LD"; then
4402 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4403 for ac_dir
in $PATH; do
4405 test -z "$ac_dir" && ac_dir
=.
4406 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4407 lt_cv_path_LD
="$ac_dir/$ac_prog"
4408 # Check to see if the program is GNU ld. I'd rather use --version,
4409 # but apparently some variants of GNU ld only accept -v.
4410 # Break only if it was the GNU/non-GNU ld that we prefer.
4411 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4412 *GNU
* |
*'with BFD'*)
4413 test "$with_gnu_ld" != no
&& break
4416 test "$with_gnu_ld" != yes && break
4423 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4428 if test -n "$LD"; then
4429 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4430 $as_echo "$LD" >&6; }
4432 { $as_echo "$as_me:$LINENO: result: no" >&5
4433 $as_echo "no" >&6; }
4435 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4436 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4437 { (exit 1); exit 1; }; }
4438 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4439 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4440 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4441 $as_echo_n "(cached) " >&6
4443 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4444 case `$LD -v 2>&1 </dev/null` in
4445 *GNU
* |
*'with BFD'*)
4446 lt_cv_prog_gnu_ld
=yes
4449 lt_cv_prog_gnu_ld
=no
4453 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4454 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4455 with_gnu_ld
=$lt_cv_prog_gnu_ld
4458 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4459 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4460 if test "${lt_cv_ld_reload_flag+set}" = set; then
4461 $as_echo_n "(cached) " >&6
4463 lt_cv_ld_reload_flag
='-r'
4465 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4466 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4467 reload_flag
=$lt_cv_ld_reload_flag
4468 case $reload_flag in
4470 *) reload_flag
=" $reload_flag" ;;
4472 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4475 if test "$GCC" = yes; then
4476 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4478 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4483 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4484 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4485 if test "${lt_cv_path_NM+set}" = set; then
4486 $as_echo_n "(cached) " >&6
4488 if test -n "$NM"; then
4489 # Let the user override the test.
4492 lt_nm_to_check
="${ac_tool_prefix}nm"
4493 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4494 lt_nm_to_check
="$lt_nm_to_check nm"
4496 for lt_tmp_nm
in $lt_nm_to_check; do
4497 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4498 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4500 test -z "$ac_dir" && ac_dir
=.
4501 tmp_nm
="$ac_dir/$lt_tmp_nm"
4502 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4503 # Check to see if the nm accepts a BSD-compat flag.
4504 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4505 # nm: unknown option "B" ignored
4506 # Tru64's nm complains that /dev/null is an invalid object file
4507 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4508 */dev
/null
* |
*'Invalid file or object type'*)
4509 lt_cv_path_NM
="$tmp_nm -B"
4513 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4515 lt_cv_path_NM
="$tmp_nm -p"
4519 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4520 continue # so that we can try to find one that supports BSD flags
4529 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4532 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4533 $as_echo "$lt_cv_path_NM" >&6; }
4536 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4537 $as_echo_n "checking whether ln -s works... " >&6; }
4539 if test "$LN_S" = "ln -s"; then
4540 { $as_echo "$as_me:$LINENO: result: yes" >&5
4541 $as_echo "yes" >&6; }
4543 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4544 $as_echo "no, using $LN_S" >&6; }
4547 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4548 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4549 if test "${lt_cv_deplibs_check_method+set}" = set; then
4550 $as_echo_n "(cached) " >&6
4552 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4553 lt_cv_file_magic_test_file
=
4554 lt_cv_deplibs_check_method
='unknown'
4555 # Need to set the preceding variable on all platforms that support
4556 # interlibrary dependencies.
4557 # 'none' -- dependencies not supported.
4558 # `unknown' -- same as none, but documents that we really don't know.
4559 # 'pass_all' -- all dependencies passed with no checks.
4560 # 'test_compile' -- check by making test program.
4561 # 'file_magic [[regex]]' -- check by looking for files in library path
4562 # which responds to the $file_magic_cmd with a given extended regex.
4563 # If you have `file' or equivalent on your system and you're not sure
4564 # whether `pass_all' will *always* work, you probably want this one.
4568 lt_cv_deplibs_check_method
=pass_all
4572 lt_cv_deplibs_check_method
=pass_all
4576 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4577 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4578 lt_cv_file_magic_test_file
=/shlib
/libc.so
4582 # func_win32_libid is a shell function defined in ltmain.sh
4583 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4584 lt_cv_file_magic_cmd
='func_win32_libid'
4588 # Base MSYS/MinGW do not provide the 'file' command needed by
4589 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4590 # unless we find 'file', for example because we are cross-compiling.
4591 if ( file / ) >/dev
/null
2>&1; then
4592 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4593 lt_cv_file_magic_cmd
='func_win32_libid'
4595 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4596 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4600 darwin
* | rhapsody
*)
4601 lt_cv_deplibs_check_method
=pass_all
4604 freebsd
* | dragonfly
*)
4605 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4608 # Not sure whether the presence of OpenBSD here was a mistake.
4609 # Let's accept both of them until this is cleared up.
4610 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4611 lt_cv_file_magic_cmd
=/usr
/bin
/file
4612 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4616 lt_cv_deplibs_check_method
=pass_all
4621 lt_cv_deplibs_check_method
=pass_all
4624 hpux10.20
* | hpux11
*)
4625 lt_cv_file_magic_cmd
=/usr
/bin
/file
4628 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4629 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4632 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]'
4633 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4636 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4637 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4643 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4644 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4647 irix5
* | irix6
* | nonstopux
*)
4649 *-32|
*"-32 ") libmagic
=32-bit;;
4650 *-n32|
*"-n32 ") libmagic
=N32
;;
4651 *-64|
*"-64 ") libmagic
=64-bit;;
4652 *) libmagic
=never-match
;;
4654 lt_cv_deplibs_check_method
=pass_all
4657 # This must be Linux ELF.
4658 linux
* | k
*bsd
*-gnu)
4659 lt_cv_deplibs_check_method
=pass_all
4663 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4664 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4666 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4671 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4672 lt_cv_file_magic_cmd
=/usr
/bin
/file
4673 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4677 lt_cv_deplibs_check_method
=unknown
4681 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4682 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4684 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4688 osf3
* | osf4
* | osf5
*)
4689 lt_cv_deplibs_check_method
=pass_all
4693 lt_cv_deplibs_check_method
=pass_all
4697 lt_cv_deplibs_check_method
=pass_all
4701 case $host_vendor in
4703 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]'
4704 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4707 lt_cv_deplibs_check_method
=pass_all
4710 lt_cv_file_magic_cmd
='/bin/file'
4711 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4714 lt_cv_file_magic_cmd
='/bin/file'
4715 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4716 lt_cv_file_magic_test_file
=/lib
/libc.so
4719 lt_cv_deplibs_check_method
=pass_all
4722 lt_cv_deplibs_check_method
=pass_all
4727 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4728 lt_cv_deplibs_check_method
=pass_all
4733 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4734 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4735 file_magic_cmd
=$lt_cv_file_magic_cmd
4736 deplibs_check_method
=$lt_cv_deplibs_check_method
4737 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4742 # If no C compiler was specified, use CC.
4745 # If no C compiler flags were specified, use CFLAGS.
4746 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4748 # Allow CC to be a program name with arguments.
4752 # Check whether --enable-libtool-lock was given.
4753 if test "${enable_libtool_lock+set}" = set; then
4754 enableval
=$enable_libtool_lock;
4757 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4759 # Some flags need to be propagated to the compiler or linker for good
4763 # Find out which ABI we are using.
4764 echo 'int i;' > conftest.
$ac_ext
4765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4766 (eval $ac_compile) 2>&5
4768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); }; then
4770 case `/usr/bin/file conftest.$ac_objext` in
4782 # Find out which ABI we are using.
4783 echo '#line 4783 "configure"' > conftest.
$ac_ext
4784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4785 (eval $ac_compile) 2>&5
4787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4788 (exit $ac_status); }; then
4789 if test "$lt_cv_prog_gnu_ld" = yes; then
4790 case `/usr/bin/file conftest.$ac_objext` in
4792 LD
="${LD-ld} -melf32bsmip"
4795 LD
="${LD-ld} -melf32bmipn32"
4798 LD
="${LD-ld} -melf64bmip"
4802 case `/usr/bin/file conftest.$ac_objext` in
4818 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4819 s390
*-*linux
*|sparc
*-*linux
*)
4820 # Find out which ABI we are using.
4821 echo 'int i;' > conftest.
$ac_ext
4822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4823 (eval $ac_compile) 2>&5
4825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); }; then
4827 case `/usr/bin/file conftest.o` in
4830 x86_64-
*kfreebsd
*-gnu)
4831 LD
="${LD-ld} -m elf_i386_fbsd"
4834 LD
="${LD-ld} -m elf_i386"
4836 ppc64-
*linux
*|powerpc64-
*linux
*)
4837 LD
="${LD-ld} -m elf32ppclinux"
4840 LD
="${LD-ld} -m elf_s390"
4843 LD
="${LD-ld} -m elf32_sparc"
4849 x86_64-
*kfreebsd
*-gnu)
4850 LD
="${LD-ld} -m elf_x86_64_fbsd"
4853 LD
="${LD-ld} -m elf_x86_64"
4855 ppc
*-*linux
*|powerpc
*-*linux
*)
4856 LD
="${LD-ld} -m elf64ppc"
4859 LD
="${LD-ld} -m elf64_s390"
4862 LD
="${LD-ld} -m elf64_sparc"
4872 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4873 SAVE_CFLAGS
="$CFLAGS"
4874 CFLAGS
="$CFLAGS -belf"
4875 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4876 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4877 if test "${lt_cv_cc_needs_belf+set}" = set; then
4878 $as_echo_n "(cached) " >&6
4881 ac_cpp
='$CPP $CPPFLAGS'
4882 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4883 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4884 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4886 cat >conftest.
$ac_ext <<_ACEOF
4889 cat confdefs.h
>>conftest.
$ac_ext
4890 cat >>conftest.
$ac_ext <<_ACEOF
4891 /* end confdefs.h. */
4901 rm -f conftest.
$ac_objext conftest
$ac_exeext
4902 if { (ac_try
="$ac_link"
4904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4905 *) ac_try_echo=$ac_try;;
4907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4908 $as_echo "$ac_try_echo") >&5
4909 (eval "$ac_link") 2>conftest.er1
4911 grep -v '^ *+' conftest.er1 >conftest.err
4913 cat conftest.err >&5
4914 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4915 (exit $ac_status); } && {
4916 test -z "$ac_c_werror_flag" ||
4917 test ! -s conftest.err
4918 } && test -s conftest$ac_exeext && {
4919 test "$cross_compiling" = yes ||
4920 $as_test_x conftest$ac_exeext
4922 lt_cv_cc_needs_belf=yes
4924 $as_echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4927 lt_cv_cc_needs_belf=no
4930 rm -rf conftest.dSYM
4931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4932 conftest$ac_exeext conftest.$ac_ext
4934 ac_cpp='$CPP $CPPFLAGS'
4935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4940 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4941 $as_echo "$lt_cv_cc_needs_belf" >&6; }
4942 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4943 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4944 CFLAGS="$SAVE_CFLAGS"
4948 # Find out which ABI we are using.
4949 echo 'int i;' > conftest.$ac_ext
4950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951 (eval $ac_compile) 2>&5
4953 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; then
4955 case `/usr
/bin
/file conftest.o
` in
4957 case $lt_cv_prog_gnu_ld in
4958 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4959 *) LD="${LD-ld} -64" ;;
4970 need_locks="$enable_libtool_lock"
4974 ac_cpp='$CPP $CPPFLAGS'
4975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4978 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4979 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4980 # On Suns, sometimes $CPP names a directory.
4981 if test -n "$CPP" && test -d "$CPP"; then
4984 if test -z "$CPP"; then
4985 if test "${ac_cv_prog_CPP+set}" = set; then
4986 $as_echo_n "(cached) " >&6
4988 # Double quotes because CPP needs to be expanded
4989 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4992 for ac_c_preproc_warn_flag in '' yes
4994 # Use a header file that comes with gcc, so configuring glibc
4995 # with a fresh cross-compiler works.
4996 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4997 # <limits.h> exists even on freestanding compilers.
4998 # On the NeXT, cc -E runs the code through the compiler's parser,
4999 # not just through cpp. "Syntax error" is here to catch this case.
5000 cat >conftest.$ac_ext <<_ACEOF
5003 cat confdefs.h >>conftest.$ac_ext
5004 cat >>conftest.$ac_ext <<_ACEOF
5005 /* end confdefs.h. */
5007 # include <limits.h>
5009 # include <assert.h>
5013 if { (ac_try="$ac_cpp conftest.$ac_ext"
5015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5016 *) ac_try_echo
=$ac_try;;
5018 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5019 $as_echo "$ac_try_echo") >&5
5020 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5022 grep -v '^ *+' conftest.er1
>conftest.err
5024 cat conftest.err
>&5
5025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } >/dev
/null
&& {
5027 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5028 test ! -s conftest.err
5032 $as_echo "$as_me: failed program was:" >&5
5033 sed 's/^/| /' conftest.
$ac_ext >&5
5035 # Broken: fails on valid input.
5039 rm -f conftest.err conftest.
$ac_ext
5041 # OK, works on sane cases. Now check whether nonexistent headers
5042 # can be detected and how.
5043 cat >conftest.
$ac_ext <<_ACEOF
5046 cat confdefs.h
>>conftest.
$ac_ext
5047 cat >>conftest.
$ac_ext <<_ACEOF
5048 /* end confdefs.h. */
5049 #include <ac_nonexistent.h>
5051 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5054 *) ac_try_echo=$ac_try;;
5056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5057 $as_echo "$ac_try_echo") >&5
5058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5060 grep -v '^ *+' conftest.er1 >conftest.err
5062 cat conftest.err >&5
5063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } >/dev/null && {
5065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5066 test ! -s conftest.err
5068 # Broken: success on invalid input.
5071 $as_echo "$as_me: failed program was:" >&5
5072 sed 's/^/| /' conftest.$ac_ext >&5
5074 # Passes both tests.
5079 rm -f conftest.err conftest.$ac_ext
5082 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5083 rm -f conftest.err conftest.
$ac_ext
5084 if $ac_preproc_ok; then
5096 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5097 $as_echo "$CPP" >&6; }
5099 for ac_c_preproc_warn_flag
in '' yes
5101 # Use a header file that comes with gcc, so configuring glibc
5102 # with a fresh cross-compiler works.
5103 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5104 # <limits.h> exists even on freestanding compilers.
5105 # On the NeXT, cc -E runs the code through the compiler's parser,
5106 # not just through cpp. "Syntax error" is here to catch this case.
5107 cat >conftest.
$ac_ext <<_ACEOF
5110 cat confdefs.h
>>conftest.
$ac_ext
5111 cat >>conftest.
$ac_ext <<_ACEOF
5112 /* end confdefs.h. */
5114 # include <limits.h>
5116 # include <assert.h>
5120 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5122 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5123 *) ac_try_echo=$ac_try;;
5125 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5126 $as_echo "$ac_try_echo") >&5
5127 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5129 grep -v '^ *+' conftest.er1 >conftest.err
5131 cat conftest.err >&5
5132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); } >/dev/null && {
5134 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5135 test ! -s conftest.err
5139 $as_echo "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.$ac_ext >&5
5142 # Broken: fails on valid input.
5146 rm -f conftest.err conftest.$ac_ext
5148 # OK, works on sane cases. Now check whether nonexistent headers
5149 # can be detected and how.
5150 cat >conftest.$ac_ext <<_ACEOF
5153 cat confdefs.h >>conftest.$ac_ext
5154 cat >>conftest.$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 #include <ac_nonexistent.h>
5158 if { (ac_try="$ac_cpp conftest.$ac_ext"
5160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5161 *) ac_try_echo
=$ac_try;;
5163 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5164 $as_echo "$ac_try_echo") >&5
5165 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5167 grep -v '^ *+' conftest.er1
>conftest.err
5169 cat conftest.err
>&5
5170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); } >/dev
/null
&& {
5172 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5173 test ! -s conftest.err
5175 # Broken: success on invalid input.
5178 $as_echo "$as_me: failed program was:" >&5
5179 sed 's/^/| /' conftest.
$ac_ext >&5
5181 # Passes both tests.
5186 rm -f conftest.err conftest.
$ac_ext
5189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5190 rm -f conftest.err conftest.
$ac_ext
5191 if $ac_preproc_ok; then
5194 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5196 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5197 See \`config.log' for more details." >&5
5198 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5199 See \`config.log' for more details." >&2;}
5200 { (exit 1); exit 1; }; }; }
5204 ac_cpp
='$CPP $CPPFLAGS'
5205 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5206 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5207 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5210 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5211 $as_echo_n "checking for ANSI C header files... " >&6; }
5212 if test "${ac_cv_header_stdc+set}" = set; then
5213 $as_echo_n "(cached) " >&6
5215 cat >conftest.
$ac_ext <<_ACEOF
5218 cat confdefs.h
>>conftest.
$ac_ext
5219 cat >>conftest.
$ac_ext <<_ACEOF
5220 /* end confdefs.h. */
5234 rm -f conftest.
$ac_objext
5235 if { (ac_try
="$ac_compile"
5237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5241 $as_echo "$ac_try_echo") >&5
5242 (eval "$ac_compile") 2>conftest.er1
5244 grep -v '^ *+' conftest.er1 >conftest.err
5246 cat conftest.err >&5
5247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); } && {
5249 test -z "$ac_c_werror_flag" ||
5250 test ! -s conftest.err
5251 } && test -s conftest.$ac_objext; then
5252 ac_cv_header_stdc=yes
5254 $as_echo "$as_me: failed program was:" >&5
5255 sed 's/^/| /' conftest.$ac_ext >&5
5257 ac_cv_header_stdc=no
5260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5262 if test $ac_cv_header_stdc = yes; then
5263 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5264 cat >conftest.$ac_ext <<_ACEOF
5267 cat confdefs.h >>conftest.$ac_ext
5268 cat >>conftest.$ac_ext <<_ACEOF
5269 /* end confdefs.h. */
5273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5274 $EGREP "memchr" >/dev/null 2>&1; then
5277 ac_cv_header_stdc=no
5283 if test $ac_cv_header_stdc = yes; then
5284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5285 cat >conftest.$ac_ext <<_ACEOF
5288 cat confdefs.h >>conftest.$ac_ext
5289 cat >>conftest.$ac_ext <<_ACEOF
5290 /* end confdefs.h. */
5294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5295 $EGREP "free" >/dev/null 2>&1; then
5298 ac_cv_header_stdc=no
5304 if test $ac_cv_header_stdc = yes; then
5305 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5306 if test "$cross_compiling" = yes; then
5309 cat >conftest.$ac_ext <<_ACEOF
5312 cat confdefs.h >>conftest.$ac_ext
5313 cat >>conftest.$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5317 #if ((' ' & 0x0FF) == 0x020)
5318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5321 # define ISLOWER(c) \
5322 (('a' <= (c) && (c) <= 'i') \
5323 || ('j' <= (c) && (c) <= 'r') \
5324 || ('s' <= (c) && (c) <= 'z'))
5325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5333 for (i = 0; i < 256; i++)
5334 if (XOR (islower (i), ISLOWER (i))
5335 || toupper (i) != TOUPPER (i))
5340 rm -f conftest$ac_exeext
5341 if { (ac_try="$ac_link"
5343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5344 *) ac_try_echo
=$ac_try;;
5346 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5347 $as_echo "$ac_try_echo") >&5
5348 (eval "$ac_link") 2>&5
5350 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5352 { (case "(($ac_try" in
5353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5354 *) ac_try_echo=$ac_try;;
5356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5357 $as_echo "$ac_try_echo") >&5
5358 (eval "$ac_try") 2>&5
5360 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5361 (exit $ac_status); }; }; then
5364 $as_echo "$as_me: program exited with status $ac_status" >&5
5365 $as_echo "$as_me: failed program was:" >&5
5366 sed 's/^/| /' conftest.$ac_ext >&5
5369 ac_cv_header_stdc=no
5371 rm -rf conftest.dSYM
5372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5378 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5379 $as_echo "$ac_cv_header_stdc" >&6; }
5380 if test $ac_cv_header_stdc = yes; then
5382 cat >>confdefs.h <<\_ACEOF
5383 #define STDC_HEADERS 1
5388 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5398 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5399 inttypes.h stdint.h unistd.h
5401 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5402 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5403 $as_echo_n "checking for $ac_header... " >&6; }
5404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5405 $as_echo_n "(cached) " >&6
5407 cat >conftest.$ac_ext <<_ACEOF
5410 cat confdefs.h >>conftest.$ac_ext
5411 cat >>conftest.$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5413 $ac_includes_default
5415 #include <$ac_header>
5417 rm -f conftest.$ac_objext
5418 if { (ac_try="$ac_compile"
5420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5421 *) ac_try_echo
=$ac_try;;
5423 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5424 $as_echo "$ac_try_echo") >&5
5425 (eval "$ac_compile") 2>conftest.er1
5427 grep -v '^ *+' conftest.er1
>conftest.err
5429 cat conftest.err
>&5
5430 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); } && {
5432 test -z "$ac_c_werror_flag" ||
5433 test ! -s conftest.err
5434 } && test -s conftest.
$ac_objext; then
5435 eval "$as_ac_Header=yes"
5437 $as_echo "$as_me: failed program was:" >&5
5438 sed 's/^/| /' conftest.
$ac_ext >&5
5440 eval "$as_ac_Header=no"
5443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5445 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5446 $as_echo "$as_val"'`
5447 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5448 $as_echo "$ac_res" >&6; }
5449 as_val
=`eval 'as_val=${'$as_ac_Header'}
5450 $as_echo "$as_val"'`
5451 if test "x$as_val" = x
""yes; then
5452 cat >>confdefs.h
<<_ACEOF
5453 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5462 for ac_header
in dlfcn.h
5464 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5465 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5466 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5467 $as_echo_n "checking for $ac_header... " >&6; }
5468 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5469 $as_echo_n "(cached) " >&6
5471 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5472 $as_echo "$as_val"'`
5473 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5474 $as_echo "$ac_res" >&6; }
5476 # Is the header compilable?
5477 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5478 $as_echo_n "checking $ac_header usability... " >&6; }
5479 cat >conftest.
$ac_ext <<_ACEOF
5482 cat confdefs.h
>>conftest.
$ac_ext
5483 cat >>conftest.
$ac_ext <<_ACEOF
5484 /* end confdefs.h. */
5485 $ac_includes_default
5486 #include <$ac_header>
5488 rm -f conftest.
$ac_objext
5489 if { (ac_try
="$ac_compile"
5491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5492 *) ac_try_echo=$ac_try;;
5494 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5495 $as_echo "$ac_try_echo") >&5
5496 (eval "$ac_compile") 2>conftest.er1
5498 grep -v '^ *+' conftest.er1 >conftest.err
5500 cat conftest.err >&5
5501 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } && {
5503 test -z "$ac_c_werror_flag" ||
5504 test ! -s conftest.err
5505 } && test -s conftest.$ac_objext; then
5506 ac_header_compiler=yes
5508 $as_echo "$as_me: failed program was:" >&5
5509 sed 's/^/| /' conftest.$ac_ext >&5
5511 ac_header_compiler=no
5514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5515 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5516 $as_echo "$ac_header_compiler" >&6; }
5518 # Is the header present?
5519 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5520 $as_echo_n "checking $ac_header presence... " >&6; }
5521 cat >conftest.$ac_ext <<_ACEOF
5524 cat confdefs.h >>conftest.$ac_ext
5525 cat >>conftest.$ac_ext <<_ACEOF
5526 /* end confdefs.h. */
5527 #include <$ac_header>
5529 if { (ac_try="$ac_cpp conftest.$ac_ext"
5531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5532 *) ac_try_echo
=$ac_try;;
5534 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5535 $as_echo "$ac_try_echo") >&5
5536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5538 grep -v '^ *+' conftest.er1
>conftest.err
5540 cat conftest.err
>&5
5541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } >/dev
/null
&& {
5543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5544 test ! -s conftest.err
5546 ac_header_preproc
=yes
5548 $as_echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.
$ac_ext >&5
5551 ac_header_preproc
=no
5554 rm -f conftest.err conftest.
$ac_ext
5555 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5556 $as_echo "$ac_header_preproc" >&6; }
5558 # So? What about this header?
5559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5562 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5564 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5565 ac_header_preproc
=yes
5568 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5569 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5570 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5571 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5572 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5573 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5574 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5575 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5576 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5577 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5578 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5579 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5581 ## -------------------------------------------------------- ##
5582 ## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
5583 ## -------------------------------------------------------- ##
5585 ) |
sed "s/^/$as_me: WARNING: /" >&2
5588 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5589 $as_echo_n "checking for $ac_header... " >&6; }
5590 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5591 $as_echo_n "(cached) " >&6
5593 eval "$as_ac_Header=\$ac_header_preproc"
5595 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5596 $as_echo "$as_val"'`
5597 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5598 $as_echo "$ac_res" >&6; }
5601 as_val
=`eval 'as_val=${'$as_ac_Header'}
5602 $as_echo "$as_val"'`
5603 if test "x$as_val" = x
""yes; then
5604 cat >>confdefs.h
<<_ACEOF
5605 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5613 ac_cpp
='$CXXCPP $CPPFLAGS'
5614 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5615 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5616 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5617 if test -z "$CXX"; then
5618 if test -n "$CCC"; then
5621 if test -n "$ac_tool_prefix"; then
5622 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5625 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5626 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 $as_echo_n "checking for $ac_word... " >&6; }
5628 if test "${ac_cv_prog_CXX+set}" = set; then
5629 $as_echo_n "(cached) " >&6
5631 if test -n "$CXX"; then
5632 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5638 test -z "$as_dir" && as_dir
=.
5639 for ac_exec_ext
in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5642 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 if test -n "$CXX"; then
5653 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5654 $as_echo "$CXX" >&6; }
5656 { $as_echo "$as_me:$LINENO: result: no" >&5
5657 $as_echo "no" >&6; }
5661 test -n "$CXX" && break
5664 if test -z "$CXX"; then
5666 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5668 # Extract the first word of "$ac_prog", so it can be a program name with args.
5669 set dummy
$ac_prog; ac_word
=$2
5670 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5671 $as_echo_n "checking for $ac_word... " >&6; }
5672 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5673 $as_echo_n "(cached) " >&6
5675 if test -n "$ac_ct_CXX"; then
5676 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5682 test -z "$as_dir" && as_dir
=.
5683 for ac_exec_ext
in '' $ac_executable_extensions; do
5684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5685 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5686 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5695 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5696 if test -n "$ac_ct_CXX"; then
5697 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5698 $as_echo "$ac_ct_CXX" >&6; }
5700 { $as_echo "$as_me:$LINENO: result: no" >&5
5701 $as_echo "no" >&6; }
5705 test -n "$ac_ct_CXX" && break
5708 if test "x$ac_ct_CXX" = x
; then
5711 case $cross_compiling:$ac_tool_warned in
5713 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5715 ac_tool_warned
=yes ;;
5723 # Provide some information about the compiler.
5724 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5727 { (ac_try
="$ac_compiler --version >&5"
5729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5730 *) ac_try_echo=$ac_try;;
5732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5733 $as_echo "$ac_try_echo") >&5
5734 (eval "$ac_compiler --version >&5") 2>&5
5736 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); }
5738 { (ac_try="$ac_compiler -v >&5"
5740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5741 *) ac_try_echo
=$ac_try;;
5743 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5744 $as_echo "$ac_try_echo") >&5
5745 (eval "$ac_compiler -v >&5") 2>&5
5747 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5748 (exit $ac_status); }
5749 { (ac_try
="$ac_compiler -V >&5"
5751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5752 *) ac_try_echo=$ac_try;;
5754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5755 $as_echo "$ac_try_echo") >&5
5756 (eval "$ac_compiler -V >&5") 2>&5
5758 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }
5761 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5762 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5763 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5764 $as_echo_n "(cached) " >&6
5766 cat >conftest.$ac_ext <<_ACEOF
5769 cat confdefs.h >>conftest.$ac_ext
5770 cat >>conftest.$ac_ext <<_ACEOF
5771 /* end confdefs.h. */
5784 rm -f conftest.$ac_objext
5785 if { (ac_try="$ac_compile"
5787 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5788 *) ac_try_echo
=$ac_try;;
5790 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5791 $as_echo "$ac_try_echo") >&5
5792 (eval "$ac_compile") 2>conftest.er1
5794 grep -v '^ *+' conftest.er1
>conftest.err
5796 cat conftest.err
>&5
5797 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); } && {
5799 test -z "$ac_cxx_werror_flag" ||
5800 test ! -s conftest.err
5801 } && test -s conftest.
$ac_objext; then
5804 $as_echo "$as_me: failed program was:" >&5
5805 sed 's/^/| /' conftest.
$ac_ext >&5
5810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5811 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5814 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5815 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5816 if test $ac_compiler_gnu = yes; then
5821 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5822 ac_save_CXXFLAGS
=$CXXFLAGS
5823 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5824 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5825 if test "${ac_cv_prog_cxx_g+set}" = set; then
5826 $as_echo_n "(cached) " >&6
5828 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5829 ac_cxx_werror_flag
=yes
5832 cat >conftest.
$ac_ext <<_ACEOF
5835 cat confdefs.h
>>conftest.
$ac_ext
5836 cat >>conftest.
$ac_ext <<_ACEOF
5837 /* end confdefs.h. */
5847 rm -f conftest.
$ac_objext
5848 if { (ac_try
="$ac_compile"
5850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5851 *) ac_try_echo=$ac_try;;
5853 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5854 $as_echo "$ac_try_echo") >&5
5855 (eval "$ac_compile") 2>conftest.er1
5857 grep -v '^ *+' conftest.er1 >conftest.err
5859 cat conftest.err >&5
5860 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } && {
5862 test -z "$ac_cxx_werror_flag" ||
5863 test ! -s conftest.err
5864 } && test -s conftest.$ac_objext; then
5865 ac_cv_prog_cxx_g=yes
5867 $as_echo "$as_me: failed program was:" >&5
5868 sed 's/^/| /' conftest.$ac_ext >&5
5871 cat >conftest.$ac_ext <<_ACEOF
5874 cat confdefs.h >>conftest.$ac_ext
5875 cat >>conftest.$ac_ext <<_ACEOF
5876 /* end confdefs.h. */
5886 rm -f conftest.$ac_objext
5887 if { (ac_try="$ac_compile"
5889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5890 *) ac_try_echo
=$ac_try;;
5892 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5893 $as_echo "$ac_try_echo") >&5
5894 (eval "$ac_compile") 2>conftest.er1
5896 grep -v '^ *+' conftest.er1
>conftest.err
5898 cat conftest.err
>&5
5899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } && {
5901 test -z "$ac_cxx_werror_flag" ||
5902 test ! -s conftest.err
5903 } && test -s conftest.
$ac_objext; then
5906 $as_echo "$as_me: failed program was:" >&5
5907 sed 's/^/| /' conftest.
$ac_ext >&5
5909 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5911 cat >conftest.
$ac_ext <<_ACEOF
5914 cat confdefs.h
>>conftest.
$ac_ext
5915 cat >>conftest.
$ac_ext <<_ACEOF
5916 /* end confdefs.h. */
5926 rm -f conftest.
$ac_objext
5927 if { (ac_try
="$ac_compile"
5929 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5930 *) ac_try_echo=$ac_try;;
5932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5933 $as_echo "$ac_try_echo") >&5
5934 (eval "$ac_compile") 2>conftest.er1
5936 grep -v '^ *+' conftest.er1 >conftest.err
5938 cat conftest.err >&5
5939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); } && {
5941 test -z "$ac_cxx_werror_flag" ||
5942 test ! -s conftest.err
5943 } && test -s conftest.$ac_objext; then
5944 ac_cv_prog_cxx_g=yes
5946 $as_echo "$as_me: failed program was:" >&5
5947 sed 's/^/| /' conftest.$ac_ext >&5
5952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5959 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5961 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5962 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5963 if test "$ac_test_CXXFLAGS" = set; then
5964 CXXFLAGS=$ac_save_CXXFLAGS
5965 elif test $ac_cv_prog_cxx_g = yes; then
5966 if test "$GXX" = yes; then
5972 if test "$GXX" = yes; then
5979 ac_cpp='$CXXCPP $CPPFLAGS'
5980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5984 depcc="$CXX" am_compiler_list=
5986 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5987 $as_echo_n "checking dependency style of $depcc... " >&6; }
5988 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5989 $as_echo_n "(cached) " >&6
5991 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5992 # We make a subdir and do the tests there. Otherwise we can end up
5993 # making bogus files that we don't know about and never remove. For
5994 # instance it was reported that on HP-UX the gcc test will end up
5995 # making a dummy file named `D
' -- because `-MD' means
`put the output
5998 # Copy depcomp to subdir because otherwise we won't find it if we're
5999 # using a relative directory.
6000 cp "$am_depcomp" conftest.dir
6002 # We will build objects and dependencies in a subdirectory because
6003 # it helps to detect inapplicable dependency modes. For instance
6004 # both Tru64's cc and ICC support -MD to output dependencies as a
6005 # side effect of compilation, but ICC will put the dependencies in
6006 # the current directory while Tru64 will put them in the object
6010 am_cv_CXX_dependencies_compiler_type=none
6011 if test "$am_compiler_list" = ""; then
6012 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6014 for depmode in $am_compiler_list; do
6015 # Setup a source with many dependencies, because some compilers
6016 # like to wrap large dependency lists on column 80 (with \), and
6017 # we should not choose a depcomp mode which is confused by this.
6019 # We need to recreate these files for each test, as the compiler may
6020 # overwrite some of them when testing with obscure command lines.
6021 # This happens at least with the AIX C compiler.
6023 for i in 1 2 3 4 5 6; do
6024 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6025 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6026 # Solaris 8's
{/usr
,}/bin
/sh.
6027 touch sub
/conftst
$i.h
6029 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6033 # after this tag, mechanisms are not by side-effect, so they'll
6034 # only be used when explicitly requested
6035 if test "x$enable_dependency_tracking" = xyes
; then
6043 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6044 # mode. It turns out that the SunPro C++ compiler does not properly
6045 # handle `-M -o', and we need to detect this.
6046 if depmode
=$depmode \
6047 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6048 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6049 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6050 >/dev
/null
2>conftest.err
&&
6051 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6052 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6053 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6054 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6055 # icc doesn't choke on unknown options, it will just issue warnings
6056 # or remarks (even with -Werror). So we grep stderr for any message
6057 # that says an option was ignored or not supported.
6058 # When given -MP, icc 7.0 and 7.1 complain thusly:
6059 # icc: Command line warning: ignoring option '-M'; no argument required
6060 # The diagnosis changed in icc 8.0:
6061 # icc: Command line remark: option '-MP' not supported
6062 if (grep 'ignoring option' conftest.err ||
6063 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6064 am_cv_CXX_dependencies_compiler_type
=$depmode
6073 am_cv_CXX_dependencies_compiler_type
=none
6077 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6078 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6079 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6082 test "x$enable_dependency_tracking" != xno \
6083 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6084 am__fastdepCXX_TRUE
=
6085 am__fastdepCXX_FALSE
='#'
6087 am__fastdepCXX_TRUE
='#'
6088 am__fastdepCXX_FALSE
=
6094 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6095 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6096 (test "X$CXX" != "Xg++"))) ; then
6098 ac_cpp
='$CXXCPP $CPPFLAGS'
6099 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6100 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6101 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6102 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6103 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6104 if test -z "$CXXCPP"; then
6105 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6106 $as_echo_n "(cached) " >&6
6108 # Double quotes because CXXCPP needs to be expanded
6109 for CXXCPP
in "$CXX -E" "/lib/cpp"
6112 for ac_cxx_preproc_warn_flag
in '' yes
6114 # Use a header file that comes with gcc, so configuring glibc
6115 # with a fresh cross-compiler works.
6116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6117 # <limits.h> exists even on freestanding compilers.
6118 # On the NeXT, cc -E runs the code through the compiler's parser,
6119 # not just through cpp. "Syntax error" is here to catch this case.
6120 cat >conftest.
$ac_ext <<_ACEOF
6123 cat confdefs.h
>>conftest.
$ac_ext
6124 cat >>conftest.
$ac_ext <<_ACEOF
6125 /* end confdefs.h. */
6127 # include <limits.h>
6129 # include <assert.h>
6133 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6136 *) ac_try_echo=$ac_try;;
6138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6139 $as_echo "$ac_try_echo") >&5
6140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6142 grep -v '^ *+' conftest.er1 >conftest.err
6144 cat conftest.err >&5
6145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } >/dev/null && {
6147 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6148 test ! -s conftest.err
6152 $as_echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.$ac_ext >&5
6155 # Broken: fails on valid input.
6159 rm -f conftest.err conftest.$ac_ext
6161 # OK, works on sane cases. Now check whether nonexistent headers
6162 # can be detected and how.
6163 cat >conftest.$ac_ext <<_ACEOF
6166 cat confdefs.h >>conftest.$ac_ext
6167 cat >>conftest.$ac_ext <<_ACEOF
6168 /* end confdefs.h. */
6169 #include <ac_nonexistent.h>
6171 if { (ac_try="$ac_cpp conftest.$ac_ext"
6173 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6174 *) ac_try_echo
=$ac_try;;
6176 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6177 $as_echo "$ac_try_echo") >&5
6178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6180 grep -v '^ *+' conftest.er1
>conftest.err
6182 cat conftest.err
>&5
6183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } >/dev
/null
&& {
6185 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6186 test ! -s conftest.err
6188 # Broken: success on invalid input.
6191 $as_echo "$as_me: failed program was:" >&5
6192 sed 's/^/| /' conftest.
$ac_ext >&5
6194 # Passes both tests.
6199 rm -f conftest.err conftest.
$ac_ext
6202 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6203 rm -f conftest.err conftest.
$ac_ext
6204 if $ac_preproc_ok; then
6209 ac_cv_prog_CXXCPP
=$CXXCPP
6212 CXXCPP
=$ac_cv_prog_CXXCPP
6214 ac_cv_prog_CXXCPP
=$CXXCPP
6216 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
6217 $as_echo "$CXXCPP" >&6; }
6219 for ac_cxx_preproc_warn_flag
in '' yes
6221 # Use a header file that comes with gcc, so configuring glibc
6222 # with a fresh cross-compiler works.
6223 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6224 # <limits.h> exists even on freestanding compilers.
6225 # On the NeXT, cc -E runs the code through the compiler's parser,
6226 # not just through cpp. "Syntax error" is here to catch this case.
6227 cat >conftest.
$ac_ext <<_ACEOF
6230 cat confdefs.h
>>conftest.
$ac_ext
6231 cat >>conftest.
$ac_ext <<_ACEOF
6232 /* end confdefs.h. */
6234 # include <limits.h>
6236 # include <assert.h>
6240 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6243 *) ac_try_echo=$ac_try;;
6245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6246 $as_echo "$ac_try_echo") >&5
6247 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6249 grep -v '^ *+' conftest.er1 >conftest.err
6251 cat conftest.err >&5
6252 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } >/dev/null && {
6254 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6255 test ! -s conftest.err
6259 $as_echo "$as_me: failed program was:" >&5
6260 sed 's/^/| /' conftest.$ac_ext >&5
6262 # Broken: fails on valid input.
6266 rm -f conftest.err conftest.$ac_ext
6268 # OK, works on sane cases. Now check whether nonexistent headers
6269 # can be detected and how.
6270 cat >conftest.$ac_ext <<_ACEOF
6273 cat confdefs.h >>conftest.$ac_ext
6274 cat >>conftest.$ac_ext <<_ACEOF
6275 /* end confdefs.h. */
6276 #include <ac_nonexistent.h>
6278 if { (ac_try="$ac_cpp conftest.$ac_ext"
6280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6281 *) ac_try_echo
=$ac_try;;
6283 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6284 $as_echo "$ac_try_echo") >&5
6285 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6287 grep -v '^ *+' conftest.er1
>conftest.err
6289 cat conftest.err
>&5
6290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } >/dev
/null
&& {
6292 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6293 test ! -s conftest.err
6295 # Broken: success on invalid input.
6298 $as_echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.
$ac_ext >&5
6301 # Passes both tests.
6306 rm -f conftest.err conftest.
$ac_ext
6309 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6310 rm -f conftest.err conftest.
$ac_ext
6311 if $ac_preproc_ok; then
6314 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6315 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6316 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6317 See \`config.log' for more details." >&5
6318 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6319 See \`config.log' for more details." >&2;}
6320 { (exit 1); exit 1; }; }; }
6324 ac_cpp
='$CXXCPP $CPPFLAGS'
6325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6333 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6334 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6335 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6336 if test -n "$ac_tool_prefix"; then
6337 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
6339 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6340 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6341 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6342 $as_echo_n "checking for $ac_word... " >&6; }
6343 if test "${ac_cv_prog_F77+set}" = set; then
6344 $as_echo_n "(cached) " >&6
6346 if test -n "$F77"; then
6347 ac_cv_prog_F77
="$F77" # Let the user override the test.
6349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6353 test -z "$as_dir" && as_dir
=.
6354 for ac_exec_ext
in '' $ac_executable_extensions; do
6355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6356 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6357 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6367 if test -n "$F77"; then
6368 { $as_echo "$as_me:$LINENO: result: $F77" >&5
6369 $as_echo "$F77" >&6; }
6371 { $as_echo "$as_me:$LINENO: result: no" >&5
6372 $as_echo "no" >&6; }
6376 test -n "$F77" && break
6379 if test -z "$F77"; then
6381 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
6383 # Extract the first word of "$ac_prog", so it can be a program name with args.
6384 set dummy
$ac_prog; ac_word
=$2
6385 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6386 $as_echo_n "checking for $ac_word... " >&6; }
6387 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6388 $as_echo_n "(cached) " >&6
6390 if test -n "$ac_ct_F77"; then
6391 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6397 test -z "$as_dir" && as_dir
=.
6398 for ac_exec_ext
in '' $ac_executable_extensions; do
6399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6400 ac_cv_prog_ac_ct_F77
="$ac_prog"
6401 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6410 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6411 if test -n "$ac_ct_F77"; then
6412 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6413 $as_echo "$ac_ct_F77" >&6; }
6415 { $as_echo "$as_me:$LINENO: result: no" >&5
6416 $as_echo "no" >&6; }
6420 test -n "$ac_ct_F77" && break
6423 if test "x$ac_ct_F77" = x
; then
6426 case $cross_compiling:$ac_tool_warned in
6428 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6430 ac_tool_warned
=yes ;;
6437 # Provide some information about the compiler.
6438 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6441 { (ac_try
="$ac_compiler --version >&5"
6443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6444 *) ac_try_echo=$ac_try;;
6446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6447 $as_echo "$ac_try_echo") >&5
6448 (eval "$ac_compiler --version >&5") 2>&5
6450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); }
6452 { (ac_try="$ac_compiler -v >&5"
6454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6455 *) ac_try_echo
=$ac_try;;
6457 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6458 $as_echo "$ac_try_echo") >&5
6459 (eval "$ac_compiler -v >&5") 2>&5
6461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); }
6463 { (ac_try
="$ac_compiler -V >&5"
6465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6466 *) ac_try_echo=$ac_try;;
6468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6469 $as_echo "$ac_try_echo") >&5
6470 (eval "$ac_compiler -V >&5") 2>&5
6472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); }
6476 # If we don't use `.F
' as extension, the preprocessor is not run on the
6477 # input file. (Note that this only needs to work for GNU compilers.)
6480 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6481 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6482 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6483 $as_echo_n "(cached) " >&6
6485 cat >conftest.$ac_ext <<_ACEOF
6493 rm -f conftest.$ac_objext
6494 if { (ac_try="$ac_compile"
6496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6497 *) ac_try_echo=$ac_try;;
6499 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6500 $as_echo "$ac_try_echo") >&5
6501 (eval "$ac_compile") 2>conftest.er1
6503 grep -v '^
*+' conftest.er1 >conftest.err
6505 cat conftest.err >&5
6506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && {
6508 test -z "$ac_f77_werror_flag" ||
6509 test ! -s conftest.err
6510 } && test -s conftest.$ac_objext; then
6513 $as_echo "$as_me: failed program was:" >&5
6514 sed 's
/^
/|
/' conftest.$ac_ext >&5
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6520 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6523 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6524 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6526 ac_test_FFLAGS=${FFLAGS+set}
6527 ac_save_FFLAGS=$FFLAGS
6529 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6530 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
6531 if test "${ac_cv_prog_f77_g+set}" = set; then
6532 $as_echo_n "(cached) " >&6
6535 cat >conftest.$ac_ext <<_ACEOF
6540 rm -f conftest.$ac_objext
6541 if { (ac_try="$ac_compile"
6543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6544 *) ac_try_echo=$ac_try;;
6546 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6547 $as_echo "$ac_try_echo") >&5
6548 (eval "$ac_compile") 2>conftest.er1
6550 grep -v '^
*+' conftest.er1 >conftest.err
6552 cat conftest.err >&5
6553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6554 (exit $ac_status); } && {
6555 test -z "$ac_f77_werror_flag" ||
6556 test ! -s conftest.err
6557 } && test -s conftest.$ac_objext; then
6558 ac_cv_prog_f77_g=yes
6560 $as_echo "$as_me: failed program was:" >&5
6561 sed 's
/^
/|
/' conftest.$ac_ext >&5
6566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6569 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6570 $as_echo "$ac_cv_prog_f77_g" >&6; }
6571 if test "$ac_test_FFLAGS" = set; then
6572 FFLAGS=$ac_save_FFLAGS
6573 elif test $ac_cv_prog_f77_g = yes; then
6574 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6580 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6587 if test $ac_compiler_gnu = yes; then
6593 ac_cpp='$CPP $CPPFLAGS'
6594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6595 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6600 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6602 # find the maximum length of command line arguments
6603 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6604 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6605 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6606 $as_echo_n "(cached) " >&6
6613 # On DJGPP, this test can blow up pretty badly due to problems in libc
6614 # (any single argument exceeding 2000 bytes causes a buffer overrun
6615 # during glob expansion). Even if it were fixed, the result of this
6616 # check would be larger than it should be.
6617 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6621 # Under GNU Hurd, this test is not required because there is
6622 # no limit to the length of command line arguments.
6623 # Libtool will interpret -1 as no limit whatsoever
6624 lt_cv_sys_max_cmd_len
=-1;
6628 # On Win9x/ME, this test blows up -- it succeeds, but takes
6629 # about 5 minutes as the teststring grows exponentially.
6630 # Worse, since 9x/ME are not pre-emptively multitasking,
6631 # you end up with a "frozen" computer, even though with patience
6632 # the test eventually succeeds (with a max line length of 256k).
6633 # Instead, let's just punt: use the minimum linelength reported by
6634 # all of the supported platforms: 8192 (on NT/2K/XP).
6635 lt_cv_sys_max_cmd_len
=8192;
6639 # On AmigaOS with pdksh, this test takes hours, literally.
6640 # So we just punt and use a minimum line length of 8192.
6641 lt_cv_sys_max_cmd_len
=8192;
6644 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6645 # This has been around since 386BSD, at least. Likely further.
6646 if test -x /sbin
/sysctl
; then
6647 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6648 elif test -x /usr
/sbin
/sysctl
; then
6649 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6651 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6653 # And add a safety zone
6654 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6655 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6659 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6660 lt_cv_sys_max_cmd_len
=196608
6664 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6665 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6666 # nice to cause kernel panics so lets avoid the loop below.
6667 # First set a reasonable default.
6668 lt_cv_sys_max_cmd_len
=16384
6670 if test -x /sbin
/sysconfig
; then
6671 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6672 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6677 lt_cv_sys_max_cmd_len
=102400
6679 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6680 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6681 if test -n "$kargmax"; then
6682 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6684 lt_cv_sys_max_cmd_len
=32768
6688 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6689 if test -n "$lt_cv_sys_max_cmd_len"; then
6690 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6691 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6693 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6694 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6695 = "XX$teststring") >/dev
/null
2>&1 &&
6696 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6697 lt_cv_sys_max_cmd_len
=$new_result &&
6698 test $i != 17 # 1/2 MB should be enough
6701 teststring
=$teststring$teststring
6704 # Add a significant safety factor because C++ compilers can tack on massive
6705 # amounts of additional arguments before passing them to the linker.
6706 # It appears as though 1/2 is a usable value.
6707 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6714 if test -n $lt_cv_sys_max_cmd_len ; then
6715 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6716 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6718 { $as_echo "$as_me:$LINENO: result: none" >&5
6719 $as_echo "none" >&6; }
6726 # Check for command to grab the raw symbol name followed by C symbol from nm.
6727 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6728 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6729 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6730 $as_echo_n "(cached) " >&6
6733 # These are sane defaults that work on at least a few old systems.
6734 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6736 # Character class describing NM global symbol codes.
6737 symcode
='[BCDEGRST]'
6739 # Regexp to match symbols that can be accessed directly from C.
6740 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6742 # Transform an extracted symbol line into a proper C declaration
6743 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6745 # Transform an extracted symbol line into symbol name and symbol address
6746 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'"
6748 # Define system-specific variables.
6753 cygwin
* | mingw
* | pw32
*)
6754 symcode
='[ABCDGISTW]'
6756 hpux
*) # Its linker distinguishes data from code symbols
6757 if test "$host_cpu" = ia64
; then
6758 symcode
='[ABCDEGRST]'
6760 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6761 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'"
6763 linux
* | k
*bsd
*-gnu)
6764 if test "$host_cpu" = ia64
; then
6765 symcode
='[ABCDGIRSTW]'
6766 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6767 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'"
6771 symcode
='[BCDEGRST]'
6774 symcode
='[BCDEGQRST]'
6785 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6793 # Handle CRLF in mingw tool chain
6797 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6801 # If we're using GNU nm, then use its standard symbol codes.
6802 case `$NM -V 2>&1` in
6803 *GNU
* |
*'with BFD'*)
6804 symcode
='[ABCDGIRSTW]' ;;
6807 # Try without a prefix undercore, then with it.
6808 for ac_symprfx
in "" "_"; do
6810 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6811 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6813 # Write the raw and C identifiers.
6814 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6816 # Check to see that the pipe works correctly.
6820 cat > conftest.
$ac_ext <<EOF
6825 void nm_test_func(){}
6829 int main(){nm_test_var='a';nm_test_func();return(0);}
6832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833 (eval $ac_compile) 2>&5
6835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); }; then
6837 # Now try to grab the symbols.
6839 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6840 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); } && test -s "$nlist"; then
6844 # Try sorting and uniquifying the output.
6845 if sort "$nlist" |
uniq > "$nlist"T
; then
6846 mv -f "$nlist"T
"$nlist"
6851 # Make sure that we snagged all the symbols we need.
6852 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6853 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6854 cat <<EOF > conftest.$ac_ext
6860 # Now generate the symbol file.
6861 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6863 cat <<EOF >> conftest.$ac_ext
6864 #if defined (__STDC__) && __STDC__
6865 # define lt_ptr_t void *
6867 # define lt_ptr_t char *
6871 /* The mapping between symbol names and symbols. */
6876 lt_preloaded_symbols[] =
6879 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6880 cat <<\EOF
>> conftest.
$ac_ext
6888 # Now try linking the two files.
6889 mv conftest.
$ac_objext conftstm.
$ac_objext
6890 lt_save_LIBS
="$LIBS"
6891 lt_save_CFLAGS
="$CFLAGS"
6892 LIBS
="conftstm.$ac_objext"
6893 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6895 (eval $ac_link) 2>&5
6897 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6901 LIBS
="$lt_save_LIBS"
6902 CFLAGS
="$lt_save_CFLAGS"
6904 echo "cannot find nm_test_func in $nlist" >&5
6907 echo "cannot find nm_test_var in $nlist" >&5
6910 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6913 echo "$progname: failed program was:" >&5
6914 cat conftest.
$ac_ext >&5
6916 rm -f conftest
* conftst
*
6918 # Do not use the global_symbol_pipe unless it works.
6919 if test "$pipe_works" = yes; then
6922 lt_cv_sys_global_symbol_pipe
=
6928 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6929 lt_cv_sys_global_symbol_to_cdecl
=
6931 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6932 { $as_echo "$as_me:$LINENO: result: failed" >&5
6933 $as_echo "failed" >&6; }
6935 { $as_echo "$as_me:$LINENO: result: ok" >&5
6936 $as_echo "ok" >&6; }
6939 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6940 $as_echo_n "checking for objdir... " >&6; }
6941 if test "${lt_cv_objdir+set}" = set; then
6942 $as_echo_n "(cached) " >&6
6944 rm -f .libs
2>/dev
/null
6945 mkdir .libs
2>/dev
/null
6946 if test -d .libs
; then
6949 # MS-DOS does not allow filenames that begin with a dot.
6952 rmdir .libs
2>/dev
/null
6954 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6955 $as_echo "$lt_cv_objdir" >&6; }
6956 objdir
=$lt_cv_objdir
6964 # AIX sometimes has problems with the GCC collect2 program. For some
6965 # reason, if we set the COLLECT_NAMES environment variable, the problems
6966 # vanish in a puff of smoke.
6967 if test "X${COLLECT_NAMES+set}" != Xset
; then
6969 export COLLECT_NAMES
6974 # Sed substitution that helps us do robust quoting. It backslashifies
6975 # metacharacters that are still active within double-quoted strings.
6976 Xsed
='sed -e 1s/^X//'
6977 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6979 # Same as above, but do not quote variable references.
6980 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6982 # Sed substitution to delay expansion of an escaped shell variable in a
6983 # double_quote_subst'ed string.
6984 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6986 # Sed substitution to avoid accidental globbing in evaled expressions
6987 no_glob_subst
='s/\*/\\\*/g'
6993 default_ofile
=libtool
6994 can_build_shared
=yes
6996 # All known linkers require a `.a' archive for static linking (except MSVC,
6997 # which needs '.lib').
6999 ltmain
="$ac_aux_dir/ltmain.sh"
7000 ofile
="$default_ofile"
7001 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7003 if test -n "$ac_tool_prefix"; then
7004 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7005 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7006 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7007 $as_echo_n "checking for $ac_word... " >&6; }
7008 if test "${ac_cv_prog_AR+set}" = set; then
7009 $as_echo_n "(cached) " >&6
7011 if test -n "$AR"; then
7012 ac_cv_prog_AR
="$AR" # Let the user override the test.
7014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7018 test -z "$as_dir" && as_dir
=.
7019 for ac_exec_ext
in '' $ac_executable_extensions; do
7020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7021 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7022 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7032 if test -n "$AR"; then
7033 { $as_echo "$as_me:$LINENO: result: $AR" >&5
7034 $as_echo "$AR" >&6; }
7036 { $as_echo "$as_me:$LINENO: result: no" >&5
7037 $as_echo "no" >&6; }
7042 if test -z "$ac_cv_prog_AR"; then
7044 # Extract the first word of "ar", so it can be a program name with args.
7045 set dummy
ar; ac_word
=$2
7046 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7047 $as_echo_n "checking for $ac_word... " >&6; }
7048 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7049 $as_echo_n "(cached) " >&6
7051 if test -n "$ac_ct_AR"; then
7052 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7058 test -z "$as_dir" && as_dir
=.
7059 for ac_exec_ext
in '' $ac_executable_extensions; do
7060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7061 ac_cv_prog_ac_ct_AR
="ar"
7062 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7072 if test -n "$ac_ct_AR"; then
7073 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7074 $as_echo "$ac_ct_AR" >&6; }
7076 { $as_echo "$as_me:$LINENO: result: no" >&5
7077 $as_echo "no" >&6; }
7080 if test "x$ac_ct_AR" = x
; then
7083 case $cross_compiling:$ac_tool_warned in
7085 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7087 ac_tool_warned
=yes ;;
7095 if test -n "$ac_tool_prefix"; then
7096 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7097 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7098 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7099 $as_echo_n "checking for $ac_word... " >&6; }
7100 if test "${ac_cv_prog_RANLIB+set}" = set; then
7101 $as_echo_n "(cached) " >&6
7103 if test -n "$RANLIB"; then
7104 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7110 test -z "$as_dir" && as_dir
=.
7111 for ac_exec_ext
in '' $ac_executable_extensions; do
7112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7113 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7114 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7123 RANLIB
=$ac_cv_prog_RANLIB
7124 if test -n "$RANLIB"; then
7125 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7126 $as_echo "$RANLIB" >&6; }
7128 { $as_echo "$as_me:$LINENO: result: no" >&5
7129 $as_echo "no" >&6; }
7134 if test -z "$ac_cv_prog_RANLIB"; then
7135 ac_ct_RANLIB
=$RANLIB
7136 # Extract the first word of "ranlib", so it can be a program name with args.
7137 set dummy ranlib
; ac_word
=$2
7138 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7139 $as_echo_n "checking for $ac_word... " >&6; }
7140 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7141 $as_echo_n "(cached) " >&6
7143 if test -n "$ac_ct_RANLIB"; then
7144 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7150 test -z "$as_dir" && as_dir
=.
7151 for ac_exec_ext
in '' $ac_executable_extensions; do
7152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7153 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7154 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7163 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7164 if test -n "$ac_ct_RANLIB"; then
7165 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7166 $as_echo "$ac_ct_RANLIB" >&6; }
7168 { $as_echo "$as_me:$LINENO: result: no" >&5
7169 $as_echo "no" >&6; }
7172 if test "x$ac_ct_RANLIB" = x
; then
7175 case $cross_compiling:$ac_tool_warned in
7177 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7179 ac_tool_warned
=yes ;;
7181 RANLIB
=$ac_ct_RANLIB
7184 RANLIB
="$ac_cv_prog_RANLIB"
7187 if test -n "$ac_tool_prefix"; then
7188 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7189 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7190 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7191 $as_echo_n "checking for $ac_word... " >&6; }
7192 if test "${ac_cv_prog_STRIP+set}" = set; then
7193 $as_echo_n "(cached) " >&6
7195 if test -n "$STRIP"; then
7196 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7202 test -z "$as_dir" && as_dir
=.
7203 for ac_exec_ext
in '' $ac_executable_extensions; do
7204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7205 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7206 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7215 STRIP
=$ac_cv_prog_STRIP
7216 if test -n "$STRIP"; then
7217 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7218 $as_echo "$STRIP" >&6; }
7220 { $as_echo "$as_me:$LINENO: result: no" >&5
7221 $as_echo "no" >&6; }
7226 if test -z "$ac_cv_prog_STRIP"; then
7228 # Extract the first word of "strip", so it can be a program name with args.
7229 set dummy strip
; ac_word
=$2
7230 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7233 $as_echo_n "(cached) " >&6
7235 if test -n "$ac_ct_STRIP"; then
7236 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7242 test -z "$as_dir" && as_dir
=.
7243 for ac_exec_ext
in '' $ac_executable_extensions; do
7244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245 ac_cv_prog_ac_ct_STRIP
="strip"
7246 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7255 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7256 if test -n "$ac_ct_STRIP"; then
7257 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7258 $as_echo "$ac_ct_STRIP" >&6; }
7260 { $as_echo "$as_me:$LINENO: result: no" >&5
7261 $as_echo "no" >&6; }
7264 if test "x$ac_ct_STRIP" = x
; then
7267 case $cross_compiling:$ac_tool_warned in
7269 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7271 ac_tool_warned
=yes ;;
7276 STRIP
="$ac_cv_prog_STRIP"
7281 old_CFLAGS
="$CFLAGS"
7283 # Set sane defaults for various variables
7284 test -z "$AR" && AR
=ar
7285 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7286 test -z "$AS" && AS
=as
7287 test -z "$CC" && CC
=cc
7288 test -z "$LTCC" && LTCC
=$CC
7289 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7290 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7291 test -z "$LD" && LD
=ld
7292 test -z "$LN_S" && LN_S
="ln -s"
7293 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7294 test -z "$NM" && NM
=nm
7295 test -z "$SED" && SED
=sed
7296 test -z "$OBJDUMP" && OBJDUMP
=objdump
7297 test -z "$RANLIB" && RANLIB
=:
7298 test -z "$STRIP" && STRIP
=:
7299 test -z "$ac_objext" && ac_objext
=o
7301 # Determine commands to create old-style static archives.
7302 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7303 old_postinstall_cmds
='chmod 644 $oldlib'
7304 old_postuninstall_cmds
=
7306 if test -n "$RANLIB"; then
7309 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7312 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7315 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7318 for cc_temp
in $compiler""; do
7320 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7321 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7326 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7329 # Only perform the check for file, if the check method requires it
7330 case $deplibs_check_method in
7332 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7333 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7334 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7335 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7336 $as_echo_n "(cached) " >&6
7340 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7343 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7344 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7345 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7346 for ac_dir
in $ac_dummy; do
7348 test -z "$ac_dir" && ac_dir
=.
7349 if test -f $ac_dir/${ac_tool_prefix}file; then
7350 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7351 if test -n "$file_magic_test_file"; then
7352 case $deplibs_check_method in
7354 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7355 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7356 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7357 $EGREP "$file_magic_regex" > /dev
/null
; then
7362 *** Warning: the command libtool uses to detect shared libraries,
7363 *** $file_magic_cmd, produces output that libtool cannot recognize.
7364 *** The result is that libtool may fail to recognize shared libraries
7365 *** as such. This will affect the creation of libtool libraries that
7366 *** depend on shared libraries, but programs linked with such libtool
7367 *** libraries will work regardless of this problem. Nevertheless, you
7368 *** may want to report the problem to your system manager and/or to
7369 *** bug-libtool@gnu.org
7379 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7384 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7385 if test -n "$MAGIC_CMD"; then
7386 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7387 $as_echo "$MAGIC_CMD" >&6; }
7389 { $as_echo "$as_me:$LINENO: result: no" >&5
7390 $as_echo "no" >&6; }
7393 if test -z "$lt_cv_path_MAGIC_CMD"; then
7394 if test -n "$ac_tool_prefix"; then
7395 { $as_echo "$as_me:$LINENO: checking for file" >&5
7396 $as_echo_n "checking for file... " >&6; }
7397 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7398 $as_echo_n "(cached) " >&6
7402 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7405 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7406 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7407 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7408 for ac_dir
in $ac_dummy; do
7410 test -z "$ac_dir" && ac_dir
=.
7411 if test -f $ac_dir/file; then
7412 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7413 if test -n "$file_magic_test_file"; then
7414 case $deplibs_check_method in
7416 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7417 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7418 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7419 $EGREP "$file_magic_regex" > /dev
/null
; then
7424 *** Warning: the command libtool uses to detect shared libraries,
7425 *** $file_magic_cmd, produces output that libtool cannot recognize.
7426 *** The result is that libtool may fail to recognize shared libraries
7427 *** as such. This will affect the creation of libtool libraries that
7428 *** depend on shared libraries, but programs linked with such libtool
7429 *** libraries will work regardless of this problem. Nevertheless, you
7430 *** may want to report the problem to your system manager and/or to
7431 *** bug-libtool@gnu.org
7441 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7446 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7447 if test -n "$MAGIC_CMD"; then
7448 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7449 $as_echo "$MAGIC_CMD" >&6; }
7451 { $as_echo "$as_me:$LINENO: result: no" >&5
7452 $as_echo "no" >&6; }
7467 # Check whether --enable-libtool-lock was given.
7468 if test "${enable_libtool_lock+set}" = set; then
7469 enableval
=$enable_libtool_lock;
7472 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7475 # Check whether --with-pic was given.
7476 if test "${with_pic+set}" = set; then
7477 withval
=$with_pic; pic_mode
="$withval"
7482 test -z "$pic_mode" && pic_mode
=default
7484 # Use C for the default configuration in the libtool script
7488 ac_cpp
='$CPP $CPPFLAGS'
7489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7494 # Source file extension for C test sources.
7497 # Object file extension for compiled C test sources.
7501 # Code to be used in simple compile tests
7502 lt_simple_compile_test_code
="int some_variable = 0;"
7504 # Code to be used in simple link tests
7505 lt_simple_link_test_code
='int main(){return(0);}'
7508 # If no C compiler was specified, use CC.
7511 # If no C compiler flags were specified, use CFLAGS.
7512 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7514 # Allow CC to be a program name with arguments.
7518 # save warnings/boilerplate of simple test code
7519 ac_outfile
=conftest.
$ac_objext
7520 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7521 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7522 _lt_compiler_boilerplate
=`cat conftest.err`
7525 ac_outfile
=conftest.
$ac_objext
7526 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7527 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7528 _lt_linker_boilerplate
=`cat conftest.err`
7533 lt_prog_compiler_no_builtin_flag
=
7535 if test "$GCC" = yes; then
7536 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7539 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7540 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7541 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7542 $as_echo_n "(cached) " >&6
7544 lt_cv_prog_compiler_rtti_exceptions
=no
7545 ac_outfile
=conftest.
$ac_objext
7546 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7547 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7548 # Insert the option either (1) after the last *FLAGS variable, or
7549 # (2) before a word containing "conftest.", or (3) at the end.
7550 # Note that $ac_compile itself does not contain backslashes and begins
7551 # with a dollar sign (not a hyphen), so the echo should work correctly.
7552 # The option is referenced via a variable to avoid confusing sed.
7553 lt_compile
=`echo "$ac_compile" | $SED \
7554 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7555 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7556 -e 's:$: $lt_compiler_flag:'`
7557 (eval echo "\"\$as_me:7557: $lt_compile\"" >&5)
7558 (eval "$lt_compile" 2>conftest.err
)
7560 cat conftest.err
>&5
7561 echo "$as_me:7561: \$? = $ac_status" >&5
7562 if (exit $ac_status) && test -s "$ac_outfile"; then
7563 # The compiler can only warn and ignore the option if not recognized
7564 # So say no if there are warnings other than the usual output.
7565 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7566 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7567 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7568 lt_cv_prog_compiler_rtti_exceptions
=yes
7574 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7575 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7577 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7578 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7585 lt_prog_compiler_wl
=
7586 lt_prog_compiler_pic
=
7587 lt_prog_compiler_static
=
7589 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7590 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7592 if test "$GCC" = yes; then
7593 lt_prog_compiler_wl
='-Wl,'
7594 lt_prog_compiler_static
='-static'
7598 # All AIX code is PIC.
7599 if test "$host_cpu" = ia64
; then
7600 # AIX 5 now supports IA64 processor
7601 lt_prog_compiler_static
='-Bstatic'
7606 # FIXME: we need at least 68020 code to build shared libraries, but
7607 # adding the `-m68020' flag to GCC prevents building anything better,
7609 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7612 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7613 # PIC is the default for these OSes.
7616 mingw
* | cygwin
* | pw32
* | os2
*)
7617 # This hack is so that the source file can tell whether it is being
7618 # built for inclusion in a dll (and should export symbols for example).
7619 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7620 # (--disable-auto-import) libraries
7621 lt_prog_compiler_pic
='-DDLL_EXPORT'
7624 darwin
* | rhapsody
*)
7625 # PIC is the default on this platform
7626 # Common symbols not allowed in MH_DYLIB files
7627 lt_prog_compiler_pic
='-fno-common'
7631 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7632 # Instead, we relocate shared libraries at runtime.
7636 # Just because we use GCC doesn't mean we suddenly get shared libraries
7637 # on systems that don't support them.
7638 lt_prog_compiler_can_build_shared
=no
7643 if test -d /usr
/nec
; then
7644 lt_prog_compiler_pic
=-Kconform_pic
7649 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7656 lt_prog_compiler_pic
='-fPIC'
7662 lt_prog_compiler_pic
='-fPIC'
7666 # PORTME Check for flag to pass linker flags through the system compiler.
7669 lt_prog_compiler_wl
='-Wl,'
7670 if test "$host_cpu" = ia64
; then
7671 # AIX 5 now supports IA64 processor
7672 lt_prog_compiler_static
='-Bstatic'
7674 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7678 # PIC is the default on this platform
7679 # Common symbols not allowed in MH_DYLIB files
7680 case $cc_basename in
7682 lt_prog_compiler_pic
='-qnocommon'
7683 lt_prog_compiler_wl
='-Wl,'
7688 mingw
* | cygwin
* | pw32
* | os2
*)
7689 # This hack is so that the source file can tell whether it is being
7690 # built for inclusion in a dll (and should export symbols for example).
7691 lt_prog_compiler_pic
='-DDLL_EXPORT'
7694 hpux9
* | hpux10
* | hpux11
*)
7695 lt_prog_compiler_wl
='-Wl,'
7696 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7703 lt_prog_compiler_pic
='+Z'
7706 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7707 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7710 irix5
* | irix6
* | nonstopux
*)
7711 lt_prog_compiler_wl
='-Wl,'
7712 # PIC (with -KPIC) is the default.
7713 lt_prog_compiler_static
='-non_shared'
7717 lt_prog_compiler_pic
='-KPIC'
7718 lt_prog_compiler_static
='-Bstatic'
7721 linux
* | k
*bsd
*-gnu)
7722 case $cc_basename in
7724 lt_prog_compiler_wl
='-Wl,'
7725 lt_prog_compiler_pic
='-KPIC'
7726 lt_prog_compiler_static
='-static'
7728 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7729 # Portland Group compilers (*not* the Pentium gcc compiler,
7730 # which looks to be a dead project)
7731 lt_prog_compiler_wl
='-Wl,'
7732 lt_prog_compiler_pic
='-fpic'
7733 lt_prog_compiler_static
='-Bstatic'
7736 lt_prog_compiler_wl
='-Wl,'
7737 # All Alpha code is PIC.
7738 lt_prog_compiler_static
='-non_shared'
7741 case `$CC -V 2>&1 | sed 5q` in
7744 lt_prog_compiler_pic
='-KPIC'
7745 lt_prog_compiler_static
='-Bstatic'
7746 lt_prog_compiler_wl
='-Wl,'
7749 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7750 lt_prog_compiler_pic
='-KPIC'
7751 lt_prog_compiler_static
='-Bstatic'
7752 lt_prog_compiler_wl
=''
7759 osf3
* | osf4
* | osf5
*)
7760 lt_prog_compiler_wl
='-Wl,'
7761 # All OSF/1 code is PIC.
7762 lt_prog_compiler_static
='-non_shared'
7766 lt_prog_compiler_static
='-non_shared'
7770 lt_prog_compiler_pic
='-KPIC'
7771 lt_prog_compiler_static
='-Bstatic'
7772 case $cc_basename in
7774 lt_prog_compiler_wl
='-Qoption ld ';;
7776 lt_prog_compiler_wl
='-Wl,';;
7781 lt_prog_compiler_wl
='-Qoption ld '
7782 lt_prog_compiler_pic
='-PIC'
7783 lt_prog_compiler_static
='-Bstatic'
7786 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7787 lt_prog_compiler_wl
='-Wl,'
7788 lt_prog_compiler_pic
='-KPIC'
7789 lt_prog_compiler_static
='-Bstatic'
7793 if test -d /usr
/nec
;then
7794 lt_prog_compiler_pic
='-Kconform_pic'
7795 lt_prog_compiler_static
='-Bstatic'
7799 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7800 lt_prog_compiler_wl
='-Wl,'
7801 lt_prog_compiler_pic
='-KPIC'
7802 lt_prog_compiler_static
='-Bstatic'
7806 lt_prog_compiler_wl
='-Wl,'
7807 lt_prog_compiler_can_build_shared
=no
7811 lt_prog_compiler_pic
='-pic'
7812 lt_prog_compiler_static
='-Bstatic'
7816 lt_prog_compiler_can_build_shared
=no
7821 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7822 $as_echo "$lt_prog_compiler_pic" >&6; }
7825 # Check to make sure the PIC flag actually works.
7827 if test -n "$lt_prog_compiler_pic"; then
7829 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7830 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7831 if test "${lt_prog_compiler_pic_works+set}" = set; then
7832 $as_echo_n "(cached) " >&6
7834 lt_prog_compiler_pic_works
=no
7835 ac_outfile
=conftest.
$ac_objext
7836 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7837 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7838 # Insert the option either (1) after the last *FLAGS variable, or
7839 # (2) before a word containing "conftest.", or (3) at the end.
7840 # Note that $ac_compile itself does not contain backslashes and begins
7841 # with a dollar sign (not a hyphen), so the echo should work correctly.
7842 # The option is referenced via a variable to avoid confusing sed.
7843 lt_compile
=`echo "$ac_compile" | $SED \
7844 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7845 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7846 -e 's:$: $lt_compiler_flag:'`
7847 (eval echo "\"\$as_me:7847: $lt_compile\"" >&5)
7848 (eval "$lt_compile" 2>conftest.err
)
7850 cat conftest.err
>&5
7851 echo "$as_me:7851: \$? = $ac_status" >&5
7852 if (exit $ac_status) && test -s "$ac_outfile"; then
7853 # The compiler can only warn and ignore the option if not recognized
7854 # So say no if there are warnings other than the usual output.
7855 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7856 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7857 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7858 lt_prog_compiler_pic_works
=yes
7864 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7865 $as_echo "$lt_prog_compiler_pic_works" >&6; }
7867 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7868 case $lt_prog_compiler_pic in
7870 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7873 lt_prog_compiler_pic
=
7874 lt_prog_compiler_can_build_shared
=no
7879 # For platforms which do not support PIC, -DPIC is meaningless:
7881 lt_prog_compiler_pic
=
7884 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7889 # Check to make sure the static flag actually works.
7891 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7892 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7893 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7894 if test "${lt_prog_compiler_static_works+set}" = set; then
7895 $as_echo_n "(cached) " >&6
7897 lt_prog_compiler_static_works
=no
7898 save_LDFLAGS
="$LDFLAGS"
7899 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7900 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7901 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7902 # The linker can only warn and ignore the option if not recognized
7903 # So say no if there are warnings
7904 if test -s conftest.err
; then
7905 # Append any errors to the config.log.
7906 cat conftest.err
1>&5
7907 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7908 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7909 if diff conftest.exp conftest.er2
>/dev
/null
; then
7910 lt_prog_compiler_static_works
=yes
7913 lt_prog_compiler_static_works
=yes
7917 LDFLAGS
="$save_LDFLAGS"
7920 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7921 $as_echo "$lt_prog_compiler_static_works" >&6; }
7923 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7926 lt_prog_compiler_static
=
7930 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7931 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7932 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7933 $as_echo_n "(cached) " >&6
7935 lt_cv_prog_compiler_c_o
=no
7936 $rm -r conftest
2>/dev
/null
7940 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7942 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7943 # Insert the option either (1) after the last *FLAGS variable, or
7944 # (2) before a word containing "conftest.", or (3) at the end.
7945 # Note that $ac_compile itself does not contain backslashes and begins
7946 # with a dollar sign (not a hyphen), so the echo should work correctly.
7947 lt_compile
=`echo "$ac_compile" | $SED \
7948 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7949 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7950 -e 's:$: $lt_compiler_flag:'`
7951 (eval echo "\"\$as_me:7951: $lt_compile\"" >&5)
7952 (eval "$lt_compile" 2>out
/conftest.err
)
7954 cat out
/conftest.err
>&5
7955 echo "$as_me:7955: \$? = $ac_status" >&5
7956 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7958 # The compiler can only warn and ignore the option if not recognized
7959 # So say no if there are warnings
7960 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7961 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7962 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7963 lt_cv_prog_compiler_c_o
=yes
7968 # SGI C++ compiler will create directory out/ii_files/ for
7969 # template instantiation
7970 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7971 $rm out
/* && rmdir out
7977 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7978 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7981 hard_links
="nottested"
7982 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7983 # do not overwrite the value of need_locks provided by the user
7984 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7985 $as_echo_n "checking if we can lock with hard links... " >&6; }
7988 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7990 ln conftest.a conftest.b
2>&5 || hard_links
=no
7991 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
7992 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7993 $as_echo "$hard_links" >&6; }
7994 if test "$hard_links" = no
; then
7995 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7996 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8003 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8004 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8007 allow_undefined_flag
=
8008 enable_shared_with_static_runtimes
=no
8010 archive_expsym_cmds
=
8011 old_archive_From_new_cmds
=
8012 old_archive_from_expsyms_cmds
=
8013 export_dynamic_flag_spec
=
8014 whole_archive_flag_spec
=
8015 thread_safe_flag_spec
=
8016 hardcode_libdir_flag_spec
=
8017 hardcode_libdir_flag_spec_ld
=
8018 hardcode_libdir_separator
=
8021 hardcode_shlibpath_var
=unsupported
8022 link_all_deplibs
=unknown
8023 hardcode_automatic
=no
8026 always_export_symbols
=no
8027 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8028 # include_expsyms should be a list of space-separated symbols to be *always*
8029 # included in the symbol list
8031 # exclude_expsyms can be an extended regexp of symbols to exclude
8032 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8033 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8034 # as well as any symbol that contains `d'.
8035 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8036 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8037 # platforms (ab)use it in PIC code, but their linkers get confused if
8038 # the symbol is explicitly referenced. Since portable code cannot
8039 # rely on this symbol name, it's probably fine to never include it in
8040 # preloaded symbol tables.
8041 extract_expsyms_cmds
=
8042 # Just being paranoid about ensuring that cc_basename is set.
8043 for cc_temp
in $compiler""; do
8045 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8046 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8051 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8054 cygwin
* | mingw
* | pw32
*)
8055 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8056 # When not using gcc, we currently assume that we are using
8057 # Microsoft Visual C++.
8058 if test "$GCC" != yes; then
8063 # we just hope/assume this is gcc and not c89 (= MSVC++)
8072 if test "$with_gnu_ld" = yes; then
8073 # If archive_cmds runs LD, not CC, wlarc should be empty
8076 # Set some defaults for GNU ld with shared library support. These
8077 # are reset later if shared libraries are not supported. Putting them
8078 # here allows them to be overridden if necessary.
8079 runpath_var
=LD_RUN_PATH
8080 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8081 export_dynamic_flag_spec
='${wl}--export-dynamic'
8082 # ancient GNU ld didn't support --whole-archive et. al.
8083 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8084 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8086 whole_archive_flag_spec
=
8088 supports_anon_versioning
=no
8089 case `$LD -v 2>/dev/null` in
8090 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8091 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8092 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8093 *\
2.11.
*) ;; # other 2.11 versions
8094 *) supports_anon_versioning
=yes ;;
8097 # See if GNU ld supports shared libraries.
8099 aix3
* | aix4
* | aix5
*)
8100 # On AIX/PPC, the GNU linker is very broken
8101 if test "$host_cpu" != ia64
; then
8105 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8106 *** to be unable to reliably create shared libraries on AIX.
8107 *** Therefore, libtool is disabling shared libraries support. If you
8108 *** really care for shared libraries, you may want to modify your PATH
8109 *** so that a non-GNU linker is found, and then restart.
8116 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)'
8117 hardcode_libdir_flag_spec
='-L$libdir'
8118 hardcode_minus_L
=yes
8120 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8121 # that the semantics of dynamic libraries on AmigaOS, at least up
8122 # to version 4, is to share data among multiple programs linked
8123 # with the same dynamic library. Since this doesn't match the
8124 # behavior of shared libraries on other platforms, we can't use
8130 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8131 allow_undefined_flag
=unsupported
8132 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8133 # support --undefined. This deserves some investigation. FIXME
8134 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8140 cygwin
* | mingw
* | pw32
*)
8141 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8142 # as there is no search path for DLLs.
8143 hardcode_libdir_flag_spec
='-L$libdir'
8144 allow_undefined_flag
=unsupported
8145 always_export_symbols
=no
8146 enable_shared_with_static_runtimes
=yes
8147 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8149 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8150 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8151 # If the export-symbols file already is a .def file (1st line
8152 # is EXPORTS), use it as is; otherwise, prepend...
8153 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8154 cp $export_symbols $output_objdir/$soname.def;
8156 echo EXPORTS > $output_objdir/$soname.def;
8157 cat $export_symbols >> $output_objdir/$soname.def;
8159 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8167 hardcode_shlibpath_var
=no
8168 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8169 export_dynamic_flag_spec
='${wl}-E'
8170 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8171 # Instead, shared libraries are loaded at an image base (0x10000000 by
8172 # default) and relocated if they conflict, which is a slow very memory
8173 # consuming and fragmenting process. To avoid this, we pick a random,
8174 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8175 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8176 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8177 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'
8180 gnu
* | linux
* | k
*bsd
*-gnu)
8181 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8183 case $cc_basename,$host_cpu in
8184 pgcc
*) # Portland Group C compiler
8185 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'
8186 tmp_addflag
=' $pic_flag'
8188 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8189 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'
8190 tmp_addflag
=' $pic_flag -Mnomain' ;;
8191 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8192 tmp_addflag
=' -i_dynamic' ;;
8193 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8194 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8195 ifc
* | ifort
*) # Intel Fortran compiler
8196 tmp_addflag
=' -nofor_main' ;;
8198 case `$CC -V 2>&1 | sed 5q` in
8199 *Sun\ C
*) # Sun C 5.9
8200 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'
8201 tmp_sharedflag
='-G' ;;
8202 *Sun\ F
*) # Sun Fortran 8.3
8203 tmp_sharedflag
='-G' ;;
8205 tmp_sharedflag
='-shared' ;;
8207 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8209 if test $supports_anon_versioning = yes; then
8210 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8211 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8212 $echo "local: *; };" >> $output_objdir/$libname.ver~
8213 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8221 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8222 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8225 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8226 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8231 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8235 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8236 *** create shared libraries on Solaris systems. Therefore, libtool
8237 *** is disabling shared libraries support. We urge you to upgrade GNU
8238 *** binutils to release 2.9.1 or newer. Another option is to modify
8239 *** your PATH or compiler configuration so that the native linker is
8240 *** used, and then restart.
8243 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8244 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8245 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8251 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8252 case `$LD -v 2>&1` in
8253 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8257 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8258 *** reliably create shared libraries on SCO systems. Therefore, libtool
8259 *** is disabling shared libraries support. We urge you to upgrade GNU
8260 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8261 *** your PATH or compiler configuration so that the native linker is
8262 *** used, and then restart.
8267 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8268 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8269 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8270 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8279 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8282 hardcode_shlibpath_var
=no
8286 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8287 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8288 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8295 if test "$ld_shlibs" = no
; then
8297 hardcode_libdir_flag_spec
=
8298 export_dynamic_flag_spec
=
8299 whole_archive_flag_spec
=
8302 # PORTME fill in a description of your system's linker (not GNU ld)
8305 allow_undefined_flag
=unsupported
8306 always_export_symbols
=yes
8307 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'
8308 # Note: this linker hardcodes the directories in LIBPATH if there
8309 # are no directories specified by -L.
8310 hardcode_minus_L
=yes
8311 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8312 # Neither direct hardcoding nor static linking is supported with a
8314 hardcode_direct
=unsupported
8319 if test "$host_cpu" = ia64
; then
8320 # On IA64, the linker does run time linking by default, so we don't
8321 # have to do anything special.
8322 aix_use_runtimelinking
=no
8323 exp_sym_flag
='-Bexport'
8326 # If we're using GNU nm, then we don't want the "-C" option.
8327 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8328 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8329 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'
8331 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'
8333 aix_use_runtimelinking
=no
8335 # Test if we are trying to use run time linking or normal
8336 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8337 # need to do runtime linking.
8338 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8339 for ld_flag
in $LDFLAGS; do
8340 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8341 aix_use_runtimelinking
=yes
8348 exp_sym_flag
='-bexport'
8349 no_entry_flag
='-bnoentry'
8352 # When large executables or shared objects are built, AIX ld can
8353 # have problems creating the table of contents. If linking a library
8354 # or program results in "error TOC overflow" add -mminimal-toc to
8355 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8356 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8360 hardcode_libdir_separator
=':'
8361 link_all_deplibs
=yes
8363 if test "$GCC" = yes; then
8364 case $host_os in aix4.
[012]|aix4.
[012].
*)
8365 # We only want to do this on AIX 4.2 and lower, the check
8366 # below for broken collect2 doesn't work under 4.3+
8367 collect2name
=`${CC} -print-prog-name=collect2`
8368 if test -f "$collect2name" && \
8369 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8371 # We have reworked collect2
8374 # We have old collect2
8375 hardcode_direct
=unsupported
8376 # It fails to find uninstalled libraries when the uninstalled
8377 # path is not listed in the libpath. Setting hardcode_minus_L
8378 # to unsupported forces relinking
8379 hardcode_minus_L
=yes
8380 hardcode_libdir_flag_spec
='-L$libdir'
8381 hardcode_libdir_separator
=
8385 shared_flag
='-shared'
8386 if test "$aix_use_runtimelinking" = yes; then
8387 shared_flag
="$shared_flag "'${wl}-G'
8391 if test "$host_cpu" = ia64
; then
8392 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8393 # chokes on -Wl,-G. The following line is correct:
8396 if test "$aix_use_runtimelinking" = yes; then
8397 shared_flag
='${wl}-G'
8399 shared_flag
='${wl}-bM:SRE'
8404 # It seems that -bexpall does not export symbols beginning with
8405 # underscore (_), so it is better to generate a list of symbols to export.
8406 always_export_symbols
=yes
8407 if test "$aix_use_runtimelinking" = yes; then
8408 # Warning - without using the other runtime loading flags (-brtl),
8409 # -berok will link without error, but may produce a broken library.
8410 allow_undefined_flag
='-berok'
8411 # Determine the default libpath from the value encoded in an empty executable.
8412 cat >conftest.
$ac_ext <<_ACEOF
8415 cat confdefs.h
>>conftest.
$ac_ext
8416 cat >>conftest.
$ac_ext <<_ACEOF
8417 /* end confdefs.h. */
8427 rm -f conftest.
$ac_objext conftest
$ac_exeext
8428 if { (ac_try
="$ac_link"
8430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8431 *) ac_try_echo=$ac_try;;
8433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8434 $as_echo "$ac_try_echo") >&5
8435 (eval "$ac_link") 2>conftest.er1
8437 grep -v '^ *+' conftest.er1 >conftest.err
8439 cat conftest.err >&5
8440 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); } && {
8442 test -z "$ac_c_werror_flag" ||
8443 test ! -s conftest.err
8444 } && test -s conftest$ac_exeext && {
8445 test "$cross_compiling" = yes ||
8446 $as_test_x conftest$ac_exeext
8449 lt_aix_libpath_sed='
8450 /Import File Strings/,/^$/ {
8456 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8457 # Check for a 64-bit object if we didn't find anything.
8458 if test -z "$aix_libpath"; then
8459 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8462 $as_echo "$as_me: failed program was:" >&5
8463 sed 's/^/| /' conftest.$ac_ext >&5
8468 rm -rf conftest.dSYM
8469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8470 conftest$ac_exeext conftest.$ac_ext
8471 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8473 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8474 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"
8476 if test "$host_cpu" = ia64; then
8477 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8478 allow_undefined_flag="-z nodefs"
8479 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"
8481 # Determine the default libpath from the value encoded in an empty executable.
8482 cat >conftest.$ac_ext <<_ACEOF
8485 cat confdefs.h >>conftest.$ac_ext
8486 cat >>conftest.$ac_ext <<_ACEOF
8487 /* end confdefs.h. */
8497 rm -f conftest.$ac_objext conftest$ac_exeext
8498 if { (ac_try="$ac_link"
8500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8501 *) ac_try_echo
=$ac_try;;
8503 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8504 $as_echo "$ac_try_echo") >&5
8505 (eval "$ac_link") 2>conftest.er1
8507 grep -v '^ *+' conftest.er1
>conftest.err
8509 cat conftest.err
>&5
8510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); } && {
8512 test -z "$ac_c_werror_flag" ||
8513 test ! -s conftest.err
8514 } && test -s conftest
$ac_exeext && {
8515 test "$cross_compiling" = yes ||
8516 $as_test_x conftest
$ac_exeext
8519 lt_aix_libpath_sed
='
8520 /Import File Strings/,/^$/ {
8526 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8527 # Check for a 64-bit object if we didn't find anything.
8528 if test -z "$aix_libpath"; then
8529 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8532 $as_echo "$as_me: failed program was:" >&5
8533 sed 's/^/| /' conftest.
$ac_ext >&5
8538 rm -rf conftest.dSYM
8539 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8540 conftest
$ac_exeext conftest.
$ac_ext
8541 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8543 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8544 # Warning - without using the other run time loading flags,
8545 # -berok will link without error, but may produce a broken library.
8546 no_undefined_flag
=' ${wl}-bernotok'
8547 allow_undefined_flag
=' ${wl}-berok'
8548 # Exported symbols can be pulled into shared objects from archives
8549 whole_archive_flag_spec
='$convenience'
8550 archive_cmds_need_lc
=yes
8551 # This is similar to how AIX traditionally builds its shared libraries.
8552 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'
8558 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)'
8559 hardcode_libdir_flag_spec
='-L$libdir'
8560 hardcode_minus_L
=yes
8561 # see comment about different semantics on the GNU ld section
8566 export_dynamic_flag_spec
=-rdynamic
8569 cygwin
* | mingw
* | pw32
*)
8570 # When not using gcc, we currently assume that we are using
8571 # Microsoft Visual C++.
8572 # hardcode_libdir_flag_spec is actually meaningless, as there is
8573 # no search path for DLLs.
8574 hardcode_libdir_flag_spec
=' '
8575 allow_undefined_flag
=unsupported
8576 # Tell ltmain to make .lib files, not .a files.
8578 # Tell ltmain to make .dll files, not .so files.
8580 # FIXME: Setting linknames here is a bad hack.
8581 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8582 # The linker will automatically build a .lib file if we build a DLL.
8583 old_archive_From_new_cmds
='true'
8584 # FIXME: Should let the user specify the lib program.
8585 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8586 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8587 enable_shared_with_static_runtimes
=yes
8590 darwin
* | rhapsody
*)
8592 rhapsody
* | darwin1.
[012])
8593 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8596 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8597 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8599 case ${MACOSX_DEPLOYMENT_TARGET} in
8601 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8604 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8610 archive_cmds_need_lc
=no
8612 hardcode_automatic
=yes
8613 hardcode_shlibpath_var
=unsupported
8614 whole_archive_flag_spec
=''
8615 link_all_deplibs
=yes
8616 if test "$GCC" = yes ; then
8617 output_verbose_link_cmd
='echo'
8618 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8619 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8620 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8621 archive_expsym_cmds
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8622 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}'
8624 case $cc_basename in
8626 output_verbose_link_cmd
='echo'
8627 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8628 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8629 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8630 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}'
8631 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}'
8641 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8642 hardcode_libdir_flag_spec
='-L$libdir'
8643 hardcode_shlibpath_var
=no
8650 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8651 # support. Future versions do this automatically, but an explicit c++rt0.o
8652 # does not break anything, and helps significantly (at the cost of a little
8655 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8656 hardcode_libdir_flag_spec
='-R$libdir'
8658 hardcode_shlibpath_var
=no
8661 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8663 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8665 hardcode_minus_L
=yes
8666 hardcode_shlibpath_var
=no
8669 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8670 freebsd
* | dragonfly
*)
8671 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8672 hardcode_libdir_flag_spec
='-R$libdir'
8674 hardcode_shlibpath_var
=no
8678 if test "$GCC" = yes; then
8679 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'
8681 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'
8683 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8684 hardcode_libdir_separator
=:
8687 # hardcode_minus_L: Not really in the search PATH,
8688 # but as the default location of the library.
8689 hardcode_minus_L
=yes
8690 export_dynamic_flag_spec
='${wl}-E'
8694 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8695 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8697 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8699 if test "$with_gnu_ld" = no
; then
8700 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8701 hardcode_libdir_separator
=:
8704 export_dynamic_flag_spec
='${wl}-E'
8706 # hardcode_minus_L: Not really in the search PATH,
8707 # but as the default location of the library.
8708 hardcode_minus_L
=yes
8713 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8716 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8719 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8722 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8728 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8731 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8734 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8738 if test "$with_gnu_ld" = no
; then
8739 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8740 hardcode_libdir_separator
=:
8744 hardcode_libdir_flag_spec_ld
='+b $libdir'
8746 hardcode_shlibpath_var
=no
8750 export_dynamic_flag_spec
='${wl}-E'
8752 # hardcode_minus_L: Not really in the search PATH,
8753 # but as the default location of the library.
8754 hardcode_minus_L
=yes
8760 irix5
* | irix6
* | nonstopux
*)
8761 if test "$GCC" = yes; then
8762 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'
8764 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'
8765 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8767 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8768 hardcode_libdir_separator
=:
8769 link_all_deplibs
=yes
8773 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8774 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8776 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8778 hardcode_libdir_flag_spec
='-R$libdir'
8780 hardcode_shlibpath_var
=no
8784 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8786 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8787 hardcode_libdir_separator
=:
8788 hardcode_shlibpath_var
=no
8792 if test -f /usr
/libexec
/ld.so
; then
8794 hardcode_shlibpath_var
=no
8795 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8796 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8797 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8798 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8799 export_dynamic_flag_spec
='${wl}-E'
8802 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8803 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8804 hardcode_libdir_flag_spec
='-R$libdir'
8807 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8808 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8818 hardcode_libdir_flag_spec
='-L$libdir'
8819 hardcode_minus_L
=yes
8820 allow_undefined_flag
=unsupported
8821 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'
8822 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8826 if test "$GCC" = yes; then
8827 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8828 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'
8830 allow_undefined_flag
=' -expect_unresolved \*'
8831 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'
8833 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8834 hardcode_libdir_separator
=:
8837 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8838 if test "$GCC" = yes; then
8839 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8840 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'
8841 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8843 allow_undefined_flag
=' -expect_unresolved \*'
8844 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'
8845 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8846 $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'
8848 # Both c and cxx compiler support -rpath directly
8849 hardcode_libdir_flag_spec
='-rpath $libdir'
8851 hardcode_libdir_separator
=:
8855 no_undefined_flag
=' -z text'
8856 if test "$GCC" = yes; then
8858 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8859 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8860 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8863 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8864 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8865 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8867 hardcode_libdir_flag_spec
='-R$libdir'
8868 hardcode_shlibpath_var
=no
8870 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8872 # The compiler driver will combine and reorder linker options,
8873 # but understands `-z linker_flag'. GCC discards it without `$wl',
8874 # but is careful enough not to reorder.
8875 # Supported since Solaris 2.6 (maybe 2.5.1?)
8876 if test "$GCC" = yes; then
8877 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8879 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8883 link_all_deplibs
=yes
8887 if test "x$host_vendor" = xsequent
; then
8888 # Use $CC to link under sequent, because it throws in some extra .o
8889 # files that make .init and .fini sections work.
8890 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8892 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8894 hardcode_libdir_flag_spec
='-L$libdir'
8896 hardcode_minus_L
=yes
8897 hardcode_shlibpath_var
=no
8901 case $host_vendor in
8903 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8904 hardcode_direct
=yes # is this really true???
8907 ## LD is ld it makes a PLAMLIB
8908 ## CC just makes a GrossModule.
8909 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8910 reload_cmds
='$CC -r -o $output$reload_objs'
8914 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8915 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8918 runpath_var
='LD_RUN_PATH'
8919 hardcode_shlibpath_var
=no
8923 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8924 hardcode_shlibpath_var
=no
8925 export_dynamic_flag_spec
='-Bexport'
8929 if test -d /usr
/nec
; then
8930 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8931 hardcode_shlibpath_var
=no
8932 runpath_var
=LD_RUN_PATH
8933 hardcode_runpath_var
=yes
8938 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8939 no_undefined_flag
='${wl}-z,text'
8940 archive_cmds_need_lc
=no
8941 hardcode_shlibpath_var
=no
8942 runpath_var
='LD_RUN_PATH'
8944 if test "$GCC" = yes; then
8945 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8946 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8948 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8949 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8953 sysv5
* | sco3.2v5
* | sco5v6
*)
8954 # Note: We can NOT use -z defs as we might desire, because we do not
8955 # link with -lc, and that would cause any symbols used from libc to
8956 # always be unresolved, which means just about no library would
8957 # ever link correctly. If we're not using GNU ld we use -z text
8958 # though, which does catch some bad symbols but isn't as heavy-handed
8960 no_undefined_flag
='${wl}-z,text'
8961 allow_undefined_flag
='${wl}-z,nodefs'
8962 archive_cmds_need_lc
=no
8963 hardcode_shlibpath_var
=no
8964 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8965 hardcode_libdir_separator
=':'
8966 link_all_deplibs
=yes
8967 export_dynamic_flag_spec
='${wl}-Bexport'
8968 runpath_var
='LD_RUN_PATH'
8970 if test "$GCC" = yes; then
8971 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8972 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8974 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8975 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8980 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8981 hardcode_libdir_flag_spec
='-L$libdir'
8982 hardcode_shlibpath_var
=no
8991 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8992 $as_echo "$ld_shlibs" >&6; }
8993 test "$ld_shlibs" = no
&& can_build_shared
=no
8996 # Do we need to explicitly link libc?
8998 case "x$archive_cmds_need_lc" in
9000 # Assume -lc should be added
9001 archive_cmds_need_lc
=yes
9003 if test "$enable_shared" = yes && test "$GCC" = yes; then
9004 case $archive_cmds in
9006 # FIXME: we may have to deal with multi-command sequences.
9009 # Test whether the compiler implicitly links with -lc since on some
9010 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9011 # to ld, don't add -lc before -lgcc.
9012 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9013 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9015 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9018 (eval $ac_compile) 2>&5
9020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); } 2>conftest.err
; then
9024 libobjs
=conftest.
$ac_objext
9026 wl
=$lt_prog_compiler_wl
9027 pic_flag
=$lt_prog_compiler_pic
9033 lt_save_allow_undefined_flag
=$allow_undefined_flag
9034 allow_undefined_flag
=
9035 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9036 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); }
9041 archive_cmds_need_lc
=no
9043 archive_cmds_need_lc
=yes
9045 allow_undefined_flag
=$lt_save_allow_undefined_flag
9047 cat conftest.err
1>&5
9050 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9051 $as_echo "$archive_cmds_need_lc" >&6; }
9058 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9059 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9061 libname_spec
='lib$name'
9069 shlibpath_overrides_runpath
=unknown
9071 dynamic_linker
="$host_os ld.so"
9072 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9074 if test "$GCC" = yes; then
9076 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9077 *) lt_awk_arg
="/^libraries:/" ;;
9079 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9080 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9081 # if the path contains ";" then we assume it to be the separator
9082 # otherwise default to the standard path separator (i.e. ":") - it is
9083 # assumed that no part of a normal pathname contains ";" but that should
9084 # okay in the real world where ";" in dirpaths is itself problematic.
9085 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9087 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9089 # Ok, now we have the path, separated by spaces, we can step through it
9090 # and add multilib dir if necessary.
9091 lt_tmp_lt_search_path_spec
=
9092 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9093 for lt_sys_path
in $lt_search_path_spec; do
9094 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9095 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9097 test -d "$lt_sys_path" && \
9098 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9101 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9102 BEGIN {RS=" "; FS="/|\n";} {
9105 for (lt_i = NF; lt_i > 0; lt_i--) {
9106 if ($lt_i != "" && $lt_i != ".") {
9107 if ($lt_i == "..") {
9110 if (lt_count == 0) {
9111 lt_foo="/" $lt_i lt_foo;
9118 if (lt_foo != "") { lt_freq[lt_foo]++; }
9119 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9121 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9123 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9125 need_lib_prefix
=unknown
9126 hardcode_into_libs
=no
9128 # when you set need_version to no, make sure it does not cause -set_version
9129 # flags to be left without arguments
9130 need_version
=unknown
9135 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9136 shlibpath_var
=LIBPATH
9138 # AIX 3 has no versioning support, so we append a major version to the name.
9139 soname_spec
='${libname}${release}${shared_ext}$major'
9146 hardcode_into_libs
=yes
9147 if test "$host_cpu" = ia64
; then
9148 # AIX 5 supports IA64
9149 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9150 shlibpath_var
=LD_LIBRARY_PATH
9152 # With GCC up to 2.95.x, collect2 would create an import file
9153 # for dependence libraries. The import file would start with
9154 # the line `#! .'. This would cause the generated library to
9155 # depend on `.', always an invalid library. This was fixed in
9156 # development snapshots of GCC prior to 3.0.
9158 aix4 | aix4.
[01] | aix4.
[01].
*)
9159 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9161 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9168 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9169 # soname into executable. Probably we can add versioning support to
9170 # collect2, so additional links can be useful in future.
9171 if test "$aix_use_runtimelinking" = yes; then
9172 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9173 # instead of lib<name>.a to let people know that these are not
9174 # typical AIX shared libraries.
9175 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9177 # We preserve .a as extension for shared libraries through AIX4.2
9178 # and later when we are not doing run time linking.
9179 library_names_spec
='${libname}${release}.a $libname.a'
9180 soname_spec
='${libname}${release}${shared_ext}$major'
9182 shlibpath_var
=LIBPATH
9187 library_names_spec
='$libname.ixlibrary $libname.a'
9188 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9189 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'
9193 library_names_spec
='${libname}${shared_ext}'
9194 dynamic_linker
="$host_os ld.so"
9195 shlibpath_var
=LIBRARY_PATH
9201 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9202 soname_spec
='${libname}${release}${shared_ext}$major'
9203 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9204 shlibpath_var
=LD_LIBRARY_PATH
9205 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9206 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9207 # the default ld.so.conf also contains /usr/contrib/lib and
9208 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9209 # libtool to hard-code these into programs
9212 cygwin
* | mingw
* | pw32
*)
9213 version_type
=windows
9218 case $GCC,$host_os in
9219 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9220 library_names_spec
='$libname.dll.a'
9221 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9222 postinstall_cmds
='base_file=`basename \${file}`~
9223 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9224 dldir=$destdir/`dirname \$dlpath`~
9225 test -d \$dldir || mkdir -p \$dldir~
9226 $install_prog $dir/$dlname \$dldir/$dlname~
9227 chmod a+x \$dldir/$dlname'
9228 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9229 dlpath=$dir/\$dldll~
9231 shlibpath_overrides_runpath
=yes
9235 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9236 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9237 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9240 # MinGW DLLs use traditional 'lib' prefix
9241 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9242 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9243 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9244 # It is most probably a Windows format PATH printed by
9245 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9246 # path with ; separators, and with drive letters. We can handle the
9247 # drive letters (cygwin fileutils understands them), so leave them,
9248 # especially as we might pass files found there to a mingw objdump,
9249 # which wouldn't understand a cygwinified path. Ahh.
9250 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9252 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9256 # pw32 DLLs use 'pw' prefix rather than 'lib'
9257 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9263 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9266 dynamic_linker
='Win32 ld.exe'
9267 # FIXME: first we should search . and the directory the executable is in
9271 darwin
* | rhapsody
*)
9272 dynamic_linker
="$host_os dyld"
9276 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9277 soname_spec
='${libname}${release}${major}$shared_ext'
9278 shlibpath_overrides_runpath
=yes
9279 shlibpath_var
=DYLD_LIBRARY_PATH
9280 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9282 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9283 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9290 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9291 soname_spec
='${libname}${release}${shared_ext}$major'
9292 shlibpath_var
=LD_LIBRARY_PATH
9299 freebsd
* | dragonfly
*)
9300 # DragonFly does not have aout. When/if they implement a new
9301 # versioning mechanism, adjust this.
9302 if test -x /usr
/bin
/objformat
; then
9303 objformat
=`/usr/bin/objformat`
9306 freebsd
[123]*) objformat
=aout
;;
9310 version_type
=freebsd-
$objformat
9311 case $version_type in
9313 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9318 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9322 shlibpath_var
=LD_LIBRARY_PATH
9325 shlibpath_overrides_runpath
=yes
9327 freebsd3.
[01]* | freebsdelf3.
[01]*)
9328 shlibpath_overrides_runpath
=yes
9329 hardcode_into_libs
=yes
9331 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9332 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9333 shlibpath_overrides_runpath
=no
9334 hardcode_into_libs
=yes
9336 *) # from 4.6 on, and DragonFly
9337 shlibpath_overrides_runpath
=yes
9338 hardcode_into_libs
=yes
9347 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9348 soname_spec
='${libname}${release}${shared_ext}$major'
9349 shlibpath_var
=LD_LIBRARY_PATH
9350 hardcode_into_libs
=yes
9353 hpux9
* | hpux10
* | hpux11
*)
9354 # Give a soname corresponding to the major version so that dld.sl refuses to
9355 # link against other versions.
9362 hardcode_into_libs
=yes
9363 dynamic_linker
="$host_os dld.so"
9364 shlibpath_var
=LD_LIBRARY_PATH
9365 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9367 soname_spec
='${libname}${release}${shared_ext}$major'
9368 if test "X$HPUX_IA64_MODE" = X32
; then
9369 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9371 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9373 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9377 hardcode_into_libs
=yes
9378 dynamic_linker
="$host_os dld.sl"
9379 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9380 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9382 soname_spec
='${libname}${release}${shared_ext}$major'
9383 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9384 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9388 dynamic_linker
="$host_os dld.sl"
9389 shlibpath_var
=SHLIB_PATH
9390 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9391 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9392 soname_spec
='${libname}${release}${shared_ext}$major'
9395 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9396 postinstall_cmds
='chmod 555 $lib'
9403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9404 soname_spec
='${libname}${release}${shared_ext}$major'
9405 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9406 shlibpath_var
=LD_LIBRARY_PATH
9407 shlibpath_overrides_runpath
=no
9408 hardcode_into_libs
=yes
9411 irix5
* | irix6
* | nonstopux
*)
9413 nonstopux
*) version_type
=nonstopux
;;
9415 if test "$lt_cv_prog_gnu_ld" = yes; then
9423 soname_spec
='${libname}${release}${shared_ext}$major'
9424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9426 irix5
* | nonstopux
*)
9430 case $LD in # libtool.m4 will add one of these switches to LD
9431 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9432 libsuff
= shlibsuff
= libmagic
=32-bit;;
9433 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9434 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9435 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9436 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9437 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9441 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9442 shlibpath_overrides_runpath
=no
9443 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9444 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9445 hardcode_into_libs
=yes
9448 # No shared lib support for Linux oldld, aout, or coff.
9449 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9453 # This must be Linux ELF.
9454 linux
* | k
*bsd
*-gnu)
9458 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9459 soname_spec
='${libname}${release}${shared_ext}$major'
9460 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9461 shlibpath_var
=LD_LIBRARY_PATH
9462 shlibpath_overrides_runpath
=no
9463 # This implies no fast_install, which is unacceptable.
9464 # Some rework will be needed to allow for fast_install
9465 # before this can be enabled.
9466 hardcode_into_libs
=yes
9468 # Append ld.so.conf contents to the search path
9469 if test -f /etc
/ld.so.conf
; then
9470 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' ' '`
9471 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9474 # We used to test for /lib/ld.so.1 and disable shared libraries on
9475 # powerpc, because MkLinux only supported shared libraries with the
9476 # GNU dynamic linker. Since this was broken with cross compilers,
9477 # most powerpc-linux boxes support dynamic linking these days and
9478 # people can always --disable-shared, the test was removed, and we
9479 # assume the GNU/Linux dynamic linker is in use.
9480 dynamic_linker
='GNU/Linux ld.so'
9487 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9489 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9490 dynamic_linker
='NetBSD (a.out) ld.so'
9492 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9493 soname_spec
='${libname}${release}${shared_ext}$major'
9494 dynamic_linker
='NetBSD ld.elf_so'
9496 shlibpath_var
=LD_LIBRARY_PATH
9497 shlibpath_overrides_runpath
=yes
9498 hardcode_into_libs
=yes
9503 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9504 shlibpath_var
=LD_LIBRARY_PATH
9505 shlibpath_overrides_runpath
=yes
9512 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9513 soname_spec
='${libname}${release}${shared_ext}$major'
9514 shlibpath_var
=LD_LIBRARY_PATH
9515 shlibpath_overrides_runpath
=yes
9520 sys_lib_dlsearch_path_spec
="/usr/lib"
9522 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9524 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9525 *) need_version
=no
;;
9527 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9528 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9529 shlibpath_var
=LD_LIBRARY_PATH
9530 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9532 openbsd2.
[89] | openbsd2.
[89].
*)
9533 shlibpath_overrides_runpath
=no
9536 shlibpath_overrides_runpath
=yes
9540 shlibpath_overrides_runpath
=yes
9545 libname_spec
='$name'
9548 library_names_spec
='$libname${shared_ext} $libname.a'
9549 dynamic_linker
='OS/2 ld.exe'
9550 shlibpath_var
=LIBPATH
9553 osf3
* | osf4
* | osf5
*)
9557 soname_spec
='${libname}${release}${shared_ext}$major'
9558 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9559 shlibpath_var
=LD_LIBRARY_PATH
9560 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9561 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9573 soname_spec
='${libname}${release}${shared_ext}$major'
9574 shlibpath_var
=LD_LIBRARY_PATH
9575 shlibpath_overrides_runpath
=yes
9576 hardcode_into_libs
=yes
9577 # ldd complains unless libraries are executable
9578 postinstall_cmds
='chmod +x $lib'
9583 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9584 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9585 shlibpath_var
=LD_LIBRARY_PATH
9586 shlibpath_overrides_runpath
=yes
9587 if test "$with_gnu_ld" = yes; then
9595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9596 soname_spec
='${libname}${release}${shared_ext}$major'
9597 shlibpath_var
=LD_LIBRARY_PATH
9598 case $host_vendor in
9600 shlibpath_overrides_runpath
=no
9602 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9603 runpath_var
=LD_RUN_PATH
9611 shlibpath_overrides_runpath
=no
9612 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9618 if test -d /usr
/nec
;then
9620 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9621 soname_spec
='$libname${shared_ext}.$major'
9622 shlibpath_var
=LD_LIBRARY_PATH
9626 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9627 version_type
=freebsd-elf
9630 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9631 soname_spec
='${libname}${release}${shared_ext}$major'
9632 shlibpath_var
=LD_LIBRARY_PATH
9633 hardcode_into_libs
=yes
9634 if test "$with_gnu_ld" = yes; then
9635 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9636 shlibpath_overrides_runpath
=no
9638 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9639 shlibpath_overrides_runpath
=yes
9642 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9646 sys_lib_dlsearch_path_spec
='/usr/lib'
9651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9652 soname_spec
='${libname}${release}${shared_ext}$major'
9653 shlibpath_var
=LD_LIBRARY_PATH
9660 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9661 $as_echo "$dynamic_linker" >&6; }
9662 test "$dynamic_linker" = no
&& can_build_shared
=no
9664 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9665 if test "$GCC" = yes; then
9666 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9669 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9670 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9672 if test -n "$hardcode_libdir_flag_spec" || \
9673 test -n "$runpath_var" || \
9674 test "X$hardcode_automatic" = "Xyes" ; then
9676 # We can hardcode non-existant directories.
9677 if test "$hardcode_direct" != no
&&
9678 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9679 # have to relink, otherwise we might link with an installed library
9680 # when we should be linking with a yet-to-be-installed one
9681 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9682 test "$hardcode_minus_L" != no
; then
9683 # Linking always hardcodes the temporary library directory.
9684 hardcode_action
=relink
9686 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9687 hardcode_action
=immediate
9690 # We cannot hardcode anything, or else we can only hardcode existing
9692 hardcode_action
=unsupported
9694 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9695 $as_echo "$hardcode_action" >&6; }
9697 if test "$hardcode_action" = relink
; then
9698 # Fast installation is not supported
9699 enable_fast_install
=no
9700 elif test "$shlibpath_overrides_runpath" = yes ||
9701 test "$enable_shared" = no
; then
9702 # Fast installation is not necessary
9703 enable_fast_install
=needless
9708 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9709 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9710 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9711 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9712 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9713 { $as_echo "$as_me:$LINENO: result: yes" >&5
9714 $as_echo "yes" >&6; }
9716 # FIXME - insert some real tests, host_os isn't really good enough
9719 if test -n "$STRIP" ; then
9720 striplib
="$STRIP -x"
9721 old_striplib
="$STRIP -S"
9722 { $as_echo "$as_me:$LINENO: result: yes" >&5
9723 $as_echo "yes" >&6; }
9725 { $as_echo "$as_me:$LINENO: result: no" >&5
9726 $as_echo "no" >&6; }
9730 { $as_echo "$as_me:$LINENO: result: no" >&5
9731 $as_echo "no" >&6; }
9736 if test "x$enable_dlopen" != xyes
; then
9737 enable_dlopen
=unknown
9738 enable_dlopen_self
=unknown
9739 enable_dlopen_self_static
=unknown
9746 lt_cv_dlopen
="load_add_on"
9748 lt_cv_dlopen_self
=yes
9752 lt_cv_dlopen
="LoadLibrary"
9757 lt_cv_dlopen
="dlopen"
9762 # if libdl is installed we need to link against it
9763 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9764 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9765 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9766 $as_echo_n "(cached) " >&6
9768 ac_check_lib_save_LIBS
=$LIBS
9770 cat >conftest.
$ac_ext <<_ACEOF
9773 cat confdefs.h
>>conftest.
$ac_ext
9774 cat >>conftest.
$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9777 /* Override any GCC internal prototype to avoid an error.
9778 Use char because int might match the return type of a GCC
9779 builtin and then its argument prototype would still apply. */
9792 rm -f conftest.
$ac_objext conftest
$ac_exeext
9793 if { (ac_try
="$ac_link"
9795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9796 *) ac_try_echo=$ac_try;;
9798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9799 $as_echo "$ac_try_echo") >&5
9800 (eval "$ac_link") 2>conftest.er1
9802 grep -v '^ *+' conftest.er1 >conftest.err
9804 cat conftest.err >&5
9805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806 (exit $ac_status); } && {
9807 test -z "$ac_c_werror_flag" ||
9808 test ! -s conftest.err
9809 } && test -s conftest$ac_exeext && {
9810 test "$cross_compiling" = yes ||
9811 $as_test_x conftest$ac_exeext
9813 ac_cv_lib_dl_dlopen=yes
9815 $as_echo "$as_me: failed program was:" >&5
9816 sed 's/^/| /' conftest.$ac_ext >&5
9818 ac_cv_lib_dl_dlopen=no
9821 rm -rf conftest.dSYM
9822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9823 conftest$ac_exeext conftest.$ac_ext
9824 LIBS=$ac_check_lib_save_LIBS
9826 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9827 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9828 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9829 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9834 lt_cv_dlopen_self=yes
9841 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9842 $as_echo_n "checking for shl_load... " >&6; }
9843 if test "${ac_cv_func_shl_load+set}" = set; then
9844 $as_echo_n "(cached) " >&6
9846 cat >conftest.$ac_ext <<_ACEOF
9849 cat confdefs.h >>conftest.$ac_ext
9850 cat >>conftest.$ac_ext <<_ACEOF
9851 /* end confdefs.h. */
9852 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9854 #define shl_load innocuous_shl_load
9856 /* System header to define __stub macros and hopefully few prototypes,
9857 which can conflict with char shl_load (); below.
9858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9859 <limits.h> exists even on freestanding compilers. */
9862 # include <limits.h>
9864 # include <assert.h>
9869 /* Override any GCC internal prototype to avoid an error.
9870 Use char because int might match the return type of a GCC
9871 builtin and then its argument prototype would still apply. */
9876 /* The GNU C library defines this for functions which it implements
9877 to always fail with ENOSYS. Some functions are actually named
9878 something starting with __ and the normal name is an alias. */
9879 #if defined __stub_shl_load || defined __stub___shl_load
9891 rm -f conftest.$ac_objext conftest$ac_exeext
9892 if { (ac_try="$ac_link"
9894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9895 *) ac_try_echo
=$ac_try;;
9897 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9898 $as_echo "$ac_try_echo") >&5
9899 (eval "$ac_link") 2>conftest.er1
9901 grep -v '^ *+' conftest.er1
>conftest.err
9903 cat conftest.err
>&5
9904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); } && {
9906 test -z "$ac_c_werror_flag" ||
9907 test ! -s conftest.err
9908 } && test -s conftest
$ac_exeext && {
9909 test "$cross_compiling" = yes ||
9910 $as_test_x conftest
$ac_exeext
9912 ac_cv_func_shl_load
=yes
9914 $as_echo "$as_me: failed program was:" >&5
9915 sed 's/^/| /' conftest.
$ac_ext >&5
9917 ac_cv_func_shl_load
=no
9920 rm -rf conftest.dSYM
9921 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9922 conftest
$ac_exeext conftest.
$ac_ext
9924 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9925 $as_echo "$ac_cv_func_shl_load" >&6; }
9926 if test "x$ac_cv_func_shl_load" = x
""yes; then
9927 lt_cv_dlopen
="shl_load"
9929 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9930 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9931 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9932 $as_echo_n "(cached) " >&6
9934 ac_check_lib_save_LIBS
=$LIBS
9936 cat >conftest.
$ac_ext <<_ACEOF
9939 cat confdefs.h
>>conftest.
$ac_ext
9940 cat >>conftest.
$ac_ext <<_ACEOF
9941 /* end confdefs.h. */
9943 /* Override any GCC internal prototype to avoid an error.
9944 Use char because int might match the return type of a GCC
9945 builtin and then its argument prototype would still apply. */
9958 rm -f conftest.
$ac_objext conftest
$ac_exeext
9959 if { (ac_try
="$ac_link"
9961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9962 *) ac_try_echo=$ac_try;;
9964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9965 $as_echo "$ac_try_echo") >&5
9966 (eval "$ac_link") 2>conftest.er1
9968 grep -v '^ *+' conftest.er1 >conftest.err
9970 cat conftest.err >&5
9971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9972 (exit $ac_status); } && {
9973 test -z "$ac_c_werror_flag" ||
9974 test ! -s conftest.err
9975 } && test -s conftest$ac_exeext && {
9976 test "$cross_compiling" = yes ||
9977 $as_test_x conftest$ac_exeext
9979 ac_cv_lib_dld_shl_load=yes
9981 $as_echo "$as_me: failed program was:" >&5
9982 sed 's/^/| /' conftest.$ac_ext >&5
9984 ac_cv_lib_dld_shl_load=no
9987 rm -rf conftest.dSYM
9988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9989 conftest$ac_exeext conftest.$ac_ext
9990 LIBS=$ac_check_lib_save_LIBS
9992 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9993 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
9994 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
9995 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9997 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
9998 $as_echo_n "checking for dlopen... " >&6; }
9999 if test "${ac_cv_func_dlopen+set}" = set; then
10000 $as_echo_n "(cached) " >&6
10002 cat >conftest.$ac_ext <<_ACEOF
10005 cat confdefs.h >>conftest.$ac_ext
10006 cat >>conftest.$ac_ext <<_ACEOF
10007 /* end confdefs.h. */
10008 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10010 #define dlopen innocuous_dlopen
10012 /* System header to define __stub macros and hopefully few prototypes,
10013 which can conflict with char dlopen (); below.
10014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10015 <limits.h> exists even on freestanding compilers. */
10018 # include <limits.h>
10020 # include <assert.h>
10025 /* Override any GCC internal prototype to avoid an error.
10026 Use char because int might match the return type of a GCC
10027 builtin and then its argument prototype would still apply. */
10032 /* The GNU C library defines this for functions which it implements
10033 to always fail with ENOSYS. Some functions are actually named
10034 something starting with __ and the normal name is an alias. */
10035 #if defined __stub_dlopen || defined __stub___dlopen
10047 rm -f conftest.$ac_objext conftest$ac_exeext
10048 if { (ac_try="$ac_link"
10049 case "(($ac_try" in
10050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10051 *) ac_try_echo
=$ac_try;;
10053 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10054 $as_echo "$ac_try_echo") >&5
10055 (eval "$ac_link") 2>conftest.er1
10057 grep -v '^ *+' conftest.er1
>conftest.err
10059 cat conftest.err
>&5
10060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); } && {
10062 test -z "$ac_c_werror_flag" ||
10063 test ! -s conftest.err
10064 } && test -s conftest
$ac_exeext && {
10065 test "$cross_compiling" = yes ||
10066 $as_test_x conftest
$ac_exeext
10068 ac_cv_func_dlopen
=yes
10070 $as_echo "$as_me: failed program was:" >&5
10071 sed 's/^/| /' conftest.
$ac_ext >&5
10073 ac_cv_func_dlopen
=no
10076 rm -rf conftest.dSYM
10077 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10078 conftest
$ac_exeext conftest.
$ac_ext
10080 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10081 $as_echo "$ac_cv_func_dlopen" >&6; }
10082 if test "x$ac_cv_func_dlopen" = x
""yes; then
10083 lt_cv_dlopen
="dlopen"
10085 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10086 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10087 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10088 $as_echo_n "(cached) " >&6
10090 ac_check_lib_save_LIBS
=$LIBS
10092 cat >conftest.
$ac_ext <<_ACEOF
10095 cat confdefs.h
>>conftest.
$ac_ext
10096 cat >>conftest.
$ac_ext <<_ACEOF
10097 /* end confdefs.h. */
10099 /* Override any GCC internal prototype to avoid an error.
10100 Use char because int might match the return type of a GCC
10101 builtin and then its argument prototype would still apply. */
10114 rm -f conftest.
$ac_objext conftest
$ac_exeext
10115 if { (ac_try
="$ac_link"
10116 case "(($ac_try" in
10117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10118 *) ac_try_echo=$ac_try;;
10120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10121 $as_echo "$ac_try_echo") >&5
10122 (eval "$ac_link") 2>conftest.er1
10124 grep -v '^ *+' conftest.er1 >conftest.err
10126 cat conftest.err >&5
10127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); } && {
10129 test -z "$ac_c_werror_flag" ||
10130 test ! -s conftest.err
10131 } && test -s conftest$ac_exeext && {
10132 test "$cross_compiling" = yes ||
10133 $as_test_x conftest$ac_exeext
10135 ac_cv_lib_dl_dlopen=yes
10137 $as_echo "$as_me: failed program was:" >&5
10138 sed 's/^/| /' conftest.$ac_ext >&5
10140 ac_cv_lib_dl_dlopen=no
10143 rm -rf conftest.dSYM
10144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10145 conftest$ac_exeext conftest.$ac_ext
10146 LIBS=$ac_check_lib_save_LIBS
10148 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10149 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10150 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10151 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10153 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10154 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10155 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10156 $as_echo_n "(cached) " >&6
10158 ac_check_lib_save_LIBS=$LIBS
10159 LIBS="-lsvld $LIBS"
10160 cat >conftest.$ac_ext <<_ACEOF
10163 cat confdefs.h >>conftest.$ac_ext
10164 cat >>conftest.$ac_ext <<_ACEOF
10165 /* end confdefs.h. */
10167 /* Override any GCC internal prototype to avoid an error.
10168 Use char because int might match the return type of a GCC
10169 builtin and then its argument prototype would still apply. */
10182 rm -f conftest.$ac_objext conftest$ac_exeext
10183 if { (ac_try="$ac_link"
10184 case "(($ac_try" in
10185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10186 *) ac_try_echo
=$ac_try;;
10188 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10189 $as_echo "$ac_try_echo") >&5
10190 (eval "$ac_link") 2>conftest.er1
10192 grep -v '^ *+' conftest.er1
>conftest.err
10194 cat conftest.err
>&5
10195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); } && {
10197 test -z "$ac_c_werror_flag" ||
10198 test ! -s conftest.err
10199 } && test -s conftest
$ac_exeext && {
10200 test "$cross_compiling" = yes ||
10201 $as_test_x conftest
$ac_exeext
10203 ac_cv_lib_svld_dlopen
=yes
10205 $as_echo "$as_me: failed program was:" >&5
10206 sed 's/^/| /' conftest.
$ac_ext >&5
10208 ac_cv_lib_svld_dlopen
=no
10211 rm -rf conftest.dSYM
10212 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10213 conftest
$ac_exeext conftest.
$ac_ext
10214 LIBS
=$ac_check_lib_save_LIBS
10216 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10217 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10218 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then
10219 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10221 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10222 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10223 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10224 $as_echo_n "(cached) " >&6
10226 ac_check_lib_save_LIBS
=$LIBS
10228 cat >conftest.
$ac_ext <<_ACEOF
10231 cat confdefs.h
>>conftest.
$ac_ext
10232 cat >>conftest.
$ac_ext <<_ACEOF
10233 /* end confdefs.h. */
10235 /* Override any GCC internal prototype to avoid an error.
10236 Use char because int might match the return type of a GCC
10237 builtin and then its argument prototype would still apply. */
10245 return dld_link ();
10250 rm -f conftest.
$ac_objext conftest
$ac_exeext
10251 if { (ac_try
="$ac_link"
10252 case "(($ac_try" in
10253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10254 *) ac_try_echo=$ac_try;;
10256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10257 $as_echo "$ac_try_echo") >&5
10258 (eval "$ac_link") 2>conftest.er1
10260 grep -v '^ *+' conftest.er1 >conftest.err
10262 cat conftest.err >&5
10263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); } && {
10265 test -z "$ac_c_werror_flag" ||
10266 test ! -s conftest.err
10267 } && test -s conftest$ac_exeext && {
10268 test "$cross_compiling" = yes ||
10269 $as_test_x conftest$ac_exeext
10271 ac_cv_lib_dld_dld_link=yes
10273 $as_echo "$as_me: failed program was:" >&5
10274 sed 's/^/| /' conftest.$ac_ext >&5
10276 ac_cv_lib_dld_dld_link=no
10279 rm -rf conftest.dSYM
10280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10281 conftest$ac_exeext conftest.$ac_ext
10282 LIBS=$ac_check_lib_save_LIBS
10284 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10285 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10286 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10287 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10308 if test "x$lt_cv_dlopen" != xno; then
10314 case $lt_cv_dlopen in
10316 save_CPPFLAGS="$CPPFLAGS"
10317 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10319 save_LDFLAGS="$LDFLAGS"
10320 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10323 LIBS="$lt_cv_dlopen_libs $LIBS"
10325 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10326 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10327 if test "${lt_cv_dlopen_self+set}" = set; then
10328 $as_echo_n "(cached) " >&6
10330 if test "$cross_compiling" = yes; then :
10331 lt_cv_dlopen_self=cross
10333 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10334 lt_status=$lt_dlunknown
10335 cat > conftest.$ac_ext <<EOF
10336 #line 10336 "configure"
10337 #include "confdefs.h"
10346 # define LT_DLGLOBAL RTLD_GLOBAL
10349 # define LT_DLGLOBAL DL_GLOBAL
10351 # define LT_DLGLOBAL 0
10355 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10356 find out it does not work in some platform. */
10357 #ifndef LT_DLLAZY_OR_NOW
10359 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10362 # define LT_DLLAZY_OR_NOW DL_LAZY
10365 # define LT_DLLAZY_OR_NOW RTLD_NOW
10368 # define LT_DLLAZY_OR_NOW DL_NOW
10370 # define LT_DLLAZY_OR_NOW 0
10378 extern "C" void exit (int);
10381 void fnord() { int i=42;}
10384 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10385 int status = $lt_dlunknown;
10389 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10390 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10391 /* dlclose (self); */
10399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10400 (eval $ac_link) 2>&5
10402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10404 (./conftest; exit; ) >&5 2>/dev/null
10406 case x$lt_status in
10407 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10408 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10409 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10412 # compilation failed
10413 lt_cv_dlopen_self=no
10420 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10421 $as_echo "$lt_cv_dlopen_self" >&6; }
10423 if test "x$lt_cv_dlopen_self" = xyes; then
10424 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10425 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10426 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10427 if test "${lt_cv_dlopen_self_static+set}" = set; then
10428 $as_echo_n "(cached) " >&6
10430 if test "$cross_compiling" = yes; then :
10431 lt_cv_dlopen_self_static=cross
10433 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10434 lt_status=$lt_dlunknown
10435 cat > conftest.$ac_ext <<EOF
10436 #line 10436 "configure"
10437 #include "confdefs.h"
10446 # define LT_DLGLOBAL RTLD_GLOBAL
10449 # define LT_DLGLOBAL DL_GLOBAL
10451 # define LT_DLGLOBAL 0
10455 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10456 find out it does not work in some platform. */
10457 #ifndef LT_DLLAZY_OR_NOW
10459 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10462 # define LT_DLLAZY_OR_NOW DL_LAZY
10465 # define LT_DLLAZY_OR_NOW RTLD_NOW
10468 # define LT_DLLAZY_OR_NOW DL_NOW
10470 # define LT_DLLAZY_OR_NOW 0
10478 extern "C" void exit (int);
10481 void fnord() { int i=42;}
10484 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10485 int status = $lt_dlunknown;
10489 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10490 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10491 /* dlclose (self); */
10499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10500 (eval $ac_link) 2>&5
10502 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10504 (./conftest; exit; ) >&5 2>/dev/null
10506 case x$lt_status in
10507 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10508 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10509 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10512 # compilation failed
10513 lt_cv_dlopen_self_static=no
10520 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10521 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10524 CPPFLAGS="$save_CPPFLAGS"
10525 LDFLAGS="$save_LDFLAGS"
10530 case $lt_cv_dlopen_self in
10531 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10532 *) enable_dlopen_self=unknown ;;
10535 case $lt_cv_dlopen_self_static in
10536 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10537 *) enable_dlopen_self_static=unknown ;;
10542 # Report which library types will actually be built
10543 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10544 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10545 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10546 $as_echo "$can_build_shared" >&6; }
10548 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10549 $as_echo_n "checking whether to build shared libraries... " >&6; }
10550 test "$can_build_shared" = "no" && enable_shared=no
10552 # On AIX, shared libraries and static libraries use the same namespace, and
10553 # are all built from PIC.
10556 test "$enable_shared" = yes && enable_static=no
10557 if test -n "$RANLIB"; then
10558 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10559 postinstall_cmds='$RANLIB $lib'
10564 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10565 test "$enable_shared" = yes && enable_static=no
10569 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10570 $as_echo "$enable_shared" >&6; }
10572 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10573 $as_echo_n "checking whether to build static libraries... " >&6; }
10574 # Make sure either enable_shared or enable_static is yes.
10575 test "$enable_shared" = yes || enable_static=yes
10576 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10577 $as_echo "$enable_static" >&6; }
10579 # The else clause should only fire when bootstrapping the
10580 # libtool distribution, otherwise you forgot to ship ltmain.sh
10581 # with your package, and you will get complaints that there are
10582 # no rules to generate ltmain.sh.
10583 if test -f "$ltmain"; then
10584 # See if we are running on zsh, and set the options which allow our commands through
10585 # without removal of \ escapes.
10586 if test -n "${ZSH_VERSION+set}" ; then
10587 setopt NO_GLOB_SUBST
10589 # Now quote all the things that may contain metacharacters while being
10590 # careful not to overquote the AC_SUBSTed values. We take copies of the
10591 # variables and quote the copies for generation of the libtool script.
10592 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10594 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10595 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10596 deplibs_check_method reload_flag reload_cmds need_locks \
10597 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10598 lt_cv_sys_global_symbol_to_c_name_address \
10599 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10600 old_postinstall_cmds old_postuninstall_cmds \
10604 lt_prog_compiler_wl \
10605 lt_prog_compiler_pic \
10606 lt_prog_compiler_static \
10607 lt_prog_compiler_no_builtin_flag \
10608 export_dynamic_flag_spec \
10609 thread_safe_flag_spec \
10610 whole_archive_flag_spec \
10611 enable_shared_with_static_runtimes \
10613 old_archive_from_new_cmds \
10618 compiler_lib_search_path \
10620 archive_expsym_cmds \
10622 postuninstall_cmds \
10623 old_archive_from_expsyms_cmds \
10624 allow_undefined_flag \
10625 no_undefined_flag \
10626 export_symbols_cmds \
10627 hardcode_libdir_flag_spec \
10628 hardcode_libdir_flag_spec_ld \
10629 hardcode_libdir_separator \
10630 hardcode_automatic \
10632 module_expsym_cmds \
10633 lt_cv_prog_compiler_c_o \
10636 include_expsyms; do
10639 old_archive_cmds | \
10640 old_archive_from_new_cmds | \
10642 archive_expsym_cmds | \
10644 module_expsym_cmds | \
10645 old_archive_from_expsyms_cmds | \
10646 export_symbols_cmds | \
10647 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10648 postinstall_cmds | postuninstall_cmds | \
10649 old_postinstall_cmds | old_postuninstall_cmds | \
10650 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10651 # Double-quote double-evaled strings.
10652 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10655 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10661 *'\$0 --fallback-echo"')
10662 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10666 cfgfile="${ofile}T"
10667 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10669 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
10670 $as_echo "$as_me: creating $ofile" >&6;}
10672 cat <<__EOF__ >> "$cfgfile"
10675 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10676 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10677 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10679 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10680 # Free Software Foundation, Inc.
10682 # This file is part of GNU Libtool:
10683 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10685 # This program is free software; you can redistribute it and/or modify
10686 # it under the terms of the GNU General Public License as published by
10687 # the Free Software Foundation; either version 2 of the License, or
10688 # (at your option) any later version.
10690 # This program is distributed in the hope that it will be useful, but
10691 # WITHOUT ANY WARRANTY; without even the implied warranty of
10692 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10693 # General Public License for more details.
10695 # You should have received a copy of the GNU General Public License
10696 # along with this program; if not, write to the Free Software
10697 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10699 # As a special exception to the GNU General Public License, if you
10700 # distribute this file as part of a program that contains a
10701 # configuration script generated by Autoconf, you may include it under
10702 # the same distribution terms that you use for the rest of that program.
10704 # A sed program that does not truncate output.
10707 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10708 Xsed="$SED -e 1s/^X//"
10710 # The HP-UX ksh and POSIX shell print the target directory to stdout
10711 # if CDPATH is set.
10712 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10714 # The names of the tagged configurations supported by this script.
10717 # ### BEGIN LIBTOOL CONFIG
10719 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10721 # Shell to use when invoking shell scripts.
10724 # Whether or not to build shared libraries.
10725 build_libtool_libs=$enable_shared
10727 # Whether or not to build static libraries.
10728 build_old_libs=$enable_static
10730 # Whether or not to add -lc for building shared libraries.
10731 build_libtool_need_lc=$archive_cmds_need_lc
10733 # Whether or not to disallow shared libs when runtime libs are static
10734 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10736 # Whether or not to optimize for fast installation.
10737 fast_install=$enable_fast_install
10740 host_alias=$host_alias
10744 # The build system.
10745 build_alias=$build_alias
10749 # An echo program that does not interpret backslashes.
10754 AR_FLAGS=$lt_AR_FLAGS
10759 # LTCC compiler flags.
10760 LTCFLAGS=$lt_LTCFLAGS
10762 # A language-specific compiler.
10765 # Is the compiler the GNU C compiler?
10771 # The linker used to build libraries.
10774 # Whether we need hard or soft links.
10777 # A BSD-compatible nm program.
10780 # A symbol stripping program
10783 # Used to examine libraries when file_magic_cmd begins "file"
10784 MAGIC_CMD=$MAGIC_CMD
10786 # Used on cygwin: DLL creation program.
10789 # Used on cygwin: object dumper.
10792 # Used on cygwin: assembler.
10795 # The name of the directory that contains temporary libtool files.
10798 # How to create reloadable object files.
10799 reload_flag=$lt_reload_flag
10800 reload_cmds=$lt_reload_cmds
10802 # How to pass a linker flag through the compiler.
10803 wl=$lt_lt_prog_compiler_wl
10805 # Object file suffix (normally "o").
10806 objext="$ac_objext"
10808 # Old archive suffix (normally "a").
10811 # Shared library suffix (normally ".so").
10812 shrext_cmds='$shrext_cmds'
10814 # Executable file suffix (normally "").
10817 # Additional compiler flags for building library objects.
10818 pic_flag=$lt_lt_prog_compiler_pic
10821 # What is the maximum length of a command?
10822 max_cmd_len=$lt_cv_sys_max_cmd_len
10824 # Does compiler simultaneously support -c and -o options?
10825 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10827 # Must we lock files when doing compilation?
10828 need_locks=$lt_need_locks
10830 # Do we need the lib prefix for modules?
10831 need_lib_prefix=$need_lib_prefix
10833 # Do we need a version for libraries?
10834 need_version=$need_version
10836 # Whether dlopen is supported.
10837 dlopen_support=$enable_dlopen
10839 # Whether dlopen of programs is supported.
10840 dlopen_self=$enable_dlopen_self
10842 # Whether dlopen of statically linked programs is supported.
10843 dlopen_self_static=$enable_dlopen_self_static
10845 # Compiler flag to prevent dynamic linking.
10846 link_static_flag=$lt_lt_prog_compiler_static
10848 # Compiler flag to turn off builtin functions.
10849 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10851 # Compiler flag to allow reflexive dlopens.
10852 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10854 # Compiler flag to generate shared objects directly from archives.
10855 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10857 # Compiler flag to generate thread-safe objects.
10858 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10860 # Library versioning type.
10861 version_type=$version_type
10863 # Format of library name prefix.
10864 libname_spec=$lt_libname_spec
10866 # List of archive names. First name is the real one, the rest are links.
10867 # The last name is the one that the linker finds with -lNAME.
10868 library_names_spec=$lt_library_names_spec
10870 # The coded name of the library, if different from the real name.
10871 soname_spec=$lt_soname_spec
10873 # Commands used to build and install an old-style archive.
10875 old_archive_cmds=$lt_old_archive_cmds
10876 old_postinstall_cmds=$lt_old_postinstall_cmds
10877 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10879 # Create an old-style archive from a shared archive.
10880 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10882 # Create a temporary old-style archive to link instead of a shared archive.
10883 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10885 # Commands used to build and install a shared archive.
10886 archive_cmds=$lt_archive_cmds
10887 archive_expsym_cmds=$lt_archive_expsym_cmds
10888 postinstall_cmds=$lt_postinstall_cmds
10889 postuninstall_cmds=$lt_postuninstall_cmds
10891 # Commands used to build a loadable module (assumed same as above if empty)
10892 module_cmds=$lt_module_cmds
10893 module_expsym_cmds=$lt_module_expsym_cmds
10895 # Commands to strip libraries.
10896 old_striplib=$lt_old_striplib
10897 striplib=$lt_striplib
10899 # Dependencies to place before the objects being linked to create a
10901 predep_objects=$lt_predep_objects
10903 # Dependencies to place after the objects being linked to create a
10905 postdep_objects=$lt_postdep_objects
10907 # Dependencies to place before the objects being linked to create a
10909 predeps=$lt_predeps
10911 # Dependencies to place after the objects being linked to create a
10913 postdeps=$lt_postdeps
10915 # The library search path used internally by the compiler when linking
10916 # a shared library.
10917 compiler_lib_search_path=$lt_compiler_lib_search_path
10919 # Method to check whether dependent libraries are shared objects.
10920 deplibs_check_method=$lt_deplibs_check_method
10922 # Command to use when deplibs_check_method == file_magic.
10923 file_magic_cmd=$lt_file_magic_cmd
10925 # Flag that allows shared libraries with undefined symbols to be built.
10926 allow_undefined_flag=$lt_allow_undefined_flag
10928 # Flag that forces no undefined symbols.
10929 no_undefined_flag=$lt_no_undefined_flag
10931 # Commands used to finish a libtool library installation in a directory.
10932 finish_cmds=$lt_finish_cmds
10934 # Same as above, but a single script fragment to be evaled but not shown.
10935 finish_eval=$lt_finish_eval
10937 # Take the output of nm and produce a listing of raw symbols and C names.
10938 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10940 # Transform the output of nm in a proper C declaration
10941 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10943 # Transform the output of nm in a C name address pair
10944 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10946 # This is the shared library runtime path variable.
10947 runpath_var=$runpath_var
10949 # This is the shared library path variable.
10950 shlibpath_var=$shlibpath_var
10952 # Is shlibpath searched before the hard-coded library search path?
10953 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10955 # How to hardcode a shared library path into an executable.
10956 hardcode_action=$hardcode_action
10958 # Whether we should hardcode library paths into libraries.
10959 hardcode_into_libs=$hardcode_into_libs
10961 # Flag to hardcode \$libdir into a binary during linking.
10962 # This must work even if \$libdir does not exist.
10963 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10965 # If ld is used when linking, flag to hardcode \$libdir into
10966 # a binary during linking. This must work even if \$libdir does
10968 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10970 # Whether we need a single -rpath flag with a separated argument.
10971 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10973 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10974 # resulting binary.
10975 hardcode_direct=$hardcode_direct
10977 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10978 # resulting binary.
10979 hardcode_minus_L=$hardcode_minus_L
10981 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10982 # the resulting binary.
10983 hardcode_shlibpath_var=$hardcode_shlibpath_var
10985 # Set to yes if building a shared library automatically hardcodes DIR into the library
10986 # and all subsequent libraries and executables linked against it.
10987 hardcode_automatic=$hardcode_automatic
10989 # Variables whose values should be saved in libtool wrapper scripts and
10990 # restored at relink time.
10991 variables_saved_for_relink="$variables_saved_for_relink"
10993 # Whether libtool must link a program against all its dependency libraries.
10994 link_all_deplibs=$link_all_deplibs
10996 # Compile-time system search path for libraries
10997 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10999 # Run-time system search path for libraries
11000 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11002 # Fix the shell variable \$srcfile for the compiler.
11003 fix_srcfile_path=$lt_fix_srcfile_path
11005 # Set to yes if exported symbols are required.
11006 always_export_symbols=$always_export_symbols
11008 # The commands to list exported symbols.
11009 export_symbols_cmds=$lt_export_symbols_cmds
11011 # The commands to extract the exported symbol list from a shared archive.
11012 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11014 # Symbols that should not be listed in the preloaded symbols.
11015 exclude_expsyms=$lt_exclude_expsyms
11017 # Symbols that must always be exported.
11018 include_expsyms=$lt_include_expsyms
11020 # ### END LIBTOOL CONFIG
11027 cat <<\EOF >> "$cfgfile"
11029 # AIX sometimes has problems with the GCC collect2 program. For some
11030 # reason, if we set the COLLECT_NAMES environment variable, the problems
11031 # vanish in a puff of smoke.
11032 if test "X${COLLECT_NAMES+set}" != Xset; then
11034 export COLLECT_NAMES
11040 # We use sed instead of cat because bash on DJGPP gets confused if
11041 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11042 # text mode, it properly converts lines to CR/LF. This bash problem
11043 # is reportedly fixed, but why not run on old versions too?
11044 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11046 mv -f "$cfgfile" "$ofile" || \
11047 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11051 # If there is no Makefile yet, we rely on a make rule to execute
11052 # `config.status
--recheck' to rerun these tests and create the
11053 # libtool script then.
11054 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11055 if test -f "$ltmain_in"; then
11056 test -f Makefile && make "$ltmain"
11062 ac_cpp='$CPP $CPPFLAGS'
11063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11064 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11070 # Check whether --with-tags was given.
11071 if test "${with_tags+set}" = set; then
11072 withval=$with_tags; tagnames="$withval"
11076 if test -f "$ltmain" && test -n "$tagnames"; then
11077 if test ! -f "${ofile}"; then
11078 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11079 $as_echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11082 if test -z "$LTCC"; then
11083 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11084 if test -z "$LTCC"; then
11085 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11086 $as_echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11088 { $as_echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11089 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11092 if test -z "$LTCFLAGS"; then
11093 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11096 # Extract list of available tagged configurations in $ofile.
11097 # Note that this assumes the entire list is on one line.
11098 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11100 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11101 for tagname in $tagnames; do
11103 # Check whether tagname contains only valid characters
11104 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11106 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11107 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
11108 { (exit 1); exit 1; }; }
11112 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11114 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11115 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11116 { (exit 1); exit 1; }; }
11119 # Update the list of available tags.
11120 if test -n "$tagname"; then
11121 echo appending configuration tag \"$tagname\" to $ofile
11125 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11126 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11127 (test "X$CXX" != "Xg++"))) ; then
11129 ac_cpp='$CXXCPP $CPPFLAGS'
11130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11137 archive_cmds_need_lc_CXX=no
11138 allow_undefined_flag_CXX=
11139 always_export_symbols_CXX=no
11140 archive_expsym_cmds_CXX=
11141 export_dynamic_flag_spec_CXX=
11142 hardcode_direct_CXX=no
11143 hardcode_libdir_flag_spec_CXX=
11144 hardcode_libdir_flag_spec_ld_CXX=
11145 hardcode_libdir_separator_CXX=
11146 hardcode_minus_L_CXX=no
11147 hardcode_shlibpath_var_CXX=unsupported
11148 hardcode_automatic_CXX=no
11150 module_expsym_cmds_CXX=
11151 link_all_deplibs_CXX=unknown
11152 old_archive_cmds_CXX=$old_archive_cmds
11153 no_undefined_flag_CXX=
11154 whole_archive_flag_spec_CXX=
11155 enable_shared_with_static_runtimes_CXX=no
11157 # Dependencies to place before and after the object being linked:
11158 predep_objects_CXX=
11159 postdep_objects_CXX=
11162 compiler_lib_search_path_CXX=
11164 # Source file extension for C++ test sources.
11167 # Object file extension for compiled C++ test sources.
11171 # Code to be used in simple compile tests
11172 lt_simple_compile_test_code="int some_variable = 0;"
11174 # Code to be used in simple link tests
11175 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11177 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11179 # If no C compiler was specified, use CC.
11182 # If no C compiler flags were specified, use CFLAGS.
11183 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11185 # Allow CC to be a program name with arguments.
11189 # save warnings/boilerplate of simple test code
11190 ac_outfile=conftest.$ac_objext
11191 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11192 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11193 _lt_compiler_boilerplate=`cat conftest.err
`
11196 ac_outfile=conftest.$ac_objext
11197 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11198 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11199 _lt_linker_boilerplate=`cat conftest.err
`
11203 # Allow CC to be a program name with arguments.
11208 lt_save_with_gnu_ld=$with_gnu_ld
11209 lt_save_path_LD=$lt_cv_path_LD
11210 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11211 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11213 $as_unset lt_cv_prog_gnu_ld
11215 if test -n "${lt_cv_path_LDCXX+set}"; then
11216 lt_cv_path_LD=$lt_cv_path_LDCXX
11218 $as_unset lt_cv_path_LD
11220 test -z "${LDCXX+set}" || LD=$LDCXX
11224 for cc_temp in $compiler""; do
11226 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11227 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11232 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11235 # We don't want -fno-exception wen compiling C++ code, so set the
11236 # no_builtin_flag separately
11237 if test "$GXX" = yes; then
11238 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11240 lt_prog_compiler_no_builtin_flag_CXX=
11243 if test "$GXX" = yes; then
11244 # Set up default GNU C++ configuration
11247 # Check whether --with-gnu-ld was given.
11248 if test "${with_gnu_ld+set}" = set; then
11249 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11255 if test "$GCC" = yes; then
11256 # Check if gcc -print-prog-name=ld gives a path.
11257 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11258 $as_echo_n "checking for ld used by $CC... " >&6; }
11261 # gcc leaves a trailing carriage return which upsets mingw
11262 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11264 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11267 # Accept absolute paths.
11269 re_direlt='/[^/][^/]*/\.\./'
11270 # Canonicalize the pathname of ld
11271 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11272 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11273 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11275 test -z "$LD" && LD="$ac_prog"
11278 # If it fails, then pretend we aren't using GCC.
11282 # If it is relative, then search for the first ld in PATH.
11283 with_gnu_ld=unknown
11286 elif test "$with_gnu_ld" = yes; then
11287 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11288 $as_echo_n "checking for GNU ld... " >&6; }
11290 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11291 $as_echo_n "checking for non-GNU ld... " >&6; }
11293 if test "${lt_cv_path_LD+set}" = set; then
11294 $as_echo_n "(cached) " >&6
11296 if test -z "$LD"; then
11297 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11298 for ac_dir in $PATH; do
11300 test -z "$ac_dir" && ac_dir=.
11301 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11302 lt_cv_path_LD="$ac_dir/$ac_prog"
11303 # Check to see if the program is GNU ld. I'd rather use --version,
11304 # but apparently some variants of GNU ld only accept -v.
11305 # Break only if it was the GNU/non-GNU ld that we prefer.
11306 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11307 *GNU* | *'with BFD'*)
11308 test "$with_gnu_ld" != no && break
11311 test "$with_gnu_ld" != yes && break
11318 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11322 LD="$lt_cv_path_LD"
11323 if test -n "$LD"; then
11324 { $as_echo "$as_me:$LINENO: result: $LD" >&5
11325 $as_echo "$LD" >&6; }
11327 { $as_echo "$as_me:$LINENO: result: no" >&5
11328 $as_echo "no" >&6; }
11330 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11331 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11332 { (exit 1); exit 1; }; }
11333 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11334 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11335 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11336 $as_echo_n "(cached) " >&6
11338 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11339 case `$LD -v 2>&1 </dev
/null
` in
11340 *GNU* | *'with BFD'*)
11341 lt_cv_prog_gnu_ld=yes
11344 lt_cv_prog_gnu_ld=no
11348 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11349 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11350 with_gnu_ld=$lt_cv_prog_gnu_ld
11354 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11355 # archiving commands below assume that GNU ld is being used.
11356 if test "$with_gnu_ld" = yes; then
11357 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11358 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'
11360 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11361 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11363 # If archive_cmds runs LD, not CC, wlarc should be empty
11364 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11365 # investigate it a little bit more. (MM)
11368 # ancient GNU ld didn't support --whole-archive et. al.
11369 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11370 grep 'no-whole-archive' > /dev/null; then
11371 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11373 whole_archive_flag_spec_CXX=
11379 # A generic and very simple default shared library creation
11380 # command for GNU C++ for the case where it uses the native
11381 # linker, instead of GNU ld. If possible, this setting should
11382 # overridden to take advantage of the native linker features on
11383 # the platform it is being used on.
11384 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11387 # Commands to make compiler produce verbose output that lists
11388 # what "hidden" libraries, object files and flags are used when
11389 # linking a shared library.
11390 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11398 # PORTME: fill in a description of your system's C++ link characteristics
11399 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11400 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11404 # FIXME: insert proper C++ library support
11408 if test "$host_cpu" = ia64; then
11409 # On IA64, the linker does run time linking by default, so we don't
11410 # have to do anything special.
11411 aix_use_runtimelinking=no
11412 exp_sym_flag='-Bexport'
11415 aix_use_runtimelinking=no
11417 # Test if we are trying to use run time linking or normal
11418 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11419 # need to do runtime linking.
11420 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11421 for ld_flag in $LDFLAGS; do
11424 aix_use_runtimelinking=yes
11432 exp_sym_flag='-bexport'
11433 no_entry_flag='-bnoentry'
11436 # When large executables or shared objects are built, AIX ld can
11437 # have problems creating the table of contents. If linking a library
11438 # or program results in "error TOC overflow" add -mminimal-toc to
11439 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11440 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11442 archive_cmds_CXX=''
11443 hardcode_direct_CXX=yes
11444 hardcode_libdir_separator_CXX=':'
11445 link_all_deplibs_CXX=yes
11447 if test "$GXX" = yes; then
11448 case $host_os in aix4.[012]|aix4.[012].*)
11449 # We only want to do this on AIX 4.2 and lower, the check
11450 # below for broken collect2 doesn't work under 4.3+
11451 collect2name=`${CC} -print-prog-name=collect2
`
11452 if test -f "$collect2name" && \
11453 strings "$collect2name" | grep resolve_lib_name >/dev/null
11455 # We have reworked collect2
11458 # We have old collect2
11459 hardcode_direct_CXX=unsupported
11460 # It fails to find uninstalled libraries when the uninstalled
11461 # path is not listed in the libpath. Setting hardcode_minus_L
11462 # to unsupported forces relinking
11463 hardcode_minus_L_CXX=yes
11464 hardcode_libdir_flag_spec_CXX='-L$libdir'
11465 hardcode_libdir_separator_CXX=
11469 shared_flag='-shared'
11470 if test "$aix_use_runtimelinking" = yes; then
11471 shared_flag="$shared_flag "'${wl}-G'
11475 if test "$host_cpu" = ia64; then
11476 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11477 # chokes on -Wl,-G. The following line is correct:
11480 if test "$aix_use_runtimelinking" = yes; then
11481 shared_flag='${wl}-G'
11483 shared_flag='${wl}-bM:SRE'
11488 # It seems that -bexpall does not export symbols beginning with
11489 # underscore (_), so it is better to generate a list of symbols to export.
11490 always_export_symbols_CXX=yes
11491 if test "$aix_use_runtimelinking" = yes; then
11492 # Warning - without using the other runtime loading flags (-brtl),
11493 # -berok will link without error, but may produce a broken library.
11494 allow_undefined_flag_CXX='-berok'
11495 # Determine the default libpath from the value encoded in an empty executable.
11496 cat >conftest.$ac_ext <<_ACEOF
11499 cat confdefs.h >>conftest.$ac_ext
11500 cat >>conftest.$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11511 rm -f conftest.$ac_objext conftest$ac_exeext
11512 if { (ac_try="$ac_link"
11513 case "(($ac_try" in
11514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11515 *) ac_try_echo
=$ac_try;;
11517 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11518 $as_echo "$ac_try_echo") >&5
11519 (eval "$ac_link") 2>conftest.er1
11521 grep -v '^ *+' conftest.er1
>conftest.err
11523 cat conftest.err
>&5
11524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } && {
11526 test -z "$ac_cxx_werror_flag" ||
11527 test ! -s conftest.err
11528 } && test -s conftest
$ac_exeext && {
11529 test "$cross_compiling" = yes ||
11530 $as_test_x conftest
$ac_exeext
11533 lt_aix_libpath_sed
='
11534 /Import File Strings/,/^$/ {
11540 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11541 # Check for a 64-bit object if we didn't find anything.
11542 if test -z "$aix_libpath"; then
11543 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11546 $as_echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.
$ac_ext >&5
11552 rm -rf conftest.dSYM
11553 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11554 conftest
$ac_exeext conftest.
$ac_ext
11555 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11557 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11559 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"
11561 if test "$host_cpu" = ia64
; then
11562 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11563 allow_undefined_flag_CXX
="-z nodefs"
11564 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"
11566 # Determine the default libpath from the value encoded in an empty executable.
11567 cat >conftest.
$ac_ext <<_ACEOF
11570 cat confdefs.h
>>conftest.
$ac_ext
11571 cat >>conftest.
$ac_ext <<_ACEOF
11572 /* end confdefs.h. */
11582 rm -f conftest.
$ac_objext conftest
$ac_exeext
11583 if { (ac_try
="$ac_link"
11584 case "(($ac_try" in
11585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11586 *) ac_try_echo=$ac_try;;
11588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11589 $as_echo "$ac_try_echo") >&5
11590 (eval "$ac_link") 2>conftest.er1
11592 grep -v '^ *+' conftest.er1 >conftest.err
11594 cat conftest.err >&5
11595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596 (exit $ac_status); } && {
11597 test -z "$ac_cxx_werror_flag" ||
11598 test ! -s conftest.err
11599 } && test -s conftest$ac_exeext && {
11600 test "$cross_compiling" = yes ||
11601 $as_test_x conftest$ac_exeext
11604 lt_aix_libpath_sed='
11605 /Import File Strings/,/^$/ {
11611 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11612 # Check for a 64-bit object if we didn't find anything.
11613 if test -z "$aix_libpath"; then
11614 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11617 $as_echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.$ac_ext >&5
11623 rm -rf conftest.dSYM
11624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11625 conftest$ac_exeext conftest.$ac_ext
11626 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11628 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11629 # Warning - without using the other run time loading flags,
11630 # -berok will link without error, but may produce a broken library.
11631 no_undefined_flag_CXX=' ${wl}-bernotok'
11632 allow_undefined_flag_CXX=' ${wl}-berok'
11633 # Exported symbols can be pulled into shared objects from archives
11634 whole_archive_flag_spec_CXX='$convenience'
11635 archive_cmds_need_lc_CXX=yes
11636 # This is similar to how AIX traditionally builds its shared libraries.
11637 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'
11643 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11644 allow_undefined_flag_CXX=unsupported
11645 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11646 # support --undefined. This deserves some investigation. FIXME
11647 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11654 case $cc_basename in
11656 # FIXME: insert proper C++ library support
11662 cygwin* | mingw* | pw32*)
11663 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11664 # as there is no search path for DLLs.
11665 hardcode_libdir_flag_spec_CXX='-L$libdir'
11666 allow_undefined_flag_CXX=unsupported
11667 always_export_symbols_CXX=no
11668 enable_shared_with_static_runtimes_CXX=yes
11670 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11671 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'
11672 # If the export-symbols file already is a .def file (1st line
11673 # is EXPORTS), use it as is; otherwise, prepend...
11674 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11675 cp $export_symbols $output_objdir/$soname.def;
11677 echo EXPORTS > $output_objdir/$soname.def;
11678 cat $export_symbols >> $output_objdir/$soname.def;
11680 $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'
11685 darwin* | rhapsody*)
11687 rhapsody* | darwin1.[012])
11688 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11691 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11692 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11694 case ${MACOSX_DEPLOYMENT_TARGET} in
11696 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11699 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11705 archive_cmds_need_lc_CXX=no
11706 hardcode_direct_CXX=no
11707 hardcode_automatic_CXX=yes
11708 hardcode_shlibpath_var_CXX=unsupported
11709 whole_archive_flag_spec_CXX=''
11710 link_all_deplibs_CXX=yes
11712 if test "$GXX" = yes ; then
11713 lt_int_apple_cc_single_mod=no
11714 output_verbose_link_cmd='echo'
11715 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11716 lt_int_apple_cc_single_mod=yes
11718 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11719 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11721 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'
11723 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11724 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11725 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11726 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11728 archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11730 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}'
11732 case $cc_basename in
11734 output_verbose_link_cmd='echo'
11735 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'
11736 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11737 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11738 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}'
11739 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}'
11749 case $cc_basename in
11751 # FIXME: insert proper C++ library support
11755 # Green Hills C++ Compiler
11756 # FIXME: insert proper C++ library support
11760 # FIXME: insert proper C++ library support
11766 # C++ shared libraries reported to be fairly broken before switch to ELF
11770 archive_cmds_need_lc_CXX=no
11772 freebsd* | dragonfly*)
11773 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11780 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11781 hardcode_libdir_separator_CXX=:
11782 export_dynamic_flag_spec_CXX='${wl}-E'
11783 hardcode_direct_CXX=yes
11784 hardcode_minus_L_CXX=yes # Not in the search PATH,
11785 # but as the default
11786 # location of the library.
11788 case $cc_basename in
11790 # FIXME: insert proper C++ library support
11794 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'
11795 # Commands to make compiler produce verbose output that lists
11796 # what "hidden" libraries, object files and flags are used when
11797 # linking a shared library.
11799 # There doesn't appear to be a way to prevent this compiler from
11800 # explicitly linking system object files so we need to strip them
11801 # from the output so that they don't get included in the library
11803 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'
11806 if test "$GXX" = yes; then
11807 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'
11809 # FIXME: insert proper C++ library support
11816 if test $with_gnu_ld = no; then
11817 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11818 hardcode_libdir_separator_CXX=:
11823 export_dynamic_flag_spec_CXX='${wl}-E'
11829 hardcode_direct_CXX=no
11830 hardcode_shlibpath_var_CXX=no
11833 hardcode_direct_CXX=yes
11834 hardcode_minus_L_CXX=yes # Not in the search PATH,
11835 # but as the default
11836 # location of the library.
11840 case $cc_basename in
11842 # FIXME: insert proper C++ library support
11848 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11851 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11854 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11857 # Commands to make compiler produce verbose output that lists
11858 # what "hidden" libraries, object files and flags are used when
11859 # linking a shared library.
11861 # There doesn't appear to be a way to prevent this compiler from
11862 # explicitly linking system object files so we need to strip them
11863 # from the output so that they don't get included in the library
11865 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'
11868 if test "$GXX" = yes; then
11869 if test $with_gnu_ld = no; then
11872 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11875 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11878 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'
11883 # FIXME: insert proper C++ library support
11890 hardcode_direct_CXX=no
11891 hardcode_shlibpath_var_CXX=no
11892 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11893 export_dynamic_flag_spec_CXX='${wl}-E'
11894 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11895 # Instead, shared libraries are loaded at an image base (0x10000000 by
11896 # default) and relocated if they conflict, which is a slow very memory
11897 # consuming and fragmenting process. To avoid this, we pick a random,
11898 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11899 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11900 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'
11901 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'
11904 case $cc_basename in
11907 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'
11909 # Archives containing C++ object files must be created using
11910 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11911 # necessary to make sure instantiated templates are included
11913 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11916 if test "$GXX" = yes; then
11917 if test "$with_gnu_ld" = no; then
11918 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'
11920 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'
11923 link_all_deplibs_CXX=yes
11926 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11927 hardcode_libdir_separator_CXX=:
11929 linux* | k*bsd*-gnu)
11930 case $cc_basename in
11932 # Kuck and Associates, Inc. (KAI) C++ Compiler
11934 # KCC will only create a shared library if the output file
11935 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11936 # to its proper name (with version) after linking.
11937 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'
11938 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'
11939 # Commands to make compiler produce verbose output that lists
11940 # what "hidden" libraries, object files and flags are used when
11941 # linking a shared library.
11943 # There doesn't appear to be a way to prevent this compiler from
11944 # explicitly linking system object files so we need to strip them
11945 # from the output so that they don't get included in the library
11947 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'
11949 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11950 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11952 # Archives containing C++ object files must be created using
11953 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11954 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11959 # version 8.0 and above of icpc choke on multiply defined symbols
11960 # if we add $predep_objects and $postdep_objects, however 7.1 and
11961 # earlier do not add the objects themselves.
11962 case `$CC -V 2>&1` in
11964 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11965 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'
11967 *) # Version 8.0 or newer
11970 ia64
*) tmp_idyn
=' -i_dynamic';;
11972 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11973 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'
11976 archive_cmds_need_lc_CXX
=no
11977 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11978 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11979 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11982 # Portland Group C++ compiler
11983 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11984 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'
11986 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11987 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11988 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'
11992 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11993 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'
11995 runpath_var
=LD_RUN_PATH
11996 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
11997 hardcode_libdir_separator_CXX
=:
11999 # Commands to make compiler produce verbose output that lists
12000 # what "hidden" libraries, object files and flags are used when
12001 # linking a shared library.
12003 # There doesn't appear to be a way to prevent this compiler from
12004 # explicitly linking system object files so we need to strip them
12005 # from the output so that they don't get included in the library
12007 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'
12010 case `$CC -V 2>&1 | sed 5q` in
12013 no_undefined_flag_CXX
=' -zdefs'
12014 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12015 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'
12016 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12017 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'
12019 # Not sure whether something based on
12020 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12022 output_verbose_link_cmd
='echo'
12024 # Archives containing C++ object files must be created using
12025 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12026 # necessary to make sure instantiated templates are included
12028 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12035 # FIXME: insert proper C++ library support
12039 # FIXME: insert proper C++ library support
12043 case $cc_basename in
12045 # FIXME: insert proper C++ library support
12049 # FIXME: insert proper C++ library support
12055 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12056 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12058 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12059 hardcode_direct_CXX
=yes
12060 hardcode_shlibpath_var_CXX
=no
12062 # Workaround some broken pre-1.5 toolchains
12063 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12066 # C++ shared libraries are fairly broken
12070 if test -f /usr
/libexec
/ld.so
; then
12071 hardcode_direct_CXX
=yes
12072 hardcode_shlibpath_var_CXX
=no
12073 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12074 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12075 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12076 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12077 export_dynamic_flag_spec_CXX
='${wl}-E'
12078 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12080 output_verbose_link_cmd
='echo'
12086 case $cc_basename in
12088 # Kuck and Associates, Inc. (KAI) C++ Compiler
12090 # KCC will only create a shared library if the output file
12091 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12092 # to its proper name (with version) after linking.
12093 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'
12095 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12096 hardcode_libdir_separator_CXX
=:
12098 # Archives containing C++ object files must be created using
12099 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12100 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12104 # Rational C++ 2.4.1
12105 # FIXME: insert proper C++ library support
12109 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12110 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'
12112 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12113 hardcode_libdir_separator_CXX
=:
12115 # Commands to make compiler produce verbose output that lists
12116 # what "hidden" libraries, object files and flags are used when
12117 # linking a shared library.
12119 # There doesn't appear to be a way to prevent this compiler from
12120 # explicitly linking system object files so we need to strip them
12121 # from the output so that they don't get included in the library
12123 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'
12126 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12127 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12128 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'
12130 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12131 hardcode_libdir_separator_CXX
=:
12133 # Commands to make compiler produce verbose output that lists
12134 # what "hidden" libraries, object files and flags are used when
12135 # linking a shared library.
12136 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12139 # FIXME: insert proper C++ library support
12146 case $cc_basename in
12148 # Kuck and Associates, Inc. (KAI) C++ Compiler
12150 # KCC will only create a shared library if the output file
12151 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12152 # to its proper name (with version) after linking.
12153 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'
12155 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12156 hardcode_libdir_separator_CXX
=:
12158 # Archives containing C++ object files must be created using
12159 # the KAI C++ compiler.
12160 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12163 # Rational C++ 2.4.1
12164 # FIXME: insert proper C++ library support
12168 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12169 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'
12170 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12171 echo "-hidden">> $lib.exp~
12172 $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~
12175 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12176 hardcode_libdir_separator_CXX
=:
12178 # Commands to make compiler produce verbose output that lists
12179 # what "hidden" libraries, object files and flags are used when
12180 # linking a shared library.
12182 # There doesn't appear to be a way to prevent this compiler from
12183 # explicitly linking system object files so we need to strip them
12184 # from the output so that they don't get included in the library
12186 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'
12189 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12190 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12191 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'
12193 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12194 hardcode_libdir_separator_CXX
=:
12196 # Commands to make compiler produce verbose output that lists
12197 # what "hidden" libraries, object files and flags are used when
12198 # linking a shared library.
12199 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12202 # FIXME: insert proper C++ library support
12209 # FIXME: insert proper C++ library support
12213 case $cc_basename in
12216 # FIXME: insert proper C++ library support
12221 # FIXME: insert proper C++ library support
12225 # FIXME: insert proper C++ library support
12231 case $cc_basename in
12233 # Sun C++ 4.2, 5.x and Centerline C++
12234 archive_cmds_need_lc_CXX
=yes
12235 no_undefined_flag_CXX
=' -zdefs'
12236 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12237 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12238 $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'
12240 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12241 hardcode_shlibpath_var_CXX
=no
12243 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12245 # The compiler driver will combine and reorder linker options,
12246 # but understands `-z linker_flag'.
12247 # Supported since Solaris 2.6 (maybe 2.5.1?)
12248 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12251 link_all_deplibs_CXX
=yes
12253 output_verbose_link_cmd
='echo'
12255 # Archives containing C++ object files must be created using
12256 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12257 # necessary to make sure instantiated templates are included
12259 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12262 # Green Hills C++ Compiler
12263 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12265 # The C++ compiler must be used to create the archive.
12266 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12269 # GNU C++ compiler with Solaris linker
12270 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12271 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12272 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12273 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12274 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12275 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12277 # Commands to make compiler produce verbose output that lists
12278 # what "hidden" libraries, object files and flags are used when
12279 # linking a shared library.
12280 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12282 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12284 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12285 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12286 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12288 # Commands to make compiler produce verbose output that lists
12289 # what "hidden" libraries, object files and flags are used when
12290 # linking a shared library.
12291 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12294 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12296 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12298 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12305 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12306 no_undefined_flag_CXX
='${wl}-z,text'
12307 archive_cmds_need_lc_CXX
=no
12308 hardcode_shlibpath_var_CXX
=no
12309 runpath_var
='LD_RUN_PATH'
12311 case $cc_basename in
12313 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12314 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12317 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12318 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12322 sysv5
* | sco3.2v5
* | sco5v6
*)
12323 # Note: We can NOT use -z defs as we might desire, because we do not
12324 # link with -lc, and that would cause any symbols used from libc to
12325 # always be unresolved, which means just about no library would
12326 # ever link correctly. If we're not using GNU ld we use -z text
12327 # though, which does catch some bad symbols but isn't as heavy-handed
12329 # For security reasons, it is highly recommended that you always
12330 # use absolute paths for naming shared libraries, and exclude the
12331 # DT_RUNPATH tag from executables and libraries. But doing so
12332 # requires that you compile everything twice, which is a pain.
12333 # So that behaviour is only enabled if SCOABSPATH is set to a
12334 # non-empty value in the environment. Most likely only useful for
12335 # creating official distributions of packages.
12336 # This is a hack until libtool officially supports absolute path
12337 # names for shared libraries.
12338 no_undefined_flag_CXX
='${wl}-z,text'
12339 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12340 archive_cmds_need_lc_CXX
=no
12341 hardcode_shlibpath_var_CXX
=no
12342 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12343 hardcode_libdir_separator_CXX
=':'
12344 link_all_deplibs_CXX
=yes
12345 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12346 runpath_var
='LD_RUN_PATH'
12348 case $cc_basename in
12350 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12351 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12354 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12355 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12360 case $cc_basename in
12362 # NonStop-UX NCC 3.20
12363 # FIXME: insert proper C++ library support
12367 # FIXME: insert proper C++ library support
12373 # FIXME: insert proper C++ library support
12377 # FIXME: insert proper C++ library support
12381 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12382 $as_echo "$ld_shlibs_CXX" >&6; }
12383 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12389 cat > conftest.
$ac_ext <<EOF
12393 Foo (void) { a = 0; }
12399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12400 (eval $ac_compile) 2>&5
12402 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; then
12404 # Parse the compiler output and extract the necessary
12405 # objects, libraries and library flags.
12407 # Sentinel used to keep track of whether or not we are before
12408 # the conftest object file.
12409 pre_test_object_deps_done
=no
12411 # The `*' in the case matches for architectures that use `case' in
12412 # $output_verbose_cmd can trigger glob expansion during the loop
12413 # eval without this substitution.
12414 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12416 for p
in `eval $output_verbose_link_cmd`; do
12420 # Some compilers place space between "-{L,R}" and the path.
12421 # Remove the space.
12422 if test $p = "-L" \
12423 ||
test $p = "-R"; then
12430 if test "$pre_test_object_deps_done" = no
; then
12433 # Internal compiler library paths should come after those
12434 # provided the user. The postdeps already come after the
12435 # user supplied libs so there is no need to process them.
12436 if test -z "$compiler_lib_search_path_CXX"; then
12437 compiler_lib_search_path_CXX
="${prev}${p}"
12439 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12442 # The "-l" case would never come before the object being
12443 # linked, so don't bother handling this case.
12446 if test -z "$postdeps_CXX"; then
12447 postdeps_CXX
="${prev}${p}"
12449 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12455 # This assumes that the test object file only shows up
12456 # once in the compiler output.
12457 if test "$p" = "conftest.$objext"; then
12458 pre_test_object_deps_done
=yes
12462 if test "$pre_test_object_deps_done" = no
; then
12463 if test -z "$predep_objects_CXX"; then
12464 predep_objects_CXX
="$p"
12466 predep_objects_CXX
="$predep_objects_CXX $p"
12469 if test -z "$postdep_objects_CXX"; then
12470 postdep_objects_CXX
="$p"
12472 postdep_objects_CXX
="$postdep_objects_CXX $p"
12477 *) ;; # Ignore the rest.
12485 echo "libtool.m4: error: problem compiling CXX test program"
12488 $rm -f confest.
$objext
12490 # PORTME: override above test on systems where it is broken
12493 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12494 # hack all around it, let's just trust "g++" to DTRT.
12495 predep_objects_CXX
=
12496 postdep_objects_CXX
=
12501 case `$CC -V 2>&1 | sed 5q` in
12505 # The more standards-conforming stlport4 library is
12506 # incompatible with the Cstd library. Avoid specifying
12507 # it if it's in CXXFLAGS. Ignore libCrun as
12508 # -library=stlport4 depends on it.
12509 case " $CXX $CXXFLAGS " in
12510 *" -library=stlport4 "*)
12511 solaris_use_stlport4
=yes
12514 if test "$solaris_use_stlport4" != yes; then
12515 postdeps_CXX
='-library=Cstd -library=Crun'
12522 case $cc_basename in
12524 # The more standards-conforming stlport4 library is
12525 # incompatible with the Cstd library. Avoid specifying
12526 # it if it's in CXXFLAGS. Ignore libCrun as
12527 # -library=stlport4 depends on it.
12528 case " $CXX $CXXFLAGS " in
12529 *" -library=stlport4 "*)
12530 solaris_use_stlport4
=yes
12534 # Adding this requires a known-good setup of shared libraries for
12535 # Sun compiler versions before 5.6, else PIC objects from an old
12536 # archive will be linked into the output, leading to subtle bugs.
12537 if test "$solaris_use_stlport4" != yes; then
12538 postdeps_CXX
='-library=Cstd -library=Crun'
12546 case " $postdeps_CXX " in
12547 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12550 lt_prog_compiler_wl_CXX
=
12551 lt_prog_compiler_pic_CXX
=
12552 lt_prog_compiler_static_CXX
=
12554 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12555 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12557 # C++ specific cases for pic, static, wl, etc.
12558 if test "$GXX" = yes; then
12559 lt_prog_compiler_wl_CXX
='-Wl,'
12560 lt_prog_compiler_static_CXX
='-static'
12564 # All AIX code is PIC.
12565 if test "$host_cpu" = ia64
; then
12566 # AIX 5 now supports IA64 processor
12567 lt_prog_compiler_static_CXX
='-Bstatic'
12571 # FIXME: we need at least 68020 code to build shared libraries, but
12572 # adding the `-m68020' flag to GCC prevents building anything better,
12574 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12576 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12577 # PIC is the default for these OSes.
12579 mingw
* | cygwin
* | os2
* | pw32
*)
12580 # This hack is so that the source file can tell whether it is being
12581 # built for inclusion in a dll (and should export symbols for example).
12582 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12583 # (--disable-auto-import) libraries
12584 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12586 darwin
* | rhapsody
*)
12587 # PIC is the default on this platform
12588 # Common symbols not allowed in MH_DYLIB files
12589 lt_prog_compiler_pic_CXX
='-fno-common'
12592 # DJGPP does not support shared libraries at all
12593 lt_prog_compiler_pic_CXX
=
12596 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12597 # Instead, we relocate shared libraries at runtime.
12600 if test -d /usr
/nec
; then
12601 lt_prog_compiler_pic_CXX
=-Kconform_pic
12605 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12606 # not for PA HP-UX.
12611 lt_prog_compiler_pic_CXX
='-fPIC'
12616 lt_prog_compiler_pic_CXX
='-fPIC'
12622 # All AIX code is PIC.
12623 if test "$host_cpu" = ia64
; then
12624 # AIX 5 now supports IA64 processor
12625 lt_prog_compiler_static_CXX
='-Bstatic'
12627 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12631 case $cc_basename in
12633 # Green Hills C++ Compiler
12634 # _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"
12639 # PIC is the default on this platform
12640 # Common symbols not allowed in MH_DYLIB files
12641 case $cc_basename in
12643 lt_prog_compiler_pic_CXX
='-qnocommon'
12644 lt_prog_compiler_wl_CXX
='-Wl,'
12649 case $cc_basename in
12651 lt_prog_compiler_pic_CXX
='-KPIC'
12654 # Green Hills C++ Compiler
12655 lt_prog_compiler_pic_CXX
='-pic'
12661 freebsd
* | dragonfly
*)
12662 # FreeBSD uses GNU C++
12664 hpux9
* | hpux10
* | hpux11
*)
12665 case $cc_basename in
12667 lt_prog_compiler_wl_CXX
='-Wl,'
12668 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12669 if test "$host_cpu" != ia64
; then
12670 lt_prog_compiler_pic_CXX
='+Z'
12674 lt_prog_compiler_wl_CXX
='-Wl,'
12675 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12681 lt_prog_compiler_pic_CXX
='+Z'
12690 # This is c89, which is MS Visual C++ (no shared libs)
12691 # Anyone wants to do a port?
12693 irix5
* | irix6
* | nonstopux
*)
12694 case $cc_basename in
12696 lt_prog_compiler_wl_CXX
='-Wl,'
12697 lt_prog_compiler_static_CXX
='-non_shared'
12698 # CC pic flag -KPIC is the default.
12704 linux
* | k
*bsd
*-gnu)
12705 case $cc_basename in
12708 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12709 lt_prog_compiler_pic_CXX
='-fPIC'
12713 lt_prog_compiler_wl_CXX
='-Wl,'
12714 lt_prog_compiler_pic_CXX
='-KPIC'
12715 lt_prog_compiler_static_CXX
='-static'
12718 # Portland Group C++ compiler.
12719 lt_prog_compiler_wl_CXX
='-Wl,'
12720 lt_prog_compiler_pic_CXX
='-fpic'
12721 lt_prog_compiler_static_CXX
='-Bstatic'
12725 # Make sure the PIC flag is empty. It appears that all Alpha
12726 # Linux and Compaq Tru64 Unix objects are PIC.
12727 lt_prog_compiler_pic_CXX
=
12728 lt_prog_compiler_static_CXX
='-non_shared'
12731 case `$CC -V 2>&1 | sed 5q` in
12734 lt_prog_compiler_pic_CXX
='-KPIC'
12735 lt_prog_compiler_static_CXX
='-Bstatic'
12736 lt_prog_compiler_wl_CXX
='-Qoption ld '
12747 case $cc_basename in
12749 lt_prog_compiler_pic_CXX
='-W c,exportall'
12757 osf3
* | osf4
* | osf5
*)
12758 case $cc_basename in
12760 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12763 # Rational C++ 2.4.1
12764 lt_prog_compiler_pic_CXX
='-pic'
12767 # Digital/Compaq C++
12768 lt_prog_compiler_wl_CXX
='-Wl,'
12769 # Make sure the PIC flag is empty. It appears that all Alpha
12770 # Linux and Compaq Tru64 Unix objects are PIC.
12771 lt_prog_compiler_pic_CXX
=
12772 lt_prog_compiler_static_CXX
='-non_shared'
12781 case $cc_basename in
12783 # Sun C++ 4.2, 5.x and Centerline C++
12784 lt_prog_compiler_pic_CXX
='-KPIC'
12785 lt_prog_compiler_static_CXX
='-Bstatic'
12786 lt_prog_compiler_wl_CXX
='-Qoption ld '
12789 # Green Hills C++ Compiler
12790 lt_prog_compiler_pic_CXX
='-PIC'
12797 case $cc_basename in
12800 lt_prog_compiler_pic_CXX
='-pic'
12801 lt_prog_compiler_static_CXX
='-Bstatic'
12805 lt_prog_compiler_pic_CXX
='-pic'
12812 case $cc_basename in
12814 # NonStop-UX NCC 3.20
12815 lt_prog_compiler_pic_CXX
='-KPIC'
12821 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12822 case $cc_basename in
12824 lt_prog_compiler_wl_CXX
='-Wl,'
12825 lt_prog_compiler_pic_CXX
='-KPIC'
12826 lt_prog_compiler_static_CXX
='-Bstatic'
12833 lt_prog_compiler_can_build_shared_CXX
=no
12838 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12839 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12842 # Check to make sure the PIC flag actually works.
12844 if test -n "$lt_prog_compiler_pic_CXX"; then
12846 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12847 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12848 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12849 $as_echo_n "(cached) " >&6
12851 lt_prog_compiler_pic_works_CXX
=no
12852 ac_outfile
=conftest.
$ac_objext
12853 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12854 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12855 # Insert the option either (1) after the last *FLAGS variable, or
12856 # (2) before a word containing "conftest.", or (3) at the end.
12857 # Note that $ac_compile itself does not contain backslashes and begins
12858 # with a dollar sign (not a hyphen), so the echo should work correctly.
12859 # The option is referenced via a variable to avoid confusing sed.
12860 lt_compile
=`echo "$ac_compile" | $SED \
12861 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12862 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12863 -e 's:$: $lt_compiler_flag:'`
12864 (eval echo "\"\$as_me:12864: $lt_compile\"" >&5)
12865 (eval "$lt_compile" 2>conftest.err
)
12867 cat conftest.err
>&5
12868 echo "$as_me:12868: \$? = $ac_status" >&5
12869 if (exit $ac_status) && test -s "$ac_outfile"; then
12870 # The compiler can only warn and ignore the option if not recognized
12871 # So say no if there are warnings other than the usual output.
12872 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12873 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12874 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12875 lt_prog_compiler_pic_works_CXX
=yes
12881 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12882 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
12884 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12885 case $lt_prog_compiler_pic_CXX in
12887 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12890 lt_prog_compiler_pic_CXX
=
12891 lt_prog_compiler_can_build_shared_CXX
=no
12896 # For platforms which do not support PIC, -DPIC is meaningless:
12898 lt_prog_compiler_pic_CXX
=
12901 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12906 # Check to make sure the static flag actually works.
12908 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12909 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12910 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12911 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12912 $as_echo_n "(cached) " >&6
12914 lt_prog_compiler_static_works_CXX
=no
12915 save_LDFLAGS
="$LDFLAGS"
12916 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12917 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12918 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12919 # The linker can only warn and ignore the option if not recognized
12920 # So say no if there are warnings
12921 if test -s conftest.err
; then
12922 # Append any errors to the config.log.
12923 cat conftest.err
1>&5
12924 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12925 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12926 if diff conftest.exp conftest.er2
>/dev
/null
; then
12927 lt_prog_compiler_static_works_CXX
=yes
12930 lt_prog_compiler_static_works_CXX
=yes
12934 LDFLAGS
="$save_LDFLAGS"
12937 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12938 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
12940 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12943 lt_prog_compiler_static_CXX
=
12947 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12948 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12949 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12950 $as_echo_n "(cached) " >&6
12952 lt_cv_prog_compiler_c_o_CXX
=no
12953 $rm -r conftest
2>/dev
/null
12957 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12959 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12960 # Insert the option either (1) after the last *FLAGS variable, or
12961 # (2) before a word containing "conftest.", or (3) at the end.
12962 # Note that $ac_compile itself does not contain backslashes and begins
12963 # with a dollar sign (not a hyphen), so the echo should work correctly.
12964 lt_compile
=`echo "$ac_compile" | $SED \
12965 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12966 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12967 -e 's:$: $lt_compiler_flag:'`
12968 (eval echo "\"\$as_me:12968: $lt_compile\"" >&5)
12969 (eval "$lt_compile" 2>out
/conftest.err
)
12971 cat out
/conftest.err
>&5
12972 echo "$as_me:12972: \$? = $ac_status" >&5
12973 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12975 # The compiler can only warn and ignore the option if not recognized
12976 # So say no if there are warnings
12977 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12978 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12979 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12980 lt_cv_prog_compiler_c_o_CXX
=yes
12985 # SGI C++ compiler will create directory out/ii_files/ for
12986 # template instantiation
12987 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
12988 $rm out
/* && rmdir out
12994 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12995 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
12998 hard_links
="nottested"
12999 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13000 # do not overwrite the value of need_locks provided by the user
13001 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13002 $as_echo_n "checking if we can lock with hard links... " >&6; }
13005 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13007 ln conftest.a conftest.b
2>&5 || hard_links
=no
13008 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13009 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13010 $as_echo "$hard_links" >&6; }
13011 if test "$hard_links" = no
; then
13012 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13013 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13020 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13021 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13023 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13026 # If we're using GNU nm, then we don't want the "-C" option.
13027 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13028 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13029 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'
13031 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'
13035 export_symbols_cmds_CXX
="$ltdll_cmds"
13038 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'
13041 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13045 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13046 $as_echo "$ld_shlibs_CXX" >&6; }
13047 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13050 # Do we need to explicitly link libc?
13052 case "x$archive_cmds_need_lc_CXX" in
13054 # Assume -lc should be added
13055 archive_cmds_need_lc_CXX
=yes
13057 if test "$enable_shared" = yes && test "$GCC" = yes; then
13058 case $archive_cmds_CXX in
13060 # FIXME: we may have to deal with multi-command sequences.
13063 # Test whether the compiler implicitly links with -lc since on some
13064 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13065 # to ld, don't add -lc before -lgcc.
13066 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13067 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13069 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13072 (eval $ac_compile) 2>&5
13074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); } 2>conftest.err
; then
13078 libobjs
=conftest.
$ac_objext
13080 wl
=$lt_prog_compiler_wl_CXX
13081 pic_flag
=$lt_prog_compiler_pic_CXX
13087 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13088 allow_undefined_flag_CXX
=
13089 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13090 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13092 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }
13095 archive_cmds_need_lc_CXX
=no
13097 archive_cmds_need_lc_CXX
=yes
13099 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13101 cat conftest.err
1>&5
13104 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13105 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13112 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13114 library_names_spec
=
13115 libname_spec
='lib$name'
13119 postuninstall_cmds
=
13123 shlibpath_overrides_runpath
=unknown
13125 dynamic_linker
="$host_os ld.so"
13126 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13128 need_lib_prefix
=unknown
13129 hardcode_into_libs
=no
13131 # when you set need_version to no, make sure it does not cause -set_version
13132 # flags to be left without arguments
13133 need_version
=unknown
13138 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13139 shlibpath_var
=LIBPATH
13141 # AIX 3 has no versioning support, so we append a major version to the name.
13142 soname_spec
='${libname}${release}${shared_ext}$major'
13149 hardcode_into_libs
=yes
13150 if test "$host_cpu" = ia64
; then
13151 # AIX 5 supports IA64
13152 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13153 shlibpath_var
=LD_LIBRARY_PATH
13155 # With GCC up to 2.95.x, collect2 would create an import file
13156 # for dependence libraries. The import file would start with
13157 # the line `#! .'. This would cause the generated library to
13158 # depend on `.', always an invalid library. This was fixed in
13159 # development snapshots of GCC prior to 3.0.
13161 aix4 | aix4.
[01] | aix4.
[01].
*)
13162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13164 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13167 can_build_shared
=no
13171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13172 # soname into executable. Probably we can add versioning support to
13173 # collect2, so additional links can be useful in future.
13174 if test "$aix_use_runtimelinking" = yes; then
13175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13176 # instead of lib<name>.a to let people know that these are not
13177 # typical AIX shared libraries.
13178 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13180 # We preserve .a as extension for shared libraries through AIX4.2
13181 # and later when we are not doing run time linking.
13182 library_names_spec
='${libname}${release}.a $libname.a'
13183 soname_spec
='${libname}${release}${shared_ext}$major'
13185 shlibpath_var
=LIBPATH
13190 library_names_spec
='$libname.ixlibrary $libname.a'
13191 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13192 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'
13196 library_names_spec
='${libname}${shared_ext}'
13197 dynamic_linker
="$host_os ld.so"
13198 shlibpath_var
=LIBRARY_PATH
13204 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13205 soname_spec
='${libname}${release}${shared_ext}$major'
13206 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13207 shlibpath_var
=LD_LIBRARY_PATH
13208 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13209 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13210 # the default ld.so.conf also contains /usr/contrib/lib and
13211 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13212 # libtool to hard-code these into programs
13215 cygwin
* | mingw
* | pw32
*)
13216 version_type
=windows
13221 case $GCC,$host_os in
13222 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13223 library_names_spec
='$libname.dll.a'
13224 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13225 postinstall_cmds
='base_file=`basename \${file}`~
13226 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13227 dldir=$destdir/`dirname \$dlpath`~
13228 test -d \$dldir || mkdir -p \$dldir~
13229 $install_prog $dir/$dlname \$dldir/$dlname~
13230 chmod a+x \$dldir/$dlname'
13231 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13232 dlpath=$dir/\$dldll~
13234 shlibpath_overrides_runpath
=yes
13238 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13239 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13240 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13243 # MinGW DLLs use traditional 'lib' prefix
13244 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13245 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13246 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13247 # It is most probably a Windows format PATH printed by
13248 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13249 # path with ; separators, and with drive letters. We can handle the
13250 # drive letters (cygwin fileutils understands them), so leave them,
13251 # especially as we might pass files found there to a mingw objdump,
13252 # which wouldn't understand a cygwinified path. Ahh.
13253 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13255 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13259 # pw32 DLLs use 'pw' prefix rather than 'lib'
13260 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13266 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13269 dynamic_linker
='Win32 ld.exe'
13270 # FIXME: first we should search . and the directory the executable is in
13274 darwin
* | rhapsody
*)
13275 dynamic_linker
="$host_os dyld"
13276 version_type
=darwin
13279 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13280 soname_spec
='${libname}${release}${major}$shared_ext'
13281 shlibpath_overrides_runpath
=yes
13282 shlibpath_var
=DYLD_LIBRARY_PATH
13283 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13285 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13292 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13293 soname_spec
='${libname}${release}${shared_ext}$major'
13294 shlibpath_var
=LD_LIBRARY_PATH
13301 freebsd
* | dragonfly
*)
13302 # DragonFly does not have aout. When/if they implement a new
13303 # versioning mechanism, adjust this.
13304 if test -x /usr
/bin
/objformat
; then
13305 objformat
=`/usr/bin/objformat`
13308 freebsd
[123]*) objformat
=aout
;;
13309 *) objformat
=elf
;;
13312 version_type
=freebsd-
$objformat
13313 case $version_type in
13315 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13320 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13324 shlibpath_var
=LD_LIBRARY_PATH
13327 shlibpath_overrides_runpath
=yes
13329 freebsd3.
[01]* | freebsdelf3.
[01]*)
13330 shlibpath_overrides_runpath
=yes
13331 hardcode_into_libs
=yes
13333 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13334 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13335 shlibpath_overrides_runpath
=no
13336 hardcode_into_libs
=yes
13338 *) # from 4.6 on, and DragonFly
13339 shlibpath_overrides_runpath
=yes
13340 hardcode_into_libs
=yes
13349 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13350 soname_spec
='${libname}${release}${shared_ext}$major'
13351 shlibpath_var
=LD_LIBRARY_PATH
13352 hardcode_into_libs
=yes
13355 hpux9
* | hpux10
* | hpux11
*)
13356 # Give a soname corresponding to the major version so that dld.sl refuses to
13357 # link against other versions.
13364 hardcode_into_libs
=yes
13365 dynamic_linker
="$host_os dld.so"
13366 shlibpath_var
=LD_LIBRARY_PATH
13367 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13368 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13369 soname_spec
='${libname}${release}${shared_ext}$major'
13370 if test "X$HPUX_IA64_MODE" = X32
; then
13371 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13373 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13375 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13379 hardcode_into_libs
=yes
13380 dynamic_linker
="$host_os dld.sl"
13381 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13382 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13384 soname_spec
='${libname}${release}${shared_ext}$major'
13385 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13386 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13390 dynamic_linker
="$host_os dld.sl"
13391 shlibpath_var
=SHLIB_PATH
13392 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13394 soname_spec
='${libname}${release}${shared_ext}$major'
13397 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13398 postinstall_cmds
='chmod 555 $lib'
13405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13406 soname_spec
='${libname}${release}${shared_ext}$major'
13407 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13408 shlibpath_var
=LD_LIBRARY_PATH
13409 shlibpath_overrides_runpath
=no
13410 hardcode_into_libs
=yes
13413 irix5
* | irix6
* | nonstopux
*)
13415 nonstopux
*) version_type
=nonstopux
;;
13417 if test "$lt_cv_prog_gnu_ld" = yes; then
13425 soname_spec
='${libname}${release}${shared_ext}$major'
13426 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13428 irix5
* | nonstopux
*)
13429 libsuff
= shlibsuff
=
13432 case $LD in # libtool.m4 will add one of these switches to LD
13433 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13434 libsuff
= shlibsuff
= libmagic
=32-bit;;
13435 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13436 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13437 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13438 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13439 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13443 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13444 shlibpath_overrides_runpath
=no
13445 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13446 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13447 hardcode_into_libs
=yes
13450 # No shared lib support for Linux oldld, aout, or coff.
13451 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13455 # This must be Linux ELF.
13456 linux
* | k
*bsd
*-gnu)
13460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13461 soname_spec
='${libname}${release}${shared_ext}$major'
13462 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13463 shlibpath_var
=LD_LIBRARY_PATH
13464 shlibpath_overrides_runpath
=no
13465 # This implies no fast_install, which is unacceptable.
13466 # Some rework will be needed to allow for fast_install
13467 # before this can be enabled.
13468 hardcode_into_libs
=yes
13470 # Append ld.so.conf contents to the search path
13471 if test -f /etc
/ld.so.conf
; then
13472 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' ' '`
13473 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13476 # We used to test for /lib/ld.so.1 and disable shared libraries on
13477 # powerpc, because MkLinux only supported shared libraries with the
13478 # GNU dynamic linker. Since this was broken with cross compilers,
13479 # most powerpc-linux boxes support dynamic linking these days and
13480 # people can always --disable-shared, the test was removed, and we
13481 # assume the GNU/Linux dynamic linker is in use.
13482 dynamic_linker
='GNU/Linux ld.so'
13489 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13490 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13491 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13492 dynamic_linker
='NetBSD (a.out) ld.so'
13494 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13495 soname_spec
='${libname}${release}${shared_ext}$major'
13496 dynamic_linker
='NetBSD ld.elf_so'
13498 shlibpath_var
=LD_LIBRARY_PATH
13499 shlibpath_overrides_runpath
=yes
13500 hardcode_into_libs
=yes
13505 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13506 shlibpath_var
=LD_LIBRARY_PATH
13507 shlibpath_overrides_runpath
=yes
13514 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515 soname_spec
='${libname}${release}${shared_ext}$major'
13516 shlibpath_var
=LD_LIBRARY_PATH
13517 shlibpath_overrides_runpath
=yes
13522 sys_lib_dlsearch_path_spec
="/usr/lib"
13524 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13526 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13527 *) need_version
=no
;;
13529 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13530 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13531 shlibpath_var
=LD_LIBRARY_PATH
13532 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13534 openbsd2.
[89] | openbsd2.
[89].
*)
13535 shlibpath_overrides_runpath
=no
13538 shlibpath_overrides_runpath
=yes
13542 shlibpath_overrides_runpath
=yes
13547 libname_spec
='$name'
13550 library_names_spec
='$libname${shared_ext} $libname.a'
13551 dynamic_linker
='OS/2 ld.exe'
13552 shlibpath_var
=LIBPATH
13555 osf3
* | osf4
* | osf5
*)
13559 soname_spec
='${libname}${release}${shared_ext}$major'
13560 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13561 shlibpath_var
=LD_LIBRARY_PATH
13562 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13563 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13574 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13575 soname_spec
='${libname}${release}${shared_ext}$major'
13576 shlibpath_var
=LD_LIBRARY_PATH
13577 shlibpath_overrides_runpath
=yes
13578 hardcode_into_libs
=yes
13579 # ldd complains unless libraries are executable
13580 postinstall_cmds
='chmod +x $lib'
13585 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13586 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13587 shlibpath_var
=LD_LIBRARY_PATH
13588 shlibpath_overrides_runpath
=yes
13589 if test "$with_gnu_ld" = yes; then
13597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13598 soname_spec
='${libname}${release}${shared_ext}$major'
13599 shlibpath_var
=LD_LIBRARY_PATH
13600 case $host_vendor in
13602 shlibpath_overrides_runpath
=no
13604 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13605 runpath_var
=LD_RUN_PATH
13613 shlibpath_overrides_runpath
=no
13614 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13620 if test -d /usr
/nec
;then
13622 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13623 soname_spec
='$libname${shared_ext}.$major'
13624 shlibpath_var
=LD_LIBRARY_PATH
13628 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13629 version_type
=freebsd-elf
13632 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13633 soname_spec
='${libname}${release}${shared_ext}$major'
13634 shlibpath_var
=LD_LIBRARY_PATH
13635 hardcode_into_libs
=yes
13636 if test "$with_gnu_ld" = yes; then
13637 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13638 shlibpath_overrides_runpath
=no
13640 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13641 shlibpath_overrides_runpath
=yes
13644 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13648 sys_lib_dlsearch_path_spec
='/usr/lib'
13653 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13654 soname_spec
='${libname}${release}${shared_ext}$major'
13655 shlibpath_var
=LD_LIBRARY_PATH
13662 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13663 $as_echo "$dynamic_linker" >&6; }
13664 test "$dynamic_linker" = no
&& can_build_shared
=no
13666 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13667 if test "$GCC" = yes; then
13668 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13671 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13672 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13673 hardcode_action_CXX
=
13674 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13675 test -n "$runpath_var_CXX" || \
13676 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13678 # We can hardcode non-existant directories.
13679 if test "$hardcode_direct_CXX" != no
&&
13680 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13681 # have to relink, otherwise we might link with an installed library
13682 # when we should be linking with a yet-to-be-installed one
13683 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13684 test "$hardcode_minus_L_CXX" != no
; then
13685 # Linking always hardcodes the temporary library directory.
13686 hardcode_action_CXX
=relink
13688 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13689 hardcode_action_CXX
=immediate
13692 # We cannot hardcode anything, or else we can only hardcode existing
13694 hardcode_action_CXX
=unsupported
13696 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13697 $as_echo "$hardcode_action_CXX" >&6; }
13699 if test "$hardcode_action_CXX" = relink
; then
13700 # Fast installation is not supported
13701 enable_fast_install
=no
13702 elif test "$shlibpath_overrides_runpath" = yes ||
13703 test "$enable_shared" = no
; then
13704 # Fast installation is not necessary
13705 enable_fast_install
=needless
13709 # The else clause should only fire when bootstrapping the
13710 # libtool distribution, otherwise you forgot to ship ltmain.sh
13711 # with your package, and you will get complaints that there are
13712 # no rules to generate ltmain.sh.
13713 if test -f "$ltmain"; then
13714 # See if we are running on zsh, and set the options which allow our commands through
13715 # without removal of \ escapes.
13716 if test -n "${ZSH_VERSION+set}" ; then
13717 setopt NO_GLOB_SUBST
13719 # Now quote all the things that may contain metacharacters while being
13720 # careful not to overquote the AC_SUBSTed values. We take copies of the
13721 # variables and quote the copies for generation of the libtool script.
13722 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13724 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13725 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13726 deplibs_check_method reload_flag reload_cmds need_locks \
13727 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13728 lt_cv_sys_global_symbol_to_c_name_address \
13729 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13730 old_postinstall_cmds old_postuninstall_cmds \
13734 lt_prog_compiler_wl_CXX \
13735 lt_prog_compiler_pic_CXX \
13736 lt_prog_compiler_static_CXX \
13737 lt_prog_compiler_no_builtin_flag_CXX \
13738 export_dynamic_flag_spec_CXX \
13739 thread_safe_flag_spec_CXX \
13740 whole_archive_flag_spec_CXX \
13741 enable_shared_with_static_runtimes_CXX \
13742 old_archive_cmds_CXX \
13743 old_archive_from_new_cmds_CXX \
13744 predep_objects_CXX \
13745 postdep_objects_CXX \
13748 compiler_lib_search_path_CXX \
13750 archive_expsym_cmds_CXX \
13751 postinstall_cmds_CXX \
13752 postuninstall_cmds_CXX \
13753 old_archive_from_expsyms_cmds_CXX \
13754 allow_undefined_flag_CXX \
13755 no_undefined_flag_CXX \
13756 export_symbols_cmds_CXX \
13757 hardcode_libdir_flag_spec_CXX \
13758 hardcode_libdir_flag_spec_ld_CXX \
13759 hardcode_libdir_separator_CXX \
13760 hardcode_automatic_CXX \
13762 module_expsym_cmds_CXX \
13763 lt_cv_prog_compiler_c_o_CXX \
13764 fix_srcfile_path_CXX \
13765 exclude_expsyms_CXX \
13766 include_expsyms_CXX
; do
13769 old_archive_cmds_CXX | \
13770 old_archive_from_new_cmds_CXX | \
13771 archive_cmds_CXX | \
13772 archive_expsym_cmds_CXX | \
13773 module_cmds_CXX | \
13774 module_expsym_cmds_CXX | \
13775 old_archive_from_expsyms_cmds_CXX | \
13776 export_symbols_cmds_CXX | \
13777 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13778 postinstall_cmds | postuninstall_cmds | \
13779 old_postinstall_cmds | old_postuninstall_cmds | \
13780 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13781 # Double-quote double-evaled strings.
13782 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13785 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13791 *'\$0 --fallback-echo"')
13792 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13798 cat <<__EOF__ >> "$cfgfile"
13799 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13801 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13803 # Shell to use when invoking shell scripts.
13806 # Whether or not to build shared libraries.
13807 build_libtool_libs=$enable_shared
13809 # Whether or not to build static libraries.
13810 build_old_libs=$enable_static
13812 # Whether or not to add -lc for building shared libraries.
13813 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13815 # Whether or not to disallow shared libs when runtime libs are static
13816 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13818 # Whether or not to optimize for fast installation.
13819 fast_install=$enable_fast_install
13822 host_alias=$host_alias
13826 # The build system.
13827 build_alias=$build_alias
13831 # An echo program that does not interpret backslashes.
13836 AR_FLAGS=$lt_AR_FLAGS
13841 # LTCC compiler flags.
13842 LTCFLAGS=$lt_LTCFLAGS
13844 # A language-specific compiler.
13845 CC=$lt_compiler_CXX
13847 # Is the compiler the GNU C compiler?
13853 # The linker used to build libraries.
13856 # Whether we need hard or soft links.
13859 # A BSD-compatible nm program.
13862 # A symbol stripping program
13865 # Used to examine libraries when file_magic_cmd begins "file"
13866 MAGIC_CMD=$MAGIC_CMD
13868 # Used on cygwin: DLL creation program.
13871 # Used on cygwin: object dumper.
13874 # Used on cygwin: assembler.
13877 # The name of the directory that contains temporary libtool files.
13880 # How to create reloadable object files.
13881 reload_flag=$lt_reload_flag
13882 reload_cmds=$lt_reload_cmds
13884 # How to pass a linker flag through the compiler.
13885 wl=$lt_lt_prog_compiler_wl_CXX
13887 # Object file suffix (normally "o").
13888 objext="$ac_objext"
13890 # Old archive suffix (normally "a").
13893 # Shared library suffix (normally ".so").
13894 shrext_cmds='$shrext_cmds'
13896 # Executable file suffix (normally "").
13899 # Additional compiler flags for building library objects.
13900 pic_flag=$lt_lt_prog_compiler_pic_CXX
13903 # What is the maximum length of a command?
13904 max_cmd_len=$lt_cv_sys_max_cmd_len
13906 # Does compiler simultaneously support -c and -o options?
13907 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13909 # Must we lock files when doing compilation?
13910 need_locks=$lt_need_locks
13912 # Do we need the lib prefix for modules?
13913 need_lib_prefix=$need_lib_prefix
13915 # Do we need a version for libraries?
13916 need_version=$need_version
13918 # Whether dlopen is supported.
13919 dlopen_support=$enable_dlopen
13921 # Whether dlopen of programs is supported.
13922 dlopen_self=$enable_dlopen_self
13924 # Whether dlopen of statically linked programs is supported.
13925 dlopen_self_static=$enable_dlopen_self_static
13927 # Compiler flag to prevent dynamic linking.
13928 link_static_flag=$lt_lt_prog_compiler_static_CXX
13930 # Compiler flag to turn off builtin functions.
13931 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13933 # Compiler flag to allow reflexive dlopens.
13934 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13936 # Compiler flag to generate shared objects directly from archives.
13937 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13939 # Compiler flag to generate thread-safe objects.
13940 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13942 # Library versioning type.
13943 version_type=$version_type
13945 # Format of library name prefix.
13946 libname_spec=$lt_libname_spec
13948 # List of archive names. First name is the real one, the rest are links.
13949 # The last name is the one that the linker finds with -lNAME.
13950 library_names_spec=$lt_library_names_spec
13952 # The coded name of the library, if different from the real name.
13953 soname_spec=$lt_soname_spec
13955 # Commands used to build and install an old-style archive.
13957 old_archive_cmds=$lt_old_archive_cmds_CXX
13958 old_postinstall_cmds=$lt_old_postinstall_cmds
13959 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13961 # Create an old-style archive from a shared archive.
13962 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13964 # Create a temporary old-style archive to link instead of a shared archive.
13965 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13967 # Commands used to build and install a shared archive.
13968 archive_cmds=$lt_archive_cmds_CXX
13969 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13970 postinstall_cmds=$lt_postinstall_cmds
13971 postuninstall_cmds=$lt_postuninstall_cmds
13973 # Commands used to build a loadable module (assumed same as above if empty)
13974 module_cmds=$lt_module_cmds_CXX
13975 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13977 # Commands to strip libraries.
13978 old_striplib=$lt_old_striplib
13979 striplib=$lt_striplib
13981 # Dependencies to place before the objects being linked to create a
13983 predep_objects=$lt_predep_objects_CXX
13985 # Dependencies to place after the objects being linked to create a
13987 postdep_objects=$lt_postdep_objects_CXX
13989 # Dependencies to place before the objects being linked to create a
13991 predeps=$lt_predeps_CXX
13993 # Dependencies to place after the objects being linked to create a
13995 postdeps=$lt_postdeps_CXX
13997 # The library search path used internally by the compiler when linking
13998 # a shared library.
13999 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14001 # Method to check whether dependent libraries are shared objects.
14002 deplibs_check_method=$lt_deplibs_check_method
14004 # Command to use when deplibs_check_method == file_magic.
14005 file_magic_cmd=$lt_file_magic_cmd
14007 # Flag that allows shared libraries with undefined symbols to be built.
14008 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14010 # Flag that forces no undefined symbols.
14011 no_undefined_flag=$lt_no_undefined_flag_CXX
14013 # Commands used to finish a libtool library installation in a directory.
14014 finish_cmds=$lt_finish_cmds
14016 # Same as above, but a single script fragment to be evaled but not shown.
14017 finish_eval=$lt_finish_eval
14019 # Take the output of nm and produce a listing of raw symbols and C names.
14020 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14022 # Transform the output of nm in a proper C declaration
14023 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14025 # Transform the output of nm in a C name address pair
14026 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14028 # This is the shared library runtime path variable.
14029 runpath_var=$runpath_var
14031 # This is the shared library path variable.
14032 shlibpath_var=$shlibpath_var
14034 # Is shlibpath searched before the hard-coded library search path?
14035 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14037 # How to hardcode a shared library path into an executable.
14038 hardcode_action=$hardcode_action_CXX
14040 # Whether we should hardcode library paths into libraries.
14041 hardcode_into_libs=$hardcode_into_libs
14043 # Flag to hardcode \$libdir into a binary during linking.
14044 # This must work even if \$libdir does not exist.
14045 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14047 # If ld is used when linking, flag to hardcode \$libdir into
14048 # a binary during linking. This must work even if \$libdir does
14050 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14052 # Whether we need a single -rpath flag with a separated argument.
14053 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14055 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14056 # resulting binary.
14057 hardcode_direct=$hardcode_direct_CXX
14059 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14060 # resulting binary.
14061 hardcode_minus_L=$hardcode_minus_L_CXX
14063 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14064 # the resulting binary.
14065 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14067 # Set to yes if building a shared library automatically hardcodes DIR into the library
14068 # and all subsequent libraries and executables linked against it.
14069 hardcode_automatic=$hardcode_automatic_CXX
14071 # Variables whose values should be saved in libtool wrapper scripts and
14072 # restored at relink time.
14073 variables_saved_for_relink="$variables_saved_for_relink"
14075 # Whether libtool must link a program against all its dependency libraries.
14076 link_all_deplibs=$link_all_deplibs_CXX
14078 # Compile-time system search path for libraries
14079 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14081 # Run-time system search path for libraries
14082 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14084 # Fix the shell variable \$srcfile for the compiler.
14085 fix_srcfile_path=$lt_fix_srcfile_path
14087 # Set to yes if exported symbols are required.
14088 always_export_symbols=$always_export_symbols_CXX
14090 # The commands to list exported symbols.
14091 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14093 # The commands to extract the exported symbol list from a shared archive.
14094 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14096 # Symbols that should not be listed in the preloaded symbols.
14097 exclude_expsyms=$lt_exclude_expsyms_CXX
14099 # Symbols that must always be exported.
14100 include_expsyms=$lt_include_expsyms_CXX
14102 # ### END LIBTOOL TAG CONFIG: $tagname
14108 # If there is no Makefile yet, we rely on a make rule to execute
14109 # `config.status --recheck' to rerun these tests and create the
14110 # libtool script then.
14111 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14112 if test -f "$ltmain_in"; then
14113 test -f Makefile
&& make "$ltmain"
14119 ac_cpp
='$CPP $CPPFLAGS'
14120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14128 with_gnu_ldcxx
=$with_gnu_ld
14129 with_gnu_ld
=$lt_save_with_gnu_ld
14130 lt_cv_path_LDCXX
=$lt_cv_path_LD
14131 lt_cv_path_LD
=$lt_save_path_LD
14132 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14133 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14141 if test -n "$F77" && test "X$F77" != "Xno"; then
14144 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14145 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14146 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14149 archive_cmds_need_lc_F77
=no
14150 allow_undefined_flag_F77
=
14151 always_export_symbols_F77
=no
14152 archive_expsym_cmds_F77
=
14153 export_dynamic_flag_spec_F77
=
14154 hardcode_direct_F77
=no
14155 hardcode_libdir_flag_spec_F77
=
14156 hardcode_libdir_flag_spec_ld_F77
=
14157 hardcode_libdir_separator_F77
=
14158 hardcode_minus_L_F77
=no
14159 hardcode_automatic_F77
=no
14161 module_expsym_cmds_F77
=
14162 link_all_deplibs_F77
=unknown
14163 old_archive_cmds_F77
=$old_archive_cmds
14164 no_undefined_flag_F77
=
14165 whole_archive_flag_spec_F77
=
14166 enable_shared_with_static_runtimes_F77
=no
14168 # Source file extension for f77 test sources.
14171 # Object file extension for compiled f77 test sources.
14175 # Code to be used in simple compile tests
14176 lt_simple_compile_test_code
="\
14182 # Code to be used in simple link tests
14183 lt_simple_link_test_code
="\
14188 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14190 # If no C compiler was specified, use CC.
14193 # If no C compiler flags were specified, use CFLAGS.
14194 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14196 # Allow CC to be a program name with arguments.
14200 # save warnings/boilerplate of simple test code
14201 ac_outfile
=conftest.
$ac_objext
14202 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14203 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14204 _lt_compiler_boilerplate
=`cat conftest.err`
14207 ac_outfile
=conftest.
$ac_objext
14208 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14209 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14210 _lt_linker_boilerplate
=`cat conftest.err`
14214 # Allow CC to be a program name with arguments.
14219 for cc_temp
in $compiler""; do
14221 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14222 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14227 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14230 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14231 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14232 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14233 $as_echo "$can_build_shared" >&6; }
14235 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14236 $as_echo_n "checking whether to build shared libraries... " >&6; }
14237 test "$can_build_shared" = "no" && enable_shared
=no
14239 # On AIX, shared libraries and static libraries use the same namespace, and
14240 # are all built from PIC.
14243 test "$enable_shared" = yes && enable_static
=no
14244 if test -n "$RANLIB"; then
14245 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14246 postinstall_cmds
='$RANLIB $lib'
14250 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14251 test "$enable_shared" = yes && enable_static
=no
14255 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14256 $as_echo "$enable_shared" >&6; }
14258 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14259 $as_echo_n "checking whether to build static libraries... " >&6; }
14260 # Make sure either enable_shared or enable_static is yes.
14261 test "$enable_shared" = yes || enable_static
=yes
14262 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14263 $as_echo "$enable_static" >&6; }
14268 lt_prog_compiler_wl_F77
=
14269 lt_prog_compiler_pic_F77
=
14270 lt_prog_compiler_static_F77
=
14272 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14273 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14275 if test "$GCC" = yes; then
14276 lt_prog_compiler_wl_F77
='-Wl,'
14277 lt_prog_compiler_static_F77
='-static'
14281 # All AIX code is PIC.
14282 if test "$host_cpu" = ia64
; then
14283 # AIX 5 now supports IA64 processor
14284 lt_prog_compiler_static_F77
='-Bstatic'
14289 # FIXME: we need at least 68020 code to build shared libraries, but
14290 # adding the `-m68020' flag to GCC prevents building anything better,
14292 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14295 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14296 # PIC is the default for these OSes.
14299 mingw
* | cygwin
* | pw32
* | os2
*)
14300 # This hack is so that the source file can tell whether it is being
14301 # built for inclusion in a dll (and should export symbols for example).
14302 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14303 # (--disable-auto-import) libraries
14304 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14307 darwin
* | rhapsody
*)
14308 # PIC is the default on this platform
14309 # Common symbols not allowed in MH_DYLIB files
14310 lt_prog_compiler_pic_F77
='-fno-common'
14314 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14315 # Instead, we relocate shared libraries at runtime.
14319 # Just because we use GCC doesn't mean we suddenly get shared libraries
14320 # on systems that don't support them.
14321 lt_prog_compiler_can_build_shared_F77
=no
14326 if test -d /usr
/nec
; then
14327 lt_prog_compiler_pic_F77
=-Kconform_pic
14332 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14333 # not for PA HP-UX.
14339 lt_prog_compiler_pic_F77
='-fPIC'
14345 lt_prog_compiler_pic_F77
='-fPIC'
14349 # PORTME Check for flag to pass linker flags through the system compiler.
14352 lt_prog_compiler_wl_F77
='-Wl,'
14353 if test "$host_cpu" = ia64
; then
14354 # AIX 5 now supports IA64 processor
14355 lt_prog_compiler_static_F77
='-Bstatic'
14357 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14361 # PIC is the default on this platform
14362 # Common symbols not allowed in MH_DYLIB files
14363 case $cc_basename in
14365 lt_prog_compiler_pic_F77
='-qnocommon'
14366 lt_prog_compiler_wl_F77
='-Wl,'
14371 mingw
* | cygwin
* | pw32
* | os2
*)
14372 # This hack is so that the source file can tell whether it is being
14373 # built for inclusion in a dll (and should export symbols for example).
14374 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14377 hpux9
* | hpux10
* | hpux11
*)
14378 lt_prog_compiler_wl_F77
='-Wl,'
14379 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14380 # not for PA HP-UX.
14386 lt_prog_compiler_pic_F77
='+Z'
14389 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14390 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14393 irix5
* | irix6
* | nonstopux
*)
14394 lt_prog_compiler_wl_F77
='-Wl,'
14395 # PIC (with -KPIC) is the default.
14396 lt_prog_compiler_static_F77
='-non_shared'
14400 lt_prog_compiler_pic_F77
='-KPIC'
14401 lt_prog_compiler_static_F77
='-Bstatic'
14404 linux
* | k
*bsd
*-gnu)
14405 case $cc_basename in
14407 lt_prog_compiler_wl_F77
='-Wl,'
14408 lt_prog_compiler_pic_F77
='-KPIC'
14409 lt_prog_compiler_static_F77
='-static'
14411 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14412 # Portland Group compilers (*not* the Pentium gcc compiler,
14413 # which looks to be a dead project)
14414 lt_prog_compiler_wl_F77
='-Wl,'
14415 lt_prog_compiler_pic_F77
='-fpic'
14416 lt_prog_compiler_static_F77
='-Bstatic'
14419 lt_prog_compiler_wl_F77
='-Wl,'
14420 # All Alpha code is PIC.
14421 lt_prog_compiler_static_F77
='-non_shared'
14424 case `$CC -V 2>&1 | sed 5q` in
14427 lt_prog_compiler_pic_F77
='-KPIC'
14428 lt_prog_compiler_static_F77
='-Bstatic'
14429 lt_prog_compiler_wl_F77
='-Wl,'
14432 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14433 lt_prog_compiler_pic_F77
='-KPIC'
14434 lt_prog_compiler_static_F77
='-Bstatic'
14435 lt_prog_compiler_wl_F77
=''
14442 osf3
* | osf4
* | osf5
*)
14443 lt_prog_compiler_wl_F77
='-Wl,'
14444 # All OSF/1 code is PIC.
14445 lt_prog_compiler_static_F77
='-non_shared'
14449 lt_prog_compiler_static_F77
='-non_shared'
14453 lt_prog_compiler_pic_F77
='-KPIC'
14454 lt_prog_compiler_static_F77
='-Bstatic'
14455 case $cc_basename in
14456 f77
* | f90
* | f95
*)
14457 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14459 lt_prog_compiler_wl_F77
='-Wl,';;
14464 lt_prog_compiler_wl_F77
='-Qoption ld '
14465 lt_prog_compiler_pic_F77
='-PIC'
14466 lt_prog_compiler_static_F77
='-Bstatic'
14469 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14470 lt_prog_compiler_wl_F77
='-Wl,'
14471 lt_prog_compiler_pic_F77
='-KPIC'
14472 lt_prog_compiler_static_F77
='-Bstatic'
14476 if test -d /usr
/nec
;then
14477 lt_prog_compiler_pic_F77
='-Kconform_pic'
14478 lt_prog_compiler_static_F77
='-Bstatic'
14482 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14483 lt_prog_compiler_wl_F77
='-Wl,'
14484 lt_prog_compiler_pic_F77
='-KPIC'
14485 lt_prog_compiler_static_F77
='-Bstatic'
14489 lt_prog_compiler_wl_F77
='-Wl,'
14490 lt_prog_compiler_can_build_shared_F77
=no
14494 lt_prog_compiler_pic_F77
='-pic'
14495 lt_prog_compiler_static_F77
='-Bstatic'
14499 lt_prog_compiler_can_build_shared_F77
=no
14504 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14505 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
14508 # Check to make sure the PIC flag actually works.
14510 if test -n "$lt_prog_compiler_pic_F77"; then
14512 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14513 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14514 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14515 $as_echo_n "(cached) " >&6
14517 lt_prog_compiler_pic_works_F77
=no
14518 ac_outfile
=conftest.
$ac_objext
14519 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14520 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14521 # Insert the option either (1) after the last *FLAGS variable, or
14522 # (2) before a word containing "conftest.", or (3) at the end.
14523 # Note that $ac_compile itself does not contain backslashes and begins
14524 # with a dollar sign (not a hyphen), so the echo should work correctly.
14525 # The option is referenced via a variable to avoid confusing sed.
14526 lt_compile
=`echo "$ac_compile" | $SED \
14527 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14528 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14529 -e 's:$: $lt_compiler_flag:'`
14530 (eval echo "\"\$as_me:14530: $lt_compile\"" >&5)
14531 (eval "$lt_compile" 2>conftest.err
)
14533 cat conftest.err
>&5
14534 echo "$as_me:14534: \$? = $ac_status" >&5
14535 if (exit $ac_status) && test -s "$ac_outfile"; then
14536 # The compiler can only warn and ignore the option if not recognized
14537 # So say no if there are warnings other than the usual output.
14538 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14539 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14540 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14541 lt_prog_compiler_pic_works_F77
=yes
14547 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14548 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
14550 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14551 case $lt_prog_compiler_pic_F77 in
14553 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14556 lt_prog_compiler_pic_F77
=
14557 lt_prog_compiler_can_build_shared_F77
=no
14562 # For platforms which do not support PIC, -DPIC is meaningless:
14564 lt_prog_compiler_pic_F77
=
14567 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14572 # Check to make sure the static flag actually works.
14574 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14575 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14576 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14577 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14578 $as_echo_n "(cached) " >&6
14580 lt_prog_compiler_static_works_F77
=no
14581 save_LDFLAGS
="$LDFLAGS"
14582 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14583 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14584 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14585 # The linker can only warn and ignore the option if not recognized
14586 # So say no if there are warnings
14587 if test -s conftest.err
; then
14588 # Append any errors to the config.log.
14589 cat conftest.err
1>&5
14590 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14591 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14592 if diff conftest.exp conftest.er2
>/dev
/null
; then
14593 lt_prog_compiler_static_works_F77
=yes
14596 lt_prog_compiler_static_works_F77
=yes
14600 LDFLAGS
="$save_LDFLAGS"
14603 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14604 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }
14606 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14609 lt_prog_compiler_static_F77
=
14613 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14614 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14615 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14616 $as_echo_n "(cached) " >&6
14618 lt_cv_prog_compiler_c_o_F77
=no
14619 $rm -r conftest
2>/dev
/null
14623 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14625 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14626 # Insert the option either (1) after the last *FLAGS variable, or
14627 # (2) before a word containing "conftest.", or (3) at the end.
14628 # Note that $ac_compile itself does not contain backslashes and begins
14629 # with a dollar sign (not a hyphen), so the echo should work correctly.
14630 lt_compile
=`echo "$ac_compile" | $SED \
14631 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14632 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14633 -e 's:$: $lt_compiler_flag:'`
14634 (eval echo "\"\$as_me:14634: $lt_compile\"" >&5)
14635 (eval "$lt_compile" 2>out
/conftest.err
)
14637 cat out
/conftest.err
>&5
14638 echo "$as_me:14638: \$? = $ac_status" >&5
14639 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14641 # The compiler can only warn and ignore the option if not recognized
14642 # So say no if there are warnings
14643 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14644 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14645 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14646 lt_cv_prog_compiler_c_o_F77
=yes
14651 # SGI C++ compiler will create directory out/ii_files/ for
14652 # template instantiation
14653 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14654 $rm out
/* && rmdir out
14660 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14661 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14664 hard_links
="nottested"
14665 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14666 # do not overwrite the value of need_locks provided by the user
14667 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14668 $as_echo_n "checking if we can lock with hard links... " >&6; }
14671 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14673 ln conftest.a conftest.b
2>&5 || hard_links
=no
14674 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14675 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14676 $as_echo "$hard_links" >&6; }
14677 if test "$hard_links" = no
; then
14678 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14679 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14686 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14687 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14690 allow_undefined_flag_F77
=
14691 enable_shared_with_static_runtimes_F77
=no
14693 archive_expsym_cmds_F77
=
14694 old_archive_From_new_cmds_F77
=
14695 old_archive_from_expsyms_cmds_F77
=
14696 export_dynamic_flag_spec_F77
=
14697 whole_archive_flag_spec_F77
=
14698 thread_safe_flag_spec_F77
=
14699 hardcode_libdir_flag_spec_F77
=
14700 hardcode_libdir_flag_spec_ld_F77
=
14701 hardcode_libdir_separator_F77
=
14702 hardcode_direct_F77
=no
14703 hardcode_minus_L_F77
=no
14704 hardcode_shlibpath_var_F77
=unsupported
14705 link_all_deplibs_F77
=unknown
14706 hardcode_automatic_F77
=no
14708 module_expsym_cmds_F77
=
14709 always_export_symbols_F77
=no
14710 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14711 # include_expsyms should be a list of space-separated symbols to be *always*
14712 # included in the symbol list
14713 include_expsyms_F77
=
14714 # exclude_expsyms can be an extended regexp of symbols to exclude
14715 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14716 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14717 # as well as any symbol that contains `d'.
14718 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14719 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14720 # platforms (ab)use it in PIC code, but their linkers get confused if
14721 # the symbol is explicitly referenced. Since portable code cannot
14722 # rely on this symbol name, it's probably fine to never include it in
14723 # preloaded symbol tables.
14724 extract_expsyms_cmds
=
14725 # Just being paranoid about ensuring that cc_basename is set.
14726 for cc_temp
in $compiler""; do
14728 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14729 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14734 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14737 cygwin
* | mingw
* | pw32
*)
14738 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14739 # When not using gcc, we currently assume that we are using
14740 # Microsoft Visual C++.
14741 if test "$GCC" != yes; then
14746 # we just hope/assume this is gcc and not c89 (= MSVC++)
14755 if test "$with_gnu_ld" = yes; then
14756 # If archive_cmds runs LD, not CC, wlarc should be empty
14759 # Set some defaults for GNU ld with shared library support. These
14760 # are reset later if shared libraries are not supported. Putting them
14761 # here allows them to be overridden if necessary.
14762 runpath_var
=LD_RUN_PATH
14763 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14764 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14765 # ancient GNU ld didn't support --whole-archive et. al.
14766 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14767 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14769 whole_archive_flag_spec_F77
=
14771 supports_anon_versioning
=no
14772 case `$LD -v 2>/dev/null` in
14773 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14774 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14775 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14776 *\
2.11.
*) ;; # other 2.11 versions
14777 *) supports_anon_versioning
=yes ;;
14780 # See if GNU ld supports shared libraries.
14782 aix3
* | aix4
* | aix5
*)
14783 # On AIX/PPC, the GNU linker is very broken
14784 if test "$host_cpu" != ia64
; then
14788 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14789 *** to be unable to reliably create shared libraries on AIX.
14790 *** Therefore, libtool is disabling shared libraries support. If you
14791 *** really care for shared libraries, you may want to modify your PATH
14792 *** so that a non-GNU linker is found, and then restart.
14799 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)'
14800 hardcode_libdir_flag_spec_F77
='-L$libdir'
14801 hardcode_minus_L_F77
=yes
14803 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14804 # that the semantics of dynamic libraries on AmigaOS, at least up
14805 # to version 4, is to share data among multiple programs linked
14806 # with the same dynamic library. Since this doesn't match the
14807 # behavior of shared libraries on other platforms, we can't use
14813 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14814 allow_undefined_flag_F77
=unsupported
14815 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14816 # support --undefined. This deserves some investigation. FIXME
14817 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14823 cygwin
* | mingw
* | pw32
*)
14824 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14825 # as there is no search path for DLLs.
14826 hardcode_libdir_flag_spec_F77
='-L$libdir'
14827 allow_undefined_flag_F77
=unsupported
14828 always_export_symbols_F77
=no
14829 enable_shared_with_static_runtimes_F77
=yes
14830 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14832 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14833 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14834 # If the export-symbols file already is a .def file (1st line
14835 # is EXPORTS), use it as is; otherwise, prepend...
14836 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14837 cp $export_symbols $output_objdir/$soname.def;
14839 echo EXPORTS > $output_objdir/$soname.def;
14840 cat $export_symbols >> $output_objdir/$soname.def;
14842 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14849 hardcode_direct_F77
=no
14850 hardcode_shlibpath_var_F77
=no
14851 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14852 export_dynamic_flag_spec_F77
='${wl}-E'
14853 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14854 # Instead, shared libraries are loaded at an image base (0x10000000 by
14855 # default) and relocated if they conflict, which is a slow very memory
14856 # consuming and fragmenting process. To avoid this, we pick a random,
14857 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14858 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14859 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'
14860 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'
14863 gnu
* | linux
* | k
*bsd
*-gnu)
14864 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14866 case $cc_basename,$host_cpu in
14867 pgcc
*) # Portland Group C compiler
14868 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'
14869 tmp_addflag
=' $pic_flag'
14871 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14872 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'
14873 tmp_addflag
=' $pic_flag -Mnomain' ;;
14874 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14875 tmp_addflag
=' -i_dynamic' ;;
14876 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14877 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14878 ifc
* | ifort
*) # Intel Fortran compiler
14879 tmp_addflag
=' -nofor_main' ;;
14881 case `$CC -V 2>&1 | sed 5q` in
14882 *Sun\ C
*) # Sun C 5.9
14883 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'
14884 tmp_sharedflag
='-G' ;;
14885 *Sun\ F
*) # Sun Fortran 8.3
14886 tmp_sharedflag
='-G' ;;
14888 tmp_sharedflag
='-shared' ;;
14890 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14892 if test $supports_anon_versioning = yes; then
14893 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14894 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14895 $echo "local: *; };" >> $output_objdir/$libname.ver~
14896 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14904 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14905 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14908 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14909 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14914 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14918 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14919 *** create shared libraries on Solaris systems. Therefore, libtool
14920 *** is disabling shared libraries support. We urge you to upgrade GNU
14921 *** binutils to release 2.9.1 or newer. Another option is to modify
14922 *** your PATH or compiler configuration so that the native linker is
14923 *** used, and then restart.
14926 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14927 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14928 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14934 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14935 case `$LD -v 2>&1` in
14936 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14940 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14941 *** reliably create shared libraries on SCO systems. Therefore, libtool
14942 *** is disabling shared libraries support. We urge you to upgrade GNU
14943 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14944 *** your PATH or compiler configuration so that the native linker is
14945 *** used, and then restart.
14950 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14951 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14952 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14953 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14962 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14964 hardcode_direct_F77
=yes
14965 hardcode_shlibpath_var_F77
=no
14969 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14970 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14971 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14978 if test "$ld_shlibs_F77" = no
; then
14980 hardcode_libdir_flag_spec_F77
=
14981 export_dynamic_flag_spec_F77
=
14982 whole_archive_flag_spec_F77
=
14985 # PORTME fill in a description of your system's linker (not GNU ld)
14988 allow_undefined_flag_F77
=unsupported
14989 always_export_symbols_F77
=yes
14990 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'
14991 # Note: this linker hardcodes the directories in LIBPATH if there
14992 # are no directories specified by -L.
14993 hardcode_minus_L_F77
=yes
14994 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14995 # Neither direct hardcoding nor static linking is supported with a
14997 hardcode_direct_F77
=unsupported
15002 if test "$host_cpu" = ia64
; then
15003 # On IA64, the linker does run time linking by default, so we don't
15004 # have to do anything special.
15005 aix_use_runtimelinking
=no
15006 exp_sym_flag
='-Bexport'
15009 # If we're using GNU nm, then we don't want the "-C" option.
15010 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15011 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15012 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'
15014 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'
15016 aix_use_runtimelinking
=no
15018 # Test if we are trying to use run time linking or normal
15019 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15020 # need to do runtime linking.
15021 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15022 for ld_flag
in $LDFLAGS; do
15023 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15024 aix_use_runtimelinking
=yes
15031 exp_sym_flag
='-bexport'
15032 no_entry_flag
='-bnoentry'
15035 # When large executables or shared objects are built, AIX ld can
15036 # have problems creating the table of contents. If linking a library
15037 # or program results in "error TOC overflow" add -mminimal-toc to
15038 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15039 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15041 archive_cmds_F77
=''
15042 hardcode_direct_F77
=yes
15043 hardcode_libdir_separator_F77
=':'
15044 link_all_deplibs_F77
=yes
15046 if test "$GCC" = yes; then
15047 case $host_os in aix4.
[012]|aix4.
[012].
*)
15048 # We only want to do this on AIX 4.2 and lower, the check
15049 # below for broken collect2 doesn't work under 4.3+
15050 collect2name
=`${CC} -print-prog-name=collect2`
15051 if test -f "$collect2name" && \
15052 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15054 # We have reworked collect2
15057 # We have old collect2
15058 hardcode_direct_F77
=unsupported
15059 # It fails to find uninstalled libraries when the uninstalled
15060 # path is not listed in the libpath. Setting hardcode_minus_L
15061 # to unsupported forces relinking
15062 hardcode_minus_L_F77
=yes
15063 hardcode_libdir_flag_spec_F77
='-L$libdir'
15064 hardcode_libdir_separator_F77
=
15068 shared_flag
='-shared'
15069 if test "$aix_use_runtimelinking" = yes; then
15070 shared_flag
="$shared_flag "'${wl}-G'
15074 if test "$host_cpu" = ia64
; then
15075 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15076 # chokes on -Wl,-G. The following line is correct:
15079 if test "$aix_use_runtimelinking" = yes; then
15080 shared_flag
='${wl}-G'
15082 shared_flag
='${wl}-bM:SRE'
15087 # It seems that -bexpall does not export symbols beginning with
15088 # underscore (_), so it is better to generate a list of symbols to export.
15089 always_export_symbols_F77
=yes
15090 if test "$aix_use_runtimelinking" = yes; then
15091 # Warning - without using the other runtime loading flags (-brtl),
15092 # -berok will link without error, but may produce a broken library.
15093 allow_undefined_flag_F77
='-berok'
15094 # Determine the default libpath from the value encoded in an empty executable.
15095 cat >conftest.
$ac_ext <<_ACEOF
15100 rm -f conftest.
$ac_objext conftest
$ac_exeext
15101 if { (ac_try
="$ac_link"
15102 case "(($ac_try" in
15103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15104 *) ac_try_echo=$ac_try;;
15106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15107 $as_echo "$ac_try_echo") >&5
15108 (eval "$ac_link") 2>conftest.er1
15110 grep -v '^ *+' conftest.er1 >conftest.err
15112 cat conftest.err >&5
15113 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } && {
15115 test -z "$ac_f77_werror_flag" ||
15116 test ! -s conftest.err
15117 } && test -s conftest$ac_exeext && {
15118 test "$cross_compiling" = yes ||
15119 $as_test_x conftest$ac_exeext
15122 lt_aix_libpath_sed='
15123 /Import File Strings/,/^$/ {
15129 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15130 # Check for a 64-bit object if we didn't find anything.
15131 if test -z "$aix_libpath"; then
15132 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15135 $as_echo "$as_me: failed program was:" >&5
15136 sed 's/^/| /' conftest.$ac_ext >&5
15141 rm -rf conftest.dSYM
15142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15143 conftest$ac_exeext conftest.$ac_ext
15144 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15146 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15147 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"
15149 if test "$host_cpu" = ia64; then
15150 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15151 allow_undefined_flag_F77="-z nodefs"
15152 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"
15154 # Determine the default libpath from the value encoded in an empty executable.
15155 cat >conftest.$ac_ext <<_ACEOF
15160 rm -f conftest.$ac_objext conftest$ac_exeext
15161 if { (ac_try="$ac_link"
15162 case "(($ac_try" in
15163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15164 *) ac_try_echo
=$ac_try;;
15166 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15167 $as_echo "$ac_try_echo") >&5
15168 (eval "$ac_link") 2>conftest.er1
15170 grep -v '^ *+' conftest.er1
>conftest.err
15172 cat conftest.err
>&5
15173 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15174 (exit $ac_status); } && {
15175 test -z "$ac_f77_werror_flag" ||
15176 test ! -s conftest.err
15177 } && test -s conftest
$ac_exeext && {
15178 test "$cross_compiling" = yes ||
15179 $as_test_x conftest
$ac_exeext
15182 lt_aix_libpath_sed
='
15183 /Import File Strings/,/^$/ {
15189 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15190 # Check for a 64-bit object if we didn't find anything.
15191 if test -z "$aix_libpath"; then
15192 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15195 $as_echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.
$ac_ext >&5
15201 rm -rf conftest.dSYM
15202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15203 conftest
$ac_exeext conftest.
$ac_ext
15204 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15206 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15207 # Warning - without using the other run time loading flags,
15208 # -berok will link without error, but may produce a broken library.
15209 no_undefined_flag_F77
=' ${wl}-bernotok'
15210 allow_undefined_flag_F77
=' ${wl}-berok'
15211 # Exported symbols can be pulled into shared objects from archives
15212 whole_archive_flag_spec_F77
='$convenience'
15213 archive_cmds_need_lc_F77
=yes
15214 # This is similar to how AIX traditionally builds its shared libraries.
15215 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'
15221 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)'
15222 hardcode_libdir_flag_spec_F77
='-L$libdir'
15223 hardcode_minus_L_F77
=yes
15224 # see comment about different semantics on the GNU ld section
15229 export_dynamic_flag_spec_F77
=-rdynamic
15232 cygwin
* | mingw
* | pw32
*)
15233 # When not using gcc, we currently assume that we are using
15234 # Microsoft Visual C++.
15235 # hardcode_libdir_flag_spec is actually meaningless, as there is
15236 # no search path for DLLs.
15237 hardcode_libdir_flag_spec_F77
=' '
15238 allow_undefined_flag_F77
=unsupported
15239 # Tell ltmain to make .lib files, not .a files.
15241 # Tell ltmain to make .dll files, not .so files.
15243 # FIXME: Setting linknames here is a bad hack.
15244 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15245 # The linker will automatically build a .lib file if we build a DLL.
15246 old_archive_From_new_cmds_F77
='true'
15247 # FIXME: Should let the user specify the lib program.
15248 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15249 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15250 enable_shared_with_static_runtimes_F77
=yes
15253 darwin
* | rhapsody
*)
15255 rhapsody
* | darwin1.
[012])
15256 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15259 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15260 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15262 case ${MACOSX_DEPLOYMENT_TARGET} in
15264 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15267 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15273 archive_cmds_need_lc_F77
=no
15274 hardcode_direct_F77
=no
15275 hardcode_automatic_F77
=yes
15276 hardcode_shlibpath_var_F77
=unsupported
15277 whole_archive_flag_spec_F77
=''
15278 link_all_deplibs_F77
=yes
15279 if test "$GCC" = yes ; then
15280 output_verbose_link_cmd
='echo'
15281 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15282 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15283 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15284 archive_expsym_cmds_F77
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15285 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}'
15287 case $cc_basename in
15289 output_verbose_link_cmd
='echo'
15290 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15291 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15292 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15293 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}'
15294 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}'
15304 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15305 hardcode_libdir_flag_spec_F77
='-L$libdir'
15306 hardcode_shlibpath_var_F77
=no
15313 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15314 # support. Future versions do this automatically, but an explicit c++rt0.o
15315 # does not break anything, and helps significantly (at the cost of a little
15318 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15319 hardcode_libdir_flag_spec_F77
='-R$libdir'
15320 hardcode_direct_F77
=yes
15321 hardcode_shlibpath_var_F77
=no
15324 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15326 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15327 hardcode_direct_F77
=yes
15328 hardcode_minus_L_F77
=yes
15329 hardcode_shlibpath_var_F77
=no
15332 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15333 freebsd
* | dragonfly
*)
15334 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15335 hardcode_libdir_flag_spec_F77
='-R$libdir'
15336 hardcode_direct_F77
=yes
15337 hardcode_shlibpath_var_F77
=no
15341 if test "$GCC" = yes; then
15342 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'
15344 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'
15346 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15347 hardcode_libdir_separator_F77
=:
15348 hardcode_direct_F77
=yes
15350 # hardcode_minus_L: Not really in the search PATH,
15351 # but as the default location of the library.
15352 hardcode_minus_L_F77
=yes
15353 export_dynamic_flag_spec_F77
='${wl}-E'
15357 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15358 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15360 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15362 if test "$with_gnu_ld" = no
; then
15363 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15364 hardcode_libdir_separator_F77
=:
15366 hardcode_direct_F77
=yes
15367 export_dynamic_flag_spec_F77
='${wl}-E'
15369 # hardcode_minus_L: Not really in the search PATH,
15370 # but as the default location of the library.
15371 hardcode_minus_L_F77
=yes
15376 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15379 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15382 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15385 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15391 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15394 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15397 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15401 if test "$with_gnu_ld" = no
; then
15402 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15403 hardcode_libdir_separator_F77
=:
15407 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15408 hardcode_direct_F77
=no
15409 hardcode_shlibpath_var_F77
=no
15412 hardcode_direct_F77
=yes
15413 export_dynamic_flag_spec_F77
='${wl}-E'
15415 # hardcode_minus_L: Not really in the search PATH,
15416 # but as the default location of the library.
15417 hardcode_minus_L_F77
=yes
15423 irix5
* | irix6
* | nonstopux
*)
15424 if test "$GCC" = yes; then
15425 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'
15427 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'
15428 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15430 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15431 hardcode_libdir_separator_F77
=:
15432 link_all_deplibs_F77
=yes
15436 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15437 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15439 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15441 hardcode_libdir_flag_spec_F77
='-R$libdir'
15442 hardcode_direct_F77
=yes
15443 hardcode_shlibpath_var_F77
=no
15447 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15448 hardcode_direct_F77
=yes
15449 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15450 hardcode_libdir_separator_F77
=:
15451 hardcode_shlibpath_var_F77
=no
15455 if test -f /usr
/libexec
/ld.so
; then
15456 hardcode_direct_F77
=yes
15457 hardcode_shlibpath_var_F77
=no
15458 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15459 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15460 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15461 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15462 export_dynamic_flag_spec_F77
='${wl}-E'
15465 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15466 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15467 hardcode_libdir_flag_spec_F77
='-R$libdir'
15470 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15471 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15481 hardcode_libdir_flag_spec_F77
='-L$libdir'
15482 hardcode_minus_L_F77
=yes
15483 allow_undefined_flag_F77
=unsupported
15484 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'
15485 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15489 if test "$GCC" = yes; then
15490 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15491 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'
15493 allow_undefined_flag_F77
=' -expect_unresolved \*'
15494 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'
15496 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15497 hardcode_libdir_separator_F77
=:
15500 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15501 if test "$GCC" = yes; then
15502 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15503 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'
15504 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15506 allow_undefined_flag_F77
=' -expect_unresolved \*'
15507 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'
15508 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~
15509 $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'
15511 # Both c and cxx compiler support -rpath directly
15512 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15514 hardcode_libdir_separator_F77
=:
15518 no_undefined_flag_F77
=' -z text'
15519 if test "$GCC" = yes; then
15521 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15522 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15523 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15526 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15527 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15528 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15530 hardcode_libdir_flag_spec_F77
='-R$libdir'
15531 hardcode_shlibpath_var_F77
=no
15533 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15535 # The compiler driver will combine and reorder linker options,
15536 # but understands `-z linker_flag'. GCC discards it without `$wl',
15537 # but is careful enough not to reorder.
15538 # Supported since Solaris 2.6 (maybe 2.5.1?)
15539 if test "$GCC" = yes; then
15540 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15542 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15546 link_all_deplibs_F77
=yes
15550 if test "x$host_vendor" = xsequent
; then
15551 # Use $CC to link under sequent, because it throws in some extra .o
15552 # files that make .init and .fini sections work.
15553 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15555 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15557 hardcode_libdir_flag_spec_F77
='-L$libdir'
15558 hardcode_direct_F77
=yes
15559 hardcode_minus_L_F77
=yes
15560 hardcode_shlibpath_var_F77
=no
15564 case $host_vendor in
15566 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15567 hardcode_direct_F77
=yes # is this really true???
15570 ## LD is ld it makes a PLAMLIB
15571 ## CC just makes a GrossModule.
15572 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15573 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15574 hardcode_direct_F77
=no
15577 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15578 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15581 runpath_var
='LD_RUN_PATH'
15582 hardcode_shlibpath_var_F77
=no
15586 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15587 hardcode_shlibpath_var_F77
=no
15588 export_dynamic_flag_spec_F77
='-Bexport'
15592 if test -d /usr
/nec
; then
15593 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15594 hardcode_shlibpath_var_F77
=no
15595 runpath_var
=LD_RUN_PATH
15596 hardcode_runpath_var
=yes
15601 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15602 no_undefined_flag_F77
='${wl}-z,text'
15603 archive_cmds_need_lc_F77
=no
15604 hardcode_shlibpath_var_F77
=no
15605 runpath_var
='LD_RUN_PATH'
15607 if test "$GCC" = yes; then
15608 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15609 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15611 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15612 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15616 sysv5
* | sco3.2v5
* | sco5v6
*)
15617 # Note: We can NOT use -z defs as we might desire, because we do not
15618 # link with -lc, and that would cause any symbols used from libc to
15619 # always be unresolved, which means just about no library would
15620 # ever link correctly. If we're not using GNU ld we use -z text
15621 # though, which does catch some bad symbols but isn't as heavy-handed
15623 no_undefined_flag_F77
='${wl}-z,text'
15624 allow_undefined_flag_F77
='${wl}-z,nodefs'
15625 archive_cmds_need_lc_F77
=no
15626 hardcode_shlibpath_var_F77
=no
15627 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15628 hardcode_libdir_separator_F77
=':'
15629 link_all_deplibs_F77
=yes
15630 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15631 runpath_var
='LD_RUN_PATH'
15633 if test "$GCC" = yes; then
15634 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15635 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15637 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15638 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15643 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15644 hardcode_libdir_flag_spec_F77
='-L$libdir'
15645 hardcode_shlibpath_var_F77
=no
15654 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15655 $as_echo "$ld_shlibs_F77" >&6; }
15656 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15659 # Do we need to explicitly link libc?
15661 case "x$archive_cmds_need_lc_F77" in
15663 # Assume -lc should be added
15664 archive_cmds_need_lc_F77
=yes
15666 if test "$enable_shared" = yes && test "$GCC" = yes; then
15667 case $archive_cmds_F77 in
15669 # FIXME: we may have to deal with multi-command sequences.
15672 # Test whether the compiler implicitly links with -lc since on some
15673 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15674 # to ld, don't add -lc before -lgcc.
15675 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15676 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15678 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15681 (eval $ac_compile) 2>&5
15683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } 2>conftest.err
; then
15687 libobjs
=conftest.
$ac_objext
15689 wl
=$lt_prog_compiler_wl_F77
15690 pic_flag
=$lt_prog_compiler_pic_F77
15696 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15697 allow_undefined_flag_F77
=
15698 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15699 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702 (exit $ac_status); }
15704 archive_cmds_need_lc_F77
=no
15706 archive_cmds_need_lc_F77
=yes
15708 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15710 cat conftest.err
1>&5
15713 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15714 $as_echo "$archive_cmds_need_lc_F77" >&6; }
15721 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15722 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15723 library_names_spec
=
15724 libname_spec
='lib$name'
15728 postuninstall_cmds
=
15732 shlibpath_overrides_runpath
=unknown
15734 dynamic_linker
="$host_os ld.so"
15735 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15737 need_lib_prefix
=unknown
15738 hardcode_into_libs
=no
15740 # when you set need_version to no, make sure it does not cause -set_version
15741 # flags to be left without arguments
15742 need_version
=unknown
15747 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15748 shlibpath_var
=LIBPATH
15750 # AIX 3 has no versioning support, so we append a major version to the name.
15751 soname_spec
='${libname}${release}${shared_ext}$major'
15758 hardcode_into_libs
=yes
15759 if test "$host_cpu" = ia64
; then
15760 # AIX 5 supports IA64
15761 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15762 shlibpath_var
=LD_LIBRARY_PATH
15764 # With GCC up to 2.95.x, collect2 would create an import file
15765 # for dependence libraries. The import file would start with
15766 # the line `#! .'. This would cause the generated library to
15767 # depend on `.', always an invalid library. This was fixed in
15768 # development snapshots of GCC prior to 3.0.
15770 aix4 | aix4.
[01] | aix4.
[01].
*)
15771 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15773 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15776 can_build_shared
=no
15780 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15781 # soname into executable. Probably we can add versioning support to
15782 # collect2, so additional links can be useful in future.
15783 if test "$aix_use_runtimelinking" = yes; then
15784 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15785 # instead of lib<name>.a to let people know that these are not
15786 # typical AIX shared libraries.
15787 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15789 # We preserve .a as extension for shared libraries through AIX4.2
15790 # and later when we are not doing run time linking.
15791 library_names_spec
='${libname}${release}.a $libname.a'
15792 soname_spec
='${libname}${release}${shared_ext}$major'
15794 shlibpath_var
=LIBPATH
15799 library_names_spec
='$libname.ixlibrary $libname.a'
15800 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15801 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'
15805 library_names_spec
='${libname}${shared_ext}'
15806 dynamic_linker
="$host_os ld.so"
15807 shlibpath_var
=LIBRARY_PATH
15813 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15814 soname_spec
='${libname}${release}${shared_ext}$major'
15815 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15816 shlibpath_var
=LD_LIBRARY_PATH
15817 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15818 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15819 # the default ld.so.conf also contains /usr/contrib/lib and
15820 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15821 # libtool to hard-code these into programs
15824 cygwin
* | mingw
* | pw32
*)
15825 version_type
=windows
15830 case $GCC,$host_os in
15831 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15832 library_names_spec
='$libname.dll.a'
15833 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15834 postinstall_cmds
='base_file=`basename \${file}`~
15835 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15836 dldir=$destdir/`dirname \$dlpath`~
15837 test -d \$dldir || mkdir -p \$dldir~
15838 $install_prog $dir/$dlname \$dldir/$dlname~
15839 chmod a+x \$dldir/$dlname'
15840 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15841 dlpath=$dir/\$dldll~
15843 shlibpath_overrides_runpath
=yes
15847 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15848 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15849 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15852 # MinGW DLLs use traditional 'lib' prefix
15853 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15854 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15855 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15856 # It is most probably a Windows format PATH printed by
15857 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15858 # path with ; separators, and with drive letters. We can handle the
15859 # drive letters (cygwin fileutils understands them), so leave them,
15860 # especially as we might pass files found there to a mingw objdump,
15861 # which wouldn't understand a cygwinified path. Ahh.
15862 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15864 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15868 # pw32 DLLs use 'pw' prefix rather than 'lib'
15869 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15875 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15878 dynamic_linker
='Win32 ld.exe'
15879 # FIXME: first we should search . and the directory the executable is in
15883 darwin
* | rhapsody
*)
15884 dynamic_linker
="$host_os dyld"
15885 version_type
=darwin
15888 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15889 soname_spec
='${libname}${release}${major}$shared_ext'
15890 shlibpath_overrides_runpath
=yes
15891 shlibpath_var
=DYLD_LIBRARY_PATH
15892 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15894 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15901 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15902 soname_spec
='${libname}${release}${shared_ext}$major'
15903 shlibpath_var
=LD_LIBRARY_PATH
15910 freebsd
* | dragonfly
*)
15911 # DragonFly does not have aout. When/if they implement a new
15912 # versioning mechanism, adjust this.
15913 if test -x /usr
/bin
/objformat
; then
15914 objformat
=`/usr/bin/objformat`
15917 freebsd
[123]*) objformat
=aout
;;
15918 *) objformat
=elf
;;
15921 version_type
=freebsd-
$objformat
15922 case $version_type in
15924 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15929 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15933 shlibpath_var
=LD_LIBRARY_PATH
15936 shlibpath_overrides_runpath
=yes
15938 freebsd3.
[01]* | freebsdelf3.
[01]*)
15939 shlibpath_overrides_runpath
=yes
15940 hardcode_into_libs
=yes
15942 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15943 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15944 shlibpath_overrides_runpath
=no
15945 hardcode_into_libs
=yes
15947 *) # from 4.6 on, and DragonFly
15948 shlibpath_overrides_runpath
=yes
15949 hardcode_into_libs
=yes
15958 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15959 soname_spec
='${libname}${release}${shared_ext}$major'
15960 shlibpath_var
=LD_LIBRARY_PATH
15961 hardcode_into_libs
=yes
15964 hpux9
* | hpux10
* | hpux11
*)
15965 # Give a soname corresponding to the major version so that dld.sl refuses to
15966 # link against other versions.
15973 hardcode_into_libs
=yes
15974 dynamic_linker
="$host_os dld.so"
15975 shlibpath_var
=LD_LIBRARY_PATH
15976 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15977 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15978 soname_spec
='${libname}${release}${shared_ext}$major'
15979 if test "X$HPUX_IA64_MODE" = X32
; then
15980 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15982 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15984 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15988 hardcode_into_libs
=yes
15989 dynamic_linker
="$host_os dld.sl"
15990 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15991 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15992 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15993 soname_spec
='${libname}${release}${shared_ext}$major'
15994 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15995 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15999 dynamic_linker
="$host_os dld.sl"
16000 shlibpath_var
=SHLIB_PATH
16001 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
16002 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16003 soname_spec
='${libname}${release}${shared_ext}$major'
16006 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16007 postinstall_cmds
='chmod 555 $lib'
16014 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16015 soname_spec
='${libname}${release}${shared_ext}$major'
16016 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16017 shlibpath_var
=LD_LIBRARY_PATH
16018 shlibpath_overrides_runpath
=no
16019 hardcode_into_libs
=yes
16022 irix5
* | irix6
* | nonstopux
*)
16024 nonstopux
*) version_type
=nonstopux
;;
16026 if test "$lt_cv_prog_gnu_ld" = yes; then
16034 soname_spec
='${libname}${release}${shared_ext}$major'
16035 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16037 irix5
* | nonstopux
*)
16038 libsuff
= shlibsuff
=
16041 case $LD in # libtool.m4 will add one of these switches to LD
16042 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16043 libsuff
= shlibsuff
= libmagic
=32-bit;;
16044 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16045 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16046 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16047 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16048 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16052 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16053 shlibpath_overrides_runpath
=no
16054 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16055 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16056 hardcode_into_libs
=yes
16059 # No shared lib support for Linux oldld, aout, or coff.
16060 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16064 # This must be Linux ELF.
16065 linux
* | k
*bsd
*-gnu)
16069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16070 soname_spec
='${libname}${release}${shared_ext}$major'
16071 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16072 shlibpath_var
=LD_LIBRARY_PATH
16073 shlibpath_overrides_runpath
=no
16074 # This implies no fast_install, which is unacceptable.
16075 # Some rework will be needed to allow for fast_install
16076 # before this can be enabled.
16077 hardcode_into_libs
=yes
16079 # Append ld.so.conf contents to the search path
16080 if test -f /etc
/ld.so.conf
; then
16081 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' ' '`
16082 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16085 # We used to test for /lib/ld.so.1 and disable shared libraries on
16086 # powerpc, because MkLinux only supported shared libraries with the
16087 # GNU dynamic linker. Since this was broken with cross compilers,
16088 # most powerpc-linux boxes support dynamic linking these days and
16089 # people can always --disable-shared, the test was removed, and we
16090 # assume the GNU/Linux dynamic linker is in use.
16091 dynamic_linker
='GNU/Linux ld.so'
16098 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16099 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16100 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16101 dynamic_linker
='NetBSD (a.out) ld.so'
16103 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16104 soname_spec
='${libname}${release}${shared_ext}$major'
16105 dynamic_linker
='NetBSD ld.elf_so'
16107 shlibpath_var
=LD_LIBRARY_PATH
16108 shlibpath_overrides_runpath
=yes
16109 hardcode_into_libs
=yes
16114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16115 shlibpath_var
=LD_LIBRARY_PATH
16116 shlibpath_overrides_runpath
=yes
16123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16124 soname_spec
='${libname}${release}${shared_ext}$major'
16125 shlibpath_var
=LD_LIBRARY_PATH
16126 shlibpath_overrides_runpath
=yes
16131 sys_lib_dlsearch_path_spec
="/usr/lib"
16133 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16135 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16136 *) need_version
=no
;;
16138 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16139 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16140 shlibpath_var
=LD_LIBRARY_PATH
16141 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16143 openbsd2.
[89] | openbsd2.
[89].
*)
16144 shlibpath_overrides_runpath
=no
16147 shlibpath_overrides_runpath
=yes
16151 shlibpath_overrides_runpath
=yes
16156 libname_spec
='$name'
16159 library_names_spec
='$libname${shared_ext} $libname.a'
16160 dynamic_linker
='OS/2 ld.exe'
16161 shlibpath_var
=LIBPATH
16164 osf3
* | osf4
* | osf5
*)
16168 soname_spec
='${libname}${release}${shared_ext}$major'
16169 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16170 shlibpath_var
=LD_LIBRARY_PATH
16171 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16172 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16183 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16184 soname_spec
='${libname}${release}${shared_ext}$major'
16185 shlibpath_var
=LD_LIBRARY_PATH
16186 shlibpath_overrides_runpath
=yes
16187 hardcode_into_libs
=yes
16188 # ldd complains unless libraries are executable
16189 postinstall_cmds
='chmod +x $lib'
16194 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16195 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16196 shlibpath_var
=LD_LIBRARY_PATH
16197 shlibpath_overrides_runpath
=yes
16198 if test "$with_gnu_ld" = yes; then
16206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16207 soname_spec
='${libname}${release}${shared_ext}$major'
16208 shlibpath_var
=LD_LIBRARY_PATH
16209 case $host_vendor in
16211 shlibpath_overrides_runpath
=no
16213 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16214 runpath_var
=LD_RUN_PATH
16222 shlibpath_overrides_runpath
=no
16223 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16229 if test -d /usr
/nec
;then
16231 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16232 soname_spec
='$libname${shared_ext}.$major'
16233 shlibpath_var
=LD_LIBRARY_PATH
16237 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16238 version_type
=freebsd-elf
16241 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16242 soname_spec
='${libname}${release}${shared_ext}$major'
16243 shlibpath_var
=LD_LIBRARY_PATH
16244 hardcode_into_libs
=yes
16245 if test "$with_gnu_ld" = yes; then
16246 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16247 shlibpath_overrides_runpath
=no
16249 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16250 shlibpath_overrides_runpath
=yes
16253 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16257 sys_lib_dlsearch_path_spec
='/usr/lib'
16262 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16263 soname_spec
='${libname}${release}${shared_ext}$major'
16264 shlibpath_var
=LD_LIBRARY_PATH
16271 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16272 $as_echo "$dynamic_linker" >&6; }
16273 test "$dynamic_linker" = no
&& can_build_shared
=no
16275 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16276 if test "$GCC" = yes; then
16277 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16280 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16281 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16282 hardcode_action_F77
=
16283 if test -n "$hardcode_libdir_flag_spec_F77" || \
16284 test -n "$runpath_var_F77" || \
16285 test "X$hardcode_automatic_F77" = "Xyes" ; then
16287 # We can hardcode non-existant directories.
16288 if test "$hardcode_direct_F77" != no
&&
16289 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16290 # have to relink, otherwise we might link with an installed library
16291 # when we should be linking with a yet-to-be-installed one
16292 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16293 test "$hardcode_minus_L_F77" != no
; then
16294 # Linking always hardcodes the temporary library directory.
16295 hardcode_action_F77
=relink
16297 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16298 hardcode_action_F77
=immediate
16301 # We cannot hardcode anything, or else we can only hardcode existing
16303 hardcode_action_F77
=unsupported
16305 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16306 $as_echo "$hardcode_action_F77" >&6; }
16308 if test "$hardcode_action_F77" = relink
; then
16309 # Fast installation is not supported
16310 enable_fast_install
=no
16311 elif test "$shlibpath_overrides_runpath" = yes ||
16312 test "$enable_shared" = no
; then
16313 # Fast installation is not necessary
16314 enable_fast_install
=needless
16318 # The else clause should only fire when bootstrapping the
16319 # libtool distribution, otherwise you forgot to ship ltmain.sh
16320 # with your package, and you will get complaints that there are
16321 # no rules to generate ltmain.sh.
16322 if test -f "$ltmain"; then
16323 # See if we are running on zsh, and set the options which allow our commands through
16324 # without removal of \ escapes.
16325 if test -n "${ZSH_VERSION+set}" ; then
16326 setopt NO_GLOB_SUBST
16328 # Now quote all the things that may contain metacharacters while being
16329 # careful not to overquote the AC_SUBSTed values. We take copies of the
16330 # variables and quote the copies for generation of the libtool script.
16331 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16333 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16334 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16335 deplibs_check_method reload_flag reload_cmds need_locks \
16336 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16337 lt_cv_sys_global_symbol_to_c_name_address \
16338 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16339 old_postinstall_cmds old_postuninstall_cmds \
16343 lt_prog_compiler_wl_F77 \
16344 lt_prog_compiler_pic_F77 \
16345 lt_prog_compiler_static_F77 \
16346 lt_prog_compiler_no_builtin_flag_F77 \
16347 export_dynamic_flag_spec_F77 \
16348 thread_safe_flag_spec_F77 \
16349 whole_archive_flag_spec_F77 \
16350 enable_shared_with_static_runtimes_F77 \
16351 old_archive_cmds_F77 \
16352 old_archive_from_new_cmds_F77 \
16353 predep_objects_F77 \
16354 postdep_objects_F77 \
16357 compiler_lib_search_path_F77 \
16359 archive_expsym_cmds_F77 \
16360 postinstall_cmds_F77 \
16361 postuninstall_cmds_F77 \
16362 old_archive_from_expsyms_cmds_F77 \
16363 allow_undefined_flag_F77 \
16364 no_undefined_flag_F77 \
16365 export_symbols_cmds_F77 \
16366 hardcode_libdir_flag_spec_F77 \
16367 hardcode_libdir_flag_spec_ld_F77 \
16368 hardcode_libdir_separator_F77 \
16369 hardcode_automatic_F77 \
16371 module_expsym_cmds_F77 \
16372 lt_cv_prog_compiler_c_o_F77 \
16373 fix_srcfile_path_F77 \
16374 exclude_expsyms_F77 \
16375 include_expsyms_F77
; do
16378 old_archive_cmds_F77 | \
16379 old_archive_from_new_cmds_F77 | \
16380 archive_cmds_F77 | \
16381 archive_expsym_cmds_F77 | \
16382 module_cmds_F77 | \
16383 module_expsym_cmds_F77 | \
16384 old_archive_from_expsyms_cmds_F77 | \
16385 export_symbols_cmds_F77 | \
16386 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16387 postinstall_cmds | postuninstall_cmds | \
16388 old_postinstall_cmds | old_postuninstall_cmds | \
16389 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16390 # Double-quote double-evaled strings.
16391 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16394 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16400 *'\$0 --fallback-echo"')
16401 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16407 cat <<__EOF__ >> "$cfgfile"
16408 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16410 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16412 # Shell to use when invoking shell scripts.
16415 # Whether or not to build shared libraries.
16416 build_libtool_libs=$enable_shared
16418 # Whether or not to build static libraries.
16419 build_old_libs=$enable_static
16421 # Whether or not to add -lc for building shared libraries.
16422 build_libtool_need_lc=$archive_cmds_need_lc_F77
16424 # Whether or not to disallow shared libs when runtime libs are static
16425 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16427 # Whether or not to optimize for fast installation.
16428 fast_install=$enable_fast_install
16431 host_alias=$host_alias
16435 # The build system.
16436 build_alias=$build_alias
16440 # An echo program that does not interpret backslashes.
16445 AR_FLAGS=$lt_AR_FLAGS
16450 # LTCC compiler flags.
16451 LTCFLAGS=$lt_LTCFLAGS
16453 # A language-specific compiler.
16454 CC=$lt_compiler_F77
16456 # Is the compiler the GNU C compiler?
16462 # The linker used to build libraries.
16465 # Whether we need hard or soft links.
16468 # A BSD-compatible nm program.
16471 # A symbol stripping program
16474 # Used to examine libraries when file_magic_cmd begins "file"
16475 MAGIC_CMD=$MAGIC_CMD
16477 # Used on cygwin: DLL creation program.
16480 # Used on cygwin: object dumper.
16483 # Used on cygwin: assembler.
16486 # The name of the directory that contains temporary libtool files.
16489 # How to create reloadable object files.
16490 reload_flag=$lt_reload_flag
16491 reload_cmds=$lt_reload_cmds
16493 # How to pass a linker flag through the compiler.
16494 wl=$lt_lt_prog_compiler_wl_F77
16496 # Object file suffix (normally "o").
16497 objext="$ac_objext"
16499 # Old archive suffix (normally "a").
16502 # Shared library suffix (normally ".so").
16503 shrext_cmds='$shrext_cmds'
16505 # Executable file suffix (normally "").
16508 # Additional compiler flags for building library objects.
16509 pic_flag=$lt_lt_prog_compiler_pic_F77
16512 # What is the maximum length of a command?
16513 max_cmd_len=$lt_cv_sys_max_cmd_len
16515 # Does compiler simultaneously support -c and -o options?
16516 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16518 # Must we lock files when doing compilation?
16519 need_locks=$lt_need_locks
16521 # Do we need the lib prefix for modules?
16522 need_lib_prefix=$need_lib_prefix
16524 # Do we need a version for libraries?
16525 need_version=$need_version
16527 # Whether dlopen is supported.
16528 dlopen_support=$enable_dlopen
16530 # Whether dlopen of programs is supported.
16531 dlopen_self=$enable_dlopen_self
16533 # Whether dlopen of statically linked programs is supported.
16534 dlopen_self_static=$enable_dlopen_self_static
16536 # Compiler flag to prevent dynamic linking.
16537 link_static_flag=$lt_lt_prog_compiler_static_F77
16539 # Compiler flag to turn off builtin functions.
16540 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16542 # Compiler flag to allow reflexive dlopens.
16543 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16545 # Compiler flag to generate shared objects directly from archives.
16546 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16548 # Compiler flag to generate thread-safe objects.
16549 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16551 # Library versioning type.
16552 version_type=$version_type
16554 # Format of library name prefix.
16555 libname_spec=$lt_libname_spec
16557 # List of archive names. First name is the real one, the rest are links.
16558 # The last name is the one that the linker finds with -lNAME.
16559 library_names_spec=$lt_library_names_spec
16561 # The coded name of the library, if different from the real name.
16562 soname_spec=$lt_soname_spec
16564 # Commands used to build and install an old-style archive.
16566 old_archive_cmds=$lt_old_archive_cmds_F77
16567 old_postinstall_cmds=$lt_old_postinstall_cmds
16568 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16570 # Create an old-style archive from a shared archive.
16571 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16573 # Create a temporary old-style archive to link instead of a shared archive.
16574 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16576 # Commands used to build and install a shared archive.
16577 archive_cmds=$lt_archive_cmds_F77
16578 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16579 postinstall_cmds=$lt_postinstall_cmds
16580 postuninstall_cmds=$lt_postuninstall_cmds
16582 # Commands used to build a loadable module (assumed same as above if empty)
16583 module_cmds=$lt_module_cmds_F77
16584 module_expsym_cmds=$lt_module_expsym_cmds_F77
16586 # Commands to strip libraries.
16587 old_striplib=$lt_old_striplib
16588 striplib=$lt_striplib
16590 # Dependencies to place before the objects being linked to create a
16592 predep_objects=$lt_predep_objects_F77
16594 # Dependencies to place after the objects being linked to create a
16596 postdep_objects=$lt_postdep_objects_F77
16598 # Dependencies to place before the objects being linked to create a
16600 predeps=$lt_predeps_F77
16602 # Dependencies to place after the objects being linked to create a
16604 postdeps=$lt_postdeps_F77
16606 # The library search path used internally by the compiler when linking
16607 # a shared library.
16608 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16610 # Method to check whether dependent libraries are shared objects.
16611 deplibs_check_method=$lt_deplibs_check_method
16613 # Command to use when deplibs_check_method == file_magic.
16614 file_magic_cmd=$lt_file_magic_cmd
16616 # Flag that allows shared libraries with undefined symbols to be built.
16617 allow_undefined_flag=$lt_allow_undefined_flag_F77
16619 # Flag that forces no undefined symbols.
16620 no_undefined_flag=$lt_no_undefined_flag_F77
16622 # Commands used to finish a libtool library installation in a directory.
16623 finish_cmds=$lt_finish_cmds
16625 # Same as above, but a single script fragment to be evaled but not shown.
16626 finish_eval=$lt_finish_eval
16628 # Take the output of nm and produce a listing of raw symbols and C names.
16629 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16631 # Transform the output of nm in a proper C declaration
16632 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16634 # Transform the output of nm in a C name address pair
16635 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16637 # This is the shared library runtime path variable.
16638 runpath_var=$runpath_var
16640 # This is the shared library path variable.
16641 shlibpath_var=$shlibpath_var
16643 # Is shlibpath searched before the hard-coded library search path?
16644 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16646 # How to hardcode a shared library path into an executable.
16647 hardcode_action=$hardcode_action_F77
16649 # Whether we should hardcode library paths into libraries.
16650 hardcode_into_libs=$hardcode_into_libs
16652 # Flag to hardcode \$libdir into a binary during linking.
16653 # This must work even if \$libdir does not exist.
16654 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16656 # If ld is used when linking, flag to hardcode \$libdir into
16657 # a binary during linking. This must work even if \$libdir does
16659 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16661 # Whether we need a single -rpath flag with a separated argument.
16662 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16664 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16665 # resulting binary.
16666 hardcode_direct=$hardcode_direct_F77
16668 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16669 # resulting binary.
16670 hardcode_minus_L=$hardcode_minus_L_F77
16672 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16673 # the resulting binary.
16674 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16676 # Set to yes if building a shared library automatically hardcodes DIR into the library
16677 # and all subsequent libraries and executables linked against it.
16678 hardcode_automatic=$hardcode_automatic_F77
16680 # Variables whose values should be saved in libtool wrapper scripts and
16681 # restored at relink time.
16682 variables_saved_for_relink="$variables_saved_for_relink"
16684 # Whether libtool must link a program against all its dependency libraries.
16685 link_all_deplibs=$link_all_deplibs_F77
16687 # Compile-time system search path for libraries
16688 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16690 # Run-time system search path for libraries
16691 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16693 # Fix the shell variable \$srcfile for the compiler.
16694 fix_srcfile_path=$lt_fix_srcfile_path
16696 # Set to yes if exported symbols are required.
16697 always_export_symbols=$always_export_symbols_F77
16699 # The commands to list exported symbols.
16700 export_symbols_cmds=$lt_export_symbols_cmds_F77
16702 # The commands to extract the exported symbol list from a shared archive.
16703 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16705 # Symbols that should not be listed in the preloaded symbols.
16706 exclude_expsyms=$lt_exclude_expsyms_F77
16708 # Symbols that must always be exported.
16709 include_expsyms=$lt_include_expsyms_F77
16711 # ### END LIBTOOL TAG CONFIG: $tagname
16717 # If there is no Makefile yet, we rely on a make rule to execute
16718 # `config.status --recheck' to rerun these tests and create the
16719 # libtool script then.
16720 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16721 if test -f "$ltmain_in"; then
16722 test -f Makefile
&& make "$ltmain"
16728 ac_cpp
='$CPP $CPPFLAGS'
16729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16741 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16744 # Source file extension for Java test sources.
16747 # Object file extension for compiled Java test sources.
16751 # Code to be used in simple compile tests
16752 lt_simple_compile_test_code
="class foo {}"
16754 # Code to be used in simple link tests
16755 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16757 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16759 # If no C compiler was specified, use CC.
16762 # If no C compiler flags were specified, use CFLAGS.
16763 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16765 # Allow CC to be a program name with arguments.
16769 # save warnings/boilerplate of simple test code
16770 ac_outfile
=conftest.
$ac_objext
16771 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16772 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16773 _lt_compiler_boilerplate
=`cat conftest.err`
16776 ac_outfile
=conftest.
$ac_objext
16777 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16778 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16779 _lt_linker_boilerplate
=`cat conftest.err`
16783 # Allow CC to be a program name with arguments.
16788 for cc_temp
in $compiler""; do
16790 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16791 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16796 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16799 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16800 archive_cmds_need_lc_GCJ
=no
16802 old_archive_cmds_GCJ
=$old_archive_cmds
16805 lt_prog_compiler_no_builtin_flag_GCJ
=
16807 if test "$GCC" = yes; then
16808 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16811 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16812 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16813 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16814 $as_echo_n "(cached) " >&6
16816 lt_cv_prog_compiler_rtti_exceptions
=no
16817 ac_outfile
=conftest.
$ac_objext
16818 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16819 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16820 # Insert the option either (1) after the last *FLAGS variable, or
16821 # (2) before a word containing "conftest.", or (3) at the end.
16822 # Note that $ac_compile itself does not contain backslashes and begins
16823 # with a dollar sign (not a hyphen), so the echo should work correctly.
16824 # The option is referenced via a variable to avoid confusing sed.
16825 lt_compile
=`echo "$ac_compile" | $SED \
16826 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16827 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16828 -e 's:$: $lt_compiler_flag:'`
16829 (eval echo "\"\$as_me:16829: $lt_compile\"" >&5)
16830 (eval "$lt_compile" 2>conftest.err
)
16832 cat conftest.err
>&5
16833 echo "$as_me:16833: \$? = $ac_status" >&5
16834 if (exit $ac_status) && test -s "$ac_outfile"; then
16835 # The compiler can only warn and ignore the option if not recognized
16836 # So say no if there are warnings other than the usual output.
16837 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16838 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16839 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16840 lt_cv_prog_compiler_rtti_exceptions
=yes
16846 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16847 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16849 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16850 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16857 lt_prog_compiler_wl_GCJ
=
16858 lt_prog_compiler_pic_GCJ
=
16859 lt_prog_compiler_static_GCJ
=
16861 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16862 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16864 if test "$GCC" = yes; then
16865 lt_prog_compiler_wl_GCJ
='-Wl,'
16866 lt_prog_compiler_static_GCJ
='-static'
16870 # All AIX code is PIC.
16871 if test "$host_cpu" = ia64
; then
16872 # AIX 5 now supports IA64 processor
16873 lt_prog_compiler_static_GCJ
='-Bstatic'
16878 # FIXME: we need at least 68020 code to build shared libraries, but
16879 # adding the `-m68020' flag to GCC prevents building anything better,
16881 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16884 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16885 # PIC is the default for these OSes.
16888 mingw
* | cygwin
* | pw32
* | os2
*)
16889 # This hack is so that the source file can tell whether it is being
16890 # built for inclusion in a dll (and should export symbols for example).
16891 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16892 # (--disable-auto-import) libraries
16893 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16896 darwin
* | rhapsody
*)
16897 # PIC is the default on this platform
16898 # Common symbols not allowed in MH_DYLIB files
16899 lt_prog_compiler_pic_GCJ
='-fno-common'
16903 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16904 # Instead, we relocate shared libraries at runtime.
16908 # Just because we use GCC doesn't mean we suddenly get shared libraries
16909 # on systems that don't support them.
16910 lt_prog_compiler_can_build_shared_GCJ
=no
16915 if test -d /usr
/nec
; then
16916 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16921 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16922 # not for PA HP-UX.
16928 lt_prog_compiler_pic_GCJ
='-fPIC'
16934 lt_prog_compiler_pic_GCJ
='-fPIC'
16938 # PORTME Check for flag to pass linker flags through the system compiler.
16941 lt_prog_compiler_wl_GCJ
='-Wl,'
16942 if test "$host_cpu" = ia64
; then
16943 # AIX 5 now supports IA64 processor
16944 lt_prog_compiler_static_GCJ
='-Bstatic'
16946 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16950 # PIC is the default on this platform
16951 # Common symbols not allowed in MH_DYLIB files
16952 case $cc_basename in
16954 lt_prog_compiler_pic_GCJ
='-qnocommon'
16955 lt_prog_compiler_wl_GCJ
='-Wl,'
16960 mingw
* | cygwin
* | pw32
* | os2
*)
16961 # This hack is so that the source file can tell whether it is being
16962 # built for inclusion in a dll (and should export symbols for example).
16963 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16966 hpux9
* | hpux10
* | hpux11
*)
16967 lt_prog_compiler_wl_GCJ
='-Wl,'
16968 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16969 # not for PA HP-UX.
16975 lt_prog_compiler_pic_GCJ
='+Z'
16978 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16979 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16982 irix5
* | irix6
* | nonstopux
*)
16983 lt_prog_compiler_wl_GCJ
='-Wl,'
16984 # PIC (with -KPIC) is the default.
16985 lt_prog_compiler_static_GCJ
='-non_shared'
16989 lt_prog_compiler_pic_GCJ
='-KPIC'
16990 lt_prog_compiler_static_GCJ
='-Bstatic'
16993 linux
* | k
*bsd
*-gnu)
16994 case $cc_basename in
16996 lt_prog_compiler_wl_GCJ
='-Wl,'
16997 lt_prog_compiler_pic_GCJ
='-KPIC'
16998 lt_prog_compiler_static_GCJ
='-static'
17000 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17001 # Portland Group compilers (*not* the Pentium gcc compiler,
17002 # which looks to be a dead project)
17003 lt_prog_compiler_wl_GCJ
='-Wl,'
17004 lt_prog_compiler_pic_GCJ
='-fpic'
17005 lt_prog_compiler_static_GCJ
='-Bstatic'
17008 lt_prog_compiler_wl_GCJ
='-Wl,'
17009 # All Alpha code is PIC.
17010 lt_prog_compiler_static_GCJ
='-non_shared'
17013 case `$CC -V 2>&1 | sed 5q` in
17016 lt_prog_compiler_pic_GCJ
='-KPIC'
17017 lt_prog_compiler_static_GCJ
='-Bstatic'
17018 lt_prog_compiler_wl_GCJ
='-Wl,'
17021 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17022 lt_prog_compiler_pic_GCJ
='-KPIC'
17023 lt_prog_compiler_static_GCJ
='-Bstatic'
17024 lt_prog_compiler_wl_GCJ
=''
17031 osf3
* | osf4
* | osf5
*)
17032 lt_prog_compiler_wl_GCJ
='-Wl,'
17033 # All OSF/1 code is PIC.
17034 lt_prog_compiler_static_GCJ
='-non_shared'
17038 lt_prog_compiler_static_GCJ
='-non_shared'
17042 lt_prog_compiler_pic_GCJ
='-KPIC'
17043 lt_prog_compiler_static_GCJ
='-Bstatic'
17044 case $cc_basename in
17045 f77
* | f90
* | f95
*)
17046 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17048 lt_prog_compiler_wl_GCJ
='-Wl,';;
17053 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17054 lt_prog_compiler_pic_GCJ
='-PIC'
17055 lt_prog_compiler_static_GCJ
='-Bstatic'
17058 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17059 lt_prog_compiler_wl_GCJ
='-Wl,'
17060 lt_prog_compiler_pic_GCJ
='-KPIC'
17061 lt_prog_compiler_static_GCJ
='-Bstatic'
17065 if test -d /usr
/nec
;then
17066 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17067 lt_prog_compiler_static_GCJ
='-Bstatic'
17071 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17072 lt_prog_compiler_wl_GCJ
='-Wl,'
17073 lt_prog_compiler_pic_GCJ
='-KPIC'
17074 lt_prog_compiler_static_GCJ
='-Bstatic'
17078 lt_prog_compiler_wl_GCJ
='-Wl,'
17079 lt_prog_compiler_can_build_shared_GCJ
=no
17083 lt_prog_compiler_pic_GCJ
='-pic'
17084 lt_prog_compiler_static_GCJ
='-Bstatic'
17088 lt_prog_compiler_can_build_shared_GCJ
=no
17093 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17094 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17097 # Check to make sure the PIC flag actually works.
17099 if test -n "$lt_prog_compiler_pic_GCJ"; then
17101 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17102 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17103 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17104 $as_echo_n "(cached) " >&6
17106 lt_prog_compiler_pic_works_GCJ
=no
17107 ac_outfile
=conftest.
$ac_objext
17108 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17109 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17110 # Insert the option either (1) after the last *FLAGS variable, or
17111 # (2) before a word containing "conftest.", or (3) at the end.
17112 # Note that $ac_compile itself does not contain backslashes and begins
17113 # with a dollar sign (not a hyphen), so the echo should work correctly.
17114 # The option is referenced via a variable to avoid confusing sed.
17115 lt_compile
=`echo "$ac_compile" | $SED \
17116 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17117 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17118 -e 's:$: $lt_compiler_flag:'`
17119 (eval echo "\"\$as_me:17119: $lt_compile\"" >&5)
17120 (eval "$lt_compile" 2>conftest.err
)
17122 cat conftest.err
>&5
17123 echo "$as_me:17123: \$? = $ac_status" >&5
17124 if (exit $ac_status) && test -s "$ac_outfile"; then
17125 # The compiler can only warn and ignore the option if not recognized
17126 # So say no if there are warnings other than the usual output.
17127 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17128 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17129 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17130 lt_prog_compiler_pic_works_GCJ
=yes
17136 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17137 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
17139 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17140 case $lt_prog_compiler_pic_GCJ in
17142 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17145 lt_prog_compiler_pic_GCJ
=
17146 lt_prog_compiler_can_build_shared_GCJ
=no
17151 # For platforms which do not support PIC, -DPIC is meaningless:
17153 lt_prog_compiler_pic_GCJ
=
17156 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17161 # Check to make sure the static flag actually works.
17163 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17164 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17165 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17166 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17167 $as_echo_n "(cached) " >&6
17169 lt_prog_compiler_static_works_GCJ
=no
17170 save_LDFLAGS
="$LDFLAGS"
17171 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17172 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17173 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17174 # The linker can only warn and ignore the option if not recognized
17175 # So say no if there are warnings
17176 if test -s conftest.err
; then
17177 # Append any errors to the config.log.
17178 cat conftest.err
1>&5
17179 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17180 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17181 if diff conftest.exp conftest.er2
>/dev
/null
; then
17182 lt_prog_compiler_static_works_GCJ
=yes
17185 lt_prog_compiler_static_works_GCJ
=yes
17189 LDFLAGS
="$save_LDFLAGS"
17192 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17193 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
17195 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17198 lt_prog_compiler_static_GCJ
=
17202 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17203 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17204 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17205 $as_echo_n "(cached) " >&6
17207 lt_cv_prog_compiler_c_o_GCJ
=no
17208 $rm -r conftest
2>/dev
/null
17212 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17214 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17215 # Insert the option either (1) after the last *FLAGS variable, or
17216 # (2) before a word containing "conftest.", or (3) at the end.
17217 # Note that $ac_compile itself does not contain backslashes and begins
17218 # with a dollar sign (not a hyphen), so the echo should work correctly.
17219 lt_compile
=`echo "$ac_compile" | $SED \
17220 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17221 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17222 -e 's:$: $lt_compiler_flag:'`
17223 (eval echo "\"\$as_me:17223: $lt_compile\"" >&5)
17224 (eval "$lt_compile" 2>out
/conftest.err
)
17226 cat out
/conftest.err
>&5
17227 echo "$as_me:17227: \$? = $ac_status" >&5
17228 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17230 # The compiler can only warn and ignore the option if not recognized
17231 # So say no if there are warnings
17232 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17233 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17234 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17235 lt_cv_prog_compiler_c_o_GCJ
=yes
17240 # SGI C++ compiler will create directory out/ii_files/ for
17241 # template instantiation
17242 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17243 $rm out
/* && rmdir out
17249 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17250 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17253 hard_links
="nottested"
17254 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17255 # do not overwrite the value of need_locks provided by the user
17256 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17257 $as_echo_n "checking if we can lock with hard links... " >&6; }
17260 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17262 ln conftest.a conftest.b
2>&5 || hard_links
=no
17263 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17264 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17265 $as_echo "$hard_links" >&6; }
17266 if test "$hard_links" = no
; then
17267 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17268 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17275 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17276 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17279 allow_undefined_flag_GCJ
=
17280 enable_shared_with_static_runtimes_GCJ
=no
17282 archive_expsym_cmds_GCJ
=
17283 old_archive_From_new_cmds_GCJ
=
17284 old_archive_from_expsyms_cmds_GCJ
=
17285 export_dynamic_flag_spec_GCJ
=
17286 whole_archive_flag_spec_GCJ
=
17287 thread_safe_flag_spec_GCJ
=
17288 hardcode_libdir_flag_spec_GCJ
=
17289 hardcode_libdir_flag_spec_ld_GCJ
=
17290 hardcode_libdir_separator_GCJ
=
17291 hardcode_direct_GCJ
=no
17292 hardcode_minus_L_GCJ
=no
17293 hardcode_shlibpath_var_GCJ
=unsupported
17294 link_all_deplibs_GCJ
=unknown
17295 hardcode_automatic_GCJ
=no
17297 module_expsym_cmds_GCJ
=
17298 always_export_symbols_GCJ
=no
17299 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17300 # include_expsyms should be a list of space-separated symbols to be *always*
17301 # included in the symbol list
17302 include_expsyms_GCJ
=
17303 # exclude_expsyms can be an extended regexp of symbols to exclude
17304 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17305 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17306 # as well as any symbol that contains `d'.
17307 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17308 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17309 # platforms (ab)use it in PIC code, but their linkers get confused if
17310 # the symbol is explicitly referenced. Since portable code cannot
17311 # rely on this symbol name, it's probably fine to never include it in
17312 # preloaded symbol tables.
17313 extract_expsyms_cmds
=
17314 # Just being paranoid about ensuring that cc_basename is set.
17315 for cc_temp
in $compiler""; do
17317 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17318 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17323 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17326 cygwin
* | mingw
* | pw32
*)
17327 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17328 # When not using gcc, we currently assume that we are using
17329 # Microsoft Visual C++.
17330 if test "$GCC" != yes; then
17335 # we just hope/assume this is gcc and not c89 (= MSVC++)
17344 if test "$with_gnu_ld" = yes; then
17345 # If archive_cmds runs LD, not CC, wlarc should be empty
17348 # Set some defaults for GNU ld with shared library support. These
17349 # are reset later if shared libraries are not supported. Putting them
17350 # here allows them to be overridden if necessary.
17351 runpath_var
=LD_RUN_PATH
17352 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17353 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17354 # ancient GNU ld didn't support --whole-archive et. al.
17355 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17356 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17358 whole_archive_flag_spec_GCJ
=
17360 supports_anon_versioning
=no
17361 case `$LD -v 2>/dev/null` in
17362 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17363 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17364 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17365 *\
2.11.
*) ;; # other 2.11 versions
17366 *) supports_anon_versioning
=yes ;;
17369 # See if GNU ld supports shared libraries.
17371 aix3
* | aix4
* | aix5
*)
17372 # On AIX/PPC, the GNU linker is very broken
17373 if test "$host_cpu" != ia64
; then
17377 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17378 *** to be unable to reliably create shared libraries on AIX.
17379 *** Therefore, libtool is disabling shared libraries support. If you
17380 *** really care for shared libraries, you may want to modify your PATH
17381 *** so that a non-GNU linker is found, and then restart.
17388 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)'
17389 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17390 hardcode_minus_L_GCJ
=yes
17392 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17393 # that the semantics of dynamic libraries on AmigaOS, at least up
17394 # to version 4, is to share data among multiple programs linked
17395 # with the same dynamic library. Since this doesn't match the
17396 # behavior of shared libraries on other platforms, we can't use
17402 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17403 allow_undefined_flag_GCJ
=unsupported
17404 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17405 # support --undefined. This deserves some investigation. FIXME
17406 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17412 cygwin
* | mingw
* | pw32
*)
17413 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17414 # as there is no search path for DLLs.
17415 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17416 allow_undefined_flag_GCJ
=unsupported
17417 always_export_symbols_GCJ
=no
17418 enable_shared_with_static_runtimes_GCJ
=yes
17419 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17421 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17422 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17423 # If the export-symbols file already is a .def file (1st line
17424 # is EXPORTS), use it as is; otherwise, prepend...
17425 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17426 cp $export_symbols $output_objdir/$soname.def;
17428 echo EXPORTS > $output_objdir/$soname.def;
17429 cat $export_symbols >> $output_objdir/$soname.def;
17431 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17438 hardcode_direct_GCJ
=no
17439 hardcode_shlibpath_var_GCJ
=no
17440 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17441 export_dynamic_flag_spec_GCJ
='${wl}-E'
17442 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17443 # Instead, shared libraries are loaded at an image base (0x10000000 by
17444 # default) and relocated if they conflict, which is a slow very memory
17445 # consuming and fragmenting process. To avoid this, we pick a random,
17446 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17447 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17448 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'
17449 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'
17452 gnu
* | linux
* | k
*bsd
*-gnu)
17453 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17455 case $cc_basename,$host_cpu in
17456 pgcc
*) # Portland Group C compiler
17457 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'
17458 tmp_addflag
=' $pic_flag'
17460 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17461 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'
17462 tmp_addflag
=' $pic_flag -Mnomain' ;;
17463 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17464 tmp_addflag
=' -i_dynamic' ;;
17465 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17466 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17467 ifc
* | ifort
*) # Intel Fortran compiler
17468 tmp_addflag
=' -nofor_main' ;;
17470 case `$CC -V 2>&1 | sed 5q` in
17471 *Sun\ C
*) # Sun C 5.9
17472 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'
17473 tmp_sharedflag
='-G' ;;
17474 *Sun\ F
*) # Sun Fortran 8.3
17475 tmp_sharedflag
='-G' ;;
17477 tmp_sharedflag
='-shared' ;;
17479 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17481 if test $supports_anon_versioning = yes; then
17482 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17483 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17484 $echo "local: *; };" >> $output_objdir/$libname.ver~
17485 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17493 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17494 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17497 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17498 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17503 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17507 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17508 *** create shared libraries on Solaris systems. Therefore, libtool
17509 *** is disabling shared libraries support. We urge you to upgrade GNU
17510 *** binutils to release 2.9.1 or newer. Another option is to modify
17511 *** your PATH or compiler configuration so that the native linker is
17512 *** used, and then restart.
17515 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17516 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17517 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17523 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17524 case `$LD -v 2>&1` in
17525 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17529 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17530 *** reliably create shared libraries on SCO systems. Therefore, libtool
17531 *** is disabling shared libraries support. We urge you to upgrade GNU
17532 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17533 *** your PATH or compiler configuration so that the native linker is
17534 *** used, and then restart.
17539 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17540 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17541 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17542 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17551 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17553 hardcode_direct_GCJ
=yes
17554 hardcode_shlibpath_var_GCJ
=no
17558 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17559 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17560 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17567 if test "$ld_shlibs_GCJ" = no
; then
17569 hardcode_libdir_flag_spec_GCJ
=
17570 export_dynamic_flag_spec_GCJ
=
17571 whole_archive_flag_spec_GCJ
=
17574 # PORTME fill in a description of your system's linker (not GNU ld)
17577 allow_undefined_flag_GCJ
=unsupported
17578 always_export_symbols_GCJ
=yes
17579 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'
17580 # Note: this linker hardcodes the directories in LIBPATH if there
17581 # are no directories specified by -L.
17582 hardcode_minus_L_GCJ
=yes
17583 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17584 # Neither direct hardcoding nor static linking is supported with a
17586 hardcode_direct_GCJ
=unsupported
17591 if test "$host_cpu" = ia64
; then
17592 # On IA64, the linker does run time linking by default, so we don't
17593 # have to do anything special.
17594 aix_use_runtimelinking
=no
17595 exp_sym_flag
='-Bexport'
17598 # If we're using GNU nm, then we don't want the "-C" option.
17599 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17600 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17601 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'
17603 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'
17605 aix_use_runtimelinking
=no
17607 # Test if we are trying to use run time linking or normal
17608 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17609 # need to do runtime linking.
17610 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17611 for ld_flag
in $LDFLAGS; do
17612 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17613 aix_use_runtimelinking
=yes
17620 exp_sym_flag
='-bexport'
17621 no_entry_flag
='-bnoentry'
17624 # When large executables or shared objects are built, AIX ld can
17625 # have problems creating the table of contents. If linking a library
17626 # or program results in "error TOC overflow" add -mminimal-toc to
17627 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17628 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17630 archive_cmds_GCJ
=''
17631 hardcode_direct_GCJ
=yes
17632 hardcode_libdir_separator_GCJ
=':'
17633 link_all_deplibs_GCJ
=yes
17635 if test "$GCC" = yes; then
17636 case $host_os in aix4.
[012]|aix4.
[012].
*)
17637 # We only want to do this on AIX 4.2 and lower, the check
17638 # below for broken collect2 doesn't work under 4.3+
17639 collect2name
=`${CC} -print-prog-name=collect2`
17640 if test -f "$collect2name" && \
17641 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17643 # We have reworked collect2
17646 # We have old collect2
17647 hardcode_direct_GCJ
=unsupported
17648 # It fails to find uninstalled libraries when the uninstalled
17649 # path is not listed in the libpath. Setting hardcode_minus_L
17650 # to unsupported forces relinking
17651 hardcode_minus_L_GCJ
=yes
17652 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17653 hardcode_libdir_separator_GCJ
=
17657 shared_flag
='-shared'
17658 if test "$aix_use_runtimelinking" = yes; then
17659 shared_flag
="$shared_flag "'${wl}-G'
17663 if test "$host_cpu" = ia64
; then
17664 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17665 # chokes on -Wl,-G. The following line is correct:
17668 if test "$aix_use_runtimelinking" = yes; then
17669 shared_flag
='${wl}-G'
17671 shared_flag
='${wl}-bM:SRE'
17676 # It seems that -bexpall does not export symbols beginning with
17677 # underscore (_), so it is better to generate a list of symbols to export.
17678 always_export_symbols_GCJ
=yes
17679 if test "$aix_use_runtimelinking" = yes; then
17680 # Warning - without using the other runtime loading flags (-brtl),
17681 # -berok will link without error, but may produce a broken library.
17682 allow_undefined_flag_GCJ
='-berok'
17683 # Determine the default libpath from the value encoded in an empty executable.
17684 cat >conftest.
$ac_ext <<_ACEOF
17687 cat confdefs.h
>>conftest.
$ac_ext
17688 cat >>conftest.
$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17699 rm -f conftest.
$ac_objext conftest
$ac_exeext
17700 if { (ac_try
="$ac_link"
17701 case "(($ac_try" in
17702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17703 *) ac_try_echo=$ac_try;;
17705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17706 $as_echo "$ac_try_echo") >&5
17707 (eval "$ac_link") 2>conftest.er1
17709 grep -v '^ *+' conftest.er1 >conftest.err
17711 cat conftest.err >&5
17712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17713 (exit $ac_status); } && {
17714 test -z "$ac_c_werror_flag" ||
17715 test ! -s conftest.err
17716 } && test -s conftest$ac_exeext && {
17717 test "$cross_compiling" = yes ||
17718 $as_test_x conftest$ac_exeext
17721 lt_aix_libpath_sed='
17722 /Import File Strings/,/^$/ {
17728 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17729 # Check for a 64-bit object if we didn't find anything.
17730 if test -z "$aix_libpath"; then
17731 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17734 $as_echo "$as_me: failed program was:" >&5
17735 sed 's/^/| /' conftest.$ac_ext >&5
17740 rm -rf conftest.dSYM
17741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17742 conftest$ac_exeext conftest.$ac_ext
17743 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17745 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17746 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"
17748 if test "$host_cpu" = ia64; then
17749 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17750 allow_undefined_flag_GCJ="-z nodefs"
17751 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"
17753 # Determine the default libpath from the value encoded in an empty executable.
17754 cat >conftest.$ac_ext <<_ACEOF
17757 cat confdefs.h >>conftest.$ac_ext
17758 cat >>conftest.$ac_ext <<_ACEOF
17759 /* end confdefs.h. */
17769 rm -f conftest.$ac_objext conftest$ac_exeext
17770 if { (ac_try="$ac_link"
17771 case "(($ac_try" in
17772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17773 *) ac_try_echo
=$ac_try;;
17775 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17776 $as_echo "$ac_try_echo") >&5
17777 (eval "$ac_link") 2>conftest.er1
17779 grep -v '^ *+' conftest.er1
>conftest.err
17781 cat conftest.err
>&5
17782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); } && {
17784 test -z "$ac_c_werror_flag" ||
17785 test ! -s conftest.err
17786 } && test -s conftest
$ac_exeext && {
17787 test "$cross_compiling" = yes ||
17788 $as_test_x conftest
$ac_exeext
17791 lt_aix_libpath_sed
='
17792 /Import File Strings/,/^$/ {
17798 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17799 # Check for a 64-bit object if we didn't find anything.
17800 if test -z "$aix_libpath"; then
17801 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17804 $as_echo "$as_me: failed program was:" >&5
17805 sed 's/^/| /' conftest.
$ac_ext >&5
17810 rm -rf conftest.dSYM
17811 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17812 conftest
$ac_exeext conftest.
$ac_ext
17813 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17815 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17816 # Warning - without using the other run time loading flags,
17817 # -berok will link without error, but may produce a broken library.
17818 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17819 allow_undefined_flag_GCJ
=' ${wl}-berok'
17820 # Exported symbols can be pulled into shared objects from archives
17821 whole_archive_flag_spec_GCJ
='$convenience'
17822 archive_cmds_need_lc_GCJ
=yes
17823 # This is similar to how AIX traditionally builds its shared libraries.
17824 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'
17830 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)'
17831 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17832 hardcode_minus_L_GCJ
=yes
17833 # see comment about different semantics on the GNU ld section
17838 export_dynamic_flag_spec_GCJ
=-rdynamic
17841 cygwin
* | mingw
* | pw32
*)
17842 # When not using gcc, we currently assume that we are using
17843 # Microsoft Visual C++.
17844 # hardcode_libdir_flag_spec is actually meaningless, as there is
17845 # no search path for DLLs.
17846 hardcode_libdir_flag_spec_GCJ
=' '
17847 allow_undefined_flag_GCJ
=unsupported
17848 # Tell ltmain to make .lib files, not .a files.
17850 # Tell ltmain to make .dll files, not .so files.
17852 # FIXME: Setting linknames here is a bad hack.
17853 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17854 # The linker will automatically build a .lib file if we build a DLL.
17855 old_archive_From_new_cmds_GCJ
='true'
17856 # FIXME: Should let the user specify the lib program.
17857 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17858 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17859 enable_shared_with_static_runtimes_GCJ
=yes
17862 darwin
* | rhapsody
*)
17864 rhapsody
* | darwin1.
[012])
17865 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17868 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17869 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17871 case ${MACOSX_DEPLOYMENT_TARGET} in
17873 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17876 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17882 archive_cmds_need_lc_GCJ
=no
17883 hardcode_direct_GCJ
=no
17884 hardcode_automatic_GCJ
=yes
17885 hardcode_shlibpath_var_GCJ
=unsupported
17886 whole_archive_flag_spec_GCJ
=''
17887 link_all_deplibs_GCJ
=yes
17888 if test "$GCC" = yes ; then
17889 output_verbose_link_cmd
='echo'
17890 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17891 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17892 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17893 archive_expsym_cmds_GCJ
='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17894 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}'
17896 case $cc_basename in
17898 output_verbose_link_cmd
='echo'
17899 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17900 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17901 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17902 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}'
17903 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}'
17913 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17914 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17915 hardcode_shlibpath_var_GCJ
=no
17922 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17923 # support. Future versions do this automatically, but an explicit c++rt0.o
17924 # does not break anything, and helps significantly (at the cost of a little
17927 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17928 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17929 hardcode_direct_GCJ
=yes
17930 hardcode_shlibpath_var_GCJ
=no
17933 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17935 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17936 hardcode_direct_GCJ
=yes
17937 hardcode_minus_L_GCJ
=yes
17938 hardcode_shlibpath_var_GCJ
=no
17941 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17942 freebsd
* | dragonfly
*)
17943 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17944 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17945 hardcode_direct_GCJ
=yes
17946 hardcode_shlibpath_var_GCJ
=no
17950 if test "$GCC" = yes; then
17951 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'
17953 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'
17955 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17956 hardcode_libdir_separator_GCJ
=:
17957 hardcode_direct_GCJ
=yes
17959 # hardcode_minus_L: Not really in the search PATH,
17960 # but as the default location of the library.
17961 hardcode_minus_L_GCJ
=yes
17962 export_dynamic_flag_spec_GCJ
='${wl}-E'
17966 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17967 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17969 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17971 if test "$with_gnu_ld" = no
; then
17972 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17973 hardcode_libdir_separator_GCJ
=:
17975 hardcode_direct_GCJ
=yes
17976 export_dynamic_flag_spec_GCJ
='${wl}-E'
17978 # hardcode_minus_L: Not really in the search PATH,
17979 # but as the default location of the library.
17980 hardcode_minus_L_GCJ
=yes
17985 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17988 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17991 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17994 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18000 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18003 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18006 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18010 if test "$with_gnu_ld" = no
; then
18011 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18012 hardcode_libdir_separator_GCJ
=:
18016 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18017 hardcode_direct_GCJ
=no
18018 hardcode_shlibpath_var_GCJ
=no
18021 hardcode_direct_GCJ
=yes
18022 export_dynamic_flag_spec_GCJ
='${wl}-E'
18024 # hardcode_minus_L: Not really in the search PATH,
18025 # but as the default location of the library.
18026 hardcode_minus_L_GCJ
=yes
18032 irix5
* | irix6
* | nonstopux
*)
18033 if test "$GCC" = yes; then
18034 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'
18036 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'
18037 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18039 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18040 hardcode_libdir_separator_GCJ
=:
18041 link_all_deplibs_GCJ
=yes
18045 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18046 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18048 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18050 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18051 hardcode_direct_GCJ
=yes
18052 hardcode_shlibpath_var_GCJ
=no
18056 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18057 hardcode_direct_GCJ
=yes
18058 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18059 hardcode_libdir_separator_GCJ
=:
18060 hardcode_shlibpath_var_GCJ
=no
18064 if test -f /usr
/libexec
/ld.so
; then
18065 hardcode_direct_GCJ
=yes
18066 hardcode_shlibpath_var_GCJ
=no
18067 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18068 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18069 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18070 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18071 export_dynamic_flag_spec_GCJ
='${wl}-E'
18074 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18075 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18076 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18079 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18080 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18090 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18091 hardcode_minus_L_GCJ
=yes
18092 allow_undefined_flag_GCJ
=unsupported
18093 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'
18094 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
18098 if test "$GCC" = yes; then
18099 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18100 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'
18102 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18103 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'
18105 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18106 hardcode_libdir_separator_GCJ
=:
18109 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18110 if test "$GCC" = yes; then
18111 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18112 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'
18113 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18115 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18116 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'
18117 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~
18118 $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'
18120 # Both c and cxx compiler support -rpath directly
18121 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18123 hardcode_libdir_separator_GCJ
=:
18127 no_undefined_flag_GCJ
=' -z text'
18128 if test "$GCC" = yes; then
18130 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18131 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18132 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18135 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18136 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18137 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18139 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18140 hardcode_shlibpath_var_GCJ
=no
18142 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18144 # The compiler driver will combine and reorder linker options,
18145 # but understands `-z linker_flag'. GCC discards it without `$wl',
18146 # but is careful enough not to reorder.
18147 # Supported since Solaris 2.6 (maybe 2.5.1?)
18148 if test "$GCC" = yes; then
18149 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18151 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18155 link_all_deplibs_GCJ
=yes
18159 if test "x$host_vendor" = xsequent
; then
18160 # Use $CC to link under sequent, because it throws in some extra .o
18161 # files that make .init and .fini sections work.
18162 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18164 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18166 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18167 hardcode_direct_GCJ
=yes
18168 hardcode_minus_L_GCJ
=yes
18169 hardcode_shlibpath_var_GCJ
=no
18173 case $host_vendor in
18175 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18176 hardcode_direct_GCJ
=yes # is this really true???
18179 ## LD is ld it makes a PLAMLIB
18180 ## CC just makes a GrossModule.
18181 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18182 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18183 hardcode_direct_GCJ
=no
18186 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18187 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18190 runpath_var
='LD_RUN_PATH'
18191 hardcode_shlibpath_var_GCJ
=no
18195 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18196 hardcode_shlibpath_var_GCJ
=no
18197 export_dynamic_flag_spec_GCJ
='-Bexport'
18201 if test -d /usr
/nec
; then
18202 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18203 hardcode_shlibpath_var_GCJ
=no
18204 runpath_var
=LD_RUN_PATH
18205 hardcode_runpath_var
=yes
18210 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18211 no_undefined_flag_GCJ
='${wl}-z,text'
18212 archive_cmds_need_lc_GCJ
=no
18213 hardcode_shlibpath_var_GCJ
=no
18214 runpath_var
='LD_RUN_PATH'
18216 if test "$GCC" = yes; then
18217 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18218 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18220 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18221 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18225 sysv5
* | sco3.2v5
* | sco5v6
*)
18226 # Note: We can NOT use -z defs as we might desire, because we do not
18227 # link with -lc, and that would cause any symbols used from libc to
18228 # always be unresolved, which means just about no library would
18229 # ever link correctly. If we're not using GNU ld we use -z text
18230 # though, which does catch some bad symbols but isn't as heavy-handed
18232 no_undefined_flag_GCJ
='${wl}-z,text'
18233 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18234 archive_cmds_need_lc_GCJ
=no
18235 hardcode_shlibpath_var_GCJ
=no
18236 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18237 hardcode_libdir_separator_GCJ
=':'
18238 link_all_deplibs_GCJ
=yes
18239 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18240 runpath_var
='LD_RUN_PATH'
18242 if test "$GCC" = yes; then
18243 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18244 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18246 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18247 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18252 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18253 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18254 hardcode_shlibpath_var_GCJ
=no
18263 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18264 $as_echo "$ld_shlibs_GCJ" >&6; }
18265 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18268 # Do we need to explicitly link libc?
18270 case "x$archive_cmds_need_lc_GCJ" in
18272 # Assume -lc should be added
18273 archive_cmds_need_lc_GCJ
=yes
18275 if test "$enable_shared" = yes && test "$GCC" = yes; then
18276 case $archive_cmds_GCJ in
18278 # FIXME: we may have to deal with multi-command sequences.
18281 # Test whether the compiler implicitly links with -lc since on some
18282 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18283 # to ld, don't add -lc before -lgcc.
18284 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18285 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18287 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18290 (eval $ac_compile) 2>&5
18292 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); } 2>conftest.err
; then
18296 libobjs
=conftest.
$ac_objext
18298 wl
=$lt_prog_compiler_wl_GCJ
18299 pic_flag
=$lt_prog_compiler_pic_GCJ
18305 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18306 allow_undefined_flag_GCJ
=
18307 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18308 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311 (exit $ac_status); }
18313 archive_cmds_need_lc_GCJ
=no
18315 archive_cmds_need_lc_GCJ
=yes
18317 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18319 cat conftest.err
1>&5
18322 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18323 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18330 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18331 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18332 library_names_spec
=
18333 libname_spec
='lib$name'
18337 postuninstall_cmds
=
18341 shlibpath_overrides_runpath
=unknown
18343 dynamic_linker
="$host_os ld.so"
18344 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18346 need_lib_prefix
=unknown
18347 hardcode_into_libs
=no
18349 # when you set need_version to no, make sure it does not cause -set_version
18350 # flags to be left without arguments
18351 need_version
=unknown
18356 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18357 shlibpath_var
=LIBPATH
18359 # AIX 3 has no versioning support, so we append a major version to the name.
18360 soname_spec
='${libname}${release}${shared_ext}$major'
18367 hardcode_into_libs
=yes
18368 if test "$host_cpu" = ia64
; then
18369 # AIX 5 supports IA64
18370 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18371 shlibpath_var
=LD_LIBRARY_PATH
18373 # With GCC up to 2.95.x, collect2 would create an import file
18374 # for dependence libraries. The import file would start with
18375 # the line `#! .'. This would cause the generated library to
18376 # depend on `.', always an invalid library. This was fixed in
18377 # development snapshots of GCC prior to 3.0.
18379 aix4 | aix4.
[01] | aix4.
[01].
*)
18380 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18382 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18385 can_build_shared
=no
18389 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18390 # soname into executable. Probably we can add versioning support to
18391 # collect2, so additional links can be useful in future.
18392 if test "$aix_use_runtimelinking" = yes; then
18393 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18394 # instead of lib<name>.a to let people know that these are not
18395 # typical AIX shared libraries.
18396 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18398 # We preserve .a as extension for shared libraries through AIX4.2
18399 # and later when we are not doing run time linking.
18400 library_names_spec
='${libname}${release}.a $libname.a'
18401 soname_spec
='${libname}${release}${shared_ext}$major'
18403 shlibpath_var
=LIBPATH
18408 library_names_spec
='$libname.ixlibrary $libname.a'
18409 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18410 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'
18414 library_names_spec
='${libname}${shared_ext}'
18415 dynamic_linker
="$host_os ld.so"
18416 shlibpath_var
=LIBRARY_PATH
18422 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18423 soname_spec
='${libname}${release}${shared_ext}$major'
18424 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18425 shlibpath_var
=LD_LIBRARY_PATH
18426 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18427 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18428 # the default ld.so.conf also contains /usr/contrib/lib and
18429 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18430 # libtool to hard-code these into programs
18433 cygwin
* | mingw
* | pw32
*)
18434 version_type
=windows
18439 case $GCC,$host_os in
18440 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18441 library_names_spec
='$libname.dll.a'
18442 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18443 postinstall_cmds
='base_file=`basename \${file}`~
18444 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18445 dldir=$destdir/`dirname \$dlpath`~
18446 test -d \$dldir || mkdir -p \$dldir~
18447 $install_prog $dir/$dlname \$dldir/$dlname~
18448 chmod a+x \$dldir/$dlname'
18449 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18450 dlpath=$dir/\$dldll~
18452 shlibpath_overrides_runpath
=yes
18456 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18457 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18458 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18461 # MinGW DLLs use traditional 'lib' prefix
18462 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18463 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18464 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18465 # It is most probably a Windows format PATH printed by
18466 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18467 # path with ; separators, and with drive letters. We can handle the
18468 # drive letters (cygwin fileutils understands them), so leave them,
18469 # especially as we might pass files found there to a mingw objdump,
18470 # which wouldn't understand a cygwinified path. Ahh.
18471 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18473 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18477 # pw32 DLLs use 'pw' prefix rather than 'lib'
18478 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18484 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18487 dynamic_linker
='Win32 ld.exe'
18488 # FIXME: first we should search . and the directory the executable is in
18492 darwin
* | rhapsody
*)
18493 dynamic_linker
="$host_os dyld"
18494 version_type
=darwin
18497 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18498 soname_spec
='${libname}${release}${major}$shared_ext'
18499 shlibpath_overrides_runpath
=yes
18500 shlibpath_var
=DYLD_LIBRARY_PATH
18501 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18503 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18510 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18511 soname_spec
='${libname}${release}${shared_ext}$major'
18512 shlibpath_var
=LD_LIBRARY_PATH
18519 freebsd
* | dragonfly
*)
18520 # DragonFly does not have aout. When/if they implement a new
18521 # versioning mechanism, adjust this.
18522 if test -x /usr
/bin
/objformat
; then
18523 objformat
=`/usr/bin/objformat`
18526 freebsd
[123]*) objformat
=aout
;;
18527 *) objformat
=elf
;;
18530 version_type
=freebsd-
$objformat
18531 case $version_type in
18533 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18538 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18542 shlibpath_var
=LD_LIBRARY_PATH
18545 shlibpath_overrides_runpath
=yes
18547 freebsd3.
[01]* | freebsdelf3.
[01]*)
18548 shlibpath_overrides_runpath
=yes
18549 hardcode_into_libs
=yes
18551 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18552 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18553 shlibpath_overrides_runpath
=no
18554 hardcode_into_libs
=yes
18556 *) # from 4.6 on, and DragonFly
18557 shlibpath_overrides_runpath
=yes
18558 hardcode_into_libs
=yes
18567 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18568 soname_spec
='${libname}${release}${shared_ext}$major'
18569 shlibpath_var
=LD_LIBRARY_PATH
18570 hardcode_into_libs
=yes
18573 hpux9
* | hpux10
* | hpux11
*)
18574 # Give a soname corresponding to the major version so that dld.sl refuses to
18575 # link against other versions.
18582 hardcode_into_libs
=yes
18583 dynamic_linker
="$host_os dld.so"
18584 shlibpath_var
=LD_LIBRARY_PATH
18585 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18587 soname_spec
='${libname}${release}${shared_ext}$major'
18588 if test "X$HPUX_IA64_MODE" = X32
; then
18589 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18591 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18593 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18597 hardcode_into_libs
=yes
18598 dynamic_linker
="$host_os dld.sl"
18599 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18600 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18601 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18602 soname_spec
='${libname}${release}${shared_ext}$major'
18603 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18604 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18608 dynamic_linker
="$host_os dld.sl"
18609 shlibpath_var
=SHLIB_PATH
18610 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
18611 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18612 soname_spec
='${libname}${release}${shared_ext}$major'
18615 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18616 postinstall_cmds
='chmod 555 $lib'
18623 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18624 soname_spec
='${libname}${release}${shared_ext}$major'
18625 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18626 shlibpath_var
=LD_LIBRARY_PATH
18627 shlibpath_overrides_runpath
=no
18628 hardcode_into_libs
=yes
18631 irix5
* | irix6
* | nonstopux
*)
18633 nonstopux
*) version_type
=nonstopux
;;
18635 if test "$lt_cv_prog_gnu_ld" = yes; then
18643 soname_spec
='${libname}${release}${shared_ext}$major'
18644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18646 irix5
* | nonstopux
*)
18647 libsuff
= shlibsuff
=
18650 case $LD in # libtool.m4 will add one of these switches to LD
18651 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18652 libsuff
= shlibsuff
= libmagic
=32-bit;;
18653 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18654 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18655 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18656 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18657 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18661 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18662 shlibpath_overrides_runpath
=no
18663 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18664 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18665 hardcode_into_libs
=yes
18668 # No shared lib support for Linux oldld, aout, or coff.
18669 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18673 # This must be Linux ELF.
18674 linux
* | k
*bsd
*-gnu)
18678 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18679 soname_spec
='${libname}${release}${shared_ext}$major'
18680 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18681 shlibpath_var
=LD_LIBRARY_PATH
18682 shlibpath_overrides_runpath
=no
18683 # This implies no fast_install, which is unacceptable.
18684 # Some rework will be needed to allow for fast_install
18685 # before this can be enabled.
18686 hardcode_into_libs
=yes
18688 # Append ld.so.conf contents to the search path
18689 if test -f /etc
/ld.so.conf
; then
18690 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' ' '`
18691 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18694 # We used to test for /lib/ld.so.1 and disable shared libraries on
18695 # powerpc, because MkLinux only supported shared libraries with the
18696 # GNU dynamic linker. Since this was broken with cross compilers,
18697 # most powerpc-linux boxes support dynamic linking these days and
18698 # people can always --disable-shared, the test was removed, and we
18699 # assume the GNU/Linux dynamic linker is in use.
18700 dynamic_linker
='GNU/Linux ld.so'
18707 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18708 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18709 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18710 dynamic_linker
='NetBSD (a.out) ld.so'
18712 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18713 soname_spec
='${libname}${release}${shared_ext}$major'
18714 dynamic_linker
='NetBSD ld.elf_so'
18716 shlibpath_var
=LD_LIBRARY_PATH
18717 shlibpath_overrides_runpath
=yes
18718 hardcode_into_libs
=yes
18723 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18724 shlibpath_var
=LD_LIBRARY_PATH
18725 shlibpath_overrides_runpath
=yes
18732 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18733 soname_spec
='${libname}${release}${shared_ext}$major'
18734 shlibpath_var
=LD_LIBRARY_PATH
18735 shlibpath_overrides_runpath
=yes
18740 sys_lib_dlsearch_path_spec
="/usr/lib"
18742 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18744 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18745 *) need_version
=no
;;
18747 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18748 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18749 shlibpath_var
=LD_LIBRARY_PATH
18750 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18752 openbsd2.
[89] | openbsd2.
[89].
*)
18753 shlibpath_overrides_runpath
=no
18756 shlibpath_overrides_runpath
=yes
18760 shlibpath_overrides_runpath
=yes
18765 libname_spec
='$name'
18768 library_names_spec
='$libname${shared_ext} $libname.a'
18769 dynamic_linker
='OS/2 ld.exe'
18770 shlibpath_var
=LIBPATH
18773 osf3
* | osf4
* | osf5
*)
18777 soname_spec
='${libname}${release}${shared_ext}$major'
18778 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18779 shlibpath_var
=LD_LIBRARY_PATH
18780 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18781 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18792 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18793 soname_spec
='${libname}${release}${shared_ext}$major'
18794 shlibpath_var
=LD_LIBRARY_PATH
18795 shlibpath_overrides_runpath
=yes
18796 hardcode_into_libs
=yes
18797 # ldd complains unless libraries are executable
18798 postinstall_cmds
='chmod +x $lib'
18803 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18804 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18805 shlibpath_var
=LD_LIBRARY_PATH
18806 shlibpath_overrides_runpath
=yes
18807 if test "$with_gnu_ld" = yes; then
18815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18816 soname_spec
='${libname}${release}${shared_ext}$major'
18817 shlibpath_var
=LD_LIBRARY_PATH
18818 case $host_vendor in
18820 shlibpath_overrides_runpath
=no
18822 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18823 runpath_var
=LD_RUN_PATH
18831 shlibpath_overrides_runpath
=no
18832 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18838 if test -d /usr
/nec
;then
18840 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18841 soname_spec
='$libname${shared_ext}.$major'
18842 shlibpath_var
=LD_LIBRARY_PATH
18846 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18847 version_type
=freebsd-elf
18850 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18851 soname_spec
='${libname}${release}${shared_ext}$major'
18852 shlibpath_var
=LD_LIBRARY_PATH
18853 hardcode_into_libs
=yes
18854 if test "$with_gnu_ld" = yes; then
18855 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18856 shlibpath_overrides_runpath
=no
18858 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18859 shlibpath_overrides_runpath
=yes
18862 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18866 sys_lib_dlsearch_path_spec
='/usr/lib'
18871 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18872 soname_spec
='${libname}${release}${shared_ext}$major'
18873 shlibpath_var
=LD_LIBRARY_PATH
18880 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18881 $as_echo "$dynamic_linker" >&6; }
18882 test "$dynamic_linker" = no
&& can_build_shared
=no
18884 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18885 if test "$GCC" = yes; then
18886 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18889 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18890 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18891 hardcode_action_GCJ
=
18892 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18893 test -n "$runpath_var_GCJ" || \
18894 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18896 # We can hardcode non-existant directories.
18897 if test "$hardcode_direct_GCJ" != no
&&
18898 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18899 # have to relink, otherwise we might link with an installed library
18900 # when we should be linking with a yet-to-be-installed one
18901 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18902 test "$hardcode_minus_L_GCJ" != no
; then
18903 # Linking always hardcodes the temporary library directory.
18904 hardcode_action_GCJ
=relink
18906 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18907 hardcode_action_GCJ
=immediate
18910 # We cannot hardcode anything, or else we can only hardcode existing
18912 hardcode_action_GCJ
=unsupported
18914 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18915 $as_echo "$hardcode_action_GCJ" >&6; }
18917 if test "$hardcode_action_GCJ" = relink
; then
18918 # Fast installation is not supported
18919 enable_fast_install
=no
18920 elif test "$shlibpath_overrides_runpath" = yes ||
18921 test "$enable_shared" = no
; then
18922 # Fast installation is not necessary
18923 enable_fast_install
=needless
18927 # The else clause should only fire when bootstrapping the
18928 # libtool distribution, otherwise you forgot to ship ltmain.sh
18929 # with your package, and you will get complaints that there are
18930 # no rules to generate ltmain.sh.
18931 if test -f "$ltmain"; then
18932 # See if we are running on zsh, and set the options which allow our commands through
18933 # without removal of \ escapes.
18934 if test -n "${ZSH_VERSION+set}" ; then
18935 setopt NO_GLOB_SUBST
18937 # Now quote all the things that may contain metacharacters while being
18938 # careful not to overquote the AC_SUBSTed values. We take copies of the
18939 # variables and quote the copies for generation of the libtool script.
18940 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18942 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18943 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18944 deplibs_check_method reload_flag reload_cmds need_locks \
18945 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18946 lt_cv_sys_global_symbol_to_c_name_address \
18947 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18948 old_postinstall_cmds old_postuninstall_cmds \
18952 lt_prog_compiler_wl_GCJ \
18953 lt_prog_compiler_pic_GCJ \
18954 lt_prog_compiler_static_GCJ \
18955 lt_prog_compiler_no_builtin_flag_GCJ \
18956 export_dynamic_flag_spec_GCJ \
18957 thread_safe_flag_spec_GCJ \
18958 whole_archive_flag_spec_GCJ \
18959 enable_shared_with_static_runtimes_GCJ \
18960 old_archive_cmds_GCJ \
18961 old_archive_from_new_cmds_GCJ \
18962 predep_objects_GCJ \
18963 postdep_objects_GCJ \
18966 compiler_lib_search_path_GCJ \
18968 archive_expsym_cmds_GCJ \
18969 postinstall_cmds_GCJ \
18970 postuninstall_cmds_GCJ \
18971 old_archive_from_expsyms_cmds_GCJ \
18972 allow_undefined_flag_GCJ \
18973 no_undefined_flag_GCJ \
18974 export_symbols_cmds_GCJ \
18975 hardcode_libdir_flag_spec_GCJ \
18976 hardcode_libdir_flag_spec_ld_GCJ \
18977 hardcode_libdir_separator_GCJ \
18978 hardcode_automatic_GCJ \
18980 module_expsym_cmds_GCJ \
18981 lt_cv_prog_compiler_c_o_GCJ \
18982 fix_srcfile_path_GCJ \
18983 exclude_expsyms_GCJ \
18984 include_expsyms_GCJ
; do
18987 old_archive_cmds_GCJ | \
18988 old_archive_from_new_cmds_GCJ | \
18989 archive_cmds_GCJ | \
18990 archive_expsym_cmds_GCJ | \
18991 module_cmds_GCJ | \
18992 module_expsym_cmds_GCJ | \
18993 old_archive_from_expsyms_cmds_GCJ | \
18994 export_symbols_cmds_GCJ | \
18995 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18996 postinstall_cmds | postuninstall_cmds | \
18997 old_postinstall_cmds | old_postuninstall_cmds | \
18998 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
18999 # Double-quote double-evaled strings.
19000 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19003 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19009 *'\$0 --fallback-echo"')
19010 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19016 cat <<__EOF__ >> "$cfgfile"
19017 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19019 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19021 # Shell to use when invoking shell scripts.
19024 # Whether or not to build shared libraries.
19025 build_libtool_libs=$enable_shared
19027 # Whether or not to build static libraries.
19028 build_old_libs=$enable_static
19030 # Whether or not to add -lc for building shared libraries.
19031 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19033 # Whether or not to disallow shared libs when runtime libs are static
19034 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19036 # Whether or not to optimize for fast installation.
19037 fast_install=$enable_fast_install
19040 host_alias=$host_alias
19044 # The build system.
19045 build_alias=$build_alias
19049 # An echo program that does not interpret backslashes.
19054 AR_FLAGS=$lt_AR_FLAGS
19059 # LTCC compiler flags.
19060 LTCFLAGS=$lt_LTCFLAGS
19062 # A language-specific compiler.
19063 CC=$lt_compiler_GCJ
19065 # Is the compiler the GNU C compiler?
19071 # The linker used to build libraries.
19074 # Whether we need hard or soft links.
19077 # A BSD-compatible nm program.
19080 # A symbol stripping program
19083 # Used to examine libraries when file_magic_cmd begins "file"
19084 MAGIC_CMD=$MAGIC_CMD
19086 # Used on cygwin: DLL creation program.
19089 # Used on cygwin: object dumper.
19092 # Used on cygwin: assembler.
19095 # The name of the directory that contains temporary libtool files.
19098 # How to create reloadable object files.
19099 reload_flag=$lt_reload_flag
19100 reload_cmds=$lt_reload_cmds
19102 # How to pass a linker flag through the compiler.
19103 wl=$lt_lt_prog_compiler_wl_GCJ
19105 # Object file suffix (normally "o").
19106 objext="$ac_objext"
19108 # Old archive suffix (normally "a").
19111 # Shared library suffix (normally ".so").
19112 shrext_cmds='$shrext_cmds'
19114 # Executable file suffix (normally "").
19117 # Additional compiler flags for building library objects.
19118 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19121 # What is the maximum length of a command?
19122 max_cmd_len=$lt_cv_sys_max_cmd_len
19124 # Does compiler simultaneously support -c and -o options?
19125 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19127 # Must we lock files when doing compilation?
19128 need_locks=$lt_need_locks
19130 # Do we need the lib prefix for modules?
19131 need_lib_prefix=$need_lib_prefix
19133 # Do we need a version for libraries?
19134 need_version=$need_version
19136 # Whether dlopen is supported.
19137 dlopen_support=$enable_dlopen
19139 # Whether dlopen of programs is supported.
19140 dlopen_self=$enable_dlopen_self
19142 # Whether dlopen of statically linked programs is supported.
19143 dlopen_self_static=$enable_dlopen_self_static
19145 # Compiler flag to prevent dynamic linking.
19146 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19148 # Compiler flag to turn off builtin functions.
19149 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19151 # Compiler flag to allow reflexive dlopens.
19152 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19154 # Compiler flag to generate shared objects directly from archives.
19155 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19157 # Compiler flag to generate thread-safe objects.
19158 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19160 # Library versioning type.
19161 version_type=$version_type
19163 # Format of library name prefix.
19164 libname_spec=$lt_libname_spec
19166 # List of archive names. First name is the real one, the rest are links.
19167 # The last name is the one that the linker finds with -lNAME.
19168 library_names_spec=$lt_library_names_spec
19170 # The coded name of the library, if different from the real name.
19171 soname_spec=$lt_soname_spec
19173 # Commands used to build and install an old-style archive.
19175 old_archive_cmds=$lt_old_archive_cmds_GCJ
19176 old_postinstall_cmds=$lt_old_postinstall_cmds
19177 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19179 # Create an old-style archive from a shared archive.
19180 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19182 # Create a temporary old-style archive to link instead of a shared archive.
19183 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19185 # Commands used to build and install a shared archive.
19186 archive_cmds=$lt_archive_cmds_GCJ
19187 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19188 postinstall_cmds=$lt_postinstall_cmds
19189 postuninstall_cmds=$lt_postuninstall_cmds
19191 # Commands used to build a loadable module (assumed same as above if empty)
19192 module_cmds=$lt_module_cmds_GCJ
19193 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19195 # Commands to strip libraries.
19196 old_striplib=$lt_old_striplib
19197 striplib=$lt_striplib
19199 # Dependencies to place before the objects being linked to create a
19201 predep_objects=$lt_predep_objects_GCJ
19203 # Dependencies to place after the objects being linked to create a
19205 postdep_objects=$lt_postdep_objects_GCJ
19207 # Dependencies to place before the objects being linked to create a
19209 predeps=$lt_predeps_GCJ
19211 # Dependencies to place after the objects being linked to create a
19213 postdeps=$lt_postdeps_GCJ
19215 # The library search path used internally by the compiler when linking
19216 # a shared library.
19217 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19219 # Method to check whether dependent libraries are shared objects.
19220 deplibs_check_method=$lt_deplibs_check_method
19222 # Command to use when deplibs_check_method == file_magic.
19223 file_magic_cmd=$lt_file_magic_cmd
19225 # Flag that allows shared libraries with undefined symbols to be built.
19226 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19228 # Flag that forces no undefined symbols.
19229 no_undefined_flag=$lt_no_undefined_flag_GCJ
19231 # Commands used to finish a libtool library installation in a directory.
19232 finish_cmds=$lt_finish_cmds
19234 # Same as above, but a single script fragment to be evaled but not shown.
19235 finish_eval=$lt_finish_eval
19237 # Take the output of nm and produce a listing of raw symbols and C names.
19238 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19240 # Transform the output of nm in a proper C declaration
19241 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19243 # Transform the output of nm in a C name address pair
19244 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19246 # This is the shared library runtime path variable.
19247 runpath_var=$runpath_var
19249 # This is the shared library path variable.
19250 shlibpath_var=$shlibpath_var
19252 # Is shlibpath searched before the hard-coded library search path?
19253 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19255 # How to hardcode a shared library path into an executable.
19256 hardcode_action=$hardcode_action_GCJ
19258 # Whether we should hardcode library paths into libraries.
19259 hardcode_into_libs=$hardcode_into_libs
19261 # Flag to hardcode \$libdir into a binary during linking.
19262 # This must work even if \$libdir does not exist.
19263 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19265 # If ld is used when linking, flag to hardcode \$libdir into
19266 # a binary during linking. This must work even if \$libdir does
19268 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19270 # Whether we need a single -rpath flag with a separated argument.
19271 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19273 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19274 # resulting binary.
19275 hardcode_direct=$hardcode_direct_GCJ
19277 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19278 # resulting binary.
19279 hardcode_minus_L=$hardcode_minus_L_GCJ
19281 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19282 # the resulting binary.
19283 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19285 # Set to yes if building a shared library automatically hardcodes DIR into the library
19286 # and all subsequent libraries and executables linked against it.
19287 hardcode_automatic=$hardcode_automatic_GCJ
19289 # Variables whose values should be saved in libtool wrapper scripts and
19290 # restored at relink time.
19291 variables_saved_for_relink="$variables_saved_for_relink"
19293 # Whether libtool must link a program against all its dependency libraries.
19294 link_all_deplibs=$link_all_deplibs_GCJ
19296 # Compile-time system search path for libraries
19297 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19299 # Run-time system search path for libraries
19300 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19302 # Fix the shell variable \$srcfile for the compiler.
19303 fix_srcfile_path=$lt_fix_srcfile_path
19305 # Set to yes if exported symbols are required.
19306 always_export_symbols=$always_export_symbols_GCJ
19308 # The commands to list exported symbols.
19309 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19311 # The commands to extract the exported symbol list from a shared archive.
19312 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19314 # Symbols that should not be listed in the preloaded symbols.
19315 exclude_expsyms=$lt_exclude_expsyms_GCJ
19317 # Symbols that must always be exported.
19318 include_expsyms=$lt_include_expsyms_GCJ
19320 # ### END LIBTOOL TAG CONFIG: $tagname
19326 # If there is no Makefile yet, we rely on a make rule to execute
19327 # `config.status --recheck' to rerun these tests and create the
19328 # libtool script then.
19329 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19330 if test -f "$ltmain_in"; then
19331 test -f Makefile
&& make "$ltmain"
19337 ac_cpp
='$CPP $CPPFLAGS'
19338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19352 # Source file extension for RC test sources.
19355 # Object file extension for compiled RC test sources.
19359 # Code to be used in simple compile tests
19360 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19362 # Code to be used in simple link tests
19363 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19365 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19367 # If no C compiler was specified, use CC.
19370 # If no C compiler flags were specified, use CFLAGS.
19371 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19373 # Allow CC to be a program name with arguments.
19377 # save warnings/boilerplate of simple test code
19378 ac_outfile
=conftest.
$ac_objext
19379 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19380 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19381 _lt_compiler_boilerplate
=`cat conftest.err`
19384 ac_outfile
=conftest.
$ac_objext
19385 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19386 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19387 _lt_linker_boilerplate
=`cat conftest.err`
19391 # Allow CC to be a program name with arguments.
19396 for cc_temp
in $compiler""; do
19398 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19399 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19404 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19406 lt_cv_prog_compiler_c_o_RC
=yes
19408 # The else clause should only fire when bootstrapping the
19409 # libtool distribution, otherwise you forgot to ship ltmain.sh
19410 # with your package, and you will get complaints that there are
19411 # no rules to generate ltmain.sh.
19412 if test -f "$ltmain"; then
19413 # See if we are running on zsh, and set the options which allow our commands through
19414 # without removal of \ escapes.
19415 if test -n "${ZSH_VERSION+set}" ; then
19416 setopt NO_GLOB_SUBST
19418 # Now quote all the things that may contain metacharacters while being
19419 # careful not to overquote the AC_SUBSTed values. We take copies of the
19420 # variables and quote the copies for generation of the libtool script.
19421 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19423 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19424 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19425 deplibs_check_method reload_flag reload_cmds need_locks \
19426 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19427 lt_cv_sys_global_symbol_to_c_name_address \
19428 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19429 old_postinstall_cmds old_postuninstall_cmds \
19433 lt_prog_compiler_wl_RC \
19434 lt_prog_compiler_pic_RC \
19435 lt_prog_compiler_static_RC \
19436 lt_prog_compiler_no_builtin_flag_RC \
19437 export_dynamic_flag_spec_RC \
19438 thread_safe_flag_spec_RC \
19439 whole_archive_flag_spec_RC \
19440 enable_shared_with_static_runtimes_RC \
19441 old_archive_cmds_RC \
19442 old_archive_from_new_cmds_RC \
19443 predep_objects_RC \
19444 postdep_objects_RC \
19447 compiler_lib_search_path_RC \
19449 archive_expsym_cmds_RC \
19450 postinstall_cmds_RC \
19451 postuninstall_cmds_RC \
19452 old_archive_from_expsyms_cmds_RC \
19453 allow_undefined_flag_RC \
19454 no_undefined_flag_RC \
19455 export_symbols_cmds_RC \
19456 hardcode_libdir_flag_spec_RC \
19457 hardcode_libdir_flag_spec_ld_RC \
19458 hardcode_libdir_separator_RC \
19459 hardcode_automatic_RC \
19461 module_expsym_cmds_RC \
19462 lt_cv_prog_compiler_c_o_RC \
19463 fix_srcfile_path_RC \
19464 exclude_expsyms_RC \
19465 include_expsyms_RC
; do
19468 old_archive_cmds_RC | \
19469 old_archive_from_new_cmds_RC | \
19470 archive_cmds_RC | \
19471 archive_expsym_cmds_RC | \
19473 module_expsym_cmds_RC | \
19474 old_archive_from_expsyms_cmds_RC | \
19475 export_symbols_cmds_RC | \
19476 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19477 postinstall_cmds | postuninstall_cmds | \
19478 old_postinstall_cmds | old_postuninstall_cmds | \
19479 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19480 # Double-quote double-evaled strings.
19481 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19484 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19490 *'\$0 --fallback-echo"')
19491 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19497 cat <<__EOF__ >> "$cfgfile"
19498 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19500 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19502 # Shell to use when invoking shell scripts.
19505 # Whether or not to build shared libraries.
19506 build_libtool_libs=$enable_shared
19508 # Whether or not to build static libraries.
19509 build_old_libs=$enable_static
19511 # Whether or not to add -lc for building shared libraries.
19512 build_libtool_need_lc=$archive_cmds_need_lc_RC
19514 # Whether or not to disallow shared libs when runtime libs are static
19515 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19517 # Whether or not to optimize for fast installation.
19518 fast_install=$enable_fast_install
19521 host_alias=$host_alias
19525 # The build system.
19526 build_alias=$build_alias
19530 # An echo program that does not interpret backslashes.
19535 AR_FLAGS=$lt_AR_FLAGS
19540 # LTCC compiler flags.
19541 LTCFLAGS=$lt_LTCFLAGS
19543 # A language-specific compiler.
19546 # Is the compiler the GNU C compiler?
19552 # The linker used to build libraries.
19555 # Whether we need hard or soft links.
19558 # A BSD-compatible nm program.
19561 # A symbol stripping program
19564 # Used to examine libraries when file_magic_cmd begins "file"
19565 MAGIC_CMD=$MAGIC_CMD
19567 # Used on cygwin: DLL creation program.
19570 # Used on cygwin: object dumper.
19573 # Used on cygwin: assembler.
19576 # The name of the directory that contains temporary libtool files.
19579 # How to create reloadable object files.
19580 reload_flag=$lt_reload_flag
19581 reload_cmds=$lt_reload_cmds
19583 # How to pass a linker flag through the compiler.
19584 wl=$lt_lt_prog_compiler_wl_RC
19586 # Object file suffix (normally "o").
19587 objext="$ac_objext"
19589 # Old archive suffix (normally "a").
19592 # Shared library suffix (normally ".so").
19593 shrext_cmds='$shrext_cmds'
19595 # Executable file suffix (normally "").
19598 # Additional compiler flags for building library objects.
19599 pic_flag=$lt_lt_prog_compiler_pic_RC
19602 # What is the maximum length of a command?
19603 max_cmd_len=$lt_cv_sys_max_cmd_len
19605 # Does compiler simultaneously support -c and -o options?
19606 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19608 # Must we lock files when doing compilation?
19609 need_locks=$lt_need_locks
19611 # Do we need the lib prefix for modules?
19612 need_lib_prefix=$need_lib_prefix
19614 # Do we need a version for libraries?
19615 need_version=$need_version
19617 # Whether dlopen is supported.
19618 dlopen_support=$enable_dlopen
19620 # Whether dlopen of programs is supported.
19621 dlopen_self=$enable_dlopen_self
19623 # Whether dlopen of statically linked programs is supported.
19624 dlopen_self_static=$enable_dlopen_self_static
19626 # Compiler flag to prevent dynamic linking.
19627 link_static_flag=$lt_lt_prog_compiler_static_RC
19629 # Compiler flag to turn off builtin functions.
19630 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19632 # Compiler flag to allow reflexive dlopens.
19633 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19635 # Compiler flag to generate shared objects directly from archives.
19636 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19638 # Compiler flag to generate thread-safe objects.
19639 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19641 # Library versioning type.
19642 version_type=$version_type
19644 # Format of library name prefix.
19645 libname_spec=$lt_libname_spec
19647 # List of archive names. First name is the real one, the rest are links.
19648 # The last name is the one that the linker finds with -lNAME.
19649 library_names_spec=$lt_library_names_spec
19651 # The coded name of the library, if different from the real name.
19652 soname_spec=$lt_soname_spec
19654 # Commands used to build and install an old-style archive.
19656 old_archive_cmds=$lt_old_archive_cmds_RC
19657 old_postinstall_cmds=$lt_old_postinstall_cmds
19658 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19660 # Create an old-style archive from a shared archive.
19661 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19663 # Create a temporary old-style archive to link instead of a shared archive.
19664 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19666 # Commands used to build and install a shared archive.
19667 archive_cmds=$lt_archive_cmds_RC
19668 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19669 postinstall_cmds=$lt_postinstall_cmds
19670 postuninstall_cmds=$lt_postuninstall_cmds
19672 # Commands used to build a loadable module (assumed same as above if empty)
19673 module_cmds=$lt_module_cmds_RC
19674 module_expsym_cmds=$lt_module_expsym_cmds_RC
19676 # Commands to strip libraries.
19677 old_striplib=$lt_old_striplib
19678 striplib=$lt_striplib
19680 # Dependencies to place before the objects being linked to create a
19682 predep_objects=$lt_predep_objects_RC
19684 # Dependencies to place after the objects being linked to create a
19686 postdep_objects=$lt_postdep_objects_RC
19688 # Dependencies to place before the objects being linked to create a
19690 predeps=$lt_predeps_RC
19692 # Dependencies to place after the objects being linked to create a
19694 postdeps=$lt_postdeps_RC
19696 # The library search path used internally by the compiler when linking
19697 # a shared library.
19698 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19700 # Method to check whether dependent libraries are shared objects.
19701 deplibs_check_method=$lt_deplibs_check_method
19703 # Command to use when deplibs_check_method == file_magic.
19704 file_magic_cmd=$lt_file_magic_cmd
19706 # Flag that allows shared libraries with undefined symbols to be built.
19707 allow_undefined_flag=$lt_allow_undefined_flag_RC
19709 # Flag that forces no undefined symbols.
19710 no_undefined_flag=$lt_no_undefined_flag_RC
19712 # Commands used to finish a libtool library installation in a directory.
19713 finish_cmds=$lt_finish_cmds
19715 # Same as above, but a single script fragment to be evaled but not shown.
19716 finish_eval=$lt_finish_eval
19718 # Take the output of nm and produce a listing of raw symbols and C names.
19719 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19721 # Transform the output of nm in a proper C declaration
19722 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19724 # Transform the output of nm in a C name address pair
19725 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19727 # This is the shared library runtime path variable.
19728 runpath_var=$runpath_var
19730 # This is the shared library path variable.
19731 shlibpath_var=$shlibpath_var
19733 # Is shlibpath searched before the hard-coded library search path?
19734 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19736 # How to hardcode a shared library path into an executable.
19737 hardcode_action=$hardcode_action_RC
19739 # Whether we should hardcode library paths into libraries.
19740 hardcode_into_libs=$hardcode_into_libs
19742 # Flag to hardcode \$libdir into a binary during linking.
19743 # This must work even if \$libdir does not exist.
19744 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19746 # If ld is used when linking, flag to hardcode \$libdir into
19747 # a binary during linking. This must work even if \$libdir does
19749 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19751 # Whether we need a single -rpath flag with a separated argument.
19752 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19754 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19755 # resulting binary.
19756 hardcode_direct=$hardcode_direct_RC
19758 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19759 # resulting binary.
19760 hardcode_minus_L=$hardcode_minus_L_RC
19762 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19763 # the resulting binary.
19764 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19766 # Set to yes if building a shared library automatically hardcodes DIR into the library
19767 # and all subsequent libraries and executables linked against it.
19768 hardcode_automatic=$hardcode_automatic_RC
19770 # Variables whose values should be saved in libtool wrapper scripts and
19771 # restored at relink time.
19772 variables_saved_for_relink="$variables_saved_for_relink"
19774 # Whether libtool must link a program against all its dependency libraries.
19775 link_all_deplibs=$link_all_deplibs_RC
19777 # Compile-time system search path for libraries
19778 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19780 # Run-time system search path for libraries
19781 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19783 # Fix the shell variable \$srcfile for the compiler.
19784 fix_srcfile_path=$lt_fix_srcfile_path
19786 # Set to yes if exported symbols are required.
19787 always_export_symbols=$always_export_symbols_RC
19789 # The commands to list exported symbols.
19790 export_symbols_cmds=$lt_export_symbols_cmds_RC
19792 # The commands to extract the exported symbol list from a shared archive.
19793 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19795 # Symbols that should not be listed in the preloaded symbols.
19796 exclude_expsyms=$lt_exclude_expsyms_RC
19798 # Symbols that must always be exported.
19799 include_expsyms=$lt_include_expsyms_RC
19801 # ### END LIBTOOL TAG CONFIG: $tagname
19807 # If there is no Makefile yet, we rely on a make rule to execute
19808 # `config.status --recheck' to rerun these tests and create the
19809 # libtool script then.
19810 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19811 if test -f "$ltmain_in"; then
19812 test -f Makefile
&& make "$ltmain"
19818 ac_cpp
='$CPP $CPPFLAGS'
19819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19828 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19829 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19830 { (exit 1); exit 1; }; }
19834 # Append the new tag name to the list of available tags.
19835 if test -n "$tagname" ; then
19836 available_tags
="$available_tags $tagname"
19842 # Now substitute the updated list of available tags.
19843 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19844 mv "${ofile}T" "$ofile"
19848 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19849 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19850 { (exit 1); exit 1; }; }
19856 # This can be used to rebuild libtool when needed
19857 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19859 # Always use our own libtool.
19860 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19862 # Prevent multiple expansion
19883 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
19884 $as_echo_n "checking whether ln -s works... " >&6; }
19886 if test "$LN_S" = "ln -s"; then
19887 { $as_echo "$as_me:$LINENO: result: yes" >&5
19888 $as_echo "yes" >&6; }
19890 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
19891 $as_echo "no, using $LN_S" >&6; }
19895 # Compiler characteristics
19897 { $as_echo "$as_me:$LINENO: checking if using gcc" >&5
19898 $as_echo_n "checking if using gcc... " >&6; }
19899 if test "$GCC" = "yes"; then
19900 WARNCFLAGS
="-Werror -Wall -Wpointer-arith"
19901 { $as_echo "$as_me:$LINENO: result: yes; adding to CFLAGS: \"$WARNCFLAGS\"" >&5
19902 $as_echo "yes; adding to CFLAGS: \"$WARNCFLAGS\"" >&6; }
19905 { $as_echo "$as_me:$LINENO: result: no" >&5
19906 $as_echo "no" >&6; }
19911 # Checks for header files.
19913 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19914 $as_echo_n "checking for ANSI C header files... " >&6; }
19915 if test "${ac_cv_header_stdc+set}" = set; then
19916 $as_echo_n "(cached) " >&6
19918 cat >conftest.
$ac_ext <<_ACEOF
19921 cat confdefs.h
>>conftest.
$ac_ext
19922 cat >>conftest.
$ac_ext <<_ACEOF
19923 /* end confdefs.h. */
19924 #include <stdlib.h>
19925 #include <stdarg.h>
19926 #include <string.h>
19937 rm -f conftest.
$ac_objext
19938 if { (ac_try
="$ac_compile"
19939 case "(($ac_try" in
19940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19941 *) ac_try_echo=$ac_try;;
19943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19944 $as_echo "$ac_try_echo") >&5
19945 (eval "$ac_compile") 2>conftest.er1
19947 grep -v '^ *+' conftest.er1 >conftest.err
19949 cat conftest.err >&5
19950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19951 (exit $ac_status); } && {
19952 test -z "$ac_c_werror_flag" ||
19953 test ! -s conftest.err
19954 } && test -s conftest.$ac_objext; then
19955 ac_cv_header_stdc=yes
19957 $as_echo "$as_me: failed program was:" >&5
19958 sed 's/^/| /' conftest.$ac_ext >&5
19960 ac_cv_header_stdc=no
19963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19965 if test $ac_cv_header_stdc = yes; then
19966 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19967 cat >conftest.$ac_ext <<_ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 #include <string.h>
19976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19977 $EGREP "memchr" >/dev/null 2>&1; then
19980 ac_cv_header_stdc=no
19986 if test $ac_cv_header_stdc = yes; then
19987 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19988 cat >conftest.$ac_ext <<_ACEOF
19991 cat confdefs.h >>conftest.$ac_ext
19992 cat >>conftest.$ac_ext <<_ACEOF
19993 /* end confdefs.h. */
19994 #include <stdlib.h>
19997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19998 $EGREP "free" >/dev/null 2>&1; then
20001 ac_cv_header_stdc=no
20007 if test $ac_cv_header_stdc = yes; then
20008 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20009 if test "$cross_compiling" = yes; then
20012 cat >conftest.$ac_ext <<_ACEOF
20015 cat confdefs.h >>conftest.$ac_ext
20016 cat >>conftest.$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20019 #include <stdlib.h>
20020 #if ((' ' & 0x0FF) == 0x020)
20021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20024 # define ISLOWER(c) \
20025 (('a' <= (c) && (c) <= 'i') \
20026 || ('j' <= (c) && (c) <= 'r') \
20027 || ('s' <= (c) && (c) <= 'z'))
20028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20036 for (i = 0; i < 256; i++)
20037 if (XOR (islower (i), ISLOWER (i))
20038 || toupper (i) != TOUPPER (i))
20043 rm -f conftest$ac_exeext
20044 if { (ac_try="$ac_link"
20045 case "(($ac_try" in
20046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20047 *) ac_try_echo
=$ac_try;;
20049 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20050 $as_echo "$ac_try_echo") >&5
20051 (eval "$ac_link") 2>&5
20053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20055 { (case "(($ac_try" in
20056 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20057 *) ac_try_echo=$ac_try;;
20059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20060 $as_echo "$ac_try_echo") >&5
20061 (eval "$ac_try") 2>&5
20063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); }; }; then
20067 $as_echo "$as_me: program exited with status $ac_status" >&5
20068 $as_echo "$as_me: failed program was:" >&5
20069 sed 's/^/| /' conftest.$ac_ext >&5
20071 ( exit $ac_status )
20072 ac_cv_header_stdc=no
20074 rm -rf conftest.dSYM
20075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20081 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20082 $as_echo "$ac_cv_header_stdc" >&6; }
20083 if test $ac_cv_header_stdc = yes; then
20085 cat >>confdefs.h <<\_ACEOF
20086 #define STDC_HEADERS 1
20092 for ac_header in CommonCrypto/CommonDigest.h
20094 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20095 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20096 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20097 $as_echo_n "checking for $ac_header... " >&6; }
20098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20099 $as_echo_n "(cached) " >&6
20101 ac_res=`eval 'as_val=${'$as_ac_Header'}
20102 $as_echo "$as_val"'`
20103 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20104 $as_echo "$ac_res" >&6; }
20106 # Is the header compilable?
20107 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20108 $as_echo_n "checking $ac_header usability... " >&6; }
20109 cat >conftest.$ac_ext <<_ACEOF
20112 cat confdefs.h >>conftest.$ac_ext
20113 cat >>conftest.$ac_ext <<_ACEOF
20114 /* end confdefs.h. */
20115 $ac_includes_default
20116 #include <$ac_header>
20118 rm -f conftest.$ac_objext
20119 if { (ac_try="$ac_compile"
20120 case "(($ac_try" in
20121 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20122 *) ac_try_echo
=$ac_try;;
20124 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20125 $as_echo "$ac_try_echo") >&5
20126 (eval "$ac_compile") 2>conftest.er1
20128 grep -v '^ *+' conftest.er1
>conftest.err
20130 cat conftest.err
>&5
20131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } && {
20133 test -z "$ac_c_werror_flag" ||
20134 test ! -s conftest.err
20135 } && test -s conftest.
$ac_objext; then
20136 ac_header_compiler
=yes
20138 $as_echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.
$ac_ext >&5
20141 ac_header_compiler
=no
20144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20145 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20146 $as_echo "$ac_header_compiler" >&6; }
20148 # Is the header present?
20149 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20150 $as_echo_n "checking $ac_header presence... " >&6; }
20151 cat >conftest.
$ac_ext <<_ACEOF
20154 cat confdefs.h
>>conftest.
$ac_ext
20155 cat >>conftest.
$ac_ext <<_ACEOF
20156 /* end confdefs.h. */
20157 #include <$ac_header>
20159 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20160 case "(($ac_try" in
20161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20162 *) ac_try_echo=$ac_try;;
20164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20165 $as_echo "$ac_try_echo") >&5
20166 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20168 grep -v '^ *+' conftest.er1 >conftest.err
20170 cat conftest.err >&5
20171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172 (exit $ac_status); } >/dev/null && {
20173 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20174 test ! -s conftest.err
20176 ac_header_preproc=yes
20178 $as_echo "$as_me: failed program was:" >&5
20179 sed 's/^/| /' conftest.$ac_ext >&5
20181 ac_header_preproc=no
20184 rm -f conftest.err conftest.$ac_ext
20185 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20186 $as_echo "$ac_header_preproc" >&6; }
20188 # So? What about this header?
20189 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20191 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20192 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20193 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20194 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20195 ac_header_preproc=yes
20198 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20199 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20200 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20201 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20202 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20203 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20204 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20205 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20206 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20207 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20208 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20209 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20211 ## -------------------------------------------------------- ##
20212 ## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
20213 ## -------------------------------------------------------- ##
20215 ) | sed "s/^/$as_me: WARNING: /" >&2
20218 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20219 $as_echo_n "checking for $ac_header... " >&6; }
20220 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20221 $as_echo_n "(cached) " >&6
20223 eval "$as_ac_Header=\$ac_header_preproc"
20225 ac_res=`eval 'as_val=${'$as_ac_Header'}
20226 $as_echo "$as_val"'`
20227 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20228 $as_echo "$ac_res" >&6; }
20231 as_val=`eval 'as_val=${'$as_ac_Header'}
20232 $as_echo "$as_val"'`
20233 if test "x$as_val" = x""yes; then
20234 cat >>confdefs.h <<_ACEOF
20235 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20250 for ac_header in dmalloc.h direct.h errno.h fcntl.h \
20251 inttypes.h limits.h malloc.h zlib.h
20253 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20255 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20256 $as_echo_n "checking for $ac_header... " >&6; }
20257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20258 $as_echo_n "(cached) " >&6
20260 ac_res=`eval 'as_val=${'$as_ac_Header'}
20261 $as_echo "$as_val"'`
20262 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20263 $as_echo "$ac_res" >&6; }
20265 # Is the header compilable?
20266 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20267 $as_echo_n "checking $ac_header usability... " >&6; }
20268 cat >conftest.$ac_ext <<_ACEOF
20271 cat confdefs.h >>conftest.$ac_ext
20272 cat >>conftest.$ac_ext <<_ACEOF
20273 /* end confdefs.h. */
20274 $ac_includes_default
20275 #include <$ac_header>
20277 rm -f conftest.$ac_objext
20278 if { (ac_try="$ac_compile"
20279 case "(($ac_try" in
20280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20281 *) ac_try_echo
=$ac_try;;
20283 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20284 $as_echo "$ac_try_echo") >&5
20285 (eval "$ac_compile") 2>conftest.er1
20287 grep -v '^ *+' conftest.er1
>conftest.err
20289 cat conftest.err
>&5
20290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } && {
20292 test -z "$ac_c_werror_flag" ||
20293 test ! -s conftest.err
20294 } && test -s conftest.
$ac_objext; then
20295 ac_header_compiler
=yes
20297 $as_echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.
$ac_ext >&5
20300 ac_header_compiler
=no
20303 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20304 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20305 $as_echo "$ac_header_compiler" >&6; }
20307 # Is the header present?
20308 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20309 $as_echo_n "checking $ac_header presence... " >&6; }
20310 cat >conftest.
$ac_ext <<_ACEOF
20313 cat confdefs.h
>>conftest.
$ac_ext
20314 cat >>conftest.
$ac_ext <<_ACEOF
20315 /* end confdefs.h. */
20316 #include <$ac_header>
20318 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20319 case "(($ac_try" in
20320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20321 *) ac_try_echo=$ac_try;;
20323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20324 $as_echo "$ac_try_echo") >&5
20325 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20327 grep -v '^ *+' conftest.er1 >conftest.err
20329 cat conftest.err >&5
20330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); } >/dev/null && {
20332 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20333 test ! -s conftest.err
20335 ac_header_preproc=yes
20337 $as_echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20340 ac_header_preproc=no
20343 rm -f conftest.err conftest.$ac_ext
20344 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20345 $as_echo "$ac_header_preproc" >&6; }
20347 # So? What about this header?
20348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20351 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20353 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20354 ac_header_preproc=yes
20357 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20358 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20359 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20360 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20361 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20362 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20363 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20364 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20365 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20366 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20367 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20368 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20370 ## -------------------------------------------------------- ##
20371 ## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
20372 ## -------------------------------------------------------- ##
20374 ) | sed "s/^/$as_me: WARNING: /" >&2
20377 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20378 $as_echo_n "checking for $ac_header... " >&6; }
20379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20380 $as_echo_n "(cached) " >&6
20382 eval "$as_ac_Header=\$ac_header_preproc"
20384 ac_res=`eval 'as_val=${'$as_ac_Header'}
20385 $as_echo "$as_val"'`
20386 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20387 $as_echo "$ac_res" >&6; }
20390 as_val=`eval 'as_val=${'$as_ac_Header'}
20391 $as_echo "$as_val"'`
20392 if test "x$as_val" = x""yes; then
20393 cat >>confdefs.h <<_ACEOF
20394 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20414 for ac_header in openssl/aes.h openssl/bn.h openssl/cast.h openssl/des.h \
20415 openssl/dsa.h openssl/err.h openssl/idea.h openssl/md5.h \
20416 openssl/rand.h openssl/rsa.h openssl/sha.h openssl/err.h \
20419 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20421 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20422 $as_echo_n "checking for $ac_header... " >&6; }
20423 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20424 $as_echo_n "(cached) " >&6
20426 ac_res=`eval 'as_val=${'$as_ac_Header'}
20427 $as_echo "$as_val"'`
20428 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20429 $as_echo "$ac_res" >&6; }
20431 # Is the header compilable?
20432 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20433 $as_echo_n "checking $ac_header usability... " >&6; }
20434 cat >conftest.$ac_ext <<_ACEOF
20437 cat confdefs.h >>conftest.$ac_ext
20438 cat >>conftest.$ac_ext <<_ACEOF
20439 /* end confdefs.h. */
20440 $ac_includes_default
20441 #include <$ac_header>
20443 rm -f conftest.$ac_objext
20444 if { (ac_try="$ac_compile"
20445 case "(($ac_try" in
20446 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20447 *) ac_try_echo
=$ac_try;;
20449 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20450 $as_echo "$ac_try_echo") >&5
20451 (eval "$ac_compile") 2>conftest.er1
20453 grep -v '^ *+' conftest.er1
>conftest.err
20455 cat conftest.err
>&5
20456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); } && {
20458 test -z "$ac_c_werror_flag" ||
20459 test ! -s conftest.err
20460 } && test -s conftest.
$ac_objext; then
20461 ac_header_compiler
=yes
20463 $as_echo "$as_me: failed program was:" >&5
20464 sed 's/^/| /' conftest.
$ac_ext >&5
20466 ac_header_compiler
=no
20469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20470 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20471 $as_echo "$ac_header_compiler" >&6; }
20473 # Is the header present?
20474 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20475 $as_echo_n "checking $ac_header presence... " >&6; }
20476 cat >conftest.
$ac_ext <<_ACEOF
20479 cat confdefs.h
>>conftest.
$ac_ext
20480 cat >>conftest.
$ac_ext <<_ACEOF
20481 /* end confdefs.h. */
20482 #include <$ac_header>
20484 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20485 case "(($ac_try" in
20486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20487 *) ac_try_echo=$ac_try;;
20489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20490 $as_echo "$ac_try_echo") >&5
20491 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20493 grep -v '^ *+' conftest.er1 >conftest.err
20495 cat conftest.err >&5
20496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } >/dev/null && {
20498 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20499 test ! -s conftest.err
20501 ac_header_preproc=yes
20503 $as_echo "$as_me: failed program was:" >&5
20504 sed 's/^/| /' conftest.$ac_ext >&5
20506 ac_header_preproc=no
20509 rm -f conftest.err conftest.$ac_ext
20510 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20511 $as_echo "$ac_header_preproc" >&6; }
20513 # So? What about this header?
20514 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20516 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20517 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20518 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20519 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20520 ac_header_preproc=yes
20523 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20524 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20525 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20526 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20527 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20528 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20529 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20530 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20531 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20532 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20534 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20536 ## -------------------------------------------------------- ##
20537 ## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
20538 ## -------------------------------------------------------- ##
20540 ) | sed "s/^/$as_me: WARNING: /" >&2
20543 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20544 $as_echo_n "checking for $ac_header... " >&6; }
20545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20546 $as_echo_n "(cached) " >&6
20548 eval "$as_ac_Header=\$ac_header_preproc"
20550 ac_res=`eval 'as_val=${'$as_ac_Header'}
20551 $as_echo "$as_val"'`
20552 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20553 $as_echo "$ac_res" >&6; }
20556 as_val=`eval 'as_val=${'$as_ac_Header'}
20557 $as_echo "$as_val"'`
20558 if test "x$as_val" = x""yes; then
20559 cat >>confdefs.h <<_ACEOF
20560 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20573 for ac_header in sys/cdefs.h sys/file.h sys/mman.h sys/param.h \
20574 sys/resource.h sys/uio.h
20576 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20578 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20579 $as_echo_n "checking for $ac_header... " >&6; }
20580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20581 $as_echo_n "(cached) " >&6
20583 ac_res=`eval 'as_val=${'$as_ac_Header'}
20584 $as_echo "$as_val"'`
20585 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20586 $as_echo "$ac_res" >&6; }
20588 # Is the header compilable?
20589 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20590 $as_echo_n "checking $ac_header usability... " >&6; }
20591 cat >conftest.$ac_ext <<_ACEOF
20594 cat confdefs.h >>conftest.$ac_ext
20595 cat >>conftest.$ac_ext <<_ACEOF
20596 /* end confdefs.h. */
20597 $ac_includes_default
20598 #include <$ac_header>
20600 rm -f conftest.$ac_objext
20601 if { (ac_try="$ac_compile"
20602 case "(($ac_try" in
20603 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20604 *) ac_try_echo
=$ac_try;;
20606 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20607 $as_echo "$ac_try_echo") >&5
20608 (eval "$ac_compile") 2>conftest.er1
20610 grep -v '^ *+' conftest.er1
>conftest.err
20612 cat conftest.err
>&5
20613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } && {
20615 test -z "$ac_c_werror_flag" ||
20616 test ! -s conftest.err
20617 } && test -s conftest.
$ac_objext; then
20618 ac_header_compiler
=yes
20620 $as_echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.
$ac_ext >&5
20623 ac_header_compiler
=no
20626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20627 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20628 $as_echo "$ac_header_compiler" >&6; }
20630 # Is the header present?
20631 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20632 $as_echo_n "checking $ac_header presence... " >&6; }
20633 cat >conftest.
$ac_ext <<_ACEOF
20636 cat confdefs.h
>>conftest.
$ac_ext
20637 cat >>conftest.
$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 #include <$ac_header>
20641 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20642 case "(($ac_try" in
20643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20644 *) ac_try_echo=$ac_try;;
20646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20647 $as_echo "$ac_try_echo") >&5
20648 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20650 grep -v '^ *+' conftest.er1 >conftest.err
20652 cat conftest.err >&5
20653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); } >/dev/null && {
20655 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20656 test ! -s conftest.err
20658 ac_header_preproc=yes
20660 $as_echo "$as_me: failed program was:" >&5
20661 sed 's/^/| /' conftest.$ac_ext >&5
20663 ac_header_preproc=no
20666 rm -f conftest.err conftest.$ac_ext
20667 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20668 $as_echo "$ac_header_preproc" >&6; }
20670 # So? What about this header?
20671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20673 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20674 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20675 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20676 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20677 ac_header_preproc=yes
20680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20681 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20683 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20685 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20686 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20687 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20689 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20691 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20693 ## -------------------------------------------------------- ##
20694 ## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
20695 ## -------------------------------------------------------- ##
20697 ) | sed "s/^/$as_me: WARNING: /" >&2
20700 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20701 $as_echo_n "checking for $ac_header... " >&6; }
20702 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20703 $as_echo_n "(cached) " >&6
20705 eval "$as_ac_Header=\$ac_header_preproc"
20707 ac_res=`eval 'as_val=${'$as_ac_Header'}
20708 $as_echo "$as_val"'`
20709 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20710 $as_echo "$ac_res" >&6; }
20713 as_val=`eval 'as_val=${'$as_ac_Header'}
20714 $as_echo "$as_val"'`
20715 if test "x$as_val" = x""yes; then
20716 cat >>confdefs.h <<_ACEOF
20717 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20726 for ac_header in bzlib.h
20728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20730 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20731 $as_echo_n "checking for $ac_header... " >&6; }
20732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20733 $as_echo_n "(cached) " >&6
20735 ac_res=`eval 'as_val=${'$as_ac_Header'}
20736 $as_echo "$as_val"'`
20737 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20738 $as_echo "$ac_res" >&6; }
20740 # Is the header compilable?
20741 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20742 $as_echo_n "checking $ac_header usability... " >&6; }
20743 cat >conftest.$ac_ext <<_ACEOF
20746 cat confdefs.h >>conftest.$ac_ext
20747 cat >>conftest.$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20749 $ac_includes_default
20750 #include <$ac_header>
20752 rm -f conftest.$ac_objext
20753 if { (ac_try="$ac_compile"
20754 case "(($ac_try" in
20755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20756 *) ac_try_echo
=$ac_try;;
20758 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20759 $as_echo "$ac_try_echo") >&5
20760 (eval "$ac_compile") 2>conftest.er1
20762 grep -v '^ *+' conftest.er1
>conftest.err
20764 cat conftest.err
>&5
20765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } && {
20767 test -z "$ac_c_werror_flag" ||
20768 test ! -s conftest.err
20769 } && test -s conftest.
$ac_objext; then
20770 ac_header_compiler
=yes
20772 $as_echo "$as_me: failed program was:" >&5
20773 sed 's/^/| /' conftest.
$ac_ext >&5
20775 ac_header_compiler
=no
20778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20779 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20780 $as_echo "$ac_header_compiler" >&6; }
20782 # Is the header present?
20783 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20784 $as_echo_n "checking $ac_header presence... " >&6; }
20785 cat >conftest.
$ac_ext <<_ACEOF
20788 cat confdefs.h
>>conftest.
$ac_ext
20789 cat >>conftest.
$ac_ext <<_ACEOF
20790 /* end confdefs.h. */
20791 #include <$ac_header>
20793 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20794 case "(($ac_try" in
20795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20796 *) ac_try_echo=$ac_try;;
20798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20799 $as_echo "$ac_try_echo") >&5
20800 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20802 grep -v '^ *+' conftest.er1 >conftest.err
20804 cat conftest.err >&5
20805 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20806 (exit $ac_status); } >/dev/null && {
20807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20808 test ! -s conftest.err
20810 ac_header_preproc=yes
20812 $as_echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.$ac_ext >&5
20815 ac_header_preproc=no
20818 rm -f conftest.err conftest.$ac_ext
20819 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20820 $as_echo "$ac_header_preproc" >&6; }
20822 # So? What about this header?
20823 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20826 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20828 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20829 ac_header_preproc=yes
20832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20833 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20835 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20837 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20839 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20840 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20841 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20842 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20843 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20845 ## -------------------------------------------------------- ##
20846 ## Report this to Alistair Crooks <agc@netbsd.org> c0596823 ##
20847 ## -------------------------------------------------------- ##
20849 ) | sed "s/^/$as_me: WARNING: /" >&2
20852 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20853 $as_echo_n "checking for $ac_header... " >&6; }
20854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20855 $as_echo_n "(cached) " >&6
20857 eval "$as_ac_Header=\$ac_header_preproc"
20859 ac_res=`eval 'as_val=${'$as_ac_Header'}
20860 $as_echo "$as_val"'`
20861 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20862 $as_echo "$ac_res" >&6; }
20865 as_val=`eval 'as_val=${'$as_ac_Header'}
20866 $as_echo "$as_val"'`
20867 if test "x$as_val" = x""yes; then
20868 cat >>confdefs.h <<_ACEOF
20869 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20873 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
20874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20875 { { $as_echo "$as_me:$LINENO: error
: missing
<bzlib.h
>; is
bzip2 installed?
20876 See \
`config.log' for more details." >&5
20877 $as_echo "$as_me: error: missing <bzlib.h>; is bzip2 installed?
20878 See \`config.log
' for more details." >&2;}
20879 { (exit 1); exit 1; }; }; }
20885 # Checks for typedefs, structures, and compiler characteristics.
20888 { $as_echo "$as_me:$LINENO: checking for long long int" >&5
20889 $as_echo_n "checking for long long int... " >&6; }
20890 if test "${ac_cv_type_long_long_int+set}" = set; then
20891 $as_echo_n "(cached) " >&6
20893 cat >conftest.$ac_ext <<_ACEOF
20897 cat confdefs.h >>conftest.$ac_ext
20898 cat >>conftest.$ac_ext <<_ACEOF
20899 /* end confdefs.h. */
20900 /* For now, do not test the preprocessor; as of 2007 there are too many
20901 implementations with broken preprocessors. Perhaps this can
20902 be revisited in 2012. In the meantime, code should not expect
20903 #if to work with literals wider than 32 bits. */
20904 /* Test literals. */
20905 long long int ll = 9223372036854775807ll;
20906 long long int nll = -9223372036854775807LL;
20907 unsigned long long int ull = 18446744073709551615ULL;
20908 /* Test constant expressions. */
20909 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
20911 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
20917 /* Test availability of runtime routines for shift and division. */
20918 long long int llmax = 9223372036854775807ll;
20919 unsigned long long int ullmax = 18446744073709551615ull;
20920 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
20921 | (llmax / ll) | (llmax % ll)
20922 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
20923 | (ullmax / ull) | (ullmax % ull));
20929 rm -f conftest.$ac_objext conftest$ac_exeext
20930 if { (ac_try="$ac_link"
20931 case "(($ac_try" in
20932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20933 *) ac_try_echo=$ac_try;;
20935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20936 $as_echo "$ac_try_echo") >&5
20937 (eval "$ac_link") 2>conftest.er1
20939 grep -v '^
*+' conftest.er1 >conftest.err
20941 cat conftest.err >&5
20942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20943 (exit $ac_status); } && {
20944 test -z "$ac_c_werror_flag" ||
20945 test ! -s conftest.err
20946 } && test -s conftest$ac_exeext && {
20947 test "$cross_compiling" = yes ||
20948 $as_test_x conftest$ac_exeext
20950 if test "$cross_compiling" = yes; then
20951 ac_cv_type_long_long_int=yes
20953 cat >conftest.$ac_ext <<_ACEOF
20956 cat confdefs.h >>conftest.$ac_ext
20957 cat >>conftest.$ac_ext <<_ACEOF
20958 /* end confdefs.h. */
20959 #include <limits.h>
20962 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
20963 # define LLONG_MAX (HALF - 1 + HALF)
20968 long long int n = 1;
20972 long long int m = n << i;
20975 if (LLONG_MAX / 2 < m)
20983 rm -f conftest$ac_exeext
20984 if { (ac_try="$ac_link"
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_link") 2>&5
20993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
20995 { (case "(($ac_try" in
20996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20997 *) ac_try_echo=$ac_try;;
20999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21000 $as_echo "$ac_try_echo") >&5
21001 (eval "$ac_try") 2>&5
21003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21004 (exit $ac_status); }; }; then
21005 ac_cv_type_long_long_int=yes
21007 $as_echo "$as_me: program exited with status $ac_status" >&5
21008 $as_echo "$as_me: failed program was:" >&5
21009 sed 's
/^
/|
/' conftest.$ac_ext >&5
21011 ( exit $ac_status )
21012 ac_cv_type_long_long_int=no
21014 rm -rf conftest.dSYM
21015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21020 $as_echo "$as_me: failed program was:" >&5
21021 sed 's
/^
/|
/' conftest.$ac_ext >&5
21023 ac_cv_type_long_long_int=no
21026 rm -rf conftest.dSYM
21027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21028 conftest$ac_exeext conftest.$ac_ext
21030 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
21031 $as_echo "$ac_cv_type_long_long_int" >&6; }
21032 if test $ac_cv_type_long_long_int = yes; then
21034 cat >>confdefs.h <<\_ACEOF
21035 #define HAVE_LONG_LONG_INT 1
21040 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
21041 $as_echo_n "checking for size_t... " >&6; }
21042 if test "${ac_cv_type_size_t+set}" = set; then
21043 $as_echo_n "(cached) " >&6
21045 ac_cv_type_size_t=no
21046 cat >conftest.$ac_ext <<_ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052 $ac_includes_default
21056 if (sizeof (size_t))
21062 rm -f conftest.$ac_objext
21063 if { (ac_try="$ac_compile"
21064 case "(($ac_try" in
21065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21066 *) ac_try_echo=$ac_try;;
21068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21069 $as_echo "$ac_try_echo") >&5
21070 (eval "$ac_compile") 2>conftest.er1
21072 grep -v '^
*+' conftest.er1 >conftest.err
21074 cat conftest.err >&5
21075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); } && {
21077 test -z "$ac_c_werror_flag" ||
21078 test ! -s conftest.err
21079 } && test -s conftest.$ac_objext; then
21080 cat >conftest.$ac_ext <<_ACEOF
21083 cat confdefs.h >>conftest.$ac_ext
21084 cat >>conftest.$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21086 $ac_includes_default
21090 if (sizeof ((size_t)))
21096 rm -f conftest.$ac_objext
21097 if { (ac_try="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21103 $as_echo "$ac_try_echo") >&5
21104 (eval "$ac_compile") 2>conftest.er1
21106 grep -v '^
*+' conftest.er1 >conftest.err
21108 cat conftest.err >&5
21109 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } && {
21111 test -z "$ac_c_werror_flag" ||
21112 test ! -s conftest.err
21113 } && test -s conftest.$ac_objext; then
21116 $as_echo "$as_me: failed program was:" >&5
21117 sed 's
/^
/|
/' conftest.$ac_ext >&5
21119 ac_cv_type_size_t=yes
21122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 $as_echo "$as_me: failed program was:" >&5
21125 sed 's
/^
/|
/' conftest.$ac_ext >&5
21130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21132 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21133 $as_echo "$ac_cv_type_size_t" >&6; }
21134 if test "x$ac_cv_type_size_t" = x""yes; then
21138 cat >>confdefs.h <<_ACEOF
21139 #define size_t unsigned int
21145 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
21146 $as_echo_n "checking for uint16_t... " >&6; }
21147 if test "${ac_cv_c_uint16_t+set}" = set; then
21148 $as_echo_n "(cached) " >&6
21150 ac_cv_c_uint16_t=no
21151 for ac_type in 'uint16_t
' 'unsigned int
' 'unsigned long int
' \
21152 'unsigned long long int
' 'unsigned short int
' 'unsigned char
'; do
21153 cat >conftest.$ac_ext <<_ACEOF
21156 cat confdefs.h >>conftest.$ac_ext
21157 cat >>conftest.$ac_ext <<_ACEOF
21158 /* end confdefs.h. */
21159 $ac_includes_default
21163 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
21170 rm -f conftest.$ac_objext
21171 if { (ac_try="$ac_compile"
21172 case "(($ac_try" in
21173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21174 *) ac_try_echo=$ac_try;;
21176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21177 $as_echo "$ac_try_echo") >&5
21178 (eval "$ac_compile") 2>conftest.er1
21180 grep -v '^
*+' conftest.er1 >conftest.err
21182 cat conftest.err >&5
21183 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); } && {
21185 test -z "$ac_c_werror_flag" ||
21186 test ! -s conftest.err
21187 } && test -s conftest.$ac_objext; then
21189 uint16_t) ac_cv_c_uint16_t=yes ;;
21190 *) ac_cv_c_uint16_t=$ac_type ;;
21194 $as_echo "$as_me: failed program was:" >&5
21195 sed 's
/^
/|
/' conftest.$ac_ext >&5
21200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21201 test "$ac_cv_c_uint16_t" != no && break
21204 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
21205 $as_echo "$ac_cv_c_uint16_t" >&6; }
21206 case $ac_cv_c_uint16_t in #(
21211 cat >>confdefs.h <<_ACEOF
21212 #define uint16_t $ac_cv_c_uint16_t
21218 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
21219 $as_echo_n "checking for uint32_t... " >&6; }
21220 if test "${ac_cv_c_uint32_t+set}" = set; then
21221 $as_echo_n "(cached) " >&6
21223 ac_cv_c_uint32_t=no
21224 for ac_type in 'uint32_t
' 'unsigned int
' 'unsigned long int
' \
21225 'unsigned long long int
' 'unsigned short int
' 'unsigned char
'; do
21226 cat >conftest.$ac_ext <<_ACEOF
21229 cat confdefs.h >>conftest.$ac_ext
21230 cat >>conftest.$ac_ext <<_ACEOF
21231 /* end confdefs.h. */
21232 $ac_includes_default
21236 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
21243 rm -f conftest.$ac_objext
21244 if { (ac_try="$ac_compile"
21245 case "(($ac_try" in
21246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21247 *) ac_try_echo=$ac_try;;
21249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21250 $as_echo "$ac_try_echo") >&5
21251 (eval "$ac_compile") 2>conftest.er1
21253 grep -v '^
*+' conftest.er1 >conftest.err
21255 cat conftest.err >&5
21256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); } && {
21258 test -z "$ac_c_werror_flag" ||
21259 test ! -s conftest.err
21260 } && test -s conftest.$ac_objext; then
21262 uint32_t) ac_cv_c_uint32_t=yes ;;
21263 *) ac_cv_c_uint32_t=$ac_type ;;
21267 $as_echo "$as_me: failed program was:" >&5
21268 sed 's
/^
/|
/' conftest.$ac_ext >&5
21273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21274 test "$ac_cv_c_uint32_t" != no && break
21277 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
21278 $as_echo "$ac_cv_c_uint32_t" >&6; }
21279 case $ac_cv_c_uint32_t in #(
21283 cat >>confdefs.h <<\_ACEOF
21284 #define _UINT32_T 1
21288 cat >>confdefs.h <<_ACEOF
21289 #define uint32_t $ac_cv_c_uint32_t
21295 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
21296 $as_echo_n "checking for uint64_t... " >&6; }
21297 if test "${ac_cv_c_uint64_t+set}" = set; then
21298 $as_echo_n "(cached) " >&6
21300 ac_cv_c_uint64_t=no
21301 for ac_type in 'uint64_t
' 'unsigned int
' 'unsigned long int
' \
21302 'unsigned long long int
' 'unsigned short int
' 'unsigned char
'; do
21303 cat >conftest.$ac_ext <<_ACEOF
21306 cat confdefs.h >>conftest.$ac_ext
21307 cat >>conftest.$ac_ext <<_ACEOF
21308 /* end confdefs.h. */
21309 $ac_includes_default
21313 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
21320 rm -f conftest.$ac_objext
21321 if { (ac_try="$ac_compile"
21322 case "(($ac_try" in
21323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21324 *) ac_try_echo=$ac_try;;
21326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21327 $as_echo "$ac_try_echo") >&5
21328 (eval "$ac_compile") 2>conftest.er1
21330 grep -v '^
*+' conftest.er1 >conftest.err
21332 cat conftest.err >&5
21333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } && {
21335 test -z "$ac_c_werror_flag" ||
21336 test ! -s conftest.err
21337 } && test -s conftest.$ac_objext; then
21339 uint64_t) ac_cv_c_uint64_t=yes ;;
21340 *) ac_cv_c_uint64_t=$ac_type ;;
21344 $as_echo "$as_me: failed program was:" >&5
21345 sed 's
/^
/|
/' conftest.$ac_ext >&5
21350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21351 test "$ac_cv_c_uint64_t" != no && break
21354 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
21355 $as_echo "$ac_cv_c_uint64_t" >&6; }
21356 case $ac_cv_c_uint64_t in #(
21360 cat >>confdefs.h <<\_ACEOF
21361 #define _UINT64_T 1
21365 cat >>confdefs.h <<_ACEOF
21366 #define uint64_t $ac_cv_c_uint64_t
21372 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
21373 $as_echo_n "checking for uint8_t... " >&6; }
21374 if test "${ac_cv_c_uint8_t+set}" = set; then
21375 $as_echo_n "(cached) " >&6
21378 for ac_type in 'uint8_t
' 'unsigned int
' 'unsigned long int
' \
21379 'unsigned long long int
' 'unsigned short int
' 'unsigned char
'; do
21380 cat >conftest.$ac_ext <<_ACEOF
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21386 $ac_includes_default
21390 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
21397 rm -f conftest.$ac_objext
21398 if { (ac_try="$ac_compile"
21399 case "(($ac_try" in
21400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21401 *) ac_try_echo=$ac_try;;
21403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21404 $as_echo "$ac_try_echo") >&5
21405 (eval "$ac_compile") 2>conftest.er1
21407 grep -v '^
*+' conftest.er1 >conftest.err
21409 cat conftest.err >&5
21410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); } && {
21412 test -z "$ac_c_werror_flag" ||
21413 test ! -s conftest.err
21414 } && test -s conftest.$ac_objext; then
21416 uint8_t) ac_cv_c_uint8_t=yes ;;
21417 *) ac_cv_c_uint8_t=$ac_type ;;
21421 $as_echo "$as_me: failed program was:" >&5
21422 sed 's
/^
/|
/' conftest.$ac_ext >&5
21427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21428 test "$ac_cv_c_uint8_t" != no && break
21431 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
21432 $as_echo "$ac_cv_c_uint8_t" >&6; }
21433 case $ac_cv_c_uint8_t in #(
21437 cat >>confdefs.h <<\_ACEOF
21442 cat >>confdefs.h <<_ACEOF
21443 #define uint8_t $ac_cv_c_uint8_t
21449 { $as_echo "$as_me:$LINENO: checking for SHA256_CTX" >&5
21450 $as_echo_n "checking for SHA256_CTX... " >&6; }
21451 if test "${ac_cv_type_SHA256_CTX+set}" = set; then
21452 $as_echo_n "(cached) " >&6
21454 ac_cv_type_SHA256_CTX=no
21455 cat >conftest.$ac_ext <<_ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21462 #if defined(HAVE_SYS_TYPES_H)
21463 #include <sys/types.h>
21465 #if defined(HAVE_OPENSSL_SHA_H)
21466 #include <openssl/sha.h>
21468 #if defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
21469 #define COMMON_DIGEST_FOR_OPENSSL 1
21470 #include <CommonCrypto/CommonDigest.h>
21477 if (sizeof (SHA256_CTX))
21483 rm -f conftest.$ac_objext
21484 if { (ac_try="$ac_compile"
21485 case "(($ac_try" in
21486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21487 *) ac_try_echo=$ac_try;;
21489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21490 $as_echo "$ac_try_echo") >&5
21491 (eval "$ac_compile") 2>conftest.er1
21493 grep -v '^
*+' conftest.er1 >conftest.err
21495 cat conftest.err >&5
21496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); } && {
21498 test -z "$ac_c_werror_flag" ||
21499 test ! -s conftest.err
21500 } && test -s conftest.$ac_objext; then
21501 cat >conftest.$ac_ext <<_ACEOF
21504 cat confdefs.h >>conftest.$ac_ext
21505 cat >>conftest.$ac_ext <<_ACEOF
21506 /* end confdefs.h. */
21508 #if defined(HAVE_SYS_TYPES_H)
21509 #include <sys/types.h>
21511 #if defined(HAVE_OPENSSL_SHA_H)
21512 #include <openssl/sha.h>
21514 #if defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
21515 #define COMMON_DIGEST_FOR_OPENSSL 1
21516 #include <CommonCrypto/CommonDigest.h>
21523 if (sizeof ((SHA256_CTX)))
21529 rm -f conftest.$ac_objext
21530 if { (ac_try="$ac_compile"
21531 case "(($ac_try" in
21532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21533 *) ac_try_echo=$ac_try;;
21535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21536 $as_echo "$ac_try_echo") >&5
21537 (eval "$ac_compile") 2>conftest.er1
21539 grep -v '^
*+' conftest.er1 >conftest.err
21541 cat conftest.err >&5
21542 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); } && {
21544 test -z "$ac_c_werror_flag" ||
21545 test ! -s conftest.err
21546 } && test -s conftest.$ac_objext; then
21549 $as_echo "$as_me: failed program was:" >&5
21550 sed 's
/^
/|
/' conftest.$ac_ext >&5
21552 ac_cv_type_SHA256_CTX=yes
21555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21557 $as_echo "$as_me: failed program was:" >&5
21558 sed 's
/^
/|
/' conftest.$ac_ext >&5
21563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21565 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_SHA256_CTX" >&5
21566 $as_echo "$ac_cv_type_SHA256_CTX" >&6; }
21567 if test "x$ac_cv_type_SHA256_CTX" = x""yes; then
21569 cat >>confdefs.h <<_ACEOF
21570 #define HAVE_SHA256_CTX 1
21575 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
21576 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
21577 { { $as_echo "$as_me:$LINENO: error: missing SHA256_CTX; is openssl 0.9.8 or newer installed?
21578 See \`config.log
' for more details." >&5
21579 $as_echo "$as_me: error: missing SHA256_CTX; is openssl 0.9.8 or newer installed?
21580 See \`config.log' for more details.
" >&2;}
21581 { (exit 1); exit 1; }; }; }
21585 # Checks for library functions.
21587 { $as_echo "$as_me:$LINENO: checking
for library containing gzopen
" >&5
21588 $as_echo_n "checking
for library containing gzopen...
" >&6; }
21589 if test "${ac_cv_search_gzopen+set}" = set; then
21590 $as_echo_n "(cached
) " >&6
21592 ac_func_search_save_LIBS=$LIBS
21593 cat >conftest.$ac_ext <<_ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21600 /* Override any GCC internal prototype to avoid an error.
21601 Use char because int might match the return type of a GCC
21602 builtin and then its argument prototype would still apply. */
21615 for ac_lib in '' z; do
21616 if test -z "$ac_lib"; then
21617 ac_res="none required
"
21620 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21622 rm -f conftest.$ac_objext conftest$ac_exeext
21623 if { (ac_try="$ac_link"
21624 case "(($ac_try" in
21625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21626 *) ac_try_echo=$ac_try;;
21628 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21629 $as_echo "$ac_try_echo") >&5
21630 (eval "$ac_link") 2>conftest.er1
21632 grep -v '^ *+' conftest.er1 >conftest.err
21634 cat conftest.err >&5
21635 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21636 (exit $ac_status); } && {
21637 test -z "$ac_c_werror_flag" ||
21638 test ! -s conftest.err
21639 } && test -s conftest$ac_exeext && {
21640 test "$cross_compiling" = yes ||
21641 $as_test_x conftest$ac_exeext
21643 ac_cv_search_gzopen=$ac_res
21645 $as_echo "$as_me: failed program was
:" >&5
21646 sed 's/^/| /' conftest.$ac_ext >&5
21651 rm -rf conftest.dSYM
21652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21654 if test "${ac_cv_search_gzopen+set}" = set; then
21658 if test "${ac_cv_search_gzopen+set}" = set; then
21661 ac_cv_search_gzopen=no
21663 rm conftest.$ac_ext
21664 LIBS=$ac_func_search_save_LIBS
21666 { $as_echo "$as_me:$LINENO: result
: $ac_cv_search_gzopen" >&5
21667 $as_echo "$ac_cv_search_gzopen" >&6; }
21668 ac_res=$ac_cv_search_gzopen
21669 if test "$ac_res" != no; then
21670 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
21674 { $as_echo "$as_me:$LINENO: checking
for library containing BZ2_bzDecompress
" >&5
21675 $as_echo_n "checking
for library containing BZ2_bzDecompress...
" >&6; }
21676 if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
21677 $as_echo_n "(cached
) " >&6
21679 ac_func_search_save_LIBS=$LIBS
21680 cat >conftest.$ac_ext <<_ACEOF
21683 cat confdefs.h >>conftest.$ac_ext
21684 cat >>conftest.$ac_ext <<_ACEOF
21685 /* end confdefs.h. */
21687 /* Override any GCC internal prototype to avoid an error.
21688 Use char because int might match the return type of a GCC
21689 builtin and then its argument prototype would still apply. */
21693 char BZ2_bzDecompress ();
21697 return BZ2_bzDecompress ();
21702 for ac_lib in '' bz2; do
21703 if test -z "$ac_lib"; then
21704 ac_res="none required
"
21707 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21709 rm -f conftest.$ac_objext conftest$ac_exeext
21710 if { (ac_try="$ac_link"
21711 case "(($ac_try" in
21712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21713 *) ac_try_echo=$ac_try;;
21715 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21716 $as_echo "$ac_try_echo") >&5
21717 (eval "$ac_link") 2>conftest.er1
21719 grep -v '^ *+' conftest.er1 >conftest.err
21721 cat conftest.err >&5
21722 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21723 (exit $ac_status); } && {
21724 test -z "$ac_c_werror_flag" ||
21725 test ! -s conftest.err
21726 } && test -s conftest$ac_exeext && {
21727 test "$cross_compiling" = yes ||
21728 $as_test_x conftest$ac_exeext
21730 ac_cv_search_BZ2_bzDecompress=$ac_res
21732 $as_echo "$as_me: failed program was
:" >&5
21733 sed 's/^/| /' conftest.$ac_ext >&5
21738 rm -rf conftest.dSYM
21739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21741 if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
21745 if test "${ac_cv_search_BZ2_bzDecompress+set}" = set; then
21748 ac_cv_search_BZ2_bzDecompress=no
21750 rm conftest.$ac_ext
21751 LIBS=$ac_func_search_save_LIBS
21753 { $as_echo "$as_me:$LINENO: result
: $ac_cv_search_BZ2_bzDecompress" >&5
21754 $as_echo "$ac_cv_search_BZ2_bzDecompress" >&6; }
21755 ac_res=$ac_cv_search_BZ2_bzDecompress
21756 if test "$ac_res" != no; then
21757 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
21761 { $as_echo "$as_me:$LINENO: checking
for library containing RSA_public_encrypt
" >&5
21762 $as_echo_n "checking
for library containing RSA_public_encrypt...
" >&6; }
21763 if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
21764 $as_echo_n "(cached
) " >&6
21766 ac_func_search_save_LIBS=$LIBS
21767 cat >conftest.$ac_ext <<_ACEOF
21770 cat confdefs.h >>conftest.$ac_ext
21771 cat >>conftest.$ac_ext <<_ACEOF
21772 /* end confdefs.h. */
21774 /* Override any GCC internal prototype to avoid an error.
21775 Use char because int might match the return type of a GCC
21776 builtin and then its argument prototype would still apply. */
21780 char RSA_public_encrypt ();
21784 return RSA_public_encrypt ();
21789 for ac_lib in '' crypto; do
21790 if test -z "$ac_lib"; then
21791 ac_res="none required
"
21794 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21796 rm -f conftest.$ac_objext conftest$ac_exeext
21797 if { (ac_try="$ac_link"
21798 case "(($ac_try" in
21799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21800 *) ac_try_echo=$ac_try;;
21802 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
21803 $as_echo "$ac_try_echo") >&5
21804 (eval "$ac_link") 2>conftest.er1
21806 grep -v '^ *+' conftest.er1 >conftest.err
21808 cat conftest.err >&5
21809 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21810 (exit $ac_status); } && {
21811 test -z "$ac_c_werror_flag" ||
21812 test ! -s conftest.err
21813 } && test -s conftest$ac_exeext && {
21814 test "$cross_compiling" = yes ||
21815 $as_test_x conftest$ac_exeext
21817 ac_cv_search_RSA_public_encrypt=$ac_res
21819 $as_echo "$as_me: failed program was
:" >&5
21820 sed 's/^/| /' conftest.$ac_ext >&5
21825 rm -rf conftest.dSYM
21826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21828 if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
21832 if test "${ac_cv_search_RSA_public_encrypt+set}" = set; then
21835 ac_cv_search_RSA_public_encrypt=no
21837 rm conftest.$ac_ext
21838 LIBS=$ac_func_search_save_LIBS
21840 { $as_echo "$as_me:$LINENO: result
: $ac_cv_search_RSA_public_encrypt" >&5
21841 $as_echo "$ac_cv_search_RSA_public_encrypt" >&6; }
21842 ac_res=$ac_cv_search_RSA_public_encrypt
21843 if test "$ac_res" != no; then
21844 test "$ac_res" = "none required
" || LIBS="$ac_res $LIBS"
21849 # Initialize the testsuite
21851 ac_config_commands="$ac_config_commands tests
/atconfig
"
21855 AUTOM4TE=${AUTOM4TE-"${am_missing_run}autom4te"}
21858 # Generate the Makefiles
21860 ac_config_files="$ac_config_files Makefile include
/Makefile src
/Makefile src
/lib
/Makefile src
/netpgp
/Makefile src
/netpgpkeys
/Makefile src
/netpgpverify
/Makefile
tests
/Makefile
tests
/atlocal
"
21862 cat >confcache <<\_ACEOF
21863 # This file is a shell script that caches the results of configure
21864 # tests run on this system so they can be shared between configure
21865 # scripts and configure runs, see configure's option --config-cache.
21866 # It is not useful on other systems. If it contains results you don't
21867 # want to keep, you may remove or edit it.
21869 # config.status only pays attention to the cache file if you give it
21870 # the --recheck option to rerun configure.
21872 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21873 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21874 # following values.
21878 # The following way of writing the cache mishandles newlines in values,
21879 # but we know of no workaround that is simple, portable, and efficient.
21880 # So, we kill variables containing newlines.
21881 # Ultrix sh set writes to stderr and can't be redirected directly,
21882 # and sets the high bit in the cache file unless we assign to the vars.
21884 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21885 eval ac_val=\$$ac_var
21889 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING
: cache variable
$ac_var contains a newline
" >&5
21890 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
21893 _ | IFS | as_nl) ;; #(
21894 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21895 *) $as_unset $ac_var ;;
21901 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21902 *${as_nl}ac_space=\ *)
21903 # `set' does not quote correctly, so add quotes (double-quote
21904 # substitution turns \\\\ into \\, and sed turns \\ into \).
21907 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
21910 # `set' quotes correctly as required by POSIX, so do not add quotes.
21911 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
21920 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21922 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21924 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21925 if test -w "$cache_file"; then
21926 test "x
$cache_file" != "x
/dev
/null
" &&
21927 { $as_echo "$as_me:$LINENO: updating cache
$cache_file" >&5
21928 $as_echo "$as_me: updating cache
$cache_file" >&6;}
21929 cat confcache >$cache_file
21931 { $as_echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
21932 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
21937 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
21938 # Let make expand exec_prefix.
21939 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
21941 DEFS=-DHAVE_CONFIG_H
21945 for ac_i in : $LIBOBJS; do test "x
$ac_i" = x: && continue
21946 # 1. Remove the extension, and $U if already installed.
21947 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21948 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21949 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21950 # will be set to the directory where LIBOBJS objects are built.
21951 ac_libobjs="$ac_libobjs \
${LIBOBJDIR}$ac_i\
$U.
$ac_objext"
21952 ac_ltlibobjs="$ac_ltlibobjs \
${LIBOBJDIR}$ac_i"'$U.lo'
21954 LIBOBJS=$ac_libobjs
21956 LTLIBOBJS=$ac_ltlibobjs
21959 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21960 { { $as_echo "$as_me:$LINENO: error
: conditional
\"MAINTAINER_MODE
\" was never defined.
21961 Usually this means the macro was only invoked conditionally.
" >&5
21962 $as_echo "$as_me: error
: conditional
\"MAINTAINER_MODE
\" was never defined.
21963 Usually this means the macro was only invoked conditionally.
" >&2;}
21964 { (exit 1); exit 1; }; }
21966 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21967 { { $as_echo "$as_me:$LINENO: error
: conditional
\"AMDEP
\" was never defined.
21968 Usually this means the macro was only invoked conditionally.
" >&5
21969 $as_echo "$as_me: error
: conditional
\"AMDEP
\" was never defined.
21970 Usually this means the macro was only invoked conditionally.
" >&2;}
21971 { (exit 1); exit 1; }; }
21973 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21974 { { $as_echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCC
\" was never defined.
21975 Usually this means the macro was only invoked conditionally.
" >&5
21976 $as_echo "$as_me: error
: conditional
\"am__fastdepCC
\" was never defined.
21977 Usually this means the macro was only invoked conditionally.
" >&2;}
21978 { (exit 1); exit 1; }; }
21980 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21981 { { $as_echo "$as_me:$LINENO: error
: conditional
\"am__fastdepCXX
\" was never defined.
21982 Usually this means the macro was only invoked conditionally.
" >&5
21983 $as_echo "$as_me: error
: conditional
\"am__fastdepCXX
\" was never defined.
21984 Usually this means the macro was only invoked conditionally.
" >&2;}
21985 { (exit 1); exit 1; }; }
21988 : ${CONFIG_STATUS=./config.status}
21990 ac_clean_files_save=$ac_clean_files
21991 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21992 { $as_echo "$as_me:$LINENO: creating
$CONFIG_STATUS" >&5
21993 $as_echo "$as_me: creating
$CONFIG_STATUS" >&6;}
21994 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21996 # Generated by $as_me.
21997 # Run this file to recreate the current configuration.
21998 # Compiler output produced by configure, useful for debugging
21999 # configure, is in config.log if it exists.
22002 ac_cs_recheck=false
22004 SHELL=\${CONFIG_SHELL-$SHELL}
22007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22008 ## --------------------- ##
22009 ## M4sh Initialization. ##
22010 ## --------------------- ##
22012 # Be more Bourne compatible
22013 DUALCASE=1; export DUALCASE # for MKS sh
22014 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22017 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22018 # is contrary to our usage. Disable this feature.
22019 alias -g '${1+"$@"}'='"$@
"'
22020 setopt NO_GLOB_SUBST
22022 case `(set -o) 2>/dev/null` in
22023 *posix*) set -o posix ;;
22032 # Avoid depending upon Character Ranges.
22033 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22034 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22035 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22036 as_cr_digits='0123456789'
22037 as_cr_alnum=$as_cr_Letters$as_cr_digits
22042 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22043 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22044 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22045 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22046 if (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
22047 as_echo='printf %s\n'
22048 as_echo_n='printf %s'
22050 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
22051 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
22052 as_echo_n='/usr/ucb/echo -n'
22054 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
22055 as_echo_n_body='eval
22059 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
22060 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
22062 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
22064 export as_echo_n_body
22065 as_echo_n='sh -c $as_echo_n_body as_echo'
22067 export as_echo_body
22068 as_echo='sh -c $as_echo_body as_echo'
22071 # The user is always right.
22072 if test "${PATH_SEPARATOR+set}" != set; then
22074 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22075 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22080 # Support unset when possible.
22081 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22089 # We need space, tab and new line, in precisely that order. Quoting is
22090 # there to prevent editors from complaining about space-tab.
22091 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22092 # splitting by setting IFS to empty value.)
22095 # Find who we are. Look in the path if we contain no directory separator.
22097 *[\\/]* ) as_myself=$0 ;;
22098 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22099 for as_dir in $PATH
22102 test -z "$as_dir" && as_dir=.
22103 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22109 # We did not find ourselves, most probably we were run as `sh COMMAND'
22110 # in which case we are not to be found in the path.
22111 if test "x
$as_myself" = x; then
22114 if test ! -f "$as_myself"; then
22115 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
22116 { (exit 1); exit 1; }
22119 # Work around bugs in pre-3.0 UWIN ksh.
22120 for as_var in ENV MAIL MAILPATH
22121 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22133 # Required to use basename.
22134 if expr a : '\(a\)' >/dev/null 2>&1 &&
22135 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
22141 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
22142 as_basename=basename
22148 # Name of the executable.
22149 as_me=`$as_basename -- "$0" ||
22150 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22151 X"$0" : 'X\(//\)$' \| \
22152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22154 sed '/^.*\/\([^/][^/]*\)\/*$/{
22173 as_lineno_1=$LINENO
22174 as_lineno_2=$LINENO
22175 test "x
$as_lineno_1" != "x
$as_lineno_2" &&
22176 test "x
`expr $as_lineno_1 + 1`" = "x
$as_lineno_2" || {
22178 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22179 # uniformly replaced by the line number. The first 'sed' inserts a
22180 # line-number line after each line using $LINENO; the second 'sed'
22181 # does the real work. The second script uses 'N' to pair each
22182 # line-number line with the line containing $LINENO, and appends
22183 # trailing '-' during substitution so that $LINENO is not a special
22184 # case at line end.
22185 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22186 # scripts with optimization help from Paolo Bonzini. Blame Lee
22187 # E. McMahon (1931-1989) for sed's syntax. :-)
22199 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22202 ' >$as_me.lineno &&
22203 chmod +x "$as_me.lineno
" ||
22204 { $as_echo "$as_me: error
: cannot create
$as_me.lineno
; rerun with a POSIX shell
" >&2
22205 { (exit 1); exit 1; }; }
22207 # Don't try to exec as it changes $[0], causing all sort of problems
22208 # (the dirname of $[0] is not the place where we might find the
22209 # original and so on. Autoconf is especially sensitive to this).
22210 . ".
/$as_me.lineno
"
22211 # Exit status is that of the last command.
22216 if (as_dir=`dirname -- /` && test "X
$as_dir" = X/) >/dev/null 2>&1; then
22222 ECHO_C= ECHO_N= ECHO_T=
22223 case `echo -n x` in
22225 case `echo 'x\c'` in
22226 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22232 if expr a : '\(a\)' >/dev/null 2>&1 &&
22233 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
22239 rm -f conf$$ conf$$.exe conf$$.file
22240 if test -d conf$$.dir; then
22241 rm -f conf$$.dir/conf$$.file
22244 mkdir conf$$.dir 2>/dev/null
22246 if (echo >conf$$.file) 2>/dev/null; then
22247 if ln -s conf$$.file conf$$ 2>/dev/null; then
22249 # ... but there are two gotchas:
22250 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22251 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22252 # In both cases, we have to default to `cp -p'.
22253 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22255 elif ln conf$$.file conf$$ 2>/dev/null; then
22263 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22264 rmdir conf$$.dir 2>/dev/null
22266 if mkdir -p . 2>/dev/null; then
22269 test -d ./-p && rmdir ./-p
22273 if test -x / >/dev/null 2>&1; then
22274 as_test_x='test -x'
22276 if ls -dL / >/dev/null 2>&1; then
22283 if test -d "$1"; then
22289 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22290 ???[sx]*):;;*)false;;esac;fi
22294 as_executable_p=$as_test_x
22296 # Sed expression to map a string onto a valid CPP name.
22297 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22299 # Sed expression to map a string onto a valid variable name.
22300 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22305 # Save the log message, to keep $[0] and so on meaningful, and to
22306 # report actual input values of CONFIG_FILES etc. instead of their
22307 # values after options handling.
22309 This
file was extended by netpgp
$as_me 20091221, which was
22310 generated by GNU Autoconf
2.63. Invocation
command line was
22312 CONFIG_FILES
= $CONFIG_FILES
22313 CONFIG_HEADERS
= $CONFIG_HEADERS
22314 CONFIG_LINKS
= $CONFIG_LINKS
22315 CONFIG_COMMANDS
= $CONFIG_COMMANDS
22318 on
`(hostname || uname -n) 2>/dev/null | sed 1q`
22323 case $ac_config_files in *"
22324 "*) set x $ac_config_files; shift; ac_config_files=$*;;
22327 case $ac_config_headers in *"
22328 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22332 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22333 # Files that config.status was made for.
22334 config_files="$ac_config_files"
22335 config_headers="$ac_config_headers"
22336 config_commands="$ac_config_commands"
22340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22342 \
`$as_me' instantiates files from templates according to the
22343 current configuration.
22345 Usage: $0 [OPTION]... [FILE]...
22347 -h, --help print this help, then exit
22348 -V, --version print version number and configuration settings, then exit
22349 -q, --quiet, --silent
22350 do not print progress messages
22351 -d, --debug don't remove temporary files
22352 --recheck update $as_me by reconfiguring in the same conditions
22353 --file=FILE[:TEMPLATE]
22354 instantiate the configuration file FILE
22355 --header=FILE[:TEMPLATE]
22356 instantiate the configuration header FILE
22358 Configuration files:
22361 Configuration headers:
22364 Configuration commands:
22367 Report bugs to <bug-autoconf@gnu.org>."
22370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22372 netpgp config.status 20091221
22373 configured by $0, generated by GNU Autoconf 2.63,
22374 with options \\"`$as_echo "$ac_configure_args" |
sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22376 Copyright (C) 2008 Free Software Foundation, Inc.
22377 This config.status script is free software; the Free Software Foundation
22378 gives unlimited permission to copy, distribute and modify it."
22385 test -n "\$AWK" || AWK=awk
22388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22389 # The default lists apply if the user does not specify any file.
22395 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22396 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22407 # Handling of the options.
22408 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22410 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22411 $as_echo "$ac_cs_version"; exit ;;
22412 --debug | --debu | --deb | --de | --d | -d )
22414 --file | --fil | --fi | --f )
22417 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
22419 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
22420 ac_need_defaults=false;;
22421 --header | --heade | --head | --hea )
22424 *\'*) ac_optarg=`$as_echo "$ac_optarg" |
sed "s/'/'\\\\\\\\''/g"` ;;
22426 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
22427 ac_need_defaults=false;;
22429 # Conflict between --help and --header
22430 { $as_echo "$as_me: error: ambiguous option: $1
22431 Try \`$0 --help' for more information." >&2
22432 { (exit 1); exit 1; }; };;
22433 --help | --hel | -h )
22434 $as_echo "$ac_cs_usage"; exit ;;
22435 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22436 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22439 # This is an error.
22440 -*) { $as_echo "$as_me: error: unrecognized option: $1
22441 Try \`$0 --help' for more information.
" >&2
22442 { (exit 1); exit 1; }; } ;;
22444 *) ac_config_targets="$ac_config_targets $1"
22445 ac_need_defaults=false ;;
22451 ac_configure_extra_args=
22453 if $ac_cs_silent; then
22455 ac_configure_extra_args="$ac_configure_extra_args --silent"
22459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22460 if \$ac_cs_recheck; then
22461 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22463 \$as_echo "running CONFIG_SHELL
=$SHELL \$
*" >&6
22464 CONFIG_SHELL='$SHELL'
22465 export CONFIG_SHELL
22470 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22474 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22475 ## Running $as_me. ##
22481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22485 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22491 # Handling of arguments.
22492 for ac_config_target in $ac_config_targets
22494 case $ac_config_target in
22495 "src
/lib
/config.h
") CONFIG_HEADERS="$CONFIG_HEADERS src
/lib
/config.h
" ;;
22496 "depfiles
") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles
" ;;
22497 "tests
/atconfig
") CONFIG_COMMANDS="$CONFIG_COMMANDS tests
/atconfig
" ;;
22498 "Makefile
") CONFIG_FILES="$CONFIG_FILES Makefile
" ;;
22499 "include
/Makefile
") CONFIG_FILES="$CONFIG_FILES include
/Makefile
" ;;
22500 "src
/Makefile
") CONFIG_FILES="$CONFIG_FILES src
/Makefile
" ;;
22501 "src
/lib
/Makefile
") CONFIG_FILES="$CONFIG_FILES src
/lib
/Makefile
" ;;
22502 "src
/netpgp
/Makefile
") CONFIG_FILES="$CONFIG_FILES src
/netpgp
/Makefile
" ;;
22503 "src
/netpgpkeys
/Makefile
") CONFIG_FILES="$CONFIG_FILES src
/netpgpkeys
/Makefile
" ;;
22504 "src
/netpgpverify
/Makefile
") CONFIG_FILES="$CONFIG_FILES src
/netpgpverify
/Makefile
" ;;
22505 "tests
/Makefile
") CONFIG_FILES="$CONFIG_FILES tests
/Makefile
" ;;
22506 "tests
/atlocal
") CONFIG_FILES="$CONFIG_FILES tests
/atlocal
" ;;
22508 *) { { $as_echo "$as_me:$LINENO: error
: invalid argument
: $ac_config_target" >&5
22509 $as_echo "$as_me: error
: invalid argument
: $ac_config_target" >&2;}
22510 { (exit 1); exit 1; }; };;
22515 # If the user did not use the arguments to specify the items to instantiate,
22516 # then the envvar interface is used. Set only those that are not.
22517 # We use the long form for the default assignment because of an extremely
22518 # bizarre bug on SunOS 4.1.3.
22519 if $ac_need_defaults; then
22520 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22521 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22522 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22525 # Have a temporary directory for convenience. Make it in the build tree
22526 # simply because there is no reason against having it here, and in addition,
22527 # creating and moving files from /tmp can sometimes cause problems.
22528 # Hook for its removal unless debugging.
22529 # Note that there is a small window in which the directory will not be cleaned:
22530 # after its creation but before its name has been assigned to `$tmp'.
22534 trap 'exit_status=$?
22535 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22537 trap '{ (exit 1); exit 1; }' 1 2 13 15
22539 # Create a (secure) tmp directory for tmp files.
22542 tmp=`(umask 077 && mktemp -d ".
/confXXXXXX
") 2>/dev/null` &&
22543 test -n "$tmp" && test -d "$tmp"
22546 tmp=./conf$$-$RANDOM
22547 (umask 077 && mkdir "$tmp")
22550 $as_echo "$as_me: cannot create a temporary directory
in .
" >&2
22551 { (exit 1); exit 1; }
22554 # Set up the scripts for CONFIG_FILES section.
22555 # No need to generate them if there are no CONFIG_FILES.
22556 # This happens for instance with `./config.status config.h'.
22557 if test -n "$CONFIG_FILES"; then
22561 ac_cs_awk_cr=`$AWK 'BEGIN { print "a
\rb
" }' </dev/null 2>/dev/null`
22562 if test "$ac_cs_awk_cr" = "a
${ac_cr}b
"; then
22565 ac_cs_awk_cr=$ac_cr
22568 echo 'BEGIN {' >"$tmp/subs1.
awk" &&
22573 echo "cat >conf$
$subs.
awk <<_ACEOF" &&
22574 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22576 } >conf$$subs.sh ||
22577 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22578 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22579 { (exit 1); exit 1; }; }
22580 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22582 for ac_last_try in false false false false false :; do
22583 . ./conf$$subs.sh ||
22584 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22585 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22586 { (exit 1); exit 1; }; }
22588 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22589 if test $ac_delim_n = $ac_delim_num; then
22591 elif $ac_last_try; then
22592 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
22593 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
22594 { (exit 1); exit 1; }; }
22596 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22599 rm -f conf$$subs.sh
22601 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22602 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
22606 s/^/S["/; s
/!.
*/"]=/
22616 s/\(.\{148\}\).*/\1/
22618 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22623 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22630 s/\(.\{148\}\).*/\1/
22632 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22636 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22641 ' <conf$$subs.awk | sed '
22646 ' >>$CONFIG_STATUS || ac_write_fail=1
22647 rm -f conf$$subs.awk
22648 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22650 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
22651 for (key in S) S_is_set[key] = 1
22657 nfields = split(line, field, "@
")
22659 len = length(field[1])
22660 for (i = 2; i < nfields; i++) {
22662 keylen = length(key)
22663 if (S_is_set[key]) {
22665 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22666 len += length(value) + length(field[++i])
22677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22678 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22679 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22682 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
22683 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
22684 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
22685 { (exit 1); exit 1; }; }
22688 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22689 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
22690 # trailing colons and then remove the whole line if VPATH becomes empty
22691 # (actually we leave an empty line to preserve line numbers).
22692 if test "x
$srcdir" = x.; then
22693 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22694 s/:*\$(srcdir):*/:/
22695 s/:*\${srcdir}:*/:/
22697 s/^\([^=]*=[ ]*\):*/\1/
22703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22704 fi # test -n "$CONFIG_FILES"
22706 # Set up the scripts for CONFIG_HEADERS section.
22707 # No need to generate them if there are no CONFIG_HEADERS.
22708 # This happens for instance with `./config.status Makefile'.
22709 if test -n "$CONFIG_HEADERS"; then
22710 cat >"$tmp/defines.
awk" <<\_ACAWK ||
22714 # Transform confdefs.h into an awk script `defines.awk', embedded as
22715 # here-document in config.status, that substitutes the proper values into
22716 # config.h.in to produce config.h.
22718 # Create a delimiter string that does not exist in confdefs.h, to ease
22719 # handling of long lines.
22721 for ac_last_try in false false :; do
22722 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
22723 if test -z "$ac_t"; then
22725 elif $ac_last_try; then
22726 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
22727 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
22728 { (exit 1); exit 1; }; }
22730 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22734 # For the awk script, D is an array of macro values keyed by name,
22735 # likewise P contains macro parameters if any. Preserve backslash
22736 # newline sequences.
22738 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22740 s/.\{148\}/&'"$ac_delim"'/g
22743 s/^[ ]*#[ ]*define[ ][ ]*/ /
22750 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22752 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22756 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22757 D["\
1"]=" \
3\\\\\\n
"\\/p
22759 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22764 s/.\{148\}/&'"$ac_delim"'/g
22769 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22772 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22774 ' <confdefs.h | sed '
22775 s/'"$ac_delim"'/"\\\
22776 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22779 for (key in D) D_is_set[key] = 1
22782 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22784 split(line, arg, " ")
22785 if (arg[1] == "#") {
22789 defundef
= substr
(arg
[1], 2)
22792 split(mac1
, mac2
, "(") #)
22794 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22795 if (D_is_set
[macro
]) {
22796 # Preserve the white space surrounding the "#".
22797 print prefix
"define", macro P
[macro
] D
[macro
]
22800 # Replace #undef with comments. This is necessary, for example,
22801 # in the case of _POSIX_SOURCE, which is predefined and required
22802 # on some systems where configure will not decide to define it.
22803 if (defundef
== "undef") {
22804 print
"/*", prefix defundef
, macro
, "*/"
22812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22813 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
22814 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
22815 { (exit 1); exit 1; }; }
22816 fi # test -n "$CONFIG_HEADERS"
22819 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22824 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22826 case $ac_mode$ac_tag in
22828 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
22829 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
22830 { (exit 1); exit 1; }; };;
22831 :[FH
]-) ac_tag
=-:-;;
22832 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22849 -) ac_f
="$tmp/stdin";;
22850 *) # Look for the file first in the build tree, then in the source tree
22851 # (if the path is not absolute). The absolute path cannot be DOS-style,
22852 # because $ac_f cannot contain `:'.
22856 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22858 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22859 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22860 { (exit 1); exit 1; }; };;
22862 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22863 ac_file_inputs
="$ac_file_inputs '$ac_f'"
22866 # Let's still pretend it is `configure' which instantiates (i.e., don't
22867 # use $as_me), people would be surprised to read:
22868 # /* config.h. Generated by config.status. */
22869 configure_input
='Generated from '`
22870 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22872 if test x
"$ac_file" != x-
; then
22873 configure_input
="$ac_file. $configure_input"
22874 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
22875 $as_echo "$as_me: creating $ac_file" >&6;}
22877 # Neutralize special characters interpreted by sed in replacement strings.
22878 case $configure_input in #(
22879 *\
&* |
*\|
* |
*\\* )
22880 ac_sed_conf_input
=`$as_echo "$configure_input" |
22881 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22882 *) ac_sed_conf_input
=$configure_input;;
22886 *:-:* |
*:-) cat >"$tmp/stdin" \
22887 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22888 $as_echo "$as_me: error: could not create $ac_file" >&2;}
22889 { (exit 1); exit 1; }; } ;;
22894 ac_dir
=`$as_dirname -- "$ac_file" ||
22895 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22896 X"$ac_file" : 'X\(//\)[^/]' \| \
22897 X"$ac_file" : 'X\(//\)$' \| \
22898 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22899 $as_echo X"$ac_file" |
22900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22904 /^X\(\/\/\)[^/].*/{
22919 -*) as_dir
=.
/$as_dir;;
22921 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
22925 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22926 *) as_qdir
=$as_dir;;
22928 as_dirs
="'$as_qdir' $as_dirs"
22929 as_dir
=`$as_dirname -- "$as_dir" ||
22930 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22931 X"$as_dir" : 'X\(//\)[^/]' \| \
22932 X"$as_dir" : 'X\(//\)$' \| \
22933 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22934 $as_echo X"$as_dir" |
22935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22939 /^X\(\/\/\)[^/].*/{
22952 test -d "$as_dir" && break
22954 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22955 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22956 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
22957 { (exit 1); exit 1; }; }; }
22961 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22963 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22964 # A ".." for each directory in $ac_dir_suffix.
22965 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22966 case $ac_top_builddir_sub in
22967 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22968 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22971 ac_abs_top_builddir
=$ac_pwd
22972 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22973 # for backward compatibility:
22974 ac_top_builddir
=$ac_top_build_prefix
22977 .
) # We are building in place.
22979 ac_top_srcdir
=$ac_top_builddir_sub
22980 ac_abs_top_srcdir
=$ac_pwd ;;
22981 [\\/]* | ?
:[\\/]* ) # Absolute name.
22982 ac_srcdir
=$srcdir$ac_dir_suffix;
22983 ac_top_srcdir
=$srcdir
22984 ac_abs_top_srcdir
=$srcdir ;;
22985 *) # Relative name.
22986 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22987 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22988 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22990 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23000 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23001 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23003 ac_MKDIR_P
=$MKDIR_P
23005 [\\/$
]* | ?
:[\\/]* ) ;;
23006 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23011 # If the template does not know about datarootdir, expand it.
23012 # FIXME: This hack should be removed a few years after 2.60.
23013 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23026 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23027 *datarootdir
*) ac_datarootdir_seen
=yes;;
23028 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23029 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23030 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23032 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23033 ac_datarootdir_hack='
23034 s&@datadir@&$datadir&g
23035 s&@docdir@&$docdir&g
23036 s&@infodir@&$infodir&g
23037 s&@localedir@&$localedir&g
23038 s&@mandir@&$mandir&g
23039 s&\\\${datarootdir}&$datarootdir&g' ;;
23043 # Neutralize VPATH when `$srcdir' = `.'.
23044 # Shell code in configure.ac might set extrasub.
23045 # FIXME: do we really want to maintain this feature?
23046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23047 ac_sed_extra="$ac_vpsub
23050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23052 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23053 s|@configure_input@|
$ac_sed_conf_input|
;t t
23054 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23055 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23056 s
&@srcdir@
&$ac_srcdir&;t t
23057 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23058 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23059 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23060 s
&@builddir@
&$ac_builddir&;t t
23061 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23062 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23063 s
&@INSTALL@
&$ac_INSTALL&;t t
23064 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23065 $ac_datarootdir_hack
23067 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
23068 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
23069 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
23070 { (exit 1); exit 1; }; }
23072 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23073 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
23074 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
23075 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23076 which seems to be undefined. Please make sure it is defined." >&5
23077 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23078 which seems to be undefined. Please make sure it is defined." >&2;}
23082 -) cat "$tmp/out" && rm -f "$tmp/out";;
23083 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
23085 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23086 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23087 { (exit 1); exit 1; }; }
23093 if test x"$ac_file" != x-; then
23095 $as_echo "/* $configure_input */" \
23096 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
23097 } >"$tmp/config.h" \
23098 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23099 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23100 { (exit 1); exit 1; }; }
23101 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
23102 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23103 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23106 mv "$tmp/config.h" "$ac_file" \
23107 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23108 $as_echo "$as_me: error: could not create $ac_file" >&2;}
23109 { (exit 1); exit 1; }; }
23112 $as_echo "/* $configure_input */" \
23113 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
23114 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
23115 $as_echo "$as_me: error: could not create -" >&2;}
23116 { (exit 1); exit 1; }; }
23118 # Compute "$ac_file"'s index
in $config_headers.
23121 for _am_header
in $config_headers :; do
23122 case $_am_header in
23123 $_am_arg |
$_am_arg:* )
23126 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23129 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23130 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23131 X"$_am_arg" : 'X\(//\)[^/]' \| \
23132 X"$_am_arg" : 'X\(//\)$' \| \
23133 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23134 $as_echo X"$_am_arg" |
23135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23139 /^X\(\/\/\)[^/].*/{
23151 s/.*/./; q'`/stamp-h
$_am_stamp_count
23154 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
23155 $as_echo "$as_me: executing $ac_file commands" >&6;}
23160 case $ac_file$ac_mode in
23161 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
23162 # Strip MF so we end up with the name of the file.
23163 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23164 # Check whether this is an Automake generated Makefile or not.
23165 # We used to match only the files named `Makefile.in', but
23166 # some people rename them; so instead we look at the file content.
23167 # Grep'ing the first line is not enough: some people post-process
23168 # each Makefile.in and add a new line on top of each file to say so.
23169 # Grep'ing the whole file is not good either: AIX grep has a line
23170 # limit of 2048, but all sed's we know have understand at least 4000.
23171 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23172 dirpart
=`$as_dirname -- "$mf" ||
23173 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23174 X"$mf" : 'X\(//\)[^/]' \| \
23175 X"$mf" : 'X\(//\)$' \| \
23176 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23182 /^X\(\/\/\)[^/].*/{
23198 # Extract the definition of DEPDIR, am__include, and am__quote
23199 # from the Makefile without running `make'.
23200 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23201 test -z "$DEPDIR" && continue
23202 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23203 test -z "am__include" && continue
23204 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23205 # When using ansi2knr, U may be empty or an underscore; expand it
23206 U
=`sed -n 's/^U = //p' < "$mf"`
23207 # Find all dependency output files, they are included files with
23208 # $(DEPDIR) in their names. We invoke sed twice because it is the
23209 # simplest approach to changing $(DEPDIR) to its actual value in the
23211 for file in `sed -n "
23212 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23213 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23214 # Make sure the directory exists.
23215 test -f "$dirpart/$file" && continue
23216 fdir
=`$as_dirname -- "$file" ||
23217 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23218 X"$file" : 'X\(//\)[^/]' \| \
23219 X"$file" : 'X\(//\)$' \| \
23220 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23221 $as_echo X"$file" |
23222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23226 /^X\(\/\/\)[^/].*/{
23239 { as_dir
=$dirpart/$fdir
23241 -*) as_dir
=.
/$as_dir;;
23243 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
23247 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
23248 *) as_qdir
=$as_dir;;
23250 as_dirs
="'$as_qdir' $as_dirs"
23251 as_dir
=`$as_dirname -- "$as_dir" ||
23252 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23253 X"$as_dir" : 'X\(//\)[^/]' \| \
23254 X"$as_dir" : 'X\(//\)$' \| \
23255 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23256 $as_echo X"$as_dir" |
23257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23261 /^X\(\/\/\)[^/].*/{
23274 test -d "$as_dir" && break
23276 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
23277 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23278 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
23279 { (exit 1); exit 1; }; }; }
23280 # echo "creating $dirpart/$file"
23281 echo '# dummy' > "$dirpart/$file"
23285 "tests/atconfig":C
) cat >tests
/atconfig
<<ATEOF
23286 # Configurable variable values for building test suites.
23288 # Copyright (C) 2000, 2001, 2003, 2004 Free Software Foundation, Inc.
23290 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
23292 abs_builddir='$ac_abs_builddir'
23293 at_srcdir='$ac_srcdir'
23294 abs_srcdir='$ac_abs_srcdir'
23295 at_top_srcdir='$ac_top_srcdir'
23296 abs_top_srcdir='$ac_abs_top_srcdir'
23297 at_top_build_prefix='$ac_top_build_prefix'
23298 abs_top_builddir='$ac_abs_top_builddir'
23300 # Backward compatibility with Autotest <= 2.59b:
23301 at_top_builddir=\$at_top_build_prefix
23303 AUTOTEST_PATH='tests'
23305 SHELL=\${CONFIG_SHELL-'$SHELL'}
23313 { (exit 0); exit 0; }
23315 chmod +x
$CONFIG_STATUS
23316 ac_clean_files
=$ac_clean_files_save
23318 test $ac_write_fail = 0 ||
23319 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
23320 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
23321 { (exit 1); exit 1; }; }
23324 # configure is writing to config.log, and then calls config.status.
23325 # config.status does its own redirection, appending to config.log.
23326 # Unfortunately, on DOS this fails, as config.log is still kept open
23327 # by configure, so config.status won't be able to write to it; its
23328 # output is simply discarded. So we exec the FD to /dev/null,
23329 # effectively closing config.log, so it can be properly (re)opened and
23330 # appended to by config.status. When coming back to configure, we
23331 # need to make the FD available again.
23332 if test "$no_create" != yes; then
23334 ac_config_status_args
=
23335 test "$silent" = yes &&
23336 ac_config_status_args
="$ac_config_status_args --quiet"
23338 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23340 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23341 # would make configure fail if this is the last instruction.
23342 $ac_cs_success ||
{ (exit 1); exit 1; }
23344 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23345 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23346 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23350 # Display feature results
23352 { $as_echo "$as_me:$LINENO: === Configuration results ===" >&5
23353 $as_echo "$as_me: === Configuration results ===" >&6;}
23354 { $as_echo "$as_me:$LINENO: Version: $PACKAGE_VERSION" >&5
23355 $as_echo "$as_me: Version: $PACKAGE_VERSION" >&6;}
23356 { $as_echo "$as_me:$LINENO: C compiler: $CC" >&5
23357 $as_echo "$as_me: C compiler: $CC" >&6;}
23358 { $as_echo "$as_me:$LINENO: Warning CFLAGS: $WARNCFLAGS" >&5
23359 $as_echo "$as_me: Warning CFLAGS: $WARNCFLAGS" >&6;}
23360 { $as_echo "$as_me:$LINENO: =============================" >&5
23361 $as_echo "$as_me: =============================" >&6;}