2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for netbsd-iscsi 20090622.
5 # Report bugs to <Alistair Crooks <agc@NetBSD.org>>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 # Check that we are running under the correct shell.
578 SHELL
=${CONFIG_SHELL-/bin/sh}
582 # Remove one level of quotation (which was required for Make).
583 ECHO
=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
588 if test "X$1" = X--no-reexec
; then
589 # Discard the --no-reexec flag, and continue.
591 elif test "X$1" = X--fallback-echo
; then
592 # Avoid inline document here, it may be left over
594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
595 # Yippee, $echo works!
598 # Restart under the correct shell.
599 exec $SHELL "$0" --no-reexec ${1+"$@"}
602 if test "X$1" = X--fallback-echo
; then
603 # used as fallback echo
611 # The HP-UX ksh and POSIX shell print the target directory to stdout
613 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
615 if test -z "$ECHO"; then
616 if test "X${echo_test_string+set}" != Xset
; then
617 # find a string as large as possible, as long as the shell can cope with it
618 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620 if (echo_test_string
=`eval $cmd`) 2>/dev
/null
&&
621 echo_test_string
=`eval $cmd` &&
622 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev
/null
629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
630 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
631 test "X$echo_testing_string" = "X$echo_test_string"; then
634 # The Solaris, AIX, and Digital Unix default echo programs unquote
635 # backslashes. This makes it impossible to quote backslashes using
636 # echo "$something" | sed 's/\\/\\\\/g'
638 # So, first we look for a working echo in the user's PATH.
640 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
641 for dir
in $PATH /usr
/ucb
; do
643 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
644 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
645 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
646 test "X$echo_testing_string" = "X$echo_test_string"; then
653 if test "X$echo" = Xecho
; then
654 # We didn't find a better echo, so look for alternatives.
655 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
656 echo_testing_string
=`(print -r "$echo_test_string") 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
658 # This shell has a builtin print -r that does the trick.
660 elif (test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext) &&
661 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
662 # If we have ksh, try running configure again with it.
663 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
664 export ORIGINAL_CONFIG_SHELL
665 CONFIG_SHELL
=/bin
/ksh
667 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
671 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
672 echo_testing_string
=`($echo "$echo_test_string") 2>/dev/null` &&
673 test "X$echo_testing_string" = "X$echo_test_string"; then
676 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
677 test "X$echo_testing_string" = 'X\t' &&
678 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
679 test "X$echo_testing_string" = "X$echo_test_string"; then
680 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
682 SHELL
="$CONFIG_SHELL"
684 echo="$CONFIG_SHELL $0 --fallback-echo"
685 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
686 test "X$echo_testing_string" = 'X\t' &&
687 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
688 test "X$echo_testing_string" = "X$echo_test_string"; then
689 echo="$CONFIG_SHELL $0 --fallback-echo"
691 # maybe with a smaller string...
694 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
695 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev
/null
702 if test "$prev" != 'sed 50q "$0"'; then
703 echo_test_string
=`eval $prev`
704 export echo_test_string
705 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
707 # Oops. We lost completely, so just stick with echo.
716 # Copy echo and quote the copy suitably for passing to libtool from
717 # the Makefile, instead of quoting the original, which is used later.
719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
720 ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
726 tagnames
=${tagnames+${tagnames},}CXX
728 tagnames
=${tagnames+${tagnames},}F77
730 exec 7<&0 </dev
/null
6>&1
733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
734 # so uname gets run too.
735 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
740 ac_default_prefix
=/usr
/local
742 ac_config_libobj_dir
=.
748 SHELL
=${CONFIG_SHELL-/bin/sh}
750 # Identity of this package.
751 PACKAGE_NAME
='netbsd-iscsi'
752 PACKAGE_TARNAME
='netbsd-iscsi'
753 PACKAGE_VERSION
='20090622'
754 PACKAGE_STRING
='netbsd-iscsi 20090622'
755 PACKAGE_BUGREPORT
='Alistair Crooks <agc@NetBSD.org>'
757 ac_unique_file
="src/lib/iscsi.c"
758 # Factoring default headers for most tests.
759 ac_includes_default
="\
761 #ifdef HAVE_SYS_TYPES_H
762 # include <sys/types.h>
764 #ifdef HAVE_SYS_STAT_H
765 # include <sys/stat.h>
771 # ifdef HAVE_STDLIB_H
776 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
781 #ifdef HAVE_STRINGS_H
782 # include <strings.h>
784 #ifdef HAVE_INTTYPES_H
785 # include <inttypes.h>
794 ac_subst_vars
='LTLIBOBJS
841 MAINTAINER_MODE_FALSE
851 INSTALL_STRIP_PROGRAM
893 program_transform_name
905 enable_option_checking
906 enable_maintainer_mode
907 enable_dependency_tracking
916 ac_precious_vars
='build_alias
933 # Initialize some variables set by options.
935 ac_init_version
=false
936 ac_unrecognized_opts
=
938 # The variables have the same names as the options, with
939 # dashes changed to underlines.
947 program_transform_name
=s
,x
,x
,
955 # Installation directory options.
956 # These are left unexpanded so users can "make install exec_prefix=/foo"
957 # and all the variables that are supposed to be based on exec_prefix
958 # by default will actually change.
959 # Use braces instead of parens because sh, perl, etc. also accept them.
960 # (The list follows the same order as the GNU Coding Standards.)
961 bindir
='${exec_prefix}/bin'
962 sbindir
='${exec_prefix}/sbin'
963 libexecdir
='${exec_prefix}/libexec'
964 datarootdir
='${prefix}/share'
965 datadir
='${datarootdir}'
966 sysconfdir
='${prefix}/etc'
967 sharedstatedir
='${prefix}/com'
968 localstatedir
='${prefix}/var'
969 includedir
='${prefix}/include'
970 oldincludedir
='/usr/include'
971 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
972 infodir
='${datarootdir}/info'
977 libdir
='${exec_prefix}/lib'
978 localedir
='${datarootdir}/locale'
979 mandir
='${datarootdir}/man'
985 # If the previous option needs an argument, assign it.
986 if test -n "$ac_prev"; then
987 eval $ac_prev=\
$ac_option
993 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
997 # Accept the important Cygnus configure options, so we can diagnose typos.
999 case $ac_dashdash$ac_option in
1003 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1005 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1006 bindir
=$ac_optarg ;;
1008 -build |
--build |
--buil |
--bui |
--bu)
1009 ac_prev
=build_alias
;;
1010 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1011 build_alias
=$ac_optarg ;;
1013 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1014 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1015 ac_prev
=cache_file
;;
1016 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1017 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1018 cache_file
=$ac_optarg ;;
1020 --config-cache |
-C)
1021 cache_file
=config.cache
;;
1023 -datadir |
--datadir |
--datadi |
--datad)
1025 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1026 datadir
=$ac_optarg ;;
1028 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1029 |
--dataroo |
--dataro |
--datar)
1030 ac_prev
=datarootdir
;;
1031 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1032 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1033 datarootdir
=$ac_optarg ;;
1035 -disable-* |
--disable-*)
1036 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1037 # Reject names that are not valid shell variable names.
1038 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1039 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1040 { (exit 1); exit 1; }; }
1041 ac_useropt_orig
=$ac_useropt
1042 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "enable_
$ac_useropt"
1047 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1048 ac_unrecognized_sep
=', ';;
1050 eval enable_
$ac_useropt=no
;;
1052 -docdir |
--docdir |
--docdi |
--doc |
--do)
1054 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1055 docdir
=$ac_optarg ;;
1057 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1059 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1060 dvidir
=$ac_optarg ;;
1062 -enable-* |
--enable-*)
1063 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1064 # Reject names that are not valid shell variable names.
1065 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1066 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1067 { (exit 1); exit 1; }; }
1068 ac_useropt_orig
=$ac_useropt
1069 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070 case $ac_user_opts in
1072 "enable_
$ac_useropt"
1074 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1075 ac_unrecognized_sep
=', ';;
1077 eval enable_
$ac_useropt=\
$ac_optarg ;;
1079 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1080 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1081 |
--exec |
--exe |
--ex)
1082 ac_prev
=exec_prefix
;;
1083 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1084 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1085 |
--exec=* |
--exe=* |
--ex=*)
1086 exec_prefix
=$ac_optarg ;;
1088 -gas |
--gas |
--ga |
--g)
1089 # Obsolete; use --with-gas.
1092 -help |
--help |
--hel |
--he |
-h)
1093 ac_init_help
=long
;;
1094 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1095 ac_init_help
=recursive
;;
1096 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1097 ac_init_help
=short
;;
1099 -host |
--host |
--hos |
--ho)
1100 ac_prev
=host_alias
;;
1101 -host=* |
--host=* |
--hos=* |
--ho=*)
1102 host_alias
=$ac_optarg ;;
1104 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1106 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1108 htmldir
=$ac_optarg ;;
1110 -includedir |
--includedir |
--includedi |
--included |
--include \
1111 |
--includ |
--inclu |
--incl |
--inc)
1112 ac_prev
=includedir
;;
1113 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1114 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1115 includedir
=$ac_optarg ;;
1117 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1119 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1120 infodir
=$ac_optarg ;;
1122 -libdir |
--libdir |
--libdi |
--libd)
1124 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1125 libdir
=$ac_optarg ;;
1127 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1128 |
--libexe |
--libex |
--libe)
1129 ac_prev
=libexecdir
;;
1130 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1131 |
--libexe=* |
--libex=* |
--libe=*)
1132 libexecdir
=$ac_optarg ;;
1134 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1135 ac_prev
=localedir
;;
1136 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1137 localedir
=$ac_optarg ;;
1139 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1140 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1141 ac_prev
=localstatedir
;;
1142 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1143 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1144 localstatedir
=$ac_optarg ;;
1146 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1148 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1149 mandir
=$ac_optarg ;;
1151 -nfp |
--nfp |
--nf)
1152 # Obsolete; use --without-fp.
1155 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1156 |
--no-cr |
--no-c |
-n)
1159 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1160 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1163 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1164 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1165 |
--oldin |
--oldi |
--old |
--ol |
--o)
1166 ac_prev
=oldincludedir
;;
1167 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1168 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1169 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1170 oldincludedir
=$ac_optarg ;;
1172 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1174 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1175 prefix
=$ac_optarg ;;
1177 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1178 |
--program-pre |
--program-pr |
--program-p)
1179 ac_prev
=program_prefix
;;
1180 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1181 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1182 program_prefix
=$ac_optarg ;;
1184 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1185 |
--program-suf |
--program-su |
--program-s)
1186 ac_prev
=program_suffix
;;
1187 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1188 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1189 program_suffix
=$ac_optarg ;;
1191 -program-transform-name |
--program-transform-name \
1192 |
--program-transform-nam |
--program-transform-na \
1193 |
--program-transform-n |
--program-transform- \
1194 |
--program-transform |
--program-transfor \
1195 |
--program-transfo |
--program-transf \
1196 |
--program-trans |
--program-tran \
1197 |
--progr-tra |
--program-tr |
--program-t)
1198 ac_prev
=program_transform_name
;;
1199 -program-transform-name=* |
--program-transform-name=* \
1200 |
--program-transform-nam=* |
--program-transform-na=* \
1201 |
--program-transform-n=* |
--program-transform-=* \
1202 |
--program-transform=* |
--program-transfor=* \
1203 |
--program-transfo=* |
--program-transf=* \
1204 |
--program-trans=* |
--program-tran=* \
1205 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1206 program_transform_name
=$ac_optarg ;;
1208 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1210 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1211 pdfdir
=$ac_optarg ;;
1213 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1215 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1218 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1219 |
-silent |
--silent |
--silen |
--sile |
--sil)
1222 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1224 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1226 sbindir
=$ac_optarg ;;
1228 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1229 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1230 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1232 ac_prev
=sharedstatedir
;;
1233 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1234 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1235 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1237 sharedstatedir
=$ac_optarg ;;
1239 -site |
--site |
--sit)
1241 -site=* |
--site=* |
--sit=*)
1244 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1246 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1247 srcdir
=$ac_optarg ;;
1249 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1250 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1251 ac_prev
=sysconfdir
;;
1252 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1253 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1254 sysconfdir
=$ac_optarg ;;
1256 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1257 ac_prev
=target_alias
;;
1258 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1259 target_alias
=$ac_optarg ;;
1261 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1264 -version |
--version |
--versio |
--versi |
--vers |
-V)
1265 ac_init_version
=: ;;
1268 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1269 # Reject names that are not valid shell variable names.
1270 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1271 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1272 { (exit 1); exit 1; }; }
1273 ac_useropt_orig
=$ac_useropt
1274 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1275 case $ac_user_opts in
1279 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1280 ac_unrecognized_sep
=', ';;
1282 eval with_
$ac_useropt=\
$ac_optarg ;;
1284 -without-* |
--without-*)
1285 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1286 # Reject names that are not valid shell variable names.
1287 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1288 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1289 { (exit 1); exit 1; }; }
1290 ac_useropt_orig
=$ac_useropt
1291 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292 case $ac_user_opts in
1296 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1297 ac_unrecognized_sep
=', ';;
1299 eval with_
$ac_useropt=no
;;
1302 # Obsolete; use --with-x.
1305 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1306 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1307 ac_prev
=x_includes
;;
1308 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1309 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1310 x_includes
=$ac_optarg ;;
1312 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1313 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1314 ac_prev
=x_libraries
;;
1315 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1316 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1317 x_libraries
=$ac_optarg ;;
1319 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1320 Try \`$0 --help' for more information." >&2
1321 { (exit 1); exit 1; }; }
1325 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1326 # Reject names that are not valid shell variable names.
1327 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1328 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1329 { (exit 1); exit 1; }; }
1330 eval $ac_envvar=\
$ac_optarg
1331 export $ac_envvar ;;
1334 # FIXME: should be removed in autoconf 3.0.
1335 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1336 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1337 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1338 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1344 if test -n "$ac_prev"; then
1345 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1346 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1347 { (exit 1); exit 1; }; }
1350 if test -n "$ac_unrecognized_opts"; then
1351 case $enable_option_checking in
1353 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1354 { (exit 1); exit 1; }; } ;;
1355 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1359 # Check all directory arguments for consistency.
1360 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1361 datadir sysconfdir sharedstatedir localstatedir includedir \
1362 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1363 libdir localedir mandir
1365 eval ac_val
=\$
$ac_var
1366 # Remove trailing slashes.
1369 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1370 eval $ac_var=\
$ac_val;;
1372 # Be sure to have absolute directory names.
1374 [\\/$
]* | ?
:[\\/]* ) continue;;
1375 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1377 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1378 { (exit 1); exit 1; }; }
1381 # There might be people who depend on the old broken behavior: `$host'
1382 # used to hold the argument of --host etc.
1383 # FIXME: To remove some day.
1386 target
=$target_alias
1388 # FIXME: To remove some day.
1389 if test "x$host_alias" != x
; then
1390 if test "x$build_alias" = x
; then
1391 cross_compiling
=maybe
1392 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1393 If a cross compiler is detected then cross compile mode will be used." >&2
1394 elif test "x$build_alias" != "x$host_alias"; then
1400 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1402 test "$silent" = yes && exec 6>/dev
/null
1405 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1406 ac_ls_di
=`ls -di .` &&
1407 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1408 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1409 { (exit 1); exit 1; }; }
1410 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1411 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1412 { (exit 1); exit 1; }; }
1415 # Find the source files, if location was not specified.
1416 if test -z "$srcdir"; then
1417 ac_srcdir_defaulted
=yes
1418 # Try the directory containing this script, then the parent directory.
1419 ac_confdir
=`$as_dirname -- "$as_myself" ||
1420 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1421 X"$as_myself" : 'X\(//\)[^/]' \| \
1422 X"$as_myself" : 'X\(//\)$' \| \
1423 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1424 $as_echo X"$as_myself" |
1425 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1447 ac_srcdir_defaulted
=no
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1450 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1451 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1452 { (exit 1); exit 1; }; }
1454 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1456 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1457 { (exit 1); exit 1; }; }
1459 # When building in place, set srcdir=.
1460 if test "$ac_abs_confdir" = "$ac_pwd"; then
1463 # Remove unnecessary trailing slashes from srcdir.
1464 # Double slashes in file names in object file debugging info
1465 # mess up M-x gdb in Emacs.
1467 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1469 for ac_var
in $ac_precious_vars; do
1470 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1471 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1472 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1473 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1477 # Report the --help message.
1479 if test "$ac_init_help" = "long"; then
1480 # Omit some internal or obsolete options to make the list less imposing.
1481 # This message is too long to be a string in the A/UX 3.1 sh.
1483 \`configure' configures netbsd-iscsi 20090622 to adapt to many kinds of systems.
1485 Usage: $0 [OPTION]... [VAR=VALUE]...
1487 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1488 VAR=VALUE. See below for descriptions of some of the useful variables.
1490 Defaults for the options are specified in brackets.
1493 -h, --help display this help and exit
1494 --help=short display options specific to this package
1495 --help=recursive display the short help of all the included packages
1496 -V, --version display version information and exit
1497 -q, --quiet, --silent do not print \`checking...' messages
1498 --cache-file=FILE cache test results in FILE [disabled]
1499 -C, --config-cache alias for \`--cache-file=config.cache'
1500 -n, --no-create do not create output files
1501 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1503 Installation directories:
1504 --prefix=PREFIX install architecture-independent files in PREFIX
1505 [$ac_default_prefix]
1506 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1509 By default, \`make install' will install all the files in
1510 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1511 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1512 for instance \`--prefix=\$HOME'.
1514 For better control, use the options below.
1516 Fine tuning of the installation directories:
1517 --bindir=DIR user executables [EPREFIX/bin]
1518 --sbindir=DIR system admin executables [EPREFIX/sbin]
1519 --libexecdir=DIR program executables [EPREFIX/libexec]
1520 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1521 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1522 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1523 --libdir=DIR object code libraries [EPREFIX/lib]
1524 --includedir=DIR C header files [PREFIX/include]
1525 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1526 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1527 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1528 --infodir=DIR info documentation [DATAROOTDIR/info]
1529 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1530 --mandir=DIR man documentation [DATAROOTDIR/man]
1531 --docdir=DIR documentation root [DATAROOTDIR/doc/netbsd-iscsi]
1532 --htmldir=DIR html documentation [DOCDIR]
1533 --dvidir=DIR dvi documentation [DOCDIR]
1534 --pdfdir=DIR pdf documentation [DOCDIR]
1535 --psdir=DIR ps documentation [DOCDIR]
1541 --program-prefix=PREFIX prepend PREFIX to installed program names
1542 --program-suffix=SUFFIX append SUFFIX to installed program names
1543 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1546 --build=BUILD configure
for building on BUILD
[guessed
]
1547 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1551 if test -n "$ac_init_help"; then
1552 case $ac_init_help in
1553 short | recursive
) echo "Configuration of netbsd-iscsi 20090622:";;
1558 --disable-option-checking ignore unrecognized
--enable/--with options
1559 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1560 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1561 --enable-maintainer-mode enable make rules and dependencies not useful
1562 (and sometimes confusing
) to the casual installer
1563 --disable-dependency-tracking speeds up one-time build
1564 --enable-dependency-tracking do not reject slow dependency extractors
1565 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1566 --enable-static[=PKGS
] build static libraries
[default
=yes]
1567 --enable-fast-install[=PKGS
]
1568 optimize
for fast installation
[default
=yes]
1569 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1572 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1573 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1574 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1575 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1577 --with-tags[=TAGS
] include additional configurations
[automatic
]
1579 Some influential environment variables
:
1580 CC C compiler
command
1581 CFLAGS C compiler flags
1582 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1583 nonstandard directory
<lib dir
>
1584 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1585 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1586 you have headers
in a nonstandard directory
<include dir
>
1588 CXX C
++ compiler
command
1589 CXXFLAGS C
++ compiler flags
1590 CXXCPP C
++ preprocessor
1591 F77 Fortran
77 compiler
command
1592 FFLAGS Fortran
77 compiler flags
1594 Use these variables to override the choices made by
`configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1597 Report bugs to <Alistair Crooks <agc@NetBSD.org>>.
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605 test -d "$ac_dir" ||
1606 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1614 # A ".." for each directory in $ac_dir_suffix.
1615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1616 case $ac_top_builddir_sub in
1617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1627 .) # We are building in place.
1629 ac_top_srcdir=$ac_top_builddir_sub
1630 ac_abs_top_srcdir=$ac_pwd ;;
1631 [\\/]* | ?:[\\/]* ) # Absolute name.
1632 ac_srcdir=$srcdir$ac_dir_suffix;
1633 ac_top_srcdir=$srcdir
1634 ac_abs_top_srcdir=$srcdir ;;
1636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637 ac_top_srcdir=$ac_top_build_prefix$srcdir
1638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1642 cd "$ac_dir" || { ac_status=$?; continue; }
1643 # Check for guested configure.
1644 if test -f "$ac_srcdir/configure.gnu"; then
1646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647 elif test -f "$ac_srcdir/configure"; then
1649 $SHELL "$ac_srcdir/configure" --help=recursive
1651 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1653 cd "$ac_pwd" || { ac_status=$?; break; }
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1660 netbsd-iscsi configure 20090622
1661 generated by GNU Autoconf 2.63
1663 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1664 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1665 This configure script is free software; the Free Software Foundation
1666 gives unlimited permission to copy, distribute and modify it.
1670 cat >config.log <<_ACEOF
1671 This file contains any messages produced by compilers while
1672 running configure, to aid debugging if configure makes a mistake.
1674 It was created by netbsd-iscsi $as_me 20090622, which was
1675 generated by GNU Autoconf 2.63. Invocation command line was
1687 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1688 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1689 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1690 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1691 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1693 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1694 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1696 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1697 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1698 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1699 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1700 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1701 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1702 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir=.
1711 $as_echo "PATH: $as_dir"
1727 # Keep a trace of the command line.
1728 # Strip out --no-create and --no-recursion so they do not pile up.
1729 # Strip out --silent because we don't want to record it for future runs.
1730 # Also quote any args containing shell meta-characters.
1731 # Make two passes to allow for proper duplicate-argument suppression.
1735 ac_must_keep_next=false
1741 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1743 | -silent | --silent | --silen | --sile | --sil)
1746 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1749 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1751 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1752 if test $ac_must_keep_next = true; then
1753 ac_must_keep_next=false # Got value, back to normal.
1756 *=* | --config-cache | -C | -disable-* | --disable-* \
1757 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1758 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1759 | -with-* | --with-* | -without-* | --without-* | --x)
1760 case "$ac_configure_args0 " in
1761 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1764 -* ) ac_must_keep_next=true ;;
1767 ac_configure_args="$ac_configure_args '$ac_arg'"
1772 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1773 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1775 # When interrupted or exit'd, cleanup temporary files, and complete
1776 # config.log. We remove comments because anyway the quotes in there
1777 # would cause problems or look ugly.
1778 # WARNING: Use '\'' to represent an apostrophe within the trap.
1779 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1780 trap 'exit_status=$?
1781 # Save into config.log some information that might help in debugging.
1786 ## ---------------- ##
1787 ## Cache variables. ##
1788 ## ---------------- ##
1791 # The following way of writing the cache mishandles newlines in values,
1793 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1794 eval ac_val=\$$ac_var
1798 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1799 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1802 _ | IFS | as_nl) ;; #(
1803 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1804 *) $as_unset $ac_var ;;
1809 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1810 *${as_nl}ac_space=\ *)
1812 "s/'\''/'\''\\\\'\'''\''/g;
1813 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1816 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1824 ## ----------------- ##
1825 ## Output variables. ##
1826 ## ----------------- ##
1829 for ac_var in $ac_subst_vars
1831 eval ac_val=\$$ac_var
1833 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 $as_echo "$ac_var='\''$ac_val'\''"
1839 if test -n "$ac_subst_files"; then
1841 ## ------------------- ##
1842 ## File substitutions. ##
1843 ## ------------------- ##
1846 for ac_var in $ac_subst_files
1848 eval ac_val=\$$ac_var
1850 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1852 $as_echo "$ac_var='\''$ac_val'\''"
1857 if test -s confdefs.h; then
1867 test "$ac_signal" != 0 &&
1868 $as_echo "$as_me: caught signal $ac_signal"
1869 $as_echo "$as_me: exit $exit_status"
1871 rm -f core *.core core.conftest.* &&
1872 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1875 for ac_signal in 1 2 13 15; do
1876 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1880 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1881 rm -f -r conftest* confdefs.h
1883 # Predefined preprocessor variables.
1885 cat >>confdefs.h <<_ACEOF
1886 #define PACKAGE_NAME "$PACKAGE_NAME"
1890 cat >>confdefs.h <<_ACEOF
1891 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1900 cat >>confdefs.h <<_ACEOF
1901 #define PACKAGE_STRING "$PACKAGE_STRING"
1905 cat >>confdefs.h <<_ACEOF
1906 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1910 # Let the site file select an alternate cache file if it wants to.
1911 # Prefer an explicitly selected file to automatically selected ones.
1914 if test -n "$CONFIG_SITE"; then
1915 ac_site_file1=$CONFIG_SITE
1916 elif test "x$prefix" != xNONE; then
1917 ac_site_file1=$prefix/share/config.site
1918 ac_site_file2=$prefix/etc/config.site
1920 ac_site_file1=$ac_default_prefix/share/config.site
1921 ac_site_file2=$ac_default_prefix/etc/config.site
1923 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1925 test "x$ac_site_file" = xNONE && continue
1926 if test -r "$ac_site_file"; then
1927 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1928 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1929 sed 's/^/| /' "$ac_site_file" >&5
1934 if test -r "$cache_file"; then
1935 # Some versions of bash will fail to source /dev/null (special
1936 # files actually), so we avoid doing that.
1937 if test -f "$cache_file"; then
1938 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1939 $as_echo "$as_me: loading cache $cache_file" >&6;}
1941 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1942 *) . "./$cache_file";;
1946 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1947 $as_echo "$as_me: creating cache $cache_file" >&6;}
1951 # Check that the precious variables saved in the cache have kept the same
1953 ac_cache_corrupted=false
1954 for ac_var in $ac_precious_vars; do
1955 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1956 eval ac_new_set=\$ac_env_${ac_var}_set
1957 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1958 eval ac_new_val=\$ac_env_${ac_var}_value
1959 case $ac_old_set,$ac_new_set in
1961 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1962 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1963 ac_cache_corrupted=: ;;
1965 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1966 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1967 ac_cache_corrupted=: ;;
1970 if test "x$ac_old_val" != "x$ac_new_val"; then
1971 # differences in whitespace do not lead to failure.
1972 ac_old_val_w=`echo x
$ac_old_val`
1973 ac_new_val_w=`echo x
$ac_new_val`
1974 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1975 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1976 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1977 ac_cache_corrupted=:
1979 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1980 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1981 eval $ac_var=\$ac_old_val
1983 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1984 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1985 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1986 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1989 # Pass precious variables to config.status.
1990 if test "$ac_new_set" = set; then
1992 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1993 *) ac_arg=$ac_var=$ac_new_val ;;
1995 case " $ac_configure_args " in
1996 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1997 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2001 if $ac_cache_corrupted; then
2002 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2003 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2004 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2005 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2006 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
2007 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
2008 { (exit 1); exit 1; }; }
2036 ac_cpp='$CPP $CPPFLAGS'
2037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2045 for ac_dir in buildaux "$srcdir"/buildaux; do
2046 if test -f "$ac_dir/install-sh
"; then
2048 ac_install_sh="$ac_aux_dir/install-sh
-c"
2050 elif test -f "$ac_dir/install.sh
"; then
2052 ac_install_sh="$ac_aux_dir/install.sh
-c"
2054 elif test -f "$ac_dir/shtool
"; then
2056 ac_install_sh="$ac_aux_dir/shtool
install -c"
2060 if test -z "$ac_aux_dir"; then
2061 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in buildaux
\"$srcdir\"/buildaux
" >&5
2062 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in buildaux
\"$srcdir\"/buildaux
" >&2;}
2063 { (exit 1); exit 1; }; }
2066 # These three variables are undocumented and unsupported,
2067 # and are intended to be withdrawn in a future Autoconf release.
2068 # They can cause serious problems if a builder's source tree is in a directory
2069 # whose full name contains unusual characters.
2070 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2071 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2072 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2075 ac_config_headers="$ac_config_headers include
/config.h
"
2078 ## --------------------- ##
2079 ## M4sh Initialization. ##
2080 ## --------------------- ##
2082 # Be more Bourne compatible
2083 DUALCASE=1; export DUALCASE # for MKS sh
2084 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2087 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2088 # is contrary to our usage. Disable this feature.
2089 alias -g '${1+"$@"}'='"$@
"'
2090 setopt NO_GLOB_SUBST
2092 case `(set -o) 2>/dev/null` in
2093 *posix*) set -o posix ;;
2102 # Avoid depending upon Character Ranges.
2103 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2104 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2105 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2106 as_cr_digits='0123456789'
2107 as_cr_alnum=$as_cr_Letters$as_cr_digits
2112 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2113 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2114 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2116 if (test "X
`printf %s $as_echo`" = "X
$as_echo") 2>/dev/null; then
2117 as_echo='printf %s\n'
2118 as_echo_n='printf %s'
2120 if test "X
`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n
$as_echo"; then
2121 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2122 as_echo_n='/usr/ucb/echo -n'
2124 as_echo_body='eval expr "X
$1" : "X
\\(.
*\\)"'
2125 as_echo_n_body='eval
2129 expr "X
$arg" : "X
\\(.
*\\)$as_nl";
2130 arg=`expr "X
$arg" : ".
*$as_nl\\(.
*\\)"`;;
2132 expr "X
$arg" : "X
\\(.
*\\)" | tr -d "$as_nl"
2134 export as_echo_n_body
2135 as_echo_n='sh -c $as_echo_n_body as_echo'
2138 as_echo='sh -c $as_echo_body as_echo'
2141 # The user is always right.
2142 if test "${PATH_SEPARATOR+set}" != set; then
2144 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2145 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2150 # Support unset when possible.
2151 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2159 # We need space, tab and new line, in precisely that order. Quoting is
2160 # there to prevent editors from complaining about space-tab.
2161 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2162 # splitting by setting IFS to empty value.)
2165 # Find who we are. Look in the path if we contain no directory separator.
2167 *[\\/]* ) as_myself=$0 ;;
2168 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir=.
2173 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2179 # We did not find ourselves, most probably we were run as `sh COMMAND'
2180 # in which case we are not to be found in the path.
2181 if test "x
$as_myself" = x; then
2184 if test ! -f "$as_myself"; then
2185 $as_echo "$as_myself: error
: cannot
find myself
; rerun with an absolute
file name
" >&2
2186 { (exit 1); exit 1; }
2189 # Work around bugs in pre-3.0 UWIN ksh.
2190 for as_var in ENV MAIL MAILPATH
2191 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2203 # Required to use basename.
2204 if expr a : '\(a\)' >/dev/null 2>&1 &&
2205 test "X
`expr 00001 : '.*\(...\)'`" = X001; then
2211 if (basename -- /) >/dev/null 2>&1 && test "X
`basename -- / 2>&1`" = "X
/"; then
2212 as_basename=basename
2218 # Name of the executable.
2219 as_me=`$as_basename -- "$0" ||
2220 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2221 X"$0" : 'X\(//\)$' \| \
2222 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2224 sed '/^.*\/\([^/][^/]*\)\/*$/{
2242 am__api_version='1.10'
2244 # Find a good install program. We prefer a C program (faster),
2245 # so one script is as good as another. But avoid the broken or
2246 # incompatible versions:
2247 # SysV /etc/install, /usr/sbin/install
2248 # SunOS /usr/etc/install
2249 # IRIX /sbin/install
2251 # AmigaOS /C/install, which installs bootblocks on floppy discs
2252 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2253 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2254 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
2255 # OS/2's system install, which has a completely different semantic
2256 # ./install, which can be erroneously created by make from ./install.sh.
2257 # Reject install programs that cannot install multiple files.
2258 { $as_echo "$as_me:$LINENO: checking
for a BSD-compatible
install" >&5
2259 $as_echo_n "checking
for a BSD-compatible
install...
" >&6; }
2260 if test -z "$INSTALL"; then
2261 if test "${ac_cv_path_install+set}" = set; then
2262 $as_echo_n "(cached
) " >&6
2264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir=.
2269 # Account for people who put trailing slashes in PATH elements.
2271 ./ | .// | /cC/* | \
2272 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2273 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2276 # OSF1 and SCO ODT 3.0 have their own names for install.
2277 # Don't use installbsd from OSF since it installs stuff as root
2279 for ac_prog in ginstall scoinst install; do
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2282 if test $ac_prog = install &&
2283 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2284 # AIX install. It has an incompatible calling convention.
2286 elif test $ac_prog = install &&
2287 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2288 # program-specific install script used by HP pwplus--don't use.
2291 rm -rf conftest.one conftest.two conftest.dir
2292 echo one > conftest.one
2293 echo two > conftest.two
2295 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir
" &&
2296 test -s conftest.one && test -s conftest.two &&
2297 test -s conftest.dir/conftest.one &&
2298 test -s conftest.dir/conftest.two
2300 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2313 rm -rf conftest.one conftest.two conftest.dir
2316 if test "${ac_cv_path_install+set}" = set; then
2317 INSTALL=$ac_cv_path_install
2319 # As a last resort, use the slow shell script. Don't cache a
2320 # value for INSTALL within a source directory, because that will
2321 # break other packages using the cache if that directory is
2322 # removed, or if the value is a relative name.
2323 INSTALL=$ac_install_sh
2326 { $as_echo "$as_me:$LINENO: result
: $INSTALL" >&5
2327 $as_echo "$INSTALL" >&6; }
2329 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2330 # It thinks the first close brace ends the variable substitution.
2331 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2333 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2335 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2337 { $as_echo "$as_me:$LINENO: checking whether build environment is sane
" >&5
2338 $as_echo_n "checking whether build environment is sane...
" >&6; }
2341 echo timestamp > conftest.file
2342 # Do `set' in a subshell so we don't clobber the current shell's
2343 # arguments. Must try -L first in case configure is actually a
2344 # symlink; some systems play weird games with the mod time of symlinks
2345 # (eg FreeBSD returns the mod time of the symlink's containing
2348 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2349 if test "$
*" = "X
"; then
2351 set X `ls -t $srcdir/configure conftest.file`
2354 if test "$
*" != "X
$srcdir/configure conftest.
file" \
2355 && test "$
*" != "X conftest.
file $srcdir/configure
"; then
2357 # If neither matched, then we have a broken ls. This can happen
2358 # if, for instance, CONFIG_SHELL is bash and it inherits a
2359 # broken ls alias from the environment. This has actually
2360 # happened. Such a system could not be considered "sane
".
2361 { { $as_echo "$as_me:$LINENO: error
: ls -t appears to fail. Make sure there is not a broken
2362 alias in your environment
" >&5
2363 $as_echo "$as_me: error
: ls -t appears to fail. Make sure there is not a broken
2364 alias in your environment
" >&2;}
2365 { (exit 1); exit 1; }; }
2368 test "$2" = conftest.file
2374 { { $as_echo "$as_me:$LINENO: error
: newly created
file is older than distributed files
!
2375 Check your system
clock" >&5
2376 $as_echo "$as_me: error
: newly created
file is older than distributed files
!
2377 Check your system
clock" >&2;}
2378 { (exit 1); exit 1; }; }
2380 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2381 $as_echo "yes" >&6; }
2382 test "$program_prefix" != NONE &&
2383 program_transform_name="s
&^
&$program_prefix&;$program_transform_name"
2384 # Use a double $ so make ignores it.
2385 test "$program_suffix" != NONE &&
2386 program_transform_name="s
&\$
&$program_suffix&;$program_transform_name"
2387 # Double any \ or $.
2388 # By default was `s,x,x', remove it if useless.
2389 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2390 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2392 # expand $ac_aux_dir to an absolute path
2393 am_aux_dir=`cd $ac_aux_dir && pwd`
2395 test x"${MISSING+set}" = xset || MISSING="\
${SHELL} $am_aux_dir/missing
"
2396 # Use eval to expand $SHELL
2397 if eval "$MISSING --run true
"; then
2398 am_missing_run="$MISSING --run "
2401 { $as_echo "$as_me:$LINENO: WARNING
: \
`missing' script is too old or missing" >&5
2402 $as_echo "$as_me: WARNING: \`missing
' script is too old or missing" >&2;}
2405 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2406 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2407 if test -z "$MKDIR_P"; then
2408 if test "${ac_cv_path_mkdir+set}" = set; then
2409 $as_echo_n "(cached) " >&6
2411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2415 test -z "$as_dir" && as_dir=.
2416 for ac_prog in mkdir gmkdir; do
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2419 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2420 'mkdir
(GNU coreutils
) '* | \
2421 'mkdir
(coreutils
) '* | \
2422 'mkdir
(fileutils
) '4.1*)
2423 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2433 if test "${ac_cv_path_mkdir+set}" = set; then
2434 MKDIR_P="$ac_cv_path_mkdir -p"
2436 # As a last resort, use the slow shell script. Don't cache a
2437 # value for MKDIR_P within a source directory, because that will
2438 # break other packages using the cache if that directory is
2439 # removed, or if the value is a relative name.
2440 test -d .
/--version && rmdir .
/--version
2441 MKDIR_P
="$ac_install_sh -d"
2444 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2445 $as_echo "$MKDIR_P" >&6; }
2449 [\\/$
]* | ?
:[\\/]*) ;;
2450 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2453 for ac_prog
in gawk mawk nawk
awk
2455 # Extract the first word of "$ac_prog", so it can be a program name with args.
2456 set dummy
$ac_prog; ac_word
=$2
2457 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2458 $as_echo_n "checking for $ac_word... " >&6; }
2459 if test "${ac_cv_prog_AWK+set}" = set; then
2460 $as_echo_n "(cached) " >&6
2462 if test -n "$AWK"; then
2463 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir
=.
2470 for ac_exec_ext
in '' $ac_executable_extensions; do
2471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2472 ac_cv_prog_AWK
="$ac_prog"
2473 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2483 if test -n "$AWK"; then
2484 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2485 $as_echo "$AWK" >&6; }
2487 { $as_echo "$as_me:$LINENO: result: no" >&5
2488 $as_echo "no" >&6; }
2492 test -n "$AWK" && break
2495 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2496 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2498 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2499 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2500 $as_echo_n "(cached) " >&6
2502 cat >conftest.
make <<\_ACEOF
2505 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2507 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2508 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2510 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2512 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2516 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2517 { $as_echo "$as_me:$LINENO: result: yes" >&5
2518 $as_echo "yes" >&6; }
2521 { $as_echo "$as_me:$LINENO: result: no" >&5
2522 $as_echo "no" >&6; }
2523 SET_MAKE
="MAKE=${MAKE-make}"
2526 rm -rf .tst
2>/dev
/null
2527 mkdir .tst
2>/dev
/null
2528 if test -d .tst
; then
2533 rmdir .tst
2>/dev
/null
2535 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2536 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2537 # is not polluted with repeated "-I."
2538 am__isrc
=' -I$(srcdir)'
2539 # test to see if srcdir already configured
2540 if test -f $srcdir/config.status
; then
2541 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2542 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2543 { (exit 1); exit 1; }; }
2547 # test whether we have cygpath
2548 if test -z "$CYGPATH_W"; then
2549 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2550 CYGPATH_W
='cygpath -w'
2557 # Define the identity of the package.
2558 PACKAGE
='netbsd-iscsi'
2562 cat >>confdefs.h
<<_ACEOF
2563 #define PACKAGE "$PACKAGE"
2567 cat >>confdefs.h
<<_ACEOF
2568 #define VERSION "$VERSION"
2571 # Some tools Automake needs.
2573 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2576 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2579 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2582 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2585 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2587 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2589 # Installed binaries are usually stripped using `strip' when the user
2590 # run `make install-strip'. However `strip' might not be the right
2591 # tool to use in cross-compilation environments, therefore Automake
2592 # will honor the `STRIP' environment variable to overrule this program.
2593 if test "$cross_compiling" != no
; then
2594 if test -n "$ac_tool_prefix"; then
2595 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2596 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2597 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2598 $as_echo_n "checking for $ac_word... " >&6; }
2599 if test "${ac_cv_prog_STRIP+set}" = set; then
2600 $as_echo_n "(cached) " >&6
2602 if test -n "$STRIP"; then
2603 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir
=.
2610 for ac_exec_ext
in '' $ac_executable_extensions; do
2611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2613 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 STRIP
=$ac_cv_prog_STRIP
2623 if test -n "$STRIP"; then
2624 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2625 $as_echo "$STRIP" >&6; }
2627 { $as_echo "$as_me:$LINENO: result: no" >&5
2628 $as_echo "no" >&6; }
2633 if test -z "$ac_cv_prog_STRIP"; then
2635 # Extract the first word of "strip", so it can be a program name with args.
2636 set dummy strip
; ac_word
=$2
2637 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2638 $as_echo_n "checking for $ac_word... " >&6; }
2639 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2640 $as_echo_n "(cached) " >&6
2642 if test -n "$ac_ct_STRIP"; then
2643 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir
=.
2650 for ac_exec_ext
in '' $ac_executable_extensions; do
2651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2652 ac_cv_prog_ac_ct_STRIP
="strip"
2653 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2662 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2663 if test -n "$ac_ct_STRIP"; then
2664 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2665 $as_echo "$ac_ct_STRIP" >&6; }
2667 { $as_echo "$as_me:$LINENO: result: no" >&5
2668 $as_echo "no" >&6; }
2671 if test "x$ac_ct_STRIP" = x
; then
2674 case $cross_compiling:$ac_tool_warned in
2676 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2678 ac_tool_warned
=yes ;;
2683 STRIP
="$ac_cv_prog_STRIP"
2687 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2689 # We need awk for the "check" target. The system "awk" is bad on
2691 # Always define AMTAR for backward compatibility.
2693 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2695 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2701 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2702 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2703 # Check whether --enable-maintainer-mode was given.
2704 if test "${enable_maintainer_mode+set}" = set; then
2705 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2707 USE_MAINTAINER_MODE
=no
2710 { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2711 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2712 if test $USE_MAINTAINER_MODE = yes; then
2713 MAINTAINER_MODE_TRUE
=
2714 MAINTAINER_MODE_FALSE
='#'
2716 MAINTAINER_MODE_TRUE
='#'
2717 MAINTAINER_MODE_FALSE
=
2720 MAINT
=$MAINTAINER_MODE_TRUE
2724 # Make sure we can run config.sub.
2725 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2726 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2727 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2728 { (exit 1); exit 1; }; }
2730 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2731 $as_echo_n "checking build system type... " >&6; }
2732 if test "${ac_cv_build+set}" = set; then
2733 $as_echo_n "(cached) " >&6
2735 ac_build_alias
=$build_alias
2736 test "x$ac_build_alias" = x
&&
2737 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2738 test "x$ac_build_alias" = x
&&
2739 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2740 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2741 { (exit 1); exit 1; }; }
2742 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2743 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2744 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2745 { (exit 1); exit 1; }; }
2748 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2749 $as_echo "$ac_cv_build" >&6; }
2750 case $ac_cv_build in
2752 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2753 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2754 { (exit 1); exit 1; }; };;
2757 ac_save_IFS
=$IFS; IFS
='-'
2763 # Remember, the first character of IFS is used to create $*,
2764 # except with old shells:
2767 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2770 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2771 $as_echo_n "checking host system type... " >&6; }
2772 if test "${ac_cv_host+set}" = set; then
2773 $as_echo_n "(cached) " >&6
2775 if test "x$host_alias" = x
; then
2776 ac_cv_host
=$ac_cv_build
2778 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2779 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2780 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2781 { (exit 1); exit 1; }; }
2785 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2786 $as_echo "$ac_cv_host" >&6; }
2789 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2790 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2791 { (exit 1); exit 1; }; };;
2794 ac_save_IFS
=$IFS; IFS
='-'
2800 # Remember, the first character of IFS is used to create $*,
2801 # except with old shells:
2804 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2807 CANONICAL_HOST
=$host
2810 # Find a good install program. We prefer a C program (faster),
2811 # so one script is as good as another. But avoid the broken or
2812 # incompatible versions:
2813 # SysV /etc/install, /usr/sbin/install
2814 # SunOS /usr/etc/install
2815 # IRIX /sbin/install
2817 # AmigaOS /C/install, which installs bootblocks on floppy discs
2818 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2819 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2820 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2821 # OS/2's system install, which has a completely different semantic
2822 # ./install, which can be erroneously created by make from ./install.sh.
2823 # Reject install programs that cannot install multiple files.
2824 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2825 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2826 if test -z "$INSTALL"; then
2827 if test "${ac_cv_path_install+set}" = set; then
2828 $as_echo_n "(cached) " >&6
2830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir
=.
2835 # Account for people who put trailing slashes in PATH elements.
2837 .
/ | .
// |
/cC
/* | \
2838 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2839 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2842 # OSF1 and SCO ODT 3.0 have their own names for install.
2843 # Don't use installbsd from OSF since it installs stuff as root
2845 for ac_prog
in ginstall scoinst
install; do
2846 for ac_exec_ext
in '' $ac_executable_extensions; do
2847 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2848 if test $ac_prog = install &&
2849 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2850 # AIX install. It has an incompatible calling convention.
2852 elif test $ac_prog = install &&
2853 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2854 # program-specific install script used by HP pwplus--don't use.
2857 rm -rf conftest.one conftest.two conftest.dir
2858 echo one
> conftest.one
2859 echo two
> conftest.two
2861 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2862 test -s conftest.one
&& test -s conftest.two
&&
2863 test -s conftest.dir
/conftest.one
&&
2864 test -s conftest.dir
/conftest.two
2866 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2879 rm -rf conftest.one conftest.two conftest.dir
2882 if test "${ac_cv_path_install+set}" = set; then
2883 INSTALL
=$ac_cv_path_install
2885 # As a last resort, use the slow shell script. Don't cache a
2886 # value for INSTALL within a source directory, because that will
2887 # break other packages using the cache if that directory is
2888 # removed, or if the value is a relative name.
2889 INSTALL
=$ac_install_sh
2892 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2893 $as_echo "$INSTALL" >&6; }
2895 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2896 # It thinks the first close brace ends the variable substitution.
2897 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2899 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2901 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2904 ac_cpp
='$CPP $CPPFLAGS'
2905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2908 if test -n "$ac_tool_prefix"; then
2909 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2910 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2911 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2912 $as_echo_n "checking for $ac_word... " >&6; }
2913 if test "${ac_cv_prog_CC+set}" = set; then
2914 $as_echo_n "(cached) " >&6
2916 if test -n "$CC"; then
2917 ac_cv_prog_CC
="$CC" # Let the user override the test.
2919 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2923 test -z "$as_dir" && as_dir
=.
2924 for ac_exec_ext
in '' $ac_executable_extensions; do
2925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2926 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2927 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 if test -n "$CC"; then
2938 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2939 $as_echo "$CC" >&6; }
2941 { $as_echo "$as_me:$LINENO: result: no" >&5
2942 $as_echo "no" >&6; }
2947 if test -z "$ac_cv_prog_CC"; then
2949 # Extract the first word of "gcc", so it can be a program name with args.
2950 set dummy gcc
; ac_word
=$2
2951 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$ac_ct_CC"; then
2957 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2963 test -z "$as_dir" && as_dir
=.
2964 for ac_exec_ext
in '' $ac_executable_extensions; do
2965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966 ac_cv_prog_ac_ct_CC
="gcc"
2967 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2977 if test -n "$ac_ct_CC"; then
2978 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2979 $as_echo "$ac_ct_CC" >&6; }
2981 { $as_echo "$as_me:$LINENO: result: no" >&5
2982 $as_echo "no" >&6; }
2985 if test "x$ac_ct_CC" = x
; then
2988 case $cross_compiling:$ac_tool_warned in
2990 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2991 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2992 ac_tool_warned
=yes ;;
3000 if test -z "$CC"; then
3001 if test -n "$ac_tool_prefix"; then
3002 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3003 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3004 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3005 $as_echo_n "checking for $ac_word... " >&6; }
3006 if test "${ac_cv_prog_CC+set}" = set; then
3007 $as_echo_n "(cached) " >&6
3009 if test -n "$CC"; then
3010 ac_cv_prog_CC
="$CC" # Let the user override the test.
3012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3016 test -z "$as_dir" && as_dir
=.
3017 for ac_exec_ext
in '' $ac_executable_extensions; do
3018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3019 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3020 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3030 if test -n "$CC"; then
3031 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3032 $as_echo "$CC" >&6; }
3034 { $as_echo "$as_me:$LINENO: result: no" >&5
3035 $as_echo "no" >&6; }
3041 if test -z "$CC"; then
3042 # Extract the first word of "cc", so it can be a program name with args.
3043 set dummy cc
; ac_word
=$2
3044 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3045 $as_echo_n "checking for $ac_word... " >&6; }
3046 if test "${ac_cv_prog_CC+set}" = set; then
3047 $as_echo_n "(cached) " >&6
3049 if test -n "$CC"; then
3050 ac_cv_prog_CC
="$CC" # Let the user override the test.
3053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3057 test -z "$as_dir" && as_dir
=.
3058 for ac_exec_ext
in '' $ac_executable_extensions; do
3059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3060 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3061 ac_prog_rejected
=yes
3065 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 if test $ac_prog_rejected = yes; then
3073 # We found a bogon in the path, so make sure we never use it.
3074 set dummy
$ac_cv_prog_CC
3076 if test $# != 0; then
3077 # We chose a different compiler from the bogus one.
3078 # However, it has the same basename, so the bogon will be chosen
3079 # first if we set CC to just the basename; use the full file name.
3081 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3087 if test -n "$CC"; then
3088 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3089 $as_echo "$CC" >&6; }
3091 { $as_echo "$as_me:$LINENO: result: no" >&5
3092 $as_echo "no" >&6; }
3097 if test -z "$CC"; then
3098 if test -n "$ac_tool_prefix"; then
3099 for ac_prog
in cl.exe
3101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3102 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3103 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3104 $as_echo_n "checking for $ac_word... " >&6; }
3105 if test "${ac_cv_prog_CC+set}" = set; then
3106 $as_echo_n "(cached) " >&6
3108 if test -n "$CC"; then
3109 ac_cv_prog_CC
="$CC" # Let the user override the test.
3111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3115 test -z "$as_dir" && as_dir
=.
3116 for ac_exec_ext
in '' $ac_executable_extensions; do
3117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3118 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3119 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 if test -n "$CC"; then
3130 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3131 $as_echo "$CC" >&6; }
3133 { $as_echo "$as_me:$LINENO: result: no" >&5
3134 $as_echo "no" >&6; }
3138 test -n "$CC" && break
3141 if test -z "$CC"; then
3143 for ac_prog
in cl.exe
3145 # Extract the first word of "$ac_prog", so it can be a program name with args.
3146 set dummy
$ac_prog; ac_word
=$2
3147 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3148 $as_echo_n "checking for $ac_word... " >&6; }
3149 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3150 $as_echo_n "(cached) " >&6
3152 if test -n "$ac_ct_CC"; then
3153 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir
=.
3160 for ac_exec_ext
in '' $ac_executable_extensions; do
3161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3162 ac_cv_prog_ac_ct_CC
="$ac_prog"
3163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3172 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3173 if test -n "$ac_ct_CC"; then
3174 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3175 $as_echo "$ac_ct_CC" >&6; }
3177 { $as_echo "$as_me:$LINENO: result: no" >&5
3178 $as_echo "no" >&6; }
3182 test -n "$ac_ct_CC" && break
3185 if test "x$ac_ct_CC" = x
; then
3188 case $cross_compiling:$ac_tool_warned in
3190 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3192 ac_tool_warned
=yes ;;
3201 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3203 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3204 See \`config.log' for more details." >&5
3205 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3206 See \`config.log' for more details." >&2;}
3207 { (exit 1); exit 1; }; }; }
3209 # Provide some information about the compiler.
3210 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3213 { (ac_try
="$ac_compiler --version >&5"
3215 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3219 $as_echo "$ac_try_echo") >&5
3220 (eval "$ac_compiler --version >&5") 2>&5
3222 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }
3224 { (ac_try="$ac_compiler -v >&5"
3226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3227 *) ac_try_echo
=$ac_try;;
3229 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3230 $as_echo "$ac_try_echo") >&5
3231 (eval "$ac_compiler -v >&5") 2>&5
3233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }
3235 { (ac_try
="$ac_compiler -V >&5"
3237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3238 *) ac_try_echo=$ac_try;;
3240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3241 $as_echo "$ac_try_echo") >&5
3242 (eval "$ac_compiler -V >&5") 2>&5
3244 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); }
3247 cat >conftest.$ac_ext <<_ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3262 ac_clean_files_save=$ac_clean_files
3263 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3264 # Try to create an executable without -o first, disregard a.out.
3265 # It will help us diagnose broken compilers, and finding out an intuition
3267 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3268 $as_echo_n "checking for C compiler default output file name... " >&6; }
3269 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3271 # The possible output files:
3272 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3275 for ac_file in $ac_files
3278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3279 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3284 if { (ac_try="$ac_link_default"
3286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3287 *) ac_try_echo
=$ac_try;;
3289 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3290 $as_echo "$ac_try_echo") >&5
3291 (eval "$ac_link_default") 2>&5
3293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }; then
3295 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3296 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3297 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3298 # so that the user can short-circuit this test for compilers unknown to
3300 for ac_file
in $ac_files ''
3302 test -f "$ac_file" ||
continue
3304 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3307 # We found the default executable, but exeext='' is most
3311 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3313 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3315 # We set ac_cv_exeext here because the later test for it is not
3316 # safe: cross compilers may not add the suffix if given an `-o'
3317 # argument, so we may need to know it at that point already.
3318 # Even if this section looks crufty: it has the advantage of
3325 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3331 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3332 $as_echo "$ac_file" >&6; }
3333 if test -z "$ac_file"; then
3334 $as_echo "$as_me: failed program was:" >&5
3335 sed 's/^/| /' conftest.
$ac_ext >&5
3337 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3340 See \`config.log' for more details." >&5
3341 $as_echo "$as_me: error: C compiler cannot create executables
3342 See \`config.log' for more details." >&2;}
3343 { (exit 77); exit 77; }; }; }
3346 ac_exeext
=$ac_cv_exeext
3348 # Check that the compiler produces executables we can run. If not, either
3349 # the compiler is broken, or we cross compile.
3350 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3351 $as_echo_n "checking whether the C compiler works... " >&6; }
3352 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3353 # If not cross compiling, check that we can run a simple program.
3354 if test "$cross_compiling" != yes; then
3355 if { ac_try
='./$ac_file'
3356 { (case "(($ac_try" in
3357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3361 $as_echo "$ac_try_echo") >&5
3362 (eval "$ac_try") 2>&5
3364 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; }; then
3368 if test "$cross_compiling" = maybe; then
3371 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3373 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
3374 If you meant to cross compile
, use \
`--host'.
3375 See \`config.log
' for more details." >&5
3376 $as_echo "$as_me: error: cannot run C compiled programs.
3377 If you meant to cross compile, use \`--host'.
3378 See \
`config.log' for more details." >&2;}
3379 { (exit 1); exit 1; }; }; }
3383 { $as_echo "$as_me:$LINENO: result: yes" >&5
3384 $as_echo "yes" >&6; }
3386 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3387 ac_clean_files=$ac_clean_files_save
3388 # Check that the compiler produces executables we can run. If not, either
3389 # the compiler is broken, or we cross compile.
3390 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3391 $as_echo_n "checking whether we are cross compiling... " >&6; }
3392 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3393 $as_echo "$cross_compiling" >&6; }
3395 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3396 $as_echo_n "checking for suffix of executables... " >&6; }
3397 if { (ac_try="$ac_link"
3399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3400 *) ac_try_echo
=$ac_try;;
3402 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3403 $as_echo "$ac_try_echo") >&5
3404 (eval "$ac_link") 2>&5
3406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; then
3408 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3409 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3410 # work properly (i.e., refer to `conftest.exe'), while it won't with
3412 for ac_file
in conftest.exe conftest conftest.
*; do
3413 test -f "$ac_file" ||
continue
3415 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3416 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3422 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3424 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3425 See \`config.log' for more details." >&5
3426 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3427 See \`config.log' for more details." >&2;}
3428 { (exit 1); exit 1; }; }; }
3431 rm -f conftest
$ac_cv_exeext
3432 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3433 $as_echo "$ac_cv_exeext" >&6; }
3435 rm -f conftest.
$ac_ext
3436 EXEEXT
=$ac_cv_exeext
3438 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3439 $as_echo_n "checking for suffix of object files... " >&6; }
3440 if test "${ac_cv_objext+set}" = set; then
3441 $as_echo_n "(cached) " >&6
3443 cat >conftest.
$ac_ext <<_ACEOF
3446 cat confdefs.h
>>conftest.
$ac_ext
3447 cat >>conftest.
$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3458 rm -f conftest.o conftest.obj
3459 if { (ac_try
="$ac_compile"
3461 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3462 *) ac_try_echo=$ac_try;;
3464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3465 $as_echo "$ac_try_echo") >&5
3466 (eval "$ac_compile") 2>&5
3468 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }; then
3470 for ac_file in conftest.o conftest.obj conftest.*; do
3471 test -f "$ac_file" || continue;
3473 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3474 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3479 $as_echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3482 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3484 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3485 See \
`config.log' for more details." >&5
3486 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3487 See \`config.log
' for more details." >&2;}
3488 { (exit 1); exit 1; }; }; }
3491 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3493 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3494 $as_echo "$ac_cv_objext" >&6; }
3495 OBJEXT=$ac_cv_objext
3497 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3498 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3499 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3500 $as_echo_n "(cached) " >&6
3502 cat >conftest.$ac_ext <<_ACEOF
3505 cat confdefs.h >>conftest.$ac_ext
3506 cat >>conftest.$ac_ext <<_ACEOF
3507 /* end confdefs.h. */
3520 rm -f conftest.$ac_objext
3521 if { (ac_try="$ac_compile"
3523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3524 *) ac_try_echo=$ac_try;;
3526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3527 $as_echo "$ac_try_echo") >&5
3528 (eval "$ac_compile") 2>conftest.er1
3530 grep -v '^
*+' conftest.er1 >conftest.err
3532 cat conftest.err >&5
3533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3534 (exit $ac_status); } && {
3535 test -z "$ac_c_werror_flag" ||
3536 test ! -s conftest.err
3537 } && test -s conftest.$ac_objext; then
3540 $as_echo "$as_me: failed program was:" >&5
3541 sed 's
/^
/|
/' conftest.$ac_ext >&5
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3550 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3551 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3552 if test $ac_compiler_gnu = yes; then
3557 ac_test_CFLAGS=${CFLAGS+set}
3558 ac_save_CFLAGS=$CFLAGS
3559 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3560 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3561 if test "${ac_cv_prog_cc_g+set}" = set; then
3562 $as_echo_n "(cached) " >&6
3564 ac_save_c_werror_flag=$ac_c_werror_flag
3565 ac_c_werror_flag=yes
3568 cat >conftest.$ac_ext <<_ACEOF
3571 cat confdefs.h >>conftest.$ac_ext
3572 cat >>conftest.$ac_ext <<_ACEOF
3573 /* end confdefs.h. */
3583 rm -f conftest.$ac_objext
3584 if { (ac_try="$ac_compile"
3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3590 $as_echo "$ac_try_echo") >&5
3591 (eval "$ac_compile") 2>conftest.er1
3593 grep -v '^
*+' conftest.er1 >conftest.err
3595 cat conftest.err >&5
3596 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } && {
3598 test -z "$ac_c_werror_flag" ||
3599 test ! -s conftest.err
3600 } && test -s conftest.$ac_objext; then
3603 $as_echo "$as_me: failed program was:" >&5
3604 sed 's
/^
/|
/' conftest.$ac_ext >&5
3607 cat >conftest.$ac_ext <<_ACEOF
3610 cat confdefs.h >>conftest.$ac_ext
3611 cat >>conftest.$ac_ext <<_ACEOF
3612 /* end confdefs.h. */
3622 rm -f conftest.$ac_objext
3623 if { (ac_try="$ac_compile"
3625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626 *) ac_try_echo=$ac_try;;
3628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3629 $as_echo "$ac_try_echo") >&5
3630 (eval "$ac_compile") 2>conftest.er1
3632 grep -v '^
*+' conftest.er1 >conftest.err
3634 cat conftest.err >&5
3635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); } && {
3637 test -z "$ac_c_werror_flag" ||
3638 test ! -s conftest.err
3639 } && test -s conftest.$ac_objext; then
3642 $as_echo "$as_me: failed program was:" >&5
3643 sed 's
/^
/|
/' conftest.$ac_ext >&5
3645 ac_c_werror_flag=$ac_save_c_werror_flag
3647 cat >conftest.$ac_ext <<_ACEOF
3650 cat confdefs.h >>conftest.$ac_ext
3651 cat >>conftest.$ac_ext <<_ACEOF
3652 /* end confdefs.h. */
3662 rm -f conftest.$ac_objext
3663 if { (ac_try="$ac_compile"
3665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3666 *) ac_try_echo=$ac_try;;
3668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3669 $as_echo "$ac_try_echo") >&5
3670 (eval "$ac_compile") 2>conftest.er1
3672 grep -v '^
*+' conftest.er1 >conftest.err
3674 cat conftest.err >&5
3675 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); } && {
3677 test -z "$ac_c_werror_flag" ||
3678 test ! -s conftest.err
3679 } && test -s conftest.$ac_objext; then
3682 $as_echo "$as_me: failed program was:" >&5
3683 sed 's
/^
/|
/' conftest.$ac_ext >&5
3688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3695 ac_c_werror_flag=$ac_save_c_werror_flag
3697 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3698 $as_echo "$ac_cv_prog_cc_g" >&6; }
3699 if test "$ac_test_CFLAGS" = set; then
3700 CFLAGS=$ac_save_CFLAGS
3701 elif test $ac_cv_prog_cc_g = yes; then
3702 if test "$GCC" = yes; then
3708 if test "$GCC" = yes; then
3714 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3715 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3716 if test "${ac_cv_prog_cc_c89+set}" = set; then
3717 $as_echo_n "(cached) " >&6
3719 ac_cv_prog_cc_c89=no
3721 cat >conftest.$ac_ext <<_ACEOF
3724 cat confdefs.h >>conftest.$ac_ext
3725 cat >>conftest.$ac_ext <<_ACEOF
3726 /* end confdefs.h. */
3729 #include <sys/types.h>
3730 #include <sys/stat.h>
3731 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3732 struct buf
{ int x
; };
3733 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3734 static char
*e
(p
, i
)
3740 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3745 s
= g
(p
, va_arg
(v
,int
));
3750 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3751 function prototypes and stuff
, but not
'\xHH' hex character constants.
3752 These don
't provoke an error unfortunately, instead are silently treated
3753 as 'x
'. The following induces an error, until -std is added to get
3754 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3755 array size at least. It's necessary to
write '\x00'==0 to get something
3756 that
's true only with -std. */
3757 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3759 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3760 inside strings and character constants. */
3762 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3764 int test (int i, double x);
3765 struct s1 {int (*f) (int a);};
3766 struct s2 {int (*f) (double a);};
3767 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3773 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3778 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3779 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3781 CC="$ac_save_CC $ac_arg"
3782 rm -f conftest.$ac_objext
3783 if { (ac_try="$ac_compile"
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3789 $as_echo "$ac_try_echo") >&5
3790 (eval "$ac_compile") 2>conftest.er1
3792 grep -v '^
*+' conftest.er1 >conftest.err
3794 cat conftest.err >&5
3795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3796 (exit $ac_status); } && {
3797 test -z "$ac_c_werror_flag" ||
3798 test ! -s conftest.err
3799 } && test -s conftest.$ac_objext; then
3800 ac_cv_prog_cc_c89=$ac_arg
3802 $as_echo "$as_me: failed program was:" >&5
3803 sed 's
/^
/|
/' conftest.$ac_ext >&5
3808 rm -f core conftest.err conftest.$ac_objext
3809 test "x$ac_cv_prog_cc_c89" != "xno" && break
3811 rm -f conftest.$ac_ext
3816 case "x$ac_cv_prog_cc_c89" in
3818 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3819 $as_echo "none needed" >&6; } ;;
3821 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3822 $as_echo "unsupported" >&6; } ;;
3824 CC="$CC $ac_cv_prog_cc_c89"
3825 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3826 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3831 ac_cpp='$CPP $CPPFLAGS'
3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3833 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835 DEPDIR="${am__leading_dot}deps"
3837 ac_config_commands="$ac_config_commands depfiles"
3840 am_make=${MAKE-make}
3841 cat > confinc << 'END
'
3846 # If we don't
find an include directive
, just comment out the code.
3847 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3848 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3852 # First try GNU make style include.
3853 echo "include confinc" > confmf
3854 # We grep out `Entering directory' and `Leaving directory'
3855 # messages which can occur if `w' ends up in MAKEFLAGS.
3856 # In particular we don't look at `^make:' because GNU make might
3857 # be invoked under some other name (usually "gmake"), in which
3858 # case it prints its new name instead of `make'.
3859 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3864 # Now try BSD make style include.
3865 if test "$am__include" = "#"; then
3866 echo '.include "confinc"' > confmf
3867 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3868 am__include
=.include
3875 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3876 $as_echo "$_am_result" >&6; }
3877 rm -f confinc confmf
3879 # Check whether --enable-dependency-tracking was given.
3880 if test "${enable_dependency_tracking+set}" = set; then
3881 enableval
=$enable_dependency_tracking;
3884 if test "x$enable_dependency_tracking" != xno
; then
3885 am_depcomp
="$ac_aux_dir/depcomp"
3888 if test "x$enable_dependency_tracking" != xno; then
3898 depcc
="$CC" am_compiler_list
=
3900 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3901 $as_echo_n "checking dependency style of $depcc... " >&6; }
3902 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3903 $as_echo_n "(cached) " >&6
3905 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3906 # We make a subdir and do the tests there. Otherwise we can end up
3907 # making bogus files that we don't know about and never remove. For
3908 # instance it was reported that on HP-UX the gcc test will end up
3909 # making a dummy file named `D' -- because `-MD' means `put the output
3912 # Copy depcomp to subdir because otherwise we won't find it if we're
3913 # using a relative directory.
3914 cp "$am_depcomp" conftest.dir
3916 # We will build objects and dependencies in a subdirectory because
3917 # it helps to detect inapplicable dependency modes. For instance
3918 # both Tru64's cc and ICC support -MD to output dependencies as a
3919 # side effect of compilation, but ICC will put the dependencies in
3920 # the current directory while Tru64 will put them in the object
3924 am_cv_CC_dependencies_compiler_type
=none
3925 if test "$am_compiler_list" = ""; then
3926 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3928 for depmode
in $am_compiler_list; do
3929 # Setup a source with many dependencies, because some compilers
3930 # like to wrap large dependency lists on column 80 (with \), and
3931 # we should not choose a depcomp mode which is confused by this.
3933 # We need to recreate these files for each test, as the compiler may
3934 # overwrite some of them when testing with obscure command lines.
3935 # This happens at least with the AIX C compiler.
3937 for i
in 1 2 3 4 5 6; do
3938 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3939 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3940 # Solaris 8's {/usr,}/bin/sh.
3941 touch sub
/conftst
$i.h
3943 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3947 # after this tag, mechanisms are not by side-effect, so they'll
3948 # only be used when explicitly requested
3949 if test "x$enable_dependency_tracking" = xyes
; then
3957 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3958 # mode. It turns out that the SunPro C++ compiler does not properly
3959 # handle `-M -o', and we need to detect this.
3960 if depmode
=$depmode \
3961 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3962 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3963 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3964 >/dev
/null
2>conftest.err
&&
3965 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3966 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3967 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3968 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3969 # icc doesn't choke on unknown options, it will just issue warnings
3970 # or remarks (even with -Werror). So we grep stderr for any message
3971 # that says an option was ignored or not supported.
3972 # When given -MP, icc 7.0 and 7.1 complain thusly:
3973 # icc: Command line warning: ignoring option '-M'; no argument required
3974 # The diagnosis changed in icc 8.0:
3975 # icc: Command line remark: option '-MP' not supported
3976 if (grep 'ignoring option' conftest.err ||
3977 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3978 am_cv_CC_dependencies_compiler_type
=$depmode
3987 am_cv_CC_dependencies_compiler_type
=none
3991 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3992 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3993 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3996 test "x$enable_dependency_tracking" != xno \
3997 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3999 am__fastdepCC_FALSE
='#'
4001 am__fastdepCC_TRUE
='#'
4002 am__fastdepCC_FALSE
=
4006 if test -n "$ac_tool_prefix"; then
4007 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4008 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4009 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4010 $as_echo_n "checking for $ac_word... " >&6; }
4011 if test "${ac_cv_prog_RANLIB+set}" = set; then
4012 $as_echo_n "(cached) " >&6
4014 if test -n "$RANLIB"; then
4015 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4021 test -z "$as_dir" && as_dir
=.
4022 for ac_exec_ext
in '' $ac_executable_extensions; do
4023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4024 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4025 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4034 RANLIB
=$ac_cv_prog_RANLIB
4035 if test -n "$RANLIB"; then
4036 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
4037 $as_echo "$RANLIB" >&6; }
4039 { $as_echo "$as_me:$LINENO: result: no" >&5
4040 $as_echo "no" >&6; }
4045 if test -z "$ac_cv_prog_RANLIB"; then
4046 ac_ct_RANLIB
=$RANLIB
4047 # Extract the first word of "ranlib", so it can be a program name with args.
4048 set dummy ranlib
; ac_word
=$2
4049 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4050 $as_echo_n "checking for $ac_word... " >&6; }
4051 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4052 $as_echo_n "(cached) " >&6
4054 if test -n "$ac_ct_RANLIB"; then
4055 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4061 test -z "$as_dir" && as_dir
=.
4062 for ac_exec_ext
in '' $ac_executable_extensions; do
4063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4064 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4065 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4074 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4075 if test -n "$ac_ct_RANLIB"; then
4076 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4077 $as_echo "$ac_ct_RANLIB" >&6; }
4079 { $as_echo "$as_me:$LINENO: result: no" >&5
4080 $as_echo "no" >&6; }
4083 if test "x$ac_ct_RANLIB" = x
; then
4086 case $cross_compiling:$ac_tool_warned in
4088 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4090 ac_tool_warned
=yes ;;
4092 RANLIB
=$ac_ct_RANLIB
4095 RANLIB
="$ac_cv_prog_RANLIB"
4098 # Check whether --enable-shared was given.
4099 if test "${enable_shared+set}" = set; then
4100 enableval
=$enable_shared; p
=${PACKAGE-default}
4102 yes) enable_shared
=yes ;;
4103 no
) enable_shared
=no
;;
4106 # Look at the argument we got. We use all the common list separators.
4107 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4108 for pkg
in $enableval; do
4110 if test "X$pkg" = "X$p"; then
4122 # Check whether --enable-static was given.
4123 if test "${enable_static+set}" = set; then
4124 enableval
=$enable_static; p
=${PACKAGE-default}
4126 yes) enable_static
=yes ;;
4127 no
) enable_static
=no
;;
4130 # Look at the argument we got. We use all the common list separators.
4131 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4132 for pkg
in $enableval; do
4134 if test "X$pkg" = "X$p"; then
4146 # Check whether --enable-fast-install was given.
4147 if test "${enable_fast_install+set}" = set; then
4148 enableval
=$enable_fast_install; p
=${PACKAGE-default}
4150 yes) enable_fast_install
=yes ;;
4151 no
) enable_fast_install
=no
;;
4153 enable_fast_install
=no
4154 # Look at the argument we got. We use all the common list separators.
4155 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
4156 for pkg
in $enableval; do
4158 if test "X$pkg" = "X$p"; then
4159 enable_fast_install
=yes
4166 enable_fast_install
=yes
4170 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4171 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4172 if test "${lt_cv_path_SED+set}" = set; then
4173 $as_echo_n "(cached) " >&6
4175 # Loop through the user's path and test for sed and gsed.
4176 # Then use that list of sed's as ones to test for truncation.
4177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4181 test -z "$as_dir" && as_dir
=.
4182 for lt_ac_prog
in sed gsed
; do
4183 for ac_exec_ext
in '' $ac_executable_extensions; do
4184 if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4185 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4193 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4194 # along with /bin/sed that truncates output.
4195 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
4196 test ! -f $lt_ac_sed && continue
4197 cat /dev
/null
> conftest.
in
4199 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
4200 # Check for GNU sed and select it if it is found.
4201 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
4202 lt_cv_path_SED
=$lt_ac_sed
4206 cat conftest.
in conftest.
in >conftest.tmp
4207 mv conftest.tmp conftest.
in
4208 cp conftest.
in conftest.
nl
4210 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
4211 cmp -s conftest.out conftest.
nl ||
break
4212 # 10000 chars as input seems more than enough
4213 test $lt_ac_count -gt 10 && break
4214 lt_ac_count
=`expr $lt_ac_count + 1`
4215 if test $lt_ac_count -gt $lt_ac_max; then
4216 lt_ac_max
=$lt_ac_count
4217 lt_cv_path_SED
=$lt_ac_sed
4226 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4227 $as_echo "$SED" >&6; }
4229 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4230 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4231 if test "${ac_cv_path_GREP+set}" = set; then
4232 $as_echo_n "(cached) " >&6
4234 if test -z "$GREP"; then
4235 ac_path_GREP_found
=false
4236 # Loop through the user's path and test for each of PROGNAME-LIST
4237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4241 test -z "$as_dir" && as_dir
=.
4242 for ac_prog
in grep ggrep
; do
4243 for ac_exec_ext
in '' $ac_executable_extensions; do
4244 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4245 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4246 # Check for GNU ac_path_GREP and select it if it is found.
4247 # Check for GNU $ac_path_GREP
4248 case `"$ac_path_GREP" --version 2>&1` in
4250 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4253 $as_echo_n 0123456789 >"conftest.in"
4256 cat "conftest.in" "conftest.in" >"conftest.tmp"
4257 mv "conftest.tmp" "conftest.in"
4258 cp "conftest.in" "conftest.nl"
4259 $as_echo 'GREP' >> "conftest.nl"
4260 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4261 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4262 ac_count
=`expr $ac_count + 1`
4263 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4264 # Best one so far, save it but keep looking for a better one
4265 ac_cv_path_GREP
="$ac_path_GREP"
4266 ac_path_GREP_max
=$ac_count
4268 # 10*(2^10) chars as input seems more than enough
4269 test $ac_count -gt 10 && break
4271 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4274 $ac_path_GREP_found && break 3
4279 if test -z "$ac_cv_path_GREP"; then
4280 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4281 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4282 { (exit 1); exit 1; }; }
4285 ac_cv_path_GREP
=$GREP
4289 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4290 $as_echo "$ac_cv_path_GREP" >&6; }
4291 GREP
="$ac_cv_path_GREP"
4294 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4295 $as_echo_n "checking for egrep... " >&6; }
4296 if test "${ac_cv_path_EGREP+set}" = set; then
4297 $as_echo_n "(cached) " >&6
4299 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4300 then ac_cv_path_EGREP
="$GREP -E"
4302 if test -z "$EGREP"; then
4303 ac_path_EGREP_found
=false
4304 # Loop through the user's path and test for each of PROGNAME-LIST
4305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4306 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4309 test -z "$as_dir" && as_dir
=.
4310 for ac_prog
in egrep; do
4311 for ac_exec_ext
in '' $ac_executable_extensions; do
4312 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4313 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4314 # Check for GNU ac_path_EGREP and select it if it is found.
4315 # Check for GNU $ac_path_EGREP
4316 case `"$ac_path_EGREP" --version 2>&1` in
4318 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4321 $as_echo_n 0123456789 >"conftest.in"
4324 cat "conftest.in" "conftest.in" >"conftest.tmp"
4325 mv "conftest.tmp" "conftest.in"
4326 cp "conftest.in" "conftest.nl"
4327 $as_echo 'EGREP' >> "conftest.nl"
4328 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4329 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4330 ac_count
=`expr $ac_count + 1`
4331 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4332 # Best one so far, save it but keep looking for a better one
4333 ac_cv_path_EGREP
="$ac_path_EGREP"
4334 ac_path_EGREP_max
=$ac_count
4336 # 10*(2^10) chars as input seems more than enough
4337 test $ac_count -gt 10 && break
4339 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4342 $ac_path_EGREP_found && break 3
4347 if test -z "$ac_cv_path_EGREP"; then
4348 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4349 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4350 { (exit 1); exit 1; }; }
4353 ac_cv_path_EGREP
=$EGREP
4358 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4359 $as_echo "$ac_cv_path_EGREP" >&6; }
4360 EGREP
="$ac_cv_path_EGREP"
4364 # Check whether --with-gnu-ld was given.
4365 if test "${with_gnu_ld+set}" = set; then
4366 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
4372 if test "$GCC" = yes; then
4373 # Check if gcc -print-prog-name=ld gives a path.
4374 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4375 $as_echo_n "checking for ld used by $CC... " >&6; }
4378 # gcc leaves a trailing carriage return which upsets mingw
4379 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4381 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4384 # Accept absolute paths.
4386 re_direlt
='/[^/][^/]*/\.\./'
4387 # Canonicalize the pathname of ld
4388 ac_prog
=`echo $ac_prog| $SED 's%\\\\%/%g'`
4389 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
4390 ac_prog
=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4392 test -z "$LD" && LD
="$ac_prog"
4395 # If it fails, then pretend we aren't using GCC.
4399 # If it is relative, then search for the first ld in PATH.
4403 elif test "$with_gnu_ld" = yes; then
4404 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4405 $as_echo_n "checking for GNU ld... " >&6; }
4407 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4408 $as_echo_n "checking for non-GNU ld... " >&6; }
4410 if test "${lt_cv_path_LD+set}" = set; then
4411 $as_echo_n "(cached) " >&6
4413 if test -z "$LD"; then
4414 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4415 for ac_dir
in $PATH; do
4417 test -z "$ac_dir" && ac_dir
=.
4418 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4419 lt_cv_path_LD
="$ac_dir/$ac_prog"
4420 # Check to see if the program is GNU ld. I'd rather use --version,
4421 # but apparently some variants of GNU ld only accept -v.
4422 # Break only if it was the GNU/non-GNU ld that we prefer.
4423 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4424 *GNU
* |
*'with BFD'*)
4425 test "$with_gnu_ld" != no
&& break
4428 test "$with_gnu_ld" != yes && break
4435 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4440 if test -n "$LD"; then
4441 { $as_echo "$as_me:$LINENO: result: $LD" >&5
4442 $as_echo "$LD" >&6; }
4444 { $as_echo "$as_me:$LINENO: result: no" >&5
4445 $as_echo "no" >&6; }
4447 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4448 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4449 { (exit 1); exit 1; }; }
4450 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4451 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4452 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4453 $as_echo_n "(cached) " >&6
4455 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4456 case `$LD -v 2>&1 </dev/null` in
4457 *GNU
* |
*'with BFD'*)
4458 lt_cv_prog_gnu_ld
=yes
4461 lt_cv_prog_gnu_ld
=no
4465 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4466 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4467 with_gnu_ld
=$lt_cv_prog_gnu_ld
4470 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4471 $as_echo_n "checking for $LD option to reload object files... " >&6; }
4472 if test "${lt_cv_ld_reload_flag+set}" = set; then
4473 $as_echo_n "(cached) " >&6
4475 lt_cv_ld_reload_flag
='-r'
4477 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4478 $as_echo "$lt_cv_ld_reload_flag" >&6; }
4479 reload_flag
=$lt_cv_ld_reload_flag
4480 case $reload_flag in
4482 *) reload_flag
=" $reload_flag" ;;
4484 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4487 if test "$GCC" = yes; then
4488 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4490 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
4495 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4496 $as_echo_n "checking for BSD-compatible nm... " >&6; }
4497 if test "${lt_cv_path_NM+set}" = set; then
4498 $as_echo_n "(cached) " >&6
4500 if test -n "$NM"; then
4501 # Let the user override the test.
4504 lt_nm_to_check
="${ac_tool_prefix}nm"
4505 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4506 lt_nm_to_check
="$lt_nm_to_check nm"
4508 for lt_tmp_nm
in $lt_nm_to_check; do
4509 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4510 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4512 test -z "$ac_dir" && ac_dir
=.
4513 tmp_nm
="$ac_dir/$lt_tmp_nm"
4514 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4515 # Check to see if the nm accepts a BSD-compat flag.
4516 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4517 # nm: unknown option "B" ignored
4518 # Tru64's nm complains that /dev/null is an invalid object file
4519 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4520 */dev
/null
* |
*'Invalid file or object type'*)
4521 lt_cv_path_NM
="$tmp_nm -B"
4525 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4527 lt_cv_path_NM
="$tmp_nm -p"
4531 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4532 continue # so that we can try to find one that supports BSD flags
4541 test -z "$lt_cv_path_NM" && lt_cv_path_NM
=nm
4544 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4545 $as_echo "$lt_cv_path_NM" >&6; }
4548 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4549 $as_echo_n "checking whether ln -s works... " >&6; }
4551 if test "$LN_S" = "ln -s"; then
4552 { $as_echo "$as_me:$LINENO: result: yes" >&5
4553 $as_echo "yes" >&6; }
4555 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4556 $as_echo "no, using $LN_S" >&6; }
4559 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4560 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
4561 if test "${lt_cv_deplibs_check_method+set}" = set; then
4562 $as_echo_n "(cached) " >&6
4564 lt_cv_file_magic_cmd
='$MAGIC_CMD'
4565 lt_cv_file_magic_test_file
=
4566 lt_cv_deplibs_check_method
='unknown'
4567 # Need to set the preceding variable on all platforms that support
4568 # interlibrary dependencies.
4569 # 'none' -- dependencies not supported.
4570 # `unknown' -- same as none, but documents that we really don't know.
4571 # 'pass_all' -- all dependencies passed with no checks.
4572 # 'test_compile' -- check by making test program.
4573 # 'file_magic [[regex]]' -- check by looking for files in library path
4574 # which responds to the $file_magic_cmd with a given extended regex.
4575 # If you have `file' or equivalent on your system and you're not sure
4576 # whether `pass_all' will *always* work, you probably want this one.
4580 lt_cv_deplibs_check_method
=pass_all
4584 lt_cv_deplibs_check_method
=pass_all
4588 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4589 lt_cv_file_magic_cmd
='/usr/bin/file -L'
4590 lt_cv_file_magic_test_file
=/shlib
/libc.so
4594 # func_win32_libid is a shell function defined in ltmain.sh
4595 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4596 lt_cv_file_magic_cmd
='func_win32_libid'
4600 # Base MSYS/MinGW do not provide the 'file' command needed by
4601 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4602 # unless we find 'file', for example because we are cross-compiling.
4603 if ( file / ) >/dev
/null
2>&1; then
4604 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
4605 lt_cv_file_magic_cmd
='func_win32_libid'
4607 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
4608 lt_cv_file_magic_cmd
='$OBJDUMP -f'
4612 darwin
* | rhapsody
*)
4613 lt_cv_deplibs_check_method
=pass_all
4616 freebsd
* | dragonfly
*)
4617 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4620 # Not sure whether the presence of OpenBSD here was a mistake.
4621 # Let's accept both of them until this is cleared up.
4622 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4623 lt_cv_file_magic_cmd
=/usr
/bin
/file
4624 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
4628 lt_cv_deplibs_check_method
=pass_all
4633 lt_cv_deplibs_check_method
=pass_all
4636 hpux10.20
* | hpux11
*)
4637 lt_cv_file_magic_cmd
=/usr
/bin
/file
4640 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4641 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
4644 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]'
4645 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
4648 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4649 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
4655 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4656 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
4659 irix5
* | irix6
* | nonstopux
*)
4661 *-32|
*"-32 ") libmagic
=32-bit;;
4662 *-n32|
*"-n32 ") libmagic
=N32
;;
4663 *-64|
*"-64 ") libmagic
=64-bit;;
4664 *) libmagic
=never-match
;;
4666 lt_cv_deplibs_check_method
=pass_all
4669 # This must be Linux ELF.
4670 linux
* | k
*bsd
*-gnu)
4671 lt_cv_deplibs_check_method
=pass_all
4675 if echo __ELF__ |
$CC -E - |
grep __ELF__
> /dev
/null
; then
4676 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4678 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4683 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4684 lt_cv_file_magic_cmd
=/usr
/bin
/file
4685 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
4689 lt_cv_deplibs_check_method
=unknown
4693 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4694 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4696 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4700 osf3
* | osf4
* | osf5
*)
4701 lt_cv_deplibs_check_method
=pass_all
4705 lt_cv_deplibs_check_method
=pass_all
4709 lt_cv_deplibs_check_method
=pass_all
4713 case $host_vendor in
4715 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]'
4716 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
4719 lt_cv_deplibs_check_method
=pass_all
4722 lt_cv_file_magic_cmd
='/bin/file'
4723 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4726 lt_cv_file_magic_cmd
='/bin/file'
4727 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4728 lt_cv_file_magic_test_file
=/lib
/libc.so
4731 lt_cv_deplibs_check_method
=pass_all
4734 lt_cv_deplibs_check_method
=pass_all
4739 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
4740 lt_cv_deplibs_check_method
=pass_all
4745 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4746 $as_echo "$lt_cv_deplibs_check_method" >&6; }
4747 file_magic_cmd
=$lt_cv_file_magic_cmd
4748 deplibs_check_method
=$lt_cv_deplibs_check_method
4749 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
4754 # If no C compiler was specified, use CC.
4757 # If no C compiler flags were specified, use CFLAGS.
4758 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
4760 # Allow CC to be a program name with arguments.
4764 # Check whether --enable-libtool-lock was given.
4765 if test "${enable_libtool_lock+set}" = set; then
4766 enableval
=$enable_libtool_lock;
4769 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
4771 # Some flags need to be propagated to the compiler or linker for good
4775 # Find out which ABI we are using.
4776 echo 'int i;' > conftest.
$ac_ext
4777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4778 (eval $ac_compile) 2>&5
4780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; then
4782 case `/usr/bin/file conftest.$ac_objext` in
4794 # Find out which ABI we are using.
4795 echo '#line 4795 "configure"' > conftest.
$ac_ext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4797 (eval $ac_compile) 2>&5
4799 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); }; then
4801 if test "$lt_cv_prog_gnu_ld" = yes; then
4802 case `/usr/bin/file conftest.$ac_objext` in
4804 LD
="${LD-ld} -melf32bsmip"
4807 LD
="${LD-ld} -melf32bmipn32"
4810 LD
="${LD-ld} -melf64bmip"
4814 case `/usr/bin/file conftest.$ac_objext` in
4830 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|ppc
*-*linux
*|powerpc
*-*linux
*| \
4831 s390
*-*linux
*|sparc
*-*linux
*)
4832 # Find out which ABI we are using.
4833 echo 'int i;' > conftest.
$ac_ext
4834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4835 (eval $ac_compile) 2>&5
4837 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; then
4839 case `/usr/bin/file conftest.o` in
4842 x86_64-
*kfreebsd
*-gnu)
4843 LD
="${LD-ld} -m elf_i386_fbsd"
4846 LD
="${LD-ld} -m elf_i386"
4848 ppc64-
*linux
*|powerpc64-
*linux
*)
4849 LD
="${LD-ld} -m elf32ppclinux"
4852 LD
="${LD-ld} -m elf_s390"
4855 LD
="${LD-ld} -m elf32_sparc"
4861 x86_64-
*kfreebsd
*-gnu)
4862 LD
="${LD-ld} -m elf_x86_64_fbsd"
4865 LD
="${LD-ld} -m elf_x86_64"
4867 ppc
*-*linux
*|powerpc
*-*linux
*)
4868 LD
="${LD-ld} -m elf64ppc"
4871 LD
="${LD-ld} -m elf64_s390"
4874 LD
="${LD-ld} -m elf64_sparc"
4884 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4885 SAVE_CFLAGS
="$CFLAGS"
4886 CFLAGS
="$CFLAGS -belf"
4887 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4888 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
4889 if test "${lt_cv_cc_needs_belf+set}" = set; then
4890 $as_echo_n "(cached) " >&6
4893 ac_cpp
='$CPP $CPPFLAGS'
4894 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4895 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4896 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4898 cat >conftest.
$ac_ext <<_ACEOF
4901 cat confdefs.h
>>conftest.
$ac_ext
4902 cat >>conftest.
$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4913 rm -f conftest.
$ac_objext conftest
$ac_exeext
4914 if { (ac_try
="$ac_link"
4916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4917 *) ac_try_echo=$ac_try;;
4919 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4920 $as_echo "$ac_try_echo") >&5
4921 (eval "$ac_link") 2>conftest.er1
4923 grep -v '^ *+' conftest.er1 >conftest.err
4925 cat conftest.err >&5
4926 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); } && {
4928 test -z "$ac_c_werror_flag" ||
4929 test ! -s conftest.err
4930 } && test -s conftest$ac_exeext && {
4931 test "$cross_compiling" = yes ||
4932 $as_test_x conftest$ac_exeext
4934 lt_cv_cc_needs_belf=yes
4936 $as_echo "$as_me: failed program was:" >&5
4937 sed 's/^/| /' conftest.$ac_ext >&5
4939 lt_cv_cc_needs_belf=no
4942 rm -rf conftest.dSYM
4943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4944 conftest$ac_exeext conftest.$ac_ext
4946 ac_cpp='$CPP $CPPFLAGS'
4947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4952 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4953 $as_echo "$lt_cv_cc_needs_belf" >&6; }
4954 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4955 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4956 CFLAGS="$SAVE_CFLAGS"
4960 # Find out which ABI we are using.
4961 echo 'int i;' > conftest.$ac_ext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4963 (eval $ac_compile) 2>&5
4965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }; then
4967 case `/usr
/bin
/file conftest.o
` in
4969 case $lt_cv_prog_gnu_ld in
4970 yes*) LD="${LD-ld} -m elf64_sparc" ;;
4971 *) LD="${LD-ld} -64" ;;
4982 need_locks="$enable_libtool_lock"
4986 ac_cpp='$CPP $CPPFLAGS'
4987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4990 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4991 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4992 # On Suns, sometimes $CPP names a directory.
4993 if test -n "$CPP" && test -d "$CPP"; then
4996 if test -z "$CPP"; then
4997 if test "${ac_cv_prog_CPP+set}" = set; then
4998 $as_echo_n "(cached) " >&6
5000 # Double quotes because CPP needs to be expanded
5001 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5004 for ac_c_preproc_warn_flag in '' yes
5006 # Use a header file that comes with gcc, so configuring glibc
5007 # with a fresh cross-compiler works.
5008 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5009 # <limits.h> exists even on freestanding compilers.
5010 # On the NeXT, cc -E runs the code through the compiler's parser,
5011 # not just through cpp. "Syntax error" is here to catch this case.
5012 cat >conftest.$ac_ext <<_ACEOF
5015 cat confdefs.h >>conftest.$ac_ext
5016 cat >>conftest.$ac_ext <<_ACEOF
5017 /* end confdefs.h. */
5019 # include <limits.h>
5021 # include <assert.h>
5025 if { (ac_try="$ac_cpp conftest.$ac_ext"
5027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5028 *) ac_try_echo
=$ac_try;;
5030 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5031 $as_echo "$ac_try_echo") >&5
5032 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5034 grep -v '^ *+' conftest.er1
>conftest.err
5036 cat conftest.err
>&5
5037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 (exit $ac_status); } >/dev
/null
&& {
5039 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5040 test ! -s conftest.err
5044 $as_echo "$as_me: failed program was:" >&5
5045 sed 's/^/| /' conftest.
$ac_ext >&5
5047 # Broken: fails on valid input.
5051 rm -f conftest.err conftest.
$ac_ext
5053 # OK, works on sane cases. Now check whether nonexistent headers
5054 # can be detected and how.
5055 cat >conftest.
$ac_ext <<_ACEOF
5058 cat confdefs.h
>>conftest.
$ac_ext
5059 cat >>conftest.
$ac_ext <<_ACEOF
5060 /* end confdefs.h. */
5061 #include <ac_nonexistent.h>
5063 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5066 *) ac_try_echo=$ac_try;;
5068 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5069 $as_echo "$ac_try_echo") >&5
5070 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5072 grep -v '^ *+' conftest.er1 >conftest.err
5074 cat conftest.err >&5
5075 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); } >/dev/null && {
5077 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5078 test ! -s conftest.err
5080 # Broken: success on invalid input.
5083 $as_echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.$ac_ext >&5
5086 # Passes both tests.
5091 rm -f conftest.err conftest.$ac_ext
5094 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5095 rm -f conftest.err conftest.
$ac_ext
5096 if $ac_preproc_ok; then
5108 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
5109 $as_echo "$CPP" >&6; }
5111 for ac_c_preproc_warn_flag
in '' yes
5113 # Use a header file that comes with gcc, so configuring glibc
5114 # with a fresh cross-compiler works.
5115 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5116 # <limits.h> exists even on freestanding compilers.
5117 # On the NeXT, cc -E runs the code through the compiler's parser,
5118 # not just through cpp. "Syntax error" is here to catch this case.
5119 cat >conftest.
$ac_ext <<_ACEOF
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5126 # include <limits.h>
5128 # include <assert.h>
5132 if { (ac_try
="$ac_cpp conftest.$ac_ext"
5134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5135 *) ac_try_echo=$ac_try;;
5137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5138 $as_echo "$ac_try_echo") >&5
5139 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5141 grep -v '^ *+' conftest.er1 >conftest.err
5143 cat conftest.err >&5
5144 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); } >/dev/null && {
5146 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5147 test ! -s conftest.err
5151 $as_echo "$as_me: failed program was:" >&5
5152 sed 's/^/| /' conftest.$ac_ext >&5
5154 # Broken: fails on valid input.
5158 rm -f conftest.err conftest.$ac_ext
5160 # OK, works on sane cases. Now check whether nonexistent headers
5161 # can be detected and how.
5162 cat >conftest.$ac_ext <<_ACEOF
5165 cat confdefs.h >>conftest.$ac_ext
5166 cat >>conftest.$ac_ext <<_ACEOF
5167 /* end confdefs.h. */
5168 #include <ac_nonexistent.h>
5170 if { (ac_try="$ac_cpp conftest.$ac_ext"
5172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5173 *) ac_try_echo
=$ac_try;;
5175 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5176 $as_echo "$ac_try_echo") >&5
5177 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5179 grep -v '^ *+' conftest.er1
>conftest.err
5181 cat conftest.err
>&5
5182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); } >/dev
/null
&& {
5184 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5185 test ! -s conftest.err
5187 # Broken: success on invalid input.
5190 $as_echo "$as_me: failed program was:" >&5
5191 sed 's/^/| /' conftest.
$ac_ext >&5
5193 # Passes both tests.
5198 rm -f conftest.err conftest.
$ac_ext
5201 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5202 rm -f conftest.err conftest.
$ac_ext
5203 if $ac_preproc_ok; then
5206 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5208 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5209 See \`config.log' for more details." >&5
5210 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5211 See \`config.log' for more details." >&2;}
5212 { (exit 1); exit 1; }; }; }
5216 ac_cpp
='$CPP $CPPFLAGS'
5217 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5218 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5219 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5222 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5223 $as_echo_n "checking for ANSI C header files... " >&6; }
5224 if test "${ac_cv_header_stdc+set}" = set; then
5225 $as_echo_n "(cached) " >&6
5227 cat >conftest.
$ac_ext <<_ACEOF
5230 cat confdefs.h
>>conftest.
$ac_ext
5231 cat >>conftest.
$ac_ext <<_ACEOF
5232 /* end confdefs.h. */
5246 rm -f conftest.
$ac_objext
5247 if { (ac_try
="$ac_compile"
5249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5250 *) ac_try_echo=$ac_try;;
5252 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5253 $as_echo "$ac_try_echo") >&5
5254 (eval "$ac_compile") 2>conftest.er1
5256 grep -v '^ *+' conftest.er1 >conftest.err
5258 cat conftest.err >&5
5259 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); } && {
5261 test -z "$ac_c_werror_flag" ||
5262 test ! -s conftest.err
5263 } && test -s conftest.$ac_objext; then
5264 ac_cv_header_stdc=yes
5266 $as_echo "$as_me: failed program was:" >&5
5267 sed 's/^/| /' conftest.$ac_ext >&5
5269 ac_cv_header_stdc=no
5272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5274 if test $ac_cv_header_stdc = yes; then
5275 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5276 cat >conftest.$ac_ext <<_ACEOF
5279 cat confdefs.h >>conftest.$ac_ext
5280 cat >>conftest.$ac_ext <<_ACEOF
5281 /* end confdefs.h. */
5285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5286 $EGREP "memchr" >/dev/null 2>&1; then
5289 ac_cv_header_stdc=no
5295 if test $ac_cv_header_stdc = yes; then
5296 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5297 cat >conftest.$ac_ext <<_ACEOF
5300 cat confdefs.h >>conftest.$ac_ext
5301 cat >>conftest.$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5307 $EGREP "free" >/dev/null 2>&1; then
5310 ac_cv_header_stdc=no
5316 if test $ac_cv_header_stdc = yes; then
5317 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5318 if test "$cross_compiling" = yes; then
5321 cat >conftest.$ac_ext <<_ACEOF
5324 cat confdefs.h >>conftest.$ac_ext
5325 cat >>conftest.$ac_ext <<_ACEOF
5326 /* end confdefs.h. */
5329 #if ((' ' & 0x0FF) == 0x020)
5330 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5331 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5333 # define ISLOWER(c) \
5334 (('a' <= (c) && (c) <= 'i') \
5335 || ('j' <= (c) && (c) <= 'r') \
5336 || ('s' <= (c) && (c) <= 'z'))
5337 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5340 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5345 for (i = 0; i < 256; i++)
5346 if (XOR (islower (i), ISLOWER (i))
5347 || toupper (i) != TOUPPER (i))
5352 rm -f conftest$ac_exeext
5353 if { (ac_try="$ac_link"
5355 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5356 *) ac_try_echo
=$ac_try;;
5358 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5359 $as_echo "$ac_try_echo") >&5
5360 (eval "$ac_link") 2>&5
5362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5364 { (case "(($ac_try" in
5365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5366 *) ac_try_echo=$ac_try;;
5368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5369 $as_echo "$ac_try_echo") >&5
5370 (eval "$ac_try") 2>&5
5372 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); }; }; then
5376 $as_echo "$as_me: program exited with status $ac_status" >&5
5377 $as_echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.$ac_ext >&5
5381 ac_cv_header_stdc=no
5383 rm -rf conftest.dSYM
5384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5390 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5391 $as_echo "$ac_cv_header_stdc" >&6; }
5392 if test $ac_cv_header_stdc = yes; then
5394 cat >>confdefs.h <<\_ACEOF
5395 #define STDC_HEADERS 1
5400 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5410 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5411 inttypes.h stdint.h unistd.h
5413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5414 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5415 $as_echo_n "checking for $ac_header... " >&6; }
5416 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5417 $as_echo_n "(cached) " >&6
5419 cat >conftest.$ac_ext <<_ACEOF
5422 cat confdefs.h >>conftest.$ac_ext
5423 cat >>conftest.$ac_ext <<_ACEOF
5424 /* end confdefs.h. */
5425 $ac_includes_default
5427 #include <$ac_header>
5429 rm -f conftest.$ac_objext
5430 if { (ac_try="$ac_compile"
5432 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5433 *) ac_try_echo
=$ac_try;;
5435 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5436 $as_echo "$ac_try_echo") >&5
5437 (eval "$ac_compile") 2>conftest.er1
5439 grep -v '^ *+' conftest.er1
>conftest.err
5441 cat conftest.err
>&5
5442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); } && {
5444 test -z "$ac_c_werror_flag" ||
5445 test ! -s conftest.err
5446 } && test -s conftest.
$ac_objext; then
5447 eval "$as_ac_Header=yes"
5449 $as_echo "$as_me: failed program was:" >&5
5450 sed 's/^/| /' conftest.
$ac_ext >&5
5452 eval "$as_ac_Header=no"
5455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5457 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5458 $as_echo "$as_val"'`
5459 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5460 $as_echo "$ac_res" >&6; }
5461 as_val
=`eval 'as_val=${'$as_ac_Header'}
5462 $as_echo "$as_val"'`
5463 if test "x$as_val" = x
""yes; then
5464 cat >>confdefs.h
<<_ACEOF
5465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5474 for ac_header
in dlfcn.h
5476 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5477 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5478 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5479 $as_echo_n "checking for $ac_header... " >&6; }
5480 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5481 $as_echo_n "(cached) " >&6
5483 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5484 $as_echo "$as_val"'`
5485 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5486 $as_echo "$ac_res" >&6; }
5488 # Is the header compilable?
5489 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5490 $as_echo_n "checking $ac_header usability... " >&6; }
5491 cat >conftest.
$ac_ext <<_ACEOF
5494 cat confdefs.h
>>conftest.
$ac_ext
5495 cat >>conftest.
$ac_ext <<_ACEOF
5496 /* end confdefs.h. */
5497 $ac_includes_default
5498 #include <$ac_header>
5500 rm -f conftest.
$ac_objext
5501 if { (ac_try
="$ac_compile"
5503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5504 *) ac_try_echo=$ac_try;;
5506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5507 $as_echo "$ac_try_echo") >&5
5508 (eval "$ac_compile") 2>conftest.er1
5510 grep -v '^ *+' conftest.er1 >conftest.err
5512 cat conftest.err >&5
5513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); } && {
5515 test -z "$ac_c_werror_flag" ||
5516 test ! -s conftest.err
5517 } && test -s conftest.$ac_objext; then
5518 ac_header_compiler=yes
5520 $as_echo "$as_me: failed program was:" >&5
5521 sed 's/^/| /' conftest.$ac_ext >&5
5523 ac_header_compiler=no
5526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5527 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5528 $as_echo "$ac_header_compiler" >&6; }
5530 # Is the header present?
5531 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5532 $as_echo_n "checking $ac_header presence... " >&6; }
5533 cat >conftest.$ac_ext <<_ACEOF
5536 cat confdefs.h >>conftest.$ac_ext
5537 cat >>conftest.$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 #include <$ac_header>
5541 if { (ac_try="$ac_cpp conftest.$ac_ext"
5543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5544 *) ac_try_echo
=$ac_try;;
5546 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5547 $as_echo "$ac_try_echo") >&5
5548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5550 grep -v '^ *+' conftest.er1
>conftest.err
5552 cat conftest.err
>&5
5553 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); } >/dev
/null
&& {
5555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5556 test ! -s conftest.err
5558 ac_header_preproc
=yes
5560 $as_echo "$as_me: failed program was:" >&5
5561 sed 's/^/| /' conftest.
$ac_ext >&5
5563 ac_header_preproc
=no
5566 rm -f conftest.err conftest.
$ac_ext
5567 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5568 $as_echo "$ac_header_preproc" >&6; }
5570 # So? What about this header?
5571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5573 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5574 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5575 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5576 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5577 ac_header_preproc
=yes
5580 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5581 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5582 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5583 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5584 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5585 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5586 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5587 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5588 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5589 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5590 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5591 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5593 ## ----------------------------------------------- ##
5594 ## Report this to Alistair Crooks <agc@NetBSD.org> ##
5595 ## ----------------------------------------------- ##
5597 ) |
sed "s/^/$as_me: WARNING: /" >&2
5600 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5601 $as_echo_n "checking for $ac_header... " >&6; }
5602 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5603 $as_echo_n "(cached) " >&6
5605 eval "$as_ac_Header=\$ac_header_preproc"
5607 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5608 $as_echo "$as_val"'`
5609 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5610 $as_echo "$ac_res" >&6; }
5613 as_val
=`eval 'as_val=${'$as_ac_Header'}
5614 $as_echo "$as_val"'`
5615 if test "x$as_val" = x
""yes; then
5616 cat >>confdefs.h
<<_ACEOF
5617 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5625 ac_cpp
='$CXXCPP $CPPFLAGS'
5626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5629 if test -z "$CXX"; then
5630 if test -n "$CCC"; then
5633 if test -n "$ac_tool_prefix"; then
5634 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5637 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5639 $as_echo_n "checking for $ac_word... " >&6; }
5640 if test "${ac_cv_prog_CXX+set}" = set; then
5641 $as_echo_n "(cached) " >&6
5643 if test -n "$CXX"; then
5644 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5650 test -z "$as_dir" && as_dir
=.
5651 for ac_exec_ext
in '' $ac_executable_extensions; do
5652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5653 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
5654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 if test -n "$CXX"; then
5665 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
5666 $as_echo "$CXX" >&6; }
5668 { $as_echo "$as_me:$LINENO: result: no" >&5
5669 $as_echo "no" >&6; }
5673 test -n "$CXX" && break
5676 if test -z "$CXX"; then
5678 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
5680 # Extract the first word of "$ac_prog", so it can be a program name with args.
5681 set dummy
$ac_prog; ac_word
=$2
5682 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5683 $as_echo_n "checking for $ac_word... " >&6; }
5684 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5685 $as_echo_n "(cached) " >&6
5687 if test -n "$ac_ct_CXX"; then
5688 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
5690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5694 test -z "$as_dir" && as_dir
=.
5695 for ac_exec_ext
in '' $ac_executable_extensions; do
5696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5697 ac_cv_prog_ac_ct_CXX
="$ac_prog"
5698 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
5708 if test -n "$ac_ct_CXX"; then
5709 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5710 $as_echo "$ac_ct_CXX" >&6; }
5712 { $as_echo "$as_me:$LINENO: result: no" >&5
5713 $as_echo "no" >&6; }
5717 test -n "$ac_ct_CXX" && break
5720 if test "x$ac_ct_CXX" = x
; then
5723 case $cross_compiling:$ac_tool_warned in
5725 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5727 ac_tool_warned
=yes ;;
5735 # Provide some information about the compiler.
5736 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5739 { (ac_try
="$ac_compiler --version >&5"
5741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5742 *) ac_try_echo=$ac_try;;
5744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5745 $as_echo "$ac_try_echo") >&5
5746 (eval "$ac_compiler --version >&5") 2>&5
5748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }
5750 { (ac_try="$ac_compiler -v >&5"
5752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5753 *) ac_try_echo
=$ac_try;;
5755 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5756 $as_echo "$ac_try_echo") >&5
5757 (eval "$ac_compiler -v >&5") 2>&5
5759 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5760 (exit $ac_status); }
5761 { (ac_try
="$ac_compiler -V >&5"
5763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5764 *) ac_try_echo=$ac_try;;
5766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5767 $as_echo "$ac_try_echo") >&5
5768 (eval "$ac_compiler -V >&5") 2>&5
5770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); }
5773 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5774 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5775 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5776 $as_echo_n "(cached) " >&6
5778 cat >conftest.$ac_ext <<_ACEOF
5781 cat confdefs.h >>conftest.$ac_ext
5782 cat >>conftest.$ac_ext <<_ACEOF
5783 /* end confdefs.h. */
5796 rm -f conftest.$ac_objext
5797 if { (ac_try="$ac_compile"
5799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5800 *) ac_try_echo
=$ac_try;;
5802 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5803 $as_echo "$ac_try_echo") >&5
5804 (eval "$ac_compile") 2>conftest.er1
5806 grep -v '^ *+' conftest.er1
>conftest.err
5808 cat conftest.err
>&5
5809 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); } && {
5811 test -z "$ac_cxx_werror_flag" ||
5812 test ! -s conftest.err
5813 } && test -s conftest.
$ac_objext; then
5816 $as_echo "$as_me: failed program was:" >&5
5817 sed 's/^/| /' conftest.
$ac_ext >&5
5822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5823 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
5826 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5827 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5828 if test $ac_compiler_gnu = yes; then
5833 ac_test_CXXFLAGS
=${CXXFLAGS+set}
5834 ac_save_CXXFLAGS
=$CXXFLAGS
5835 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5836 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5837 if test "${ac_cv_prog_cxx_g+set}" = set; then
5838 $as_echo_n "(cached) " >&6
5840 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
5841 ac_cxx_werror_flag
=yes
5844 cat >conftest.
$ac_ext <<_ACEOF
5847 cat confdefs.h
>>conftest.
$ac_ext
5848 cat >>conftest.
$ac_ext <<_ACEOF
5849 /* end confdefs.h. */
5859 rm -f conftest.
$ac_objext
5860 if { (ac_try
="$ac_compile"
5862 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5863 *) ac_try_echo=$ac_try;;
5865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5866 $as_echo "$ac_try_echo") >&5
5867 (eval "$ac_compile") 2>conftest.er1
5869 grep -v '^ *+' conftest.er1 >conftest.err
5871 cat conftest.err >&5
5872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); } && {
5874 test -z "$ac_cxx_werror_flag" ||
5875 test ! -s conftest.err
5876 } && test -s conftest.$ac_objext; then
5877 ac_cv_prog_cxx_g=yes
5879 $as_echo "$as_me: failed program was:" >&5
5880 sed 's/^/| /' conftest.$ac_ext >&5
5883 cat >conftest.$ac_ext <<_ACEOF
5886 cat confdefs.h >>conftest.$ac_ext
5887 cat >>conftest.$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5898 rm -f conftest.$ac_objext
5899 if { (ac_try="$ac_compile"
5901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5902 *) ac_try_echo
=$ac_try;;
5904 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5905 $as_echo "$ac_try_echo") >&5
5906 (eval "$ac_compile") 2>conftest.er1
5908 grep -v '^ *+' conftest.er1
>conftest.err
5910 cat conftest.err
>&5
5911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); } && {
5913 test -z "$ac_cxx_werror_flag" ||
5914 test ! -s conftest.err
5915 } && test -s conftest.
$ac_objext; then
5918 $as_echo "$as_me: failed program was:" >&5
5919 sed 's/^/| /' conftest.
$ac_ext >&5
5921 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5923 cat >conftest.
$ac_ext <<_ACEOF
5926 cat confdefs.h
>>conftest.
$ac_ext
5927 cat >>conftest.
$ac_ext <<_ACEOF
5928 /* end confdefs.h. */
5938 rm -f conftest.
$ac_objext
5939 if { (ac_try
="$ac_compile"
5941 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5942 *) ac_try_echo=$ac_try;;
5944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5945 $as_echo "$ac_try_echo") >&5
5946 (eval "$ac_compile") 2>conftest.er1
5948 grep -v '^ *+' conftest.er1 >conftest.err
5950 cat conftest.err >&5
5951 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); } && {
5953 test -z "$ac_cxx_werror_flag" ||
5954 test ! -s conftest.err
5955 } && test -s conftest.$ac_objext; then
5956 ac_cv_prog_cxx_g=yes
5958 $as_echo "$as_me: failed program was:" >&5
5959 sed 's/^/| /' conftest.$ac_ext >&5
5964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5971 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5973 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5974 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5975 if test "$ac_test_CXXFLAGS" = set; then
5976 CXXFLAGS=$ac_save_CXXFLAGS
5977 elif test $ac_cv_prog_cxx_g = yes; then
5978 if test "$GXX" = yes; then
5984 if test "$GXX" = yes; then
5991 ac_cpp='$CXXCPP $CPPFLAGS'
5992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5996 depcc="$CXX" am_compiler_list=
5998 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5999 $as_echo_n "checking dependency style of $depcc... " >&6; }
6000 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
6001 $as_echo_n "(cached) " >&6
6003 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6004 # We make a subdir and do the tests there. Otherwise we can end up
6005 # making bogus files that we don't know about and never remove. For
6006 # instance it was reported that on HP-UX the gcc test will end up
6007 # making a dummy file named `D
' -- because `-MD' means
`put the output
6010 # Copy depcomp to subdir because otherwise we won't find it if we're
6011 # using a relative directory.
6012 cp "$am_depcomp" conftest.dir
6014 # We will build objects and dependencies in a subdirectory because
6015 # it helps to detect inapplicable dependency modes. For instance
6016 # both Tru64's cc and ICC support -MD to output dependencies as a
6017 # side effect of compilation, but ICC will put the dependencies in
6018 # the current directory while Tru64 will put them in the object
6022 am_cv_CXX_dependencies_compiler_type=none
6023 if test "$am_compiler_list" = ""; then
6024 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
6026 for depmode in $am_compiler_list; do
6027 # Setup a source with many dependencies, because some compilers
6028 # like to wrap large dependency lists on column 80 (with \), and
6029 # we should not choose a depcomp mode which is confused by this.
6031 # We need to recreate these files for each test, as the compiler may
6032 # overwrite some of them when testing with obscure command lines.
6033 # This happens at least with the AIX C compiler.
6035 for i in 1 2 3 4 5 6; do
6036 echo '#include "conftst'$i'.h"' >> sub/conftest.c
6037 # Using `: > sub
/conftst
$i.h
' creates only sub/conftst1.h with
6038 # Solaris 8's
{/usr
,}/bin
/sh.
6039 touch sub
/conftst
$i.h
6041 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6045 # after this tag, mechanisms are not by side-effect, so they'll
6046 # only be used when explicitly requested
6047 if test "x$enable_dependency_tracking" = xyes
; then
6055 # We check with `-c' and `-o' for the sake of the "dashmstdout"
6056 # mode. It turns out that the SunPro C++ compiler does not properly
6057 # handle `-M -o', and we need to detect this.
6058 if depmode
=$depmode \
6059 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
6060 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
6061 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
6062 >/dev
/null
2>conftest.err
&&
6063 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6064 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
6065 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
6066 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
6067 # icc doesn't choke on unknown options, it will just issue warnings
6068 # or remarks (even with -Werror). So we grep stderr for any message
6069 # that says an option was ignored or not supported.
6070 # When given -MP, icc 7.0 and 7.1 complain thusly:
6071 # icc: Command line warning: ignoring option '-M'; no argument required
6072 # The diagnosis changed in icc 8.0:
6073 # icc: Command line remark: option '-MP' not supported
6074 if (grep 'ignoring option' conftest.err ||
6075 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
6076 am_cv_CXX_dependencies_compiler_type
=$depmode
6085 am_cv_CXX_dependencies_compiler_type
=none
6089 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
6090 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6091 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
6094 test "x$enable_dependency_tracking" != xno \
6095 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
6096 am__fastdepCXX_TRUE
=
6097 am__fastdepCXX_FALSE
='#'
6099 am__fastdepCXX_TRUE
='#'
6100 am__fastdepCXX_FALSE
=
6106 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6107 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6108 (test "X$CXX" != "Xg++"))) ; then
6110 ac_cpp
='$CXXCPP $CPPFLAGS'
6111 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6112 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6113 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6114 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6115 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
6116 if test -z "$CXXCPP"; then
6117 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6118 $as_echo_n "(cached) " >&6
6120 # Double quotes because CXXCPP needs to be expanded
6121 for CXXCPP
in "$CXX -E" "/lib/cpp"
6124 for ac_cxx_preproc_warn_flag
in '' yes
6126 # Use a header file that comes with gcc, so configuring glibc
6127 # with a fresh cross-compiler works.
6128 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6129 # <limits.h> exists even on freestanding compilers.
6130 # On the NeXT, cc -E runs the code through the compiler's parser,
6131 # not just through cpp. "Syntax error" is here to catch this case.
6132 cat >conftest.
$ac_ext <<_ACEOF
6135 cat confdefs.h
>>conftest.
$ac_ext
6136 cat >>conftest.
$ac_ext <<_ACEOF
6137 /* end confdefs.h. */
6139 # include <limits.h>
6141 # include <assert.h>
6145 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6148 *) ac_try_echo=$ac_try;;
6150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6151 $as_echo "$ac_try_echo") >&5
6152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6154 grep -v '^ *+' conftest.er1 >conftest.err
6156 cat conftest.err >&5
6157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); } >/dev/null && {
6159 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6160 test ! -s conftest.err
6164 $as_echo "$as_me: failed program was:" >&5
6165 sed 's/^/| /' conftest.$ac_ext >&5
6167 # Broken: fails on valid input.
6171 rm -f conftest.err conftest.$ac_ext
6173 # OK, works on sane cases. Now check whether nonexistent headers
6174 # can be detected and how.
6175 cat >conftest.$ac_ext <<_ACEOF
6178 cat confdefs.h >>conftest.$ac_ext
6179 cat >>conftest.$ac_ext <<_ACEOF
6180 /* end confdefs.h. */
6181 #include <ac_nonexistent.h>
6183 if { (ac_try="$ac_cpp conftest.$ac_ext"
6185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6186 *) ac_try_echo
=$ac_try;;
6188 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6189 $as_echo "$ac_try_echo") >&5
6190 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6192 grep -v '^ *+' conftest.er1
>conftest.err
6194 cat conftest.err
>&5
6195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); } >/dev
/null
&& {
6197 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6198 test ! -s conftest.err
6200 # Broken: success on invalid input.
6203 $as_echo "$as_me: failed program was:" >&5
6204 sed 's/^/| /' conftest.
$ac_ext >&5
6206 # Passes both tests.
6211 rm -f conftest.err conftest.
$ac_ext
6214 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6215 rm -f conftest.err conftest.
$ac_ext
6216 if $ac_preproc_ok; then
6221 ac_cv_prog_CXXCPP
=$CXXCPP
6224 CXXCPP
=$ac_cv_prog_CXXCPP
6226 ac_cv_prog_CXXCPP
=$CXXCPP
6228 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
6229 $as_echo "$CXXCPP" >&6; }
6231 for ac_cxx_preproc_warn_flag
in '' yes
6233 # Use a header file that comes with gcc, so configuring glibc
6234 # with a fresh cross-compiler works.
6235 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6236 # <limits.h> exists even on freestanding compilers.
6237 # On the NeXT, cc -E runs the code through the compiler's parser,
6238 # not just through cpp. "Syntax error" is here to catch this case.
6239 cat >conftest.
$ac_ext <<_ACEOF
6242 cat confdefs.h
>>conftest.
$ac_ext
6243 cat >>conftest.
$ac_ext <<_ACEOF
6244 /* end confdefs.h. */
6246 # include <limits.h>
6248 # include <assert.h>
6252 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6254 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6255 *) ac_try_echo=$ac_try;;
6257 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6258 $as_echo "$ac_try_echo") >&5
6259 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6261 grep -v '^ *+' conftest.er1 >conftest.err
6263 cat conftest.err >&5
6264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } >/dev/null && {
6266 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6267 test ! -s conftest.err
6271 $as_echo "$as_me: failed program was:" >&5
6272 sed 's/^/| /' conftest.$ac_ext >&5
6274 # Broken: fails on valid input.
6278 rm -f conftest.err conftest.$ac_ext
6280 # OK, works on sane cases. Now check whether nonexistent headers
6281 # can be detected and how.
6282 cat >conftest.$ac_ext <<_ACEOF
6285 cat confdefs.h >>conftest.$ac_ext
6286 cat >>conftest.$ac_ext <<_ACEOF
6287 /* end confdefs.h. */
6288 #include <ac_nonexistent.h>
6290 if { (ac_try="$ac_cpp conftest.$ac_ext"
6292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6293 *) ac_try_echo
=$ac_try;;
6295 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6296 $as_echo "$ac_try_echo") >&5
6297 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6299 grep -v '^ *+' conftest.er1
>conftest.err
6301 cat conftest.err
>&5
6302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); } >/dev
/null
&& {
6304 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6305 test ! -s conftest.err
6307 # Broken: success on invalid input.
6310 $as_echo "$as_me: failed program was:" >&5
6311 sed 's/^/| /' conftest.
$ac_ext >&5
6313 # Passes both tests.
6318 rm -f conftest.err conftest.
$ac_ext
6321 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6322 rm -f conftest.err conftest.
$ac_ext
6323 if $ac_preproc_ok; then
6326 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6328 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6329 See \`config.log' for more details." >&5
6330 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6331 See \`config.log' for more details." >&2;}
6332 { (exit 1); exit 1; }; }; }
6336 ac_cpp
='$CXXCPP $CPPFLAGS'
6337 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6338 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6339 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
6345 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6346 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6347 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
6348 if test -n "$ac_tool_prefix"; then
6349 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
6351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6352 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6353 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6354 $as_echo_n "checking for $ac_word... " >&6; }
6355 if test "${ac_cv_prog_F77+set}" = set; then
6356 $as_echo_n "(cached) " >&6
6358 if test -n "$F77"; then
6359 ac_cv_prog_F77
="$F77" # Let the user override the test.
6361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6365 test -z "$as_dir" && as_dir
=.
6366 for ac_exec_ext
in '' $ac_executable_extensions; do
6367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6368 ac_cv_prog_F77
="$ac_tool_prefix$ac_prog"
6369 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6379 if test -n "$F77"; then
6380 { $as_echo "$as_me:$LINENO: result: $F77" >&5
6381 $as_echo "$F77" >&6; }
6383 { $as_echo "$as_me:$LINENO: result: no" >&5
6384 $as_echo "no" >&6; }
6388 test -n "$F77" && break
6391 if test -z "$F77"; then
6393 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
6395 # Extract the first word of "$ac_prog", so it can be a program name with args.
6396 set dummy
$ac_prog; ac_word
=$2
6397 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6398 $as_echo_n "checking for $ac_word... " >&6; }
6399 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6400 $as_echo_n "(cached) " >&6
6402 if test -n "$ac_ct_F77"; then
6403 ac_cv_prog_ac_ct_F77
="$ac_ct_F77" # Let the user override the test.
6405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6409 test -z "$as_dir" && as_dir
=.
6410 for ac_exec_ext
in '' $ac_executable_extensions; do
6411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6412 ac_cv_prog_ac_ct_F77
="$ac_prog"
6413 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6422 ac_ct_F77
=$ac_cv_prog_ac_ct_F77
6423 if test -n "$ac_ct_F77"; then
6424 { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6425 $as_echo "$ac_ct_F77" >&6; }
6427 { $as_echo "$as_me:$LINENO: result: no" >&5
6428 $as_echo "no" >&6; }
6432 test -n "$ac_ct_F77" && break
6435 if test "x$ac_ct_F77" = x
; then
6438 case $cross_compiling:$ac_tool_warned in
6440 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6441 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6442 ac_tool_warned
=yes ;;
6449 # Provide some information about the compiler.
6450 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6453 { (ac_try
="$ac_compiler --version >&5"
6455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6456 *) ac_try_echo=$ac_try;;
6458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6459 $as_echo "$ac_try_echo") >&5
6460 (eval "$ac_compiler --version >&5") 2>&5
6462 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }
6464 { (ac_try="$ac_compiler -v >&5"
6466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6467 *) ac_try_echo
=$ac_try;;
6469 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6470 $as_echo "$ac_try_echo") >&5
6471 (eval "$ac_compiler -v >&5") 2>&5
6473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); }
6475 { (ac_try
="$ac_compiler -V >&5"
6477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6478 *) ac_try_echo=$ac_try;;
6480 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6481 $as_echo "$ac_try_echo") >&5
6482 (eval "$ac_compiler -V >&5") 2>&5
6484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); }
6488 # If we don't use `.F
' as extension, the preprocessor is not run on the
6489 # input file. (Note that this only needs to work for GNU compilers.)
6492 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6493 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
6494 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6495 $as_echo_n "(cached) " >&6
6497 cat >conftest.$ac_ext <<_ACEOF
6505 rm -f conftest.$ac_objext
6506 if { (ac_try="$ac_compile"
6508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6509 *) ac_try_echo=$ac_try;;
6511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6512 $as_echo "$ac_try_echo") >&5
6513 (eval "$ac_compile") 2>conftest.er1
6515 grep -v '^
*+' conftest.er1 >conftest.err
6517 cat conftest.err >&5
6518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); } && {
6520 test -z "$ac_f77_werror_flag" ||
6521 test ! -s conftest.err
6522 } && test -s conftest.$ac_objext; then
6525 $as_echo "$as_me: failed program was:" >&5
6526 sed 's
/^
/|
/' conftest.$ac_ext >&5
6531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6532 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6535 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6536 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
6538 ac_test_FFLAGS=${FFLAGS+set}
6539 ac_save_FFLAGS=$FFLAGS
6541 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6542 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
6543 if test "${ac_cv_prog_f77_g+set}" = set; then
6544 $as_echo_n "(cached) " >&6
6547 cat >conftest.$ac_ext <<_ACEOF
6552 rm -f conftest.$ac_objext
6553 if { (ac_try="$ac_compile"
6555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6556 *) ac_try_echo=$ac_try;;
6558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6559 $as_echo "$ac_try_echo") >&5
6560 (eval "$ac_compile") 2>conftest.er1
6562 grep -v '^
*+' conftest.er1 >conftest.err
6564 cat conftest.err >&5
6565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6566 (exit $ac_status); } && {
6567 test -z "$ac_f77_werror_flag" ||
6568 test ! -s conftest.err
6569 } && test -s conftest.$ac_objext; then
6570 ac_cv_prog_f77_g=yes
6572 $as_echo "$as_me: failed program was:" >&5
6573 sed 's
/^
/|
/' conftest.$ac_ext >&5
6578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6581 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6582 $as_echo "$ac_cv_prog_f77_g" >&6; }
6583 if test "$ac_test_FFLAGS" = set; then
6584 FFLAGS=$ac_save_FFLAGS
6585 elif test $ac_cv_prog_f77_g = yes; then
6586 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6592 if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6599 if test $ac_compiler_gnu = yes; then
6605 ac_cpp='$CPP $CPPFLAGS'
6606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
6607 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
6608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6612 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works
for C compilers
!
6614 # find the maximum length of command line arguments
6615 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6616 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6617 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6618 $as_echo_n "(cached) " >&6
6625 # On DJGPP, this test can blow up pretty badly due to problems in libc
6626 # (any single argument exceeding 2000 bytes causes a buffer overrun
6627 # during glob expansion). Even if it were fixed, the result of this
6628 # check would be larger than it should be.
6629 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6633 # Under GNU Hurd, this test is not required because there is
6634 # no limit to the length of command line arguments.
6635 # Libtool will interpret -1 as no limit whatsoever
6636 lt_cv_sys_max_cmd_len
=-1;
6640 # On Win9x/ME, this test blows up -- it succeeds, but takes
6641 # about 5 minutes as the teststring grows exponentially.
6642 # Worse, since 9x/ME are not pre-emptively multitasking,
6643 # you end up with a "frozen" computer, even though with patience
6644 # the test eventually succeeds (with a max line length of 256k).
6645 # Instead, let's just punt: use the minimum linelength reported by
6646 # all of the supported platforms: 8192 (on NT/2K/XP).
6647 lt_cv_sys_max_cmd_len
=8192;
6651 # On AmigaOS with pdksh, this test takes hours, literally.
6652 # So we just punt and use a minimum line length of 8192.
6653 lt_cv_sys_max_cmd_len
=8192;
6656 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6657 # This has been around since 386BSD, at least. Likely further.
6658 if test -x /sbin
/sysctl
; then
6659 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6660 elif test -x /usr
/sbin
/sysctl
; then
6661 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6663 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6665 # And add a safety zone
6666 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6667 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6671 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6672 lt_cv_sys_max_cmd_len
=196608
6676 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6677 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6678 # nice to cause kernel panics so lets avoid the loop below.
6679 # First set a reasonable default.
6680 lt_cv_sys_max_cmd_len
=16384
6682 if test -x /sbin
/sysconfig
; then
6683 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6684 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6689 lt_cv_sys_max_cmd_len
=102400
6691 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6692 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6693 if test -n "$kargmax"; then
6694 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6696 lt_cv_sys_max_cmd_len
=32768
6700 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6701 if test -n "$lt_cv_sys_max_cmd_len"; then
6702 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6703 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6705 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6706 while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6707 = "XX$teststring") >/dev
/null
2>&1 &&
6708 new_result
=`expr "X$teststring" : ".*" 2>&1` &&
6709 lt_cv_sys_max_cmd_len
=$new_result &&
6710 test $i != 17 # 1/2 MB should be enough
6713 teststring
=$teststring$teststring
6716 # Add a significant safety factor because C++ compilers can tack on massive
6717 # amounts of additional arguments before passing them to the linker.
6718 # It appears as though 1/2 is a usable value.
6719 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6726 if test -n $lt_cv_sys_max_cmd_len ; then
6727 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6728 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6730 { $as_echo "$as_me:$LINENO: result: none" >&5
6731 $as_echo "none" >&6; }
6738 # Check for command to grab the raw symbol name followed by C symbol from nm.
6739 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6740 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6741 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6742 $as_echo_n "(cached) " >&6
6745 # These are sane defaults that work on at least a few old systems.
6746 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6748 # Character class describing NM global symbol codes.
6749 symcode
='[BCDEGRST]'
6751 # Regexp to match symbols that can be accessed directly from C.
6752 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6754 # Transform an extracted symbol line into a proper C declaration
6755 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6757 # Transform an extracted symbol line into symbol name and symbol address
6758 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'"
6760 # Define system-specific variables.
6765 cygwin
* | mingw
* | pw32
*)
6766 symcode
='[ABCDGISTW]'
6768 hpux
*) # Its linker distinguishes data from code symbols
6769 if test "$host_cpu" = ia64
; then
6770 symcode
='[ABCDEGRST]'
6772 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6773 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'"
6775 linux
* | k
*bsd
*-gnu)
6776 if test "$host_cpu" = ia64
; then
6777 symcode
='[ABCDGIRSTW]'
6778 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6779 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'"
6783 symcode
='[BCDEGRST]'
6786 symcode
='[BCDEGQRST]'
6797 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6805 # Handle CRLF in mingw tool chain
6809 opt_cr
=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6813 # If we're using GNU nm, then use its standard symbol codes.
6814 case `$NM -V 2>&1` in
6815 *GNU
* |
*'with BFD'*)
6816 symcode
='[ABCDGIRSTW]' ;;
6819 # Try without a prefix undercore, then with it.
6820 for ac_symprfx
in "" "_"; do
6822 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6823 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6825 # Write the raw and C identifiers.
6826 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6828 # Check to see that the pipe works correctly.
6832 cat > conftest.
$ac_ext <<EOF
6837 void nm_test_func(){}
6841 int main(){nm_test_var='a';nm_test_func();return(0);}
6844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6845 (eval $ac_compile) 2>&5
6847 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; then
6849 # Now try to grab the symbols.
6851 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6852 (eval $NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist) 2>&5
6854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); } && test -s "$nlist"; then
6856 # Try sorting and uniquifying the output.
6857 if sort "$nlist" |
uniq > "$nlist"T
; then
6858 mv -f "$nlist"T
"$nlist"
6863 # Make sure that we snagged all the symbols we need.
6864 if grep ' nm_test_var$' "$nlist" >/dev
/null
; then
6865 if grep ' nm_test_func$' "$nlist" >/dev
/null
; then
6866 cat <<EOF > conftest.$ac_ext
6872 # Now generate the symbol file.
6873 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6875 cat <<EOF >> conftest.$ac_ext
6876 #if defined (__STDC__) && __STDC__
6877 # define lt_ptr_t void *
6879 # define lt_ptr_t char *
6883 /* The mapping between symbol names and symbols. */
6888 lt_preloaded_symbols[] =
6891 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" |
grep -v main
>> conftest.
$ac_ext
6892 cat <<\EOF
>> conftest.
$ac_ext
6900 # Now try linking the two files.
6901 mv conftest.
$ac_objext conftstm.
$ac_objext
6902 lt_save_LIBS
="$LIBS"
6903 lt_save_CFLAGS
="$CFLAGS"
6904 LIBS
="conftstm.$ac_objext"
6905 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6907 (eval $ac_link) 2>&5
6909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } && test -s conftest
${ac_exeext}; then
6913 LIBS
="$lt_save_LIBS"
6914 CFLAGS
="$lt_save_CFLAGS"
6916 echo "cannot find nm_test_func in $nlist" >&5
6919 echo "cannot find nm_test_var in $nlist" >&5
6922 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6925 echo "$progname: failed program was:" >&5
6926 cat conftest.
$ac_ext >&5
6928 rm -f conftest
* conftst
*
6930 # Do not use the global_symbol_pipe unless it works.
6931 if test "$pipe_works" = yes; then
6934 lt_cv_sys_global_symbol_pipe
=
6940 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6941 lt_cv_sys_global_symbol_to_cdecl
=
6943 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6944 { $as_echo "$as_me:$LINENO: result: failed" >&5
6945 $as_echo "failed" >&6; }
6947 { $as_echo "$as_me:$LINENO: result: ok" >&5
6948 $as_echo "ok" >&6; }
6951 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
6952 $as_echo_n "checking for objdir... " >&6; }
6953 if test "${lt_cv_objdir+set}" = set; then
6954 $as_echo_n "(cached) " >&6
6956 rm -f .libs
2>/dev
/null
6957 mkdir .libs
2>/dev
/null
6958 if test -d .libs
; then
6961 # MS-DOS does not allow filenames that begin with a dot.
6964 rmdir .libs
2>/dev
/null
6966 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6967 $as_echo "$lt_cv_objdir" >&6; }
6968 objdir
=$lt_cv_objdir
6976 # AIX sometimes has problems with the GCC collect2 program. For some
6977 # reason, if we set the COLLECT_NAMES environment variable, the problems
6978 # vanish in a puff of smoke.
6979 if test "X${COLLECT_NAMES+set}" != Xset
; then
6981 export COLLECT_NAMES
6986 # Sed substitution that helps us do robust quoting. It backslashifies
6987 # metacharacters that are still active within double-quoted strings.
6988 Xsed
='sed -e 1s/^X//'
6989 sed_quote_subst
='s/\([\\"\\`$\\\\]\)/\\\1/g'
6991 # Same as above, but do not quote variable references.
6992 double_quote_subst
='s/\([\\"\\`\\\\]\)/\\\1/g'
6994 # Sed substitution to delay expansion of an escaped shell variable in a
6995 # double_quote_subst'ed string.
6996 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
6998 # Sed substitution to avoid accidental globbing in evaled expressions
6999 no_glob_subst
='s/\*/\\\*/g'
7005 default_ofile
=libtool
7006 can_build_shared
=yes
7008 # All known linkers require a `.a' archive for static linking (except MSVC,
7009 # which needs '.lib').
7011 ltmain
="$ac_aux_dir/ltmain.sh"
7012 ofile
="$default_ofile"
7013 with_gnu_ld
="$lt_cv_prog_gnu_ld"
7015 if test -n "$ac_tool_prefix"; then
7016 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7017 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7018 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7019 $as_echo_n "checking for $ac_word... " >&6; }
7020 if test "${ac_cv_prog_AR+set}" = set; then
7021 $as_echo_n "(cached) " >&6
7023 if test -n "$AR"; then
7024 ac_cv_prog_AR
="$AR" # Let the user override the test.
7026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7030 test -z "$as_dir" && as_dir
=.
7031 for ac_exec_ext
in '' $ac_executable_extensions; do
7032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7033 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7034 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7044 if test -n "$AR"; then
7045 { $as_echo "$as_me:$LINENO: result: $AR" >&5
7046 $as_echo "$AR" >&6; }
7048 { $as_echo "$as_me:$LINENO: result: no" >&5
7049 $as_echo "no" >&6; }
7054 if test -z "$ac_cv_prog_AR"; then
7056 # Extract the first word of "ar", so it can be a program name with args.
7057 set dummy
ar; ac_word
=$2
7058 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7059 $as_echo_n "checking for $ac_word... " >&6; }
7060 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
7061 $as_echo_n "(cached) " >&6
7063 if test -n "$ac_ct_AR"; then
7064 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7070 test -z "$as_dir" && as_dir
=.
7071 for ac_exec_ext
in '' $ac_executable_extensions; do
7072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073 ac_cv_prog_ac_ct_AR
="ar"
7074 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7083 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7084 if test -n "$ac_ct_AR"; then
7085 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
7086 $as_echo "$ac_ct_AR" >&6; }
7088 { $as_echo "$as_me:$LINENO: result: no" >&5
7089 $as_echo "no" >&6; }
7092 if test "x$ac_ct_AR" = x
; then
7095 case $cross_compiling:$ac_tool_warned in
7097 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7099 ac_tool_warned
=yes ;;
7107 if test -n "$ac_tool_prefix"; then
7108 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7109 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
7110 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7111 $as_echo_n "checking for $ac_word... " >&6; }
7112 if test "${ac_cv_prog_RANLIB+set}" = set; then
7113 $as_echo_n "(cached) " >&6
7115 if test -n "$RANLIB"; then
7116 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7122 test -z "$as_dir" && as_dir
=.
7123 for ac_exec_ext
in '' $ac_executable_extensions; do
7124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7125 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
7126 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7135 RANLIB
=$ac_cv_prog_RANLIB
7136 if test -n "$RANLIB"; then
7137 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
7138 $as_echo "$RANLIB" >&6; }
7140 { $as_echo "$as_me:$LINENO: result: no" >&5
7141 $as_echo "no" >&6; }
7146 if test -z "$ac_cv_prog_RANLIB"; then
7147 ac_ct_RANLIB
=$RANLIB
7148 # Extract the first word of "ranlib", so it can be a program name with args.
7149 set dummy ranlib
; ac_word
=$2
7150 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7151 $as_echo_n "checking for $ac_word... " >&6; }
7152 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7153 $as_echo_n "(cached) " >&6
7155 if test -n "$ac_ct_RANLIB"; then
7156 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
7158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7162 test -z "$as_dir" && as_dir
=.
7163 for ac_exec_ext
in '' $ac_executable_extensions; do
7164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165 ac_cv_prog_ac_ct_RANLIB
="ranlib"
7166 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7175 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
7176 if test -n "$ac_ct_RANLIB"; then
7177 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7178 $as_echo "$ac_ct_RANLIB" >&6; }
7180 { $as_echo "$as_me:$LINENO: result: no" >&5
7181 $as_echo "no" >&6; }
7184 if test "x$ac_ct_RANLIB" = x
; then
7187 case $cross_compiling:$ac_tool_warned in
7189 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7191 ac_tool_warned
=yes ;;
7193 RANLIB
=$ac_ct_RANLIB
7196 RANLIB
="$ac_cv_prog_RANLIB"
7199 if test -n "$ac_tool_prefix"; then
7200 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7201 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7203 $as_echo_n "checking for $ac_word... " >&6; }
7204 if test "${ac_cv_prog_STRIP+set}" = set; then
7205 $as_echo_n "(cached) " >&6
7207 if test -n "$STRIP"; then
7208 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7214 test -z "$as_dir" && as_dir
=.
7215 for ac_exec_ext
in '' $ac_executable_extensions; do
7216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7217 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7218 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7227 STRIP
=$ac_cv_prog_STRIP
7228 if test -n "$STRIP"; then
7229 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
7230 $as_echo "$STRIP" >&6; }
7232 { $as_echo "$as_me:$LINENO: result: no" >&5
7233 $as_echo "no" >&6; }
7238 if test -z "$ac_cv_prog_STRIP"; then
7240 # Extract the first word of "strip", so it can be a program name with args.
7241 set dummy strip
; ac_word
=$2
7242 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7245 $as_echo_n "(cached) " >&6
7247 if test -n "$ac_ct_STRIP"; then
7248 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7254 test -z "$as_dir" && as_dir
=.
7255 for ac_exec_ext
in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_ac_ct_STRIP
="strip"
7258 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7267 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7268 if test -n "$ac_ct_STRIP"; then
7269 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7270 $as_echo "$ac_ct_STRIP" >&6; }
7272 { $as_echo "$as_me:$LINENO: result: no" >&5
7273 $as_echo "no" >&6; }
7276 if test "x$ac_ct_STRIP" = x
; then
7279 case $cross_compiling:$ac_tool_warned in
7281 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7283 ac_tool_warned
=yes ;;
7288 STRIP
="$ac_cv_prog_STRIP"
7293 old_CFLAGS
="$CFLAGS"
7295 # Set sane defaults for various variables
7296 test -z "$AR" && AR
=ar
7297 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7298 test -z "$AS" && AS
=as
7299 test -z "$CC" && CC
=cc
7300 test -z "$LTCC" && LTCC
=$CC
7301 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
7302 test -z "$DLLTOOL" && DLLTOOL
=dlltool
7303 test -z "$LD" && LD
=ld
7304 test -z "$LN_S" && LN_S
="ln -s"
7305 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
7306 test -z "$NM" && NM
=nm
7307 test -z "$SED" && SED
=sed
7308 test -z "$OBJDUMP" && OBJDUMP
=objdump
7309 test -z "$RANLIB" && RANLIB
=:
7310 test -z "$STRIP" && STRIP
=:
7311 test -z "$ac_objext" && ac_objext
=o
7313 # Determine commands to create old-style static archives.
7314 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
7315 old_postinstall_cmds
='chmod 644 $oldlib'
7316 old_postuninstall_cmds
=
7318 if test -n "$RANLIB"; then
7321 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7324 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
7327 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
7330 for cc_temp
in $compiler""; do
7332 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
7333 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
7338 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7341 # Only perform the check for file, if the check method requires it
7342 case $deplibs_check_method in
7344 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7345 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7346 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7347 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7348 $as_echo_n "(cached) " >&6
7352 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7355 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7356 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7357 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7358 for ac_dir
in $ac_dummy; do
7360 test -z "$ac_dir" && ac_dir
=.
7361 if test -f $ac_dir/${ac_tool_prefix}file; then
7362 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
7363 if test -n "$file_magic_test_file"; then
7364 case $deplibs_check_method in
7366 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7367 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7368 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7369 $EGREP "$file_magic_regex" > /dev
/null
; then
7374 *** Warning: the command libtool uses to detect shared libraries,
7375 *** $file_magic_cmd, produces output that libtool cannot recognize.
7376 *** The result is that libtool may fail to recognize shared libraries
7377 *** as such. This will affect the creation of libtool libraries that
7378 *** depend on shared libraries, but programs linked with such libtool
7379 *** libraries will work regardless of this problem. Nevertheless, you
7380 *** may want to report the problem to your system manager and/or to
7381 *** bug-libtool@gnu.org
7391 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7396 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7397 if test -n "$MAGIC_CMD"; then
7398 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7399 $as_echo "$MAGIC_CMD" >&6; }
7401 { $as_echo "$as_me:$LINENO: result: no" >&5
7402 $as_echo "no" >&6; }
7405 if test -z "$lt_cv_path_MAGIC_CMD"; then
7406 if test -n "$ac_tool_prefix"; then
7407 { $as_echo "$as_me:$LINENO: checking for file" >&5
7408 $as_echo_n "checking for file... " >&6; }
7409 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7410 $as_echo_n "(cached) " >&6
7414 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
7417 lt_save_MAGIC_CMD
="$MAGIC_CMD"
7418 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
7419 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
7420 for ac_dir
in $ac_dummy; do
7422 test -z "$ac_dir" && ac_dir
=.
7423 if test -f $ac_dir/file; then
7424 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
7425 if test -n "$file_magic_test_file"; then
7426 case $deplibs_check_method in
7428 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7429 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7430 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
7431 $EGREP "$file_magic_regex" > /dev
/null
; then
7436 *** Warning: the command libtool uses to detect shared libraries,
7437 *** $file_magic_cmd, produces output that libtool cannot recognize.
7438 *** The result is that libtool may fail to recognize shared libraries
7439 *** as such. This will affect the creation of libtool libraries that
7440 *** depend on shared libraries, but programs linked with such libtool
7441 *** libraries will work regardless of this problem. Nevertheless, you
7442 *** may want to report the problem to your system manager and/or to
7443 *** bug-libtool@gnu.org
7453 MAGIC_CMD
="$lt_save_MAGIC_CMD"
7458 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
7459 if test -n "$MAGIC_CMD"; then
7460 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7461 $as_echo "$MAGIC_CMD" >&6; }
7463 { $as_echo "$as_me:$LINENO: result: no" >&5
7464 $as_echo "no" >&6; }
7479 # Check whether --enable-libtool-lock was given.
7480 if test "${enable_libtool_lock+set}" = set; then
7481 enableval
=$enable_libtool_lock;
7484 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7487 # Check whether --with-pic was given.
7488 if test "${with_pic+set}" = set; then
7489 withval
=$with_pic; pic_mode
="$withval"
7494 test -z "$pic_mode" && pic_mode
=default
7496 # Use C for the default configuration in the libtool script
7500 ac_cpp
='$CPP $CPPFLAGS'
7501 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7502 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7503 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7506 # Source file extension for C test sources.
7509 # Object file extension for compiled C test sources.
7513 # Code to be used in simple compile tests
7514 lt_simple_compile_test_code
="int some_variable = 0;"
7516 # Code to be used in simple link tests
7517 lt_simple_link_test_code
='int main(){return(0);}'
7520 # If no C compiler was specified, use CC.
7523 # If no C compiler flags were specified, use CFLAGS.
7524 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
7526 # Allow CC to be a program name with arguments.
7530 # save warnings/boilerplate of simple test code
7531 ac_outfile
=conftest.
$ac_objext
7532 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
7533 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7534 _lt_compiler_boilerplate
=`cat conftest.err`
7537 ac_outfile
=conftest.
$ac_objext
7538 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
7539 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
7540 _lt_linker_boilerplate
=`cat conftest.err`
7545 lt_prog_compiler_no_builtin_flag
=
7547 if test "$GCC" = yes; then
7548 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
7551 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7552 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7553 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7554 $as_echo_n "(cached) " >&6
7556 lt_cv_prog_compiler_rtti_exceptions
=no
7557 ac_outfile
=conftest.
$ac_objext
7558 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7559 lt_compiler_flag
="-fno-rtti -fno-exceptions"
7560 # Insert the option either (1) after the last *FLAGS variable, or
7561 # (2) before a word containing "conftest.", or (3) at the end.
7562 # Note that $ac_compile itself does not contain backslashes and begins
7563 # with a dollar sign (not a hyphen), so the echo should work correctly.
7564 # The option is referenced via a variable to avoid confusing sed.
7565 lt_compile
=`echo "$ac_compile" | $SED \
7566 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7567 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7568 -e 's:$: $lt_compiler_flag:'`
7569 (eval echo "\"\$as_me:7569: $lt_compile\"" >&5)
7570 (eval "$lt_compile" 2>conftest.err
)
7572 cat conftest.err
>&5
7573 echo "$as_me:7573: \$? = $ac_status" >&5
7574 if (exit $ac_status) && test -s "$ac_outfile"; then
7575 # The compiler can only warn and ignore the option if not recognized
7576 # So say no if there are warnings other than the usual output.
7577 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7578 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7579 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7580 lt_cv_prog_compiler_rtti_exceptions
=yes
7586 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7587 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7589 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
7590 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7597 lt_prog_compiler_wl
=
7598 lt_prog_compiler_pic
=
7599 lt_prog_compiler_static
=
7601 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7602 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7604 if test "$GCC" = yes; then
7605 lt_prog_compiler_wl
='-Wl,'
7606 lt_prog_compiler_static
='-static'
7610 # All AIX code is PIC.
7611 if test "$host_cpu" = ia64
; then
7612 # AIX 5 now supports IA64 processor
7613 lt_prog_compiler_static
='-Bstatic'
7618 # FIXME: we need at least 68020 code to build shared libraries, but
7619 # adding the `-m68020' flag to GCC prevents building anything better,
7621 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
7624 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
7625 # PIC is the default for these OSes.
7628 mingw
* | cygwin
* | pw32
* | os2
*)
7629 # This hack is so that the source file can tell whether it is being
7630 # built for inclusion in a dll (and should export symbols for example).
7631 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7632 # (--disable-auto-import) libraries
7633 lt_prog_compiler_pic
='-DDLL_EXPORT'
7636 darwin
* | rhapsody
*)
7637 # PIC is the default on this platform
7638 # Common symbols not allowed in MH_DYLIB files
7639 lt_prog_compiler_pic
='-fno-common'
7643 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7644 # Instead, we relocate shared libraries at runtime.
7648 # Just because we use GCC doesn't mean we suddenly get shared libraries
7649 # on systems that don't support them.
7650 lt_prog_compiler_can_build_shared
=no
7655 if test -d /usr
/nec
; then
7656 lt_prog_compiler_pic
=-Kconform_pic
7661 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7668 lt_prog_compiler_pic
='-fPIC'
7674 lt_prog_compiler_pic
='-fPIC'
7678 # PORTME Check for flag to pass linker flags through the system compiler.
7681 lt_prog_compiler_wl
='-Wl,'
7682 if test "$host_cpu" = ia64
; then
7683 # AIX 5 now supports IA64 processor
7684 lt_prog_compiler_static
='-Bstatic'
7686 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
7690 # PIC is the default on this platform
7691 # Common symbols not allowed in MH_DYLIB files
7692 case $cc_basename in
7694 lt_prog_compiler_pic
='-qnocommon'
7695 lt_prog_compiler_wl
='-Wl,'
7700 mingw
* | cygwin
* | pw32
* | os2
*)
7701 # This hack is so that the source file can tell whether it is being
7702 # built for inclusion in a dll (and should export symbols for example).
7703 lt_prog_compiler_pic
='-DDLL_EXPORT'
7706 hpux9
* | hpux10
* | hpux11
*)
7707 lt_prog_compiler_wl
='-Wl,'
7708 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7715 lt_prog_compiler_pic
='+Z'
7718 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7719 lt_prog_compiler_static
='${wl}-a ${wl}archive'
7722 irix5
* | irix6
* | nonstopux
*)
7723 lt_prog_compiler_wl
='-Wl,'
7724 # PIC (with -KPIC) is the default.
7725 lt_prog_compiler_static
='-non_shared'
7729 lt_prog_compiler_pic
='-KPIC'
7730 lt_prog_compiler_static
='-Bstatic'
7733 linux
* | k
*bsd
*-gnu)
7734 case $cc_basename in
7736 lt_prog_compiler_wl
='-Wl,'
7737 lt_prog_compiler_pic
='-KPIC'
7738 lt_prog_compiler_static
='-static'
7740 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
7741 # Portland Group compilers (*not* the Pentium gcc compiler,
7742 # which looks to be a dead project)
7743 lt_prog_compiler_wl
='-Wl,'
7744 lt_prog_compiler_pic
='-fpic'
7745 lt_prog_compiler_static
='-Bstatic'
7748 lt_prog_compiler_wl
='-Wl,'
7749 # All Alpha code is PIC.
7750 lt_prog_compiler_static
='-non_shared'
7753 case `$CC -V 2>&1 | sed 5q` in
7756 lt_prog_compiler_pic
='-KPIC'
7757 lt_prog_compiler_static
='-Bstatic'
7758 lt_prog_compiler_wl
='-Wl,'
7761 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7762 lt_prog_compiler_pic
='-KPIC'
7763 lt_prog_compiler_static
='-Bstatic'
7764 lt_prog_compiler_wl
=''
7771 osf3
* | osf4
* | osf5
*)
7772 lt_prog_compiler_wl
='-Wl,'
7773 # All OSF/1 code is PIC.
7774 lt_prog_compiler_static
='-non_shared'
7778 lt_prog_compiler_static
='-non_shared'
7782 lt_prog_compiler_pic
='-KPIC'
7783 lt_prog_compiler_static
='-Bstatic'
7784 case $cc_basename in
7786 lt_prog_compiler_wl
='-Qoption ld ';;
7788 lt_prog_compiler_wl
='-Wl,';;
7793 lt_prog_compiler_wl
='-Qoption ld '
7794 lt_prog_compiler_pic
='-PIC'
7795 lt_prog_compiler_static
='-Bstatic'
7798 sysv4 | sysv4.2uw2
* | sysv4.3
*)
7799 lt_prog_compiler_wl
='-Wl,'
7800 lt_prog_compiler_pic
='-KPIC'
7801 lt_prog_compiler_static
='-Bstatic'
7805 if test -d /usr
/nec
;then
7806 lt_prog_compiler_pic
='-Kconform_pic'
7807 lt_prog_compiler_static
='-Bstatic'
7811 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
7812 lt_prog_compiler_wl
='-Wl,'
7813 lt_prog_compiler_pic
='-KPIC'
7814 lt_prog_compiler_static
='-Bstatic'
7818 lt_prog_compiler_wl
='-Wl,'
7819 lt_prog_compiler_can_build_shared
=no
7823 lt_prog_compiler_pic
='-pic'
7824 lt_prog_compiler_static
='-Bstatic'
7828 lt_prog_compiler_can_build_shared
=no
7833 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7834 $as_echo "$lt_prog_compiler_pic" >&6; }
7837 # Check to make sure the PIC flag actually works.
7839 if test -n "$lt_prog_compiler_pic"; then
7841 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7842 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7843 if test "${lt_prog_compiler_pic_works+set}" = set; then
7844 $as_echo_n "(cached) " >&6
7846 lt_prog_compiler_pic_works
=no
7847 ac_outfile
=conftest.
$ac_objext
7848 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7849 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
7850 # Insert the option either (1) after the last *FLAGS variable, or
7851 # (2) before a word containing "conftest.", or (3) at the end.
7852 # Note that $ac_compile itself does not contain backslashes and begins
7853 # with a dollar sign (not a hyphen), so the echo should work correctly.
7854 # The option is referenced via a variable to avoid confusing sed.
7855 lt_compile
=`echo "$ac_compile" | $SED \
7856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7858 -e 's:$: $lt_compiler_flag:'`
7859 (eval echo "\"\$as_me:7859: $lt_compile\"" >&5)
7860 (eval "$lt_compile" 2>conftest.err
)
7862 cat conftest.err
>&5
7863 echo "$as_me:7863: \$? = $ac_status" >&5
7864 if (exit $ac_status) && test -s "$ac_outfile"; then
7865 # The compiler can only warn and ignore the option if not recognized
7866 # So say no if there are warnings other than the usual output.
7867 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
7868 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7869 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
7870 lt_prog_compiler_pic_works
=yes
7876 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7877 $as_echo "$lt_prog_compiler_pic_works" >&6; }
7879 if test x
"$lt_prog_compiler_pic_works" = xyes
; then
7880 case $lt_prog_compiler_pic in
7882 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
7885 lt_prog_compiler_pic
=
7886 lt_prog_compiler_can_build_shared
=no
7891 # For platforms which do not support PIC, -DPIC is meaningless:
7893 lt_prog_compiler_pic
=
7896 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
7901 # Check to make sure the static flag actually works.
7903 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
7904 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7905 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7906 if test "${lt_prog_compiler_static_works+set}" = set; then
7907 $as_echo_n "(cached) " >&6
7909 lt_prog_compiler_static_works
=no
7910 save_LDFLAGS
="$LDFLAGS"
7911 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
7912 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
7913 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
7914 # The linker can only warn and ignore the option if not recognized
7915 # So say no if there are warnings
7916 if test -s conftest.err
; then
7917 # Append any errors to the config.log.
7918 cat conftest.err
1>&5
7919 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
7920 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
7921 if diff conftest.exp conftest.er2
>/dev
/null
; then
7922 lt_prog_compiler_static_works
=yes
7925 lt_prog_compiler_static_works
=yes
7929 LDFLAGS
="$save_LDFLAGS"
7932 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7933 $as_echo "$lt_prog_compiler_static_works" >&6; }
7935 if test x
"$lt_prog_compiler_static_works" = xyes
; then
7938 lt_prog_compiler_static
=
7942 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7943 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7944 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7945 $as_echo_n "(cached) " >&6
7947 lt_cv_prog_compiler_c_o
=no
7948 $rm -r conftest
2>/dev
/null
7952 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
7954 lt_compiler_flag
="-o out/conftest2.$ac_objext"
7955 # Insert the option either (1) after the last *FLAGS variable, or
7956 # (2) before a word containing "conftest.", or (3) at the end.
7957 # Note that $ac_compile itself does not contain backslashes and begins
7958 # with a dollar sign (not a hyphen), so the echo should work correctly.
7959 lt_compile
=`echo "$ac_compile" | $SED \
7960 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7961 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7962 -e 's:$: $lt_compiler_flag:'`
7963 (eval echo "\"\$as_me:7963: $lt_compile\"" >&5)
7964 (eval "$lt_compile" 2>out
/conftest.err
)
7966 cat out
/conftest.err
>&5
7967 echo "$as_me:7967: \$? = $ac_status" >&5
7968 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
7970 # The compiler can only warn and ignore the option if not recognized
7971 # So say no if there are warnings
7972 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
7973 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
7974 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
7975 lt_cv_prog_compiler_c_o
=yes
7980 # SGI C++ compiler will create directory out/ii_files/ for
7981 # template instantiation
7982 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
7983 $rm out
/* && rmdir out
7989 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7990 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7993 hard_links
="nottested"
7994 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
7995 # do not overwrite the value of need_locks provided by the user
7996 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7997 $as_echo_n "checking if we can lock with hard links... " >&6; }
8000 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8002 ln conftest.a conftest.b
2>&5 || hard_links
=no
8003 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8004 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8005 $as_echo "$hard_links" >&6; }
8006 if test "$hard_links" = no
; then
8007 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8008 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8015 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8016 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8019 allow_undefined_flag
=
8020 enable_shared_with_static_runtimes
=no
8022 archive_expsym_cmds
=
8023 old_archive_From_new_cmds
=
8024 old_archive_from_expsyms_cmds
=
8025 export_dynamic_flag_spec
=
8026 whole_archive_flag_spec
=
8027 thread_safe_flag_spec
=
8028 hardcode_libdir_flag_spec
=
8029 hardcode_libdir_flag_spec_ld
=
8030 hardcode_libdir_separator
=
8033 hardcode_shlibpath_var
=unsupported
8034 link_all_deplibs
=unknown
8035 hardcode_automatic
=no
8038 always_export_symbols
=no
8039 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8040 # include_expsyms should be a list of space-separated symbols to be *always*
8041 # included in the symbol list
8043 # exclude_expsyms can be an extended regexp of symbols to exclude
8044 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8045 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8046 # as well as any symbol that contains `d'.
8047 exclude_expsyms
="_GLOBAL_OFFSET_TABLE_"
8048 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8049 # platforms (ab)use it in PIC code, but their linkers get confused if
8050 # the symbol is explicitly referenced. Since portable code cannot
8051 # rely on this symbol name, it's probably fine to never include it in
8052 # preloaded symbol tables.
8053 extract_expsyms_cmds
=
8054 # Just being paranoid about ensuring that cc_basename is set.
8055 for cc_temp
in $compiler""; do
8057 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8058 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8063 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8066 cygwin
* | mingw
* | pw32
*)
8067 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8068 # When not using gcc, we currently assume that we are using
8069 # Microsoft Visual C++.
8070 if test "$GCC" != yes; then
8075 # we just hope/assume this is gcc and not c89 (= MSVC++)
8084 if test "$with_gnu_ld" = yes; then
8085 # If archive_cmds runs LD, not CC, wlarc should be empty
8088 # Set some defaults for GNU ld with shared library support. These
8089 # are reset later if shared libraries are not supported. Putting them
8090 # here allows them to be overridden if necessary.
8091 runpath_var
=LD_RUN_PATH
8092 hardcode_libdir_flag_spec
='${wl}--rpath ${wl}$libdir'
8093 export_dynamic_flag_spec
='${wl}--export-dynamic'
8094 # ancient GNU ld didn't support --whole-archive et. al.
8095 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
8096 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8098 whole_archive_flag_spec
=
8100 supports_anon_versioning
=no
8101 case `$LD -v 2>/dev/null` in
8102 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8103 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8104 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8105 *\
2.11.
*) ;; # other 2.11 versions
8106 *) supports_anon_versioning
=yes ;;
8109 # See if GNU ld supports shared libraries.
8111 aix3
* | aix4
* | aix5
*)
8112 # On AIX/PPC, the GNU linker is very broken
8113 if test "$host_cpu" != ia64
; then
8117 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8118 *** to be unable to reliably create shared libraries on AIX.
8119 *** Therefore, libtool is disabling shared libraries support. If you
8120 *** really care for shared libraries, you may want to modify your PATH
8121 *** so that a non-GNU linker is found, and then restart.
8128 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)'
8129 hardcode_libdir_flag_spec
='-L$libdir'
8130 hardcode_minus_L
=yes
8132 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
8133 # that the semantics of dynamic libraries on AmigaOS, at least up
8134 # to version 4, is to share data among multiple programs linked
8135 # with the same dynamic library. Since this doesn't match the
8136 # behavior of shared libraries on other platforms, we can't use
8142 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8143 allow_undefined_flag
=unsupported
8144 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8145 # support --undefined. This deserves some investigation. FIXME
8146 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8152 cygwin
* | mingw
* | pw32
*)
8153 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8154 # as there is no search path for DLLs.
8155 hardcode_libdir_flag_spec
='-L$libdir'
8156 allow_undefined_flag
=unsupported
8157 always_export_symbols
=no
8158 enable_shared_with_static_runtimes
=yes
8159 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8161 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
8162 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8163 # If the export-symbols file already is a .def file (1st line
8164 # is EXPORTS), use it as is; otherwise, prepend...
8165 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8166 cp $export_symbols $output_objdir/$soname.def;
8168 echo EXPORTS > $output_objdir/$soname.def;
8169 cat $export_symbols >> $output_objdir/$soname.def;
8171 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8179 hardcode_shlibpath_var
=no
8180 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8181 export_dynamic_flag_spec
='${wl}-E'
8182 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8183 # Instead, shared libraries are loaded at an image base (0x10000000 by
8184 # default) and relocated if they conflict, which is a slow very memory
8185 # consuming and fragmenting process. To avoid this, we pick a random,
8186 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8187 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8188 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8189 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'
8192 gnu
* | linux
* | k
*bsd
*-gnu)
8193 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8195 case $cc_basename,$host_cpu in
8196 pgcc
*) # Portland Group C compiler
8197 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'
8198 tmp_addflag
=' $pic_flag'
8200 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
8201 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'
8202 tmp_addflag
=' $pic_flag -Mnomain' ;;
8203 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
8204 tmp_addflag
=' -i_dynamic' ;;
8205 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
8206 tmp_addflag
=' -i_dynamic -nofor_main' ;;
8207 ifc
* | ifort
*) # Intel Fortran compiler
8208 tmp_addflag
=' -nofor_main' ;;
8210 case `$CC -V 2>&1 | sed 5q` in
8211 *Sun\ C
*) # Sun C 5.9
8212 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'
8213 tmp_sharedflag
='-G' ;;
8214 *Sun\ F
*) # Sun Fortran 8.3
8215 tmp_sharedflag
='-G' ;;
8217 tmp_sharedflag
='-shared' ;;
8219 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8221 if test $supports_anon_versioning = yes; then
8222 archive_expsym_cmds
='$echo "{ global:" > $output_objdir/$libname.ver~
8223 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8224 $echo "local: *; };" >> $output_objdir/$libname.ver~
8225 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8233 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8234 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8237 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8238 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8243 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
8247 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8248 *** create shared libraries on Solaris systems. Therefore, libtool
8249 *** is disabling shared libraries support. We urge you to upgrade GNU
8250 *** binutils to release 2.9.1 or newer. Another option is to modify
8251 *** your PATH or compiler configuration so that the native linker is
8252 *** used, and then restart.
8255 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8256 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8257 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8263 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8264 case `$LD -v 2>&1` in
8265 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8269 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8270 *** reliably create shared libraries on SCO systems. Therefore, libtool
8271 *** is disabling shared libraries support. We urge you to upgrade GNU
8272 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8273 *** your PATH or compiler configuration so that the native linker is
8274 *** used, and then restart.
8279 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8280 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8281 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8282 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8291 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8294 hardcode_shlibpath_var
=no
8298 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
8299 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8300 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8307 if test "$ld_shlibs" = no
; then
8309 hardcode_libdir_flag_spec
=
8310 export_dynamic_flag_spec
=
8311 whole_archive_flag_spec
=
8314 # PORTME fill in a description of your system's linker (not GNU ld)
8317 allow_undefined_flag
=unsupported
8318 always_export_symbols
=yes
8319 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'
8320 # Note: this linker hardcodes the directories in LIBPATH if there
8321 # are no directories specified by -L.
8322 hardcode_minus_L
=yes
8323 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8324 # Neither direct hardcoding nor static linking is supported with a
8326 hardcode_direct
=unsupported
8331 if test "$host_cpu" = ia64
; then
8332 # On IA64, the linker does run time linking by default, so we don't
8333 # have to do anything special.
8334 aix_use_runtimelinking
=no
8335 exp_sym_flag
='-Bexport'
8338 # If we're using GNU nm, then we don't want the "-C" option.
8339 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8340 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
8341 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'
8343 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'
8345 aix_use_runtimelinking
=no
8347 # Test if we are trying to use run time linking or normal
8348 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8349 # need to do runtime linking.
8350 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
8351 for ld_flag
in $LDFLAGS; do
8352 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8353 aix_use_runtimelinking
=yes
8360 exp_sym_flag
='-bexport'
8361 no_entry_flag
='-bnoentry'
8364 # When large executables or shared objects are built, AIX ld can
8365 # have problems creating the table of contents. If linking a library
8366 # or program results in "error TOC overflow" add -mminimal-toc to
8367 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8368 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8372 hardcode_libdir_separator
=':'
8373 link_all_deplibs
=yes
8375 if test "$GCC" = yes; then
8376 case $host_os in aix4.
[012]|aix4.
[012].
*)
8377 # We only want to do this on AIX 4.2 and lower, the check
8378 # below for broken collect2 doesn't work under 4.3+
8379 collect2name
=`${CC} -print-prog-name=collect2`
8380 if test -f "$collect2name" && \
8381 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
8383 # We have reworked collect2
8386 # We have old collect2
8387 hardcode_direct
=unsupported
8388 # It fails to find uninstalled libraries when the uninstalled
8389 # path is not listed in the libpath. Setting hardcode_minus_L
8390 # to unsupported forces relinking
8391 hardcode_minus_L
=yes
8392 hardcode_libdir_flag_spec
='-L$libdir'
8393 hardcode_libdir_separator
=
8397 shared_flag
='-shared'
8398 if test "$aix_use_runtimelinking" = yes; then
8399 shared_flag
="$shared_flag "'${wl}-G'
8403 if test "$host_cpu" = ia64
; then
8404 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8405 # chokes on -Wl,-G. The following line is correct:
8408 if test "$aix_use_runtimelinking" = yes; then
8409 shared_flag
='${wl}-G'
8411 shared_flag
='${wl}-bM:SRE'
8416 # It seems that -bexpall does not export symbols beginning with
8417 # underscore (_), so it is better to generate a list of symbols to export.
8418 always_export_symbols
=yes
8419 if test "$aix_use_runtimelinking" = yes; then
8420 # Warning - without using the other runtime loading flags (-brtl),
8421 # -berok will link without error, but may produce a broken library.
8422 allow_undefined_flag
='-berok'
8423 # Determine the default libpath from the value encoded in an empty executable.
8424 cat >conftest.
$ac_ext <<_ACEOF
8427 cat confdefs.h
>>conftest.
$ac_ext
8428 cat >>conftest.
$ac_ext <<_ACEOF
8429 /* end confdefs.h. */
8439 rm -f conftest.
$ac_objext conftest
$ac_exeext
8440 if { (ac_try
="$ac_link"
8442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8443 *) ac_try_echo=$ac_try;;
8445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8446 $as_echo "$ac_try_echo") >&5
8447 (eval "$ac_link") 2>conftest.er1
8449 grep -v '^ *+' conftest.er1 >conftest.err
8451 cat conftest.err >&5
8452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } && {
8454 test -z "$ac_c_werror_flag" ||
8455 test ! -s conftest.err
8456 } && test -s conftest$ac_exeext && {
8457 test "$cross_compiling" = yes ||
8458 $as_test_x conftest$ac_exeext
8461 lt_aix_libpath_sed='
8462 /Import File Strings/,/^$/ {
8468 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8469 # Check for a 64-bit object if we didn't find anything.
8470 if test -z "$aix_libpath"; then
8471 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
8474 $as_echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8480 rm -rf conftest.dSYM
8481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8482 conftest$ac_exeext conftest.$ac_ext
8483 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8485 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8486 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"
8488 if test "$host_cpu" = ia64; then
8489 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8490 allow_undefined_flag="-z nodefs"
8491 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"
8493 # Determine the default libpath from the value encoded in an empty executable.
8494 cat >conftest.$ac_ext <<_ACEOF
8497 cat confdefs.h >>conftest.$ac_ext
8498 cat >>conftest.$ac_ext <<_ACEOF
8499 /* end confdefs.h. */
8509 rm -f conftest.$ac_objext conftest$ac_exeext
8510 if { (ac_try="$ac_link"
8512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8513 *) ac_try_echo
=$ac_try;;
8515 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8516 $as_echo "$ac_try_echo") >&5
8517 (eval "$ac_link") 2>conftest.er1
8519 grep -v '^ *+' conftest.er1
>conftest.err
8521 cat conftest.err
>&5
8522 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err
8526 } && test -s conftest
$ac_exeext && {
8527 test "$cross_compiling" = yes ||
8528 $as_test_x conftest
$ac_exeext
8531 lt_aix_libpath_sed
='
8532 /Import File Strings/,/^$/ {
8538 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8539 # Check for a 64-bit object if we didn't find anything.
8540 if test -z "$aix_libpath"; then
8541 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8544 $as_echo "$as_me: failed program was:" >&5
8545 sed 's/^/| /' conftest.
$ac_ext >&5
8550 rm -rf conftest.dSYM
8551 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8552 conftest
$ac_exeext conftest.
$ac_ext
8553 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8555 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8556 # Warning - without using the other run time loading flags,
8557 # -berok will link without error, but may produce a broken library.
8558 no_undefined_flag
=' ${wl}-bernotok'
8559 allow_undefined_flag
=' ${wl}-berok'
8560 # Exported symbols can be pulled into shared objects from archives
8561 whole_archive_flag_spec
='$convenience'
8562 archive_cmds_need_lc
=yes
8563 # This is similar to how AIX traditionally builds its shared libraries.
8564 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'
8570 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)'
8571 hardcode_libdir_flag_spec
='-L$libdir'
8572 hardcode_minus_L
=yes
8573 # see comment about different semantics on the GNU ld section
8578 export_dynamic_flag_spec
=-rdynamic
8581 cygwin
* | mingw
* | pw32
*)
8582 # When not using gcc, we currently assume that we are using
8583 # Microsoft Visual C++.
8584 # hardcode_libdir_flag_spec is actually meaningless, as there is
8585 # no search path for DLLs.
8586 hardcode_libdir_flag_spec
=' '
8587 allow_undefined_flag
=unsupported
8588 # Tell ltmain to make .lib files, not .a files.
8590 # Tell ltmain to make .dll files, not .so files.
8592 # FIXME: Setting linknames here is a bad hack.
8593 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8594 # The linker will automatically build a .lib file if we build a DLL.
8595 old_archive_From_new_cmds
='true'
8596 # FIXME: Should let the user specify the lib program.
8597 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8598 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8599 enable_shared_with_static_runtimes
=yes
8602 darwin
* | rhapsody
*)
8604 rhapsody
* | darwin1.
[012])
8605 allow_undefined_flag
='${wl}-undefined ${wl}suppress'
8608 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8609 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8611 case ${MACOSX_DEPLOYMENT_TARGET} in
8613 allow_undefined_flag
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8616 allow_undefined_flag
='${wl}-undefined ${wl}dynamic_lookup'
8622 archive_cmds_need_lc
=no
8624 hardcode_automatic
=yes
8625 hardcode_shlibpath_var
=unsupported
8626 whole_archive_flag_spec
=''
8627 link_all_deplibs
=yes
8628 if test "$GCC" = yes ; then
8629 output_verbose_link_cmd
='echo'
8630 archive_cmds
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8631 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8632 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8633 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}'
8634 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}'
8636 case $cc_basename in
8638 output_verbose_link_cmd
='echo'
8639 archive_cmds
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8640 module_cmds
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8641 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8642 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}'
8643 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}'
8653 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8654 hardcode_libdir_flag_spec
='-L$libdir'
8655 hardcode_shlibpath_var
=no
8662 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8663 # support. Future versions do this automatically, but an explicit c++rt0.o
8664 # does not break anything, and helps significantly (at the cost of a little
8667 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8668 hardcode_libdir_flag_spec
='-R$libdir'
8670 hardcode_shlibpath_var
=no
8673 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8675 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8677 hardcode_minus_L
=yes
8678 hardcode_shlibpath_var
=no
8681 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8682 freebsd
* | dragonfly
*)
8683 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8684 hardcode_libdir_flag_spec
='-R$libdir'
8686 hardcode_shlibpath_var
=no
8690 if test "$GCC" = yes; then
8691 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'
8693 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'
8695 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8696 hardcode_libdir_separator
=:
8699 # hardcode_minus_L: Not really in the search PATH,
8700 # but as the default location of the library.
8701 hardcode_minus_L
=yes
8702 export_dynamic_flag_spec
='${wl}-E'
8706 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8707 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8709 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8711 if test "$with_gnu_ld" = no
; then
8712 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8713 hardcode_libdir_separator
=:
8716 export_dynamic_flag_spec
='${wl}-E'
8718 # hardcode_minus_L: Not really in the search PATH,
8719 # but as the default location of the library.
8720 hardcode_minus_L
=yes
8725 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8728 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8731 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8734 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8740 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8743 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8746 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8750 if test "$with_gnu_ld" = no
; then
8751 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8752 hardcode_libdir_separator
=:
8756 hardcode_libdir_flag_spec_ld
='+b $libdir'
8758 hardcode_shlibpath_var
=no
8762 export_dynamic_flag_spec
='${wl}-E'
8764 # hardcode_minus_L: Not really in the search PATH,
8765 # but as the default location of the library.
8766 hardcode_minus_L
=yes
8772 irix5
* | irix6
* | nonstopux
*)
8773 if test "$GCC" = yes; then
8774 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'
8776 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'
8777 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8779 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8780 hardcode_libdir_separator
=:
8781 link_all_deplibs
=yes
8785 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
8786 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8788 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8790 hardcode_libdir_flag_spec
='-R$libdir'
8792 hardcode_shlibpath_var
=no
8796 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8798 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8799 hardcode_libdir_separator
=:
8800 hardcode_shlibpath_var
=no
8804 if test -f /usr
/libexec
/ld.so
; then
8806 hardcode_shlibpath_var
=no
8807 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8808 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8809 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8810 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8811 export_dynamic_flag_spec
='${wl}-E'
8814 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8815 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8816 hardcode_libdir_flag_spec
='-R$libdir'
8819 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8820 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8830 hardcode_libdir_flag_spec
='-L$libdir'
8831 hardcode_minus_L
=yes
8832 allow_undefined_flag
=unsupported
8833 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'
8834 old_archive_From_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
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}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8842 allow_undefined_flag
=' -expect_unresolved \*'
8843 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'
8845 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8846 hardcode_libdir_separator
=:
8849 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8850 if test "$GCC" = yes; then
8851 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8852 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'
8853 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8855 allow_undefined_flag
=' -expect_unresolved \*'
8856 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'
8857 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8858 $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'
8860 # Both c and cxx compiler support -rpath directly
8861 hardcode_libdir_flag_spec
='-rpath $libdir'
8863 hardcode_libdir_separator
=:
8867 no_undefined_flag
=' -z text'
8868 if test "$GCC" = yes; then
8870 archive_cmds
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8871 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8872 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8875 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8876 archive_expsym_cmds
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8877 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8879 hardcode_libdir_flag_spec
='-R$libdir'
8880 hardcode_shlibpath_var
=no
8882 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8884 # The compiler driver will combine and reorder linker options,
8885 # but understands `-z linker_flag'. GCC discards it without `$wl',
8886 # but is careful enough not to reorder.
8887 # Supported since Solaris 2.6 (maybe 2.5.1?)
8888 if test "$GCC" = yes; then
8889 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8891 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8895 link_all_deplibs
=yes
8899 if test "x$host_vendor" = xsequent
; then
8900 # Use $CC to link under sequent, because it throws in some extra .o
8901 # files that make .init and .fini sections work.
8902 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8904 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8906 hardcode_libdir_flag_spec
='-L$libdir'
8908 hardcode_minus_L
=yes
8909 hardcode_shlibpath_var
=no
8913 case $host_vendor in
8915 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8916 hardcode_direct
=yes # is this really true???
8919 ## LD is ld it makes a PLAMLIB
8920 ## CC just makes a GrossModule.
8921 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8922 reload_cmds
='$CC -r -o $output$reload_objs'
8926 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8927 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8930 runpath_var
='LD_RUN_PATH'
8931 hardcode_shlibpath_var
=no
8935 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8936 hardcode_shlibpath_var
=no
8937 export_dynamic_flag_spec
='-Bexport'
8941 if test -d /usr
/nec
; then
8942 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8943 hardcode_shlibpath_var
=no
8944 runpath_var
=LD_RUN_PATH
8945 hardcode_runpath_var
=yes
8950 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8951 no_undefined_flag
='${wl}-z,text'
8952 archive_cmds_need_lc
=no
8953 hardcode_shlibpath_var
=no
8954 runpath_var
='LD_RUN_PATH'
8956 if test "$GCC" = yes; then
8957 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8958 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8960 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8961 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8965 sysv5
* | sco3.2v5
* | sco5v6
*)
8966 # Note: We can NOT use -z defs as we might desire, because we do not
8967 # link with -lc, and that would cause any symbols used from libc to
8968 # always be unresolved, which means just about no library would
8969 # ever link correctly. If we're not using GNU ld we use -z text
8970 # though, which does catch some bad symbols but isn't as heavy-handed
8972 no_undefined_flag
='${wl}-z,text'
8973 allow_undefined_flag
='${wl}-z,nodefs'
8974 archive_cmds_need_lc
=no
8975 hardcode_shlibpath_var
=no
8976 hardcode_libdir_flag_spec
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8977 hardcode_libdir_separator
=':'
8978 link_all_deplibs
=yes
8979 export_dynamic_flag_spec
='${wl}-Bexport'
8980 runpath_var
='LD_RUN_PATH'
8982 if test "$GCC" = yes; then
8983 archive_cmds
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8984 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8986 archive_cmds
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8987 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8992 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8993 hardcode_libdir_flag_spec
='-L$libdir'
8994 hardcode_shlibpath_var
=no
9003 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9004 $as_echo "$ld_shlibs" >&6; }
9005 test "$ld_shlibs" = no
&& can_build_shared
=no
9008 # Do we need to explicitly link libc?
9010 case "x$archive_cmds_need_lc" in
9012 # Assume -lc should be added
9013 archive_cmds_need_lc
=yes
9015 if test "$enable_shared" = yes && test "$GCC" = yes; then
9016 case $archive_cmds in
9018 # FIXME: we may have to deal with multi-command sequences.
9021 # Test whether the compiler implicitly links with -lc since on some
9022 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9023 # to ld, don't add -lc before -lgcc.
9024 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9025 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9027 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9030 (eval $ac_compile) 2>&5
9032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); } 2>conftest.err
; then
9036 libobjs
=conftest.
$ac_objext
9038 wl
=$lt_prog_compiler_wl
9039 pic_flag
=$lt_prog_compiler_pic
9045 lt_save_allow_undefined_flag
=$allow_undefined_flag
9046 allow_undefined_flag
=
9047 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
9048 (eval $archive_cmds 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9050 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); }
9053 archive_cmds_need_lc
=no
9055 archive_cmds_need_lc
=yes
9057 allow_undefined_flag
=$lt_save_allow_undefined_flag
9059 cat conftest.err
1>&5
9062 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9063 $as_echo "$archive_cmds_need_lc" >&6; }
9070 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9071 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9073 libname_spec
='lib$name'
9081 shlibpath_overrides_runpath
=unknown
9083 dynamic_linker
="$host_os ld.so"
9084 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9086 if test "$GCC" = yes; then
9088 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9089 *) lt_awk_arg
="/^libraries:/" ;;
9091 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9092 if echo "$lt_search_path_spec" |
grep ';' >/dev
/null
; then
9093 # if the path contains ";" then we assume it to be the separator
9094 # otherwise default to the standard path separator (i.e. ":") - it is
9095 # assumed that no part of a normal pathname contains ";" but that should
9096 # okay in the real world where ";" in dirpaths is itself problematic.
9097 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9099 lt_search_path_spec
=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9101 # Ok, now we have the path, separated by spaces, we can step through it
9102 # and add multilib dir if necessary.
9103 lt_tmp_lt_search_path_spec
=
9104 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9105 for lt_sys_path
in $lt_search_path_spec; do
9106 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9107 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9109 test -d "$lt_sys_path" && \
9110 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9113 lt_search_path_spec
=`echo $lt_tmp_lt_search_path_spec | awk '
9114 BEGIN {RS=" "; FS="/|\n";} {
9117 for (lt_i = NF; lt_i > 0; lt_i--) {
9118 if ($lt_i != "" && $lt_i != ".") {
9119 if ($lt_i == "..") {
9122 if (lt_count == 0) {
9123 lt_foo="/" $lt_i lt_foo;
9130 if (lt_foo != "") { lt_freq[lt_foo]++; }
9131 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9133 sys_lib_search_path_spec
=`echo $lt_search_path_spec`
9135 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9137 need_lib_prefix
=unknown
9138 hardcode_into_libs
=no
9140 # when you set need_version to no, make sure it does not cause -set_version
9141 # flags to be left without arguments
9142 need_version
=unknown
9147 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9148 shlibpath_var
=LIBPATH
9150 # AIX 3 has no versioning support, so we append a major version to the name.
9151 soname_spec
='${libname}${release}${shared_ext}$major'
9158 hardcode_into_libs
=yes
9159 if test "$host_cpu" = ia64
; then
9160 # AIX 5 supports IA64
9161 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9162 shlibpath_var
=LD_LIBRARY_PATH
9164 # With GCC up to 2.95.x, collect2 would create an import file
9165 # for dependence libraries. The import file would start with
9166 # the line `#! .'. This would cause the generated library to
9167 # depend on `.', always an invalid library. This was fixed in
9168 # development snapshots of GCC prior to 3.0.
9170 aix4 | aix4.
[01] | aix4.
[01].
*)
9171 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9173 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
9180 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9181 # soname into executable. Probably we can add versioning support to
9182 # collect2, so additional links can be useful in future.
9183 if test "$aix_use_runtimelinking" = yes; then
9184 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9185 # instead of lib<name>.a to let people know that these are not
9186 # typical AIX shared libraries.
9187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9189 # We preserve .a as extension for shared libraries through AIX4.2
9190 # and later when we are not doing run time linking.
9191 library_names_spec
='${libname}${release}.a $libname.a'
9192 soname_spec
='${libname}${release}${shared_ext}$major'
9194 shlibpath_var
=LIBPATH
9199 library_names_spec
='$libname.ixlibrary $libname.a'
9200 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9201 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'
9205 library_names_spec
='${libname}${shared_ext}'
9206 dynamic_linker
="$host_os ld.so"
9207 shlibpath_var
=LIBRARY_PATH
9213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9214 soname_spec
='${libname}${release}${shared_ext}$major'
9215 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9216 shlibpath_var
=LD_LIBRARY_PATH
9217 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9218 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9219 # the default ld.so.conf also contains /usr/contrib/lib and
9220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9221 # libtool to hard-code these into programs
9224 cygwin
* | mingw
* | pw32
*)
9225 version_type
=windows
9230 case $GCC,$host_os in
9231 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
9232 library_names_spec
='$libname.dll.a'
9233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9234 postinstall_cmds
='base_file=`basename \${file}`~
9235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
9236 dldir=$destdir/`dirname \$dlpath`~
9237 test -d \$dldir || mkdir -p \$dldir~
9238 $install_prog $dir/$dlname \$dldir/$dlname~
9239 chmod a+x \$dldir/$dlname'
9240 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9241 dlpath=$dir/\$dldll~
9243 shlibpath_overrides_runpath
=yes
9247 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9248 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9249 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9252 # MinGW DLLs use traditional 'lib' prefix
9253 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9254 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9255 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
9256 # It is most probably a Windows format PATH printed by
9257 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9258 # path with ; separators, and with drive letters. We can handle the
9259 # drive letters (cygwin fileutils understands them), so leave them,
9260 # especially as we might pass files found there to a mingw objdump,
9261 # which wouldn't understand a cygwinified path. Ahh.
9262 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9264 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9268 # pw32 DLLs use 'pw' prefix rather than 'lib'
9269 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9275 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9278 dynamic_linker
='Win32 ld.exe'
9279 # FIXME: first we should search . and the directory the executable is in
9283 darwin
* | rhapsody
*)
9284 dynamic_linker
="$host_os dyld"
9288 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9289 soname_spec
='${libname}${release}${major}$shared_ext'
9290 shlibpath_overrides_runpath
=yes
9291 shlibpath_var
=DYLD_LIBRARY_PATH
9292 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9294 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9295 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9302 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9303 soname_spec
='${libname}${release}${shared_ext}$major'
9304 shlibpath_var
=LD_LIBRARY_PATH
9311 freebsd
* | dragonfly
*)
9312 # DragonFly does not have aout. When/if they implement a new
9313 # versioning mechanism, adjust this.
9314 if test -x /usr
/bin
/objformat
; then
9315 objformat
=`/usr/bin/objformat`
9318 freebsd
[123]*) objformat
=aout
;;
9322 version_type
=freebsd-
$objformat
9323 case $version_type in
9325 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9330 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9334 shlibpath_var
=LD_LIBRARY_PATH
9337 shlibpath_overrides_runpath
=yes
9339 freebsd3.
[01]* | freebsdelf3.
[01]*)
9340 shlibpath_overrides_runpath
=yes
9341 hardcode_into_libs
=yes
9343 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9344 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9345 shlibpath_overrides_runpath
=no
9346 hardcode_into_libs
=yes
9348 *) # from 4.6 on, and DragonFly
9349 shlibpath_overrides_runpath
=yes
9350 hardcode_into_libs
=yes
9359 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9360 soname_spec
='${libname}${release}${shared_ext}$major'
9361 shlibpath_var
=LD_LIBRARY_PATH
9362 hardcode_into_libs
=yes
9365 hpux9
* | hpux10
* | hpux11
*)
9366 # Give a soname corresponding to the major version so that dld.sl refuses to
9367 # link against other versions.
9374 hardcode_into_libs
=yes
9375 dynamic_linker
="$host_os dld.so"
9376 shlibpath_var
=LD_LIBRARY_PATH
9377 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9378 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9379 soname_spec
='${libname}${release}${shared_ext}$major'
9380 if test "X$HPUX_IA64_MODE" = X32
; then
9381 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9383 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9385 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9389 hardcode_into_libs
=yes
9390 dynamic_linker
="$host_os dld.sl"
9391 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9392 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9393 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9394 soname_spec
='${libname}${release}${shared_ext}$major'
9395 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9396 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9400 dynamic_linker
="$host_os dld.sl"
9401 shlibpath_var
=SHLIB_PATH
9402 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
9407 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9408 postinstall_cmds
='chmod 555 $lib'
9415 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9416 soname_spec
='${libname}${release}${shared_ext}$major'
9417 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9418 shlibpath_var
=LD_LIBRARY_PATH
9419 shlibpath_overrides_runpath
=no
9420 hardcode_into_libs
=yes
9423 irix5
* | irix6
* | nonstopux
*)
9425 nonstopux
*) version_type
=nonstopux
;;
9427 if test "$lt_cv_prog_gnu_ld" = yes; then
9435 soname_spec
='${libname}${release}${shared_ext}$major'
9436 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9438 irix5
* | nonstopux
*)
9442 case $LD in # libtool.m4 will add one of these switches to LD
9443 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9444 libsuff
= shlibsuff
= libmagic
=32-bit;;
9445 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9446 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9447 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9448 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9449 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9453 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9454 shlibpath_overrides_runpath
=no
9455 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9456 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9457 hardcode_into_libs
=yes
9460 # No shared lib support for Linux oldld, aout, or coff.
9461 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9465 # This must be Linux ELF.
9466 linux
* | k
*bsd
*-gnu)
9470 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9471 soname_spec
='${libname}${release}${shared_ext}$major'
9472 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9473 shlibpath_var
=LD_LIBRARY_PATH
9474 shlibpath_overrides_runpath
=no
9475 # This implies no fast_install, which is unacceptable.
9476 # Some rework will be needed to allow for fast_install
9477 # before this can be enabled.
9478 hardcode_into_libs
=yes
9480 # Append ld.so.conf contents to the search path
9481 if test -f /etc
/ld.so.conf
; then
9482 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' ' '`
9483 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9486 # We used to test for /lib/ld.so.1 and disable shared libraries on
9487 # powerpc, because MkLinux only supported shared libraries with the
9488 # GNU dynamic linker. Since this was broken with cross compilers,
9489 # most powerpc-linux boxes support dynamic linking these days and
9490 # people can always --disable-shared, the test was removed, and we
9491 # assume the GNU/Linux dynamic linker is in use.
9492 dynamic_linker
='GNU/Linux ld.so'
9499 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
9500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9501 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9502 dynamic_linker
='NetBSD (a.out) ld.so'
9504 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9505 soname_spec
='${libname}${release}${shared_ext}$major'
9506 dynamic_linker
='NetBSD ld.elf_so'
9508 shlibpath_var
=LD_LIBRARY_PATH
9509 shlibpath_overrides_runpath
=yes
9510 hardcode_into_libs
=yes
9515 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9516 shlibpath_var
=LD_LIBRARY_PATH
9517 shlibpath_overrides_runpath
=yes
9524 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9525 soname_spec
='${libname}${release}${shared_ext}$major'
9526 shlibpath_var
=LD_LIBRARY_PATH
9527 shlibpath_overrides_runpath
=yes
9532 sys_lib_dlsearch_path_spec
="/usr/lib"
9534 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9536 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9537 *) need_version
=no
;;
9539 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9540 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9541 shlibpath_var
=LD_LIBRARY_PATH
9542 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9544 openbsd2.
[89] | openbsd2.
[89].
*)
9545 shlibpath_overrides_runpath
=no
9548 shlibpath_overrides_runpath
=yes
9552 shlibpath_overrides_runpath
=yes
9557 libname_spec
='$name'
9560 library_names_spec
='$libname${shared_ext} $libname.a'
9561 dynamic_linker
='OS/2 ld.exe'
9562 shlibpath_var
=LIBPATH
9565 osf3
* | osf4
* | osf5
*)
9569 soname_spec
='${libname}${release}${shared_ext}$major'
9570 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9571 shlibpath_var
=LD_LIBRARY_PATH
9572 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9573 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
9584 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9585 soname_spec
='${libname}${release}${shared_ext}$major'
9586 shlibpath_var
=LD_LIBRARY_PATH
9587 shlibpath_overrides_runpath
=yes
9588 hardcode_into_libs
=yes
9589 # ldd complains unless libraries are executable
9590 postinstall_cmds
='chmod +x $lib'
9595 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9596 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9597 shlibpath_var
=LD_LIBRARY_PATH
9598 shlibpath_overrides_runpath
=yes
9599 if test "$with_gnu_ld" = yes; then
9607 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9608 soname_spec
='${libname}${release}${shared_ext}$major'
9609 shlibpath_var
=LD_LIBRARY_PATH
9610 case $host_vendor in
9612 shlibpath_overrides_runpath
=no
9614 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9615 runpath_var
=LD_RUN_PATH
9623 shlibpath_overrides_runpath
=no
9624 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9630 if test -d /usr
/nec
;then
9632 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9633 soname_spec
='$libname${shared_ext}.$major'
9634 shlibpath_var
=LD_LIBRARY_PATH
9638 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9639 version_type
=freebsd-elf
9642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9643 soname_spec
='${libname}${release}${shared_ext}$major'
9644 shlibpath_var
=LD_LIBRARY_PATH
9645 hardcode_into_libs
=yes
9646 if test "$with_gnu_ld" = yes; then
9647 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9648 shlibpath_overrides_runpath
=no
9650 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9651 shlibpath_overrides_runpath
=yes
9654 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9658 sys_lib_dlsearch_path_spec
='/usr/lib'
9663 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9664 soname_spec
='${libname}${release}${shared_ext}$major'
9665 shlibpath_var
=LD_LIBRARY_PATH
9672 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9673 $as_echo "$dynamic_linker" >&6; }
9674 test "$dynamic_linker" = no
&& can_build_shared
=no
9676 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9677 if test "$GCC" = yes; then
9678 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9681 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9682 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
9684 if test -n "$hardcode_libdir_flag_spec" || \
9685 test -n "$runpath_var" || \
9686 test "X$hardcode_automatic" = "Xyes" ; then
9688 # We can hardcode non-existant directories.
9689 if test "$hardcode_direct" != no
&&
9690 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9691 # have to relink, otherwise we might link with an installed library
9692 # when we should be linking with a yet-to-be-installed one
9693 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9694 test "$hardcode_minus_L" != no
; then
9695 # Linking always hardcodes the temporary library directory.
9696 hardcode_action
=relink
9698 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9699 hardcode_action
=immediate
9702 # We cannot hardcode anything, or else we can only hardcode existing
9704 hardcode_action
=unsupported
9706 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
9707 $as_echo "$hardcode_action" >&6; }
9709 if test "$hardcode_action" = relink
; then
9710 # Fast installation is not supported
9711 enable_fast_install
=no
9712 elif test "$shlibpath_overrides_runpath" = yes ||
9713 test "$enable_shared" = no
; then
9714 # Fast installation is not necessary
9715 enable_fast_install
=needless
9720 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9721 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
9722 if test -n "$STRIP" && $STRIP -V 2>&1 |
grep "GNU strip" >/dev
/null
; then
9723 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
9724 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
9725 { $as_echo "$as_me:$LINENO: result: yes" >&5
9726 $as_echo "yes" >&6; }
9728 # FIXME - insert some real tests, host_os isn't really good enough
9731 if test -n "$STRIP" ; then
9732 striplib
="$STRIP -x"
9733 old_striplib
="$STRIP -S"
9734 { $as_echo "$as_me:$LINENO: result: yes" >&5
9735 $as_echo "yes" >&6; }
9737 { $as_echo "$as_me:$LINENO: result: no" >&5
9738 $as_echo "no" >&6; }
9742 { $as_echo "$as_me:$LINENO: result: no" >&5
9743 $as_echo "no" >&6; }
9748 if test "x$enable_dlopen" != xyes
; then
9749 enable_dlopen
=unknown
9750 enable_dlopen_self
=unknown
9751 enable_dlopen_self_static
=unknown
9758 lt_cv_dlopen
="load_add_on"
9760 lt_cv_dlopen_self
=yes
9764 lt_cv_dlopen
="LoadLibrary"
9769 lt_cv_dlopen
="dlopen"
9774 # if libdl is installed we need to link against it
9775 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9776 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9777 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9778 $as_echo_n "(cached) " >&6
9780 ac_check_lib_save_LIBS
=$LIBS
9782 cat >conftest.
$ac_ext <<_ACEOF
9785 cat confdefs.h
>>conftest.
$ac_ext
9786 cat >>conftest.
$ac_ext <<_ACEOF
9787 /* end confdefs.h. */
9789 /* Override any GCC internal prototype to avoid an error.
9790 Use char because int might match the return type of a GCC
9791 builtin and then its argument prototype would still apply. */
9804 rm -f conftest.
$ac_objext conftest
$ac_exeext
9805 if { (ac_try
="$ac_link"
9807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9808 *) ac_try_echo=$ac_try;;
9810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9811 $as_echo "$ac_try_echo") >&5
9812 (eval "$ac_link") 2>conftest.er1
9814 grep -v '^ *+' conftest.er1 >conftest.err
9816 cat conftest.err >&5
9817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9818 (exit $ac_status); } && {
9819 test -z "$ac_c_werror_flag" ||
9820 test ! -s conftest.err
9821 } && test -s conftest$ac_exeext && {
9822 test "$cross_compiling" = yes ||
9823 $as_test_x conftest$ac_exeext
9825 ac_cv_lib_dl_dlopen=yes
9827 $as_echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.$ac_ext >&5
9830 ac_cv_lib_dl_dlopen=no
9833 rm -rf conftest.dSYM
9834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9835 conftest$ac_exeext conftest.$ac_ext
9836 LIBS=$ac_check_lib_save_LIBS
9838 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9839 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9840 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
9841 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9846 lt_cv_dlopen_self=yes
9853 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
9854 $as_echo_n "checking for shl_load... " >&6; }
9855 if test "${ac_cv_func_shl_load+set}" = set; then
9856 $as_echo_n "(cached) " >&6
9858 cat >conftest.$ac_ext <<_ACEOF
9861 cat confdefs.h >>conftest.$ac_ext
9862 cat >>conftest.$ac_ext <<_ACEOF
9863 /* end confdefs.h. */
9864 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9866 #define shl_load innocuous_shl_load
9868 /* System header to define __stub macros and hopefully few prototypes,
9869 which can conflict with char shl_load (); below.
9870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9871 <limits.h> exists even on freestanding compilers. */
9874 # include <limits.h>
9876 # include <assert.h>
9881 /* Override any GCC internal prototype to avoid an error.
9882 Use char because int might match the return type of a GCC
9883 builtin and then its argument prototype would still apply. */
9888 /* The GNU C library defines this for functions which it implements
9889 to always fail with ENOSYS. Some functions are actually named
9890 something starting with __ and the normal name is an alias. */
9891 #if defined __stub_shl_load || defined __stub___shl_load
9903 rm -f conftest.$ac_objext conftest$ac_exeext
9904 if { (ac_try="$ac_link"
9906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9907 *) ac_try_echo
=$ac_try;;
9909 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9910 $as_echo "$ac_try_echo") >&5
9911 (eval "$ac_link") 2>conftest.er1
9913 grep -v '^ *+' conftest.er1
>conftest.err
9915 cat conftest.err
>&5
9916 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); } && {
9918 test -z "$ac_c_werror_flag" ||
9919 test ! -s conftest.err
9920 } && test -s conftest
$ac_exeext && {
9921 test "$cross_compiling" = yes ||
9922 $as_test_x conftest
$ac_exeext
9924 ac_cv_func_shl_load
=yes
9926 $as_echo "$as_me: failed program was:" >&5
9927 sed 's/^/| /' conftest.
$ac_ext >&5
9929 ac_cv_func_shl_load
=no
9932 rm -rf conftest.dSYM
9933 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9934 conftest
$ac_exeext conftest.
$ac_ext
9936 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9937 $as_echo "$ac_cv_func_shl_load" >&6; }
9938 if test "x$ac_cv_func_shl_load" = x
""yes; then
9939 lt_cv_dlopen
="shl_load"
9941 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9942 $as_echo_n "checking for shl_load in -ldld... " >&6; }
9943 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9944 $as_echo_n "(cached) " >&6
9946 ac_check_lib_save_LIBS
=$LIBS
9948 cat >conftest.
$ac_ext <<_ACEOF
9951 cat confdefs.h
>>conftest.
$ac_ext
9952 cat >>conftest.
$ac_ext <<_ACEOF
9953 /* end confdefs.h. */
9955 /* Override any GCC internal prototype to avoid an error.
9956 Use char because int might match the return type of a GCC
9957 builtin and then its argument prototype would still apply. */
9970 rm -f conftest.
$ac_objext conftest
$ac_exeext
9971 if { (ac_try
="$ac_link"
9973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9974 *) ac_try_echo=$ac_try;;
9976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9977 $as_echo "$ac_try_echo") >&5
9978 (eval "$ac_link") 2>conftest.er1
9980 grep -v '^ *+' conftest.er1 >conftest.err
9982 cat conftest.err >&5
9983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984 (exit $ac_status); } && {
9985 test -z "$ac_c_werror_flag" ||
9986 test ! -s conftest.err
9987 } && test -s conftest$ac_exeext && {
9988 test "$cross_compiling" = yes ||
9989 $as_test_x conftest$ac_exeext
9991 ac_cv_lib_dld_shl_load=yes
9993 $as_echo "$as_me: failed program was:" >&5
9994 sed 's/^/| /' conftest.$ac_ext >&5
9996 ac_cv_lib_dld_shl_load=no
9999 rm -rf conftest.dSYM
10000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10001 conftest$ac_exeext conftest.$ac_ext
10002 LIBS=$ac_check_lib_save_LIBS
10004 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10005 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10006 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10007 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10009 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10010 $as_echo_n "checking for dlopen... " >&6; }
10011 if test "${ac_cv_func_dlopen+set}" = set; then
10012 $as_echo_n "(cached) " >&6
10014 cat >conftest.$ac_ext <<_ACEOF
10017 cat confdefs.h >>conftest.$ac_ext
10018 cat >>conftest.$ac_ext <<_ACEOF
10019 /* end confdefs.h. */
10020 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10022 #define dlopen innocuous_dlopen
10024 /* System header to define __stub macros and hopefully few prototypes,
10025 which can conflict with char dlopen (); below.
10026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10027 <limits.h> exists even on freestanding compilers. */
10030 # include <limits.h>
10032 # include <assert.h>
10037 /* Override any GCC internal prototype to avoid an error.
10038 Use char because int might match the return type of a GCC
10039 builtin and then its argument prototype would still apply. */
10044 /* The GNU C library defines this for functions which it implements
10045 to always fail with ENOSYS. Some functions are actually named
10046 something starting with __ and the normal name is an alias. */
10047 #if defined __stub_dlopen || defined __stub___dlopen
10059 rm -f conftest.$ac_objext conftest$ac_exeext
10060 if { (ac_try="$ac_link"
10061 case "(($ac_try" in
10062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10063 *) ac_try_echo
=$ac_try;;
10065 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10066 $as_echo "$ac_try_echo") >&5
10067 (eval "$ac_link") 2>conftest.er1
10069 grep -v '^ *+' conftest.er1
>conftest.err
10071 cat conftest.err
>&5
10072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10073 (exit $ac_status); } && {
10074 test -z "$ac_c_werror_flag" ||
10075 test ! -s conftest.err
10076 } && test -s conftest
$ac_exeext && {
10077 test "$cross_compiling" = yes ||
10078 $as_test_x conftest
$ac_exeext
10080 ac_cv_func_dlopen
=yes
10082 $as_echo "$as_me: failed program was:" >&5
10083 sed 's/^/| /' conftest.
$ac_ext >&5
10085 ac_cv_func_dlopen
=no
10088 rm -rf conftest.dSYM
10089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10090 conftest
$ac_exeext conftest.
$ac_ext
10092 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10093 $as_echo "$ac_cv_func_dlopen" >&6; }
10094 if test "x$ac_cv_func_dlopen" = x
""yes; then
10095 lt_cv_dlopen
="dlopen"
10097 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10098 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10099 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10100 $as_echo_n "(cached) " >&6
10102 ac_check_lib_save_LIBS
=$LIBS
10104 cat >conftest.
$ac_ext <<_ACEOF
10107 cat confdefs.h
>>conftest.
$ac_ext
10108 cat >>conftest.
$ac_ext <<_ACEOF
10109 /* end confdefs.h. */
10111 /* Override any GCC internal prototype to avoid an error.
10112 Use char because int might match the return type of a GCC
10113 builtin and then its argument prototype would still apply. */
10126 rm -f conftest.
$ac_objext conftest
$ac_exeext
10127 if { (ac_try
="$ac_link"
10128 case "(($ac_try" in
10129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10130 *) ac_try_echo=$ac_try;;
10132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10133 $as_echo "$ac_try_echo") >&5
10134 (eval "$ac_link") 2>conftest.er1
10136 grep -v '^ *+' conftest.er1 >conftest.err
10138 cat conftest.err >&5
10139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10140 (exit $ac_status); } && {
10141 test -z "$ac_c_werror_flag" ||
10142 test ! -s conftest.err
10143 } && test -s conftest$ac_exeext && {
10144 test "$cross_compiling" = yes ||
10145 $as_test_x conftest$ac_exeext
10147 ac_cv_lib_dl_dlopen=yes
10149 $as_echo "$as_me: failed program was:" >&5
10150 sed 's/^/| /' conftest.$ac_ext >&5
10152 ac_cv_lib_dl_dlopen=no
10155 rm -rf conftest.dSYM
10156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10157 conftest$ac_exeext conftest.$ac_ext
10158 LIBS=$ac_check_lib_save_LIBS
10160 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10161 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10162 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10163 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10165 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10166 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10167 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10168 $as_echo_n "(cached) " >&6
10170 ac_check_lib_save_LIBS=$LIBS
10171 LIBS="-lsvld $LIBS"
10172 cat >conftest.$ac_ext <<_ACEOF
10175 cat confdefs.h >>conftest.$ac_ext
10176 cat >>conftest.$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10179 /* Override any GCC internal prototype to avoid an error.
10180 Use char because int might match the return type of a GCC
10181 builtin and then its argument prototype would still apply. */
10194 rm -f conftest.$ac_objext conftest$ac_exeext
10195 if { (ac_try="$ac_link"
10196 case "(($ac_try" in
10197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10198 *) ac_try_echo
=$ac_try;;
10200 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10201 $as_echo "$ac_try_echo") >&5
10202 (eval "$ac_link") 2>conftest.er1
10204 grep -v '^ *+' conftest.er1
>conftest.err
10206 cat conftest.err
>&5
10207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10208 (exit $ac_status); } && {
10209 test -z "$ac_c_werror_flag" ||
10210 test ! -s conftest.err
10211 } && test -s conftest
$ac_exeext && {
10212 test "$cross_compiling" = yes ||
10213 $as_test_x conftest
$ac_exeext
10215 ac_cv_lib_svld_dlopen
=yes
10217 $as_echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.
$ac_ext >&5
10220 ac_cv_lib_svld_dlopen
=no
10223 rm -rf conftest.dSYM
10224 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10225 conftest
$ac_exeext conftest.
$ac_ext
10226 LIBS
=$ac_check_lib_save_LIBS
10228 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10229 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10230 if test "x$ac_cv_lib_svld_dlopen" = x
""yes; then
10231 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10233 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10234 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10235 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10236 $as_echo_n "(cached) " >&6
10238 ac_check_lib_save_LIBS
=$LIBS
10240 cat >conftest.
$ac_ext <<_ACEOF
10243 cat confdefs.h
>>conftest.
$ac_ext
10244 cat >>conftest.
$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10247 /* Override any GCC internal prototype to avoid an error.
10248 Use char because int might match the return type of a GCC
10249 builtin and then its argument prototype would still apply. */
10257 return dld_link ();
10262 rm -f conftest.
$ac_objext conftest
$ac_exeext
10263 if { (ac_try
="$ac_link"
10264 case "(($ac_try" in
10265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10266 *) ac_try_echo=$ac_try;;
10268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10269 $as_echo "$ac_try_echo") >&5
10270 (eval "$ac_link") 2>conftest.er1
10272 grep -v '^ *+' conftest.er1 >conftest.err
10274 cat conftest.err >&5
10275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); } && {
10277 test -z "$ac_c_werror_flag" ||
10278 test ! -s conftest.err
10279 } && test -s conftest$ac_exeext && {
10280 test "$cross_compiling" = yes ||
10281 $as_test_x conftest$ac_exeext
10283 ac_cv_lib_dld_dld_link=yes
10285 $as_echo "$as_me: failed program was:" >&5
10286 sed 's/^/| /' conftest.$ac_ext >&5
10288 ac_cv_lib_dld_dld_link=no
10291 rm -rf conftest.dSYM
10292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10293 conftest$ac_exeext conftest.$ac_ext
10294 LIBS=$ac_check_lib_save_LIBS
10296 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10297 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10298 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10299 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10320 if test "x$lt_cv_dlopen" != xno; then
10326 case $lt_cv_dlopen in
10328 save_CPPFLAGS="$CPPFLAGS"
10329 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10331 save_LDFLAGS="$LDFLAGS"
10332 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10335 LIBS="$lt_cv_dlopen_libs $LIBS"
10337 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10338 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10339 if test "${lt_cv_dlopen_self+set}" = set; then
10340 $as_echo_n "(cached) " >&6
10342 if test "$cross_compiling" = yes; then :
10343 lt_cv_dlopen_self=cross
10345 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10346 lt_status=$lt_dlunknown
10347 cat > conftest.$ac_ext <<EOF
10348 #line 10348 "configure"
10349 #include "confdefs.h"
10358 # define LT_DLGLOBAL RTLD_GLOBAL
10361 # define LT_DLGLOBAL DL_GLOBAL
10363 # define LT_DLGLOBAL 0
10367 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10368 find out it does not work in some platform. */
10369 #ifndef LT_DLLAZY_OR_NOW
10371 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10374 # define LT_DLLAZY_OR_NOW DL_LAZY
10377 # define LT_DLLAZY_OR_NOW RTLD_NOW
10380 # define LT_DLLAZY_OR_NOW DL_NOW
10382 # define LT_DLLAZY_OR_NOW 0
10390 extern "C" void exit (int);
10393 void fnord() { int i=42;}
10396 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10397 int status = $lt_dlunknown;
10401 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10402 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10403 /* dlclose (self); */
10411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10412 (eval $ac_link) 2>&5
10414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10415 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10416 (./conftest; exit; ) >&5 2>/dev/null
10418 case x$lt_status in
10419 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10420 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10421 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10424 # compilation failed
10425 lt_cv_dlopen_self=no
10432 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10433 $as_echo "$lt_cv_dlopen_self" >&6; }
10435 if test "x$lt_cv_dlopen_self" = xyes; then
10436 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10437 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10438 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10439 if test "${lt_cv_dlopen_self_static+set}" = set; then
10440 $as_echo_n "(cached) " >&6
10442 if test "$cross_compiling" = yes; then :
10443 lt_cv_dlopen_self_static=cross
10445 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10446 lt_status=$lt_dlunknown
10447 cat > conftest.$ac_ext <<EOF
10448 #line 10448 "configure"
10449 #include "confdefs.h"
10458 # define LT_DLGLOBAL RTLD_GLOBAL
10461 # define LT_DLGLOBAL DL_GLOBAL
10463 # define LT_DLGLOBAL 0
10467 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10468 find out it does not work in some platform. */
10469 #ifndef LT_DLLAZY_OR_NOW
10471 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10474 # define LT_DLLAZY_OR_NOW DL_LAZY
10477 # define LT_DLLAZY_OR_NOW RTLD_NOW
10480 # define LT_DLLAZY_OR_NOW DL_NOW
10482 # define LT_DLLAZY_OR_NOW 0
10490 extern "C" void exit (int);
10493 void fnord() { int i=42;}
10496 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10497 int status = $lt_dlunknown;
10501 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10502 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10503 /* dlclose (self); */
10511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10512 (eval $ac_link) 2>&5
10514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10516 (./conftest; exit; ) >&5 2>/dev/null
10518 case x$lt_status in
10519 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10520 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10521 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10524 # compilation failed
10525 lt_cv_dlopen_self_static=no
10532 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10533 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10536 CPPFLAGS="$save_CPPFLAGS"
10537 LDFLAGS="$save_LDFLAGS"
10542 case $lt_cv_dlopen_self in
10543 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10544 *) enable_dlopen_self=unknown ;;
10547 case $lt_cv_dlopen_self_static in
10548 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10549 *) enable_dlopen_self_static=unknown ;;
10554 # Report which library types will actually be built
10555 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10556 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10557 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
10558 $as_echo "$can_build_shared" >&6; }
10560 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10561 $as_echo_n "checking whether to build shared libraries... " >&6; }
10562 test "$can_build_shared" = "no" && enable_shared=no
10564 # On AIX, shared libraries and static libraries use the same namespace, and
10565 # are all built from PIC.
10568 test "$enable_shared" = yes && enable_static=no
10569 if test -n "$RANLIB"; then
10570 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10571 postinstall_cmds='$RANLIB $lib'
10576 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10577 test "$enable_shared" = yes && enable_static=no
10581 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
10582 $as_echo "$enable_shared" >&6; }
10584 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10585 $as_echo_n "checking whether to build static libraries... " >&6; }
10586 # Make sure either enable_shared or enable_static is yes.
10587 test "$enable_shared" = yes || enable_static=yes
10588 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
10589 $as_echo "$enable_static" >&6; }
10591 # The else clause should only fire when bootstrapping the
10592 # libtool distribution, otherwise you forgot to ship ltmain.sh
10593 # with your package, and you will get complaints that there are
10594 # no rules to generate ltmain.sh.
10595 if test -f "$ltmain"; then
10596 # See if we are running on zsh, and set the options which allow our commands through
10597 # without removal of \ escapes.
10598 if test -n "${ZSH_VERSION+set}" ; then
10599 setopt NO_GLOB_SUBST
10601 # Now quote all the things that may contain metacharacters while being
10602 # careful not to overquote the AC_SUBSTed values. We take copies of the
10603 # variables and quote the copies for generation of the libtool script.
10604 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10606 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10607 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10608 deplibs_check_method reload_flag reload_cmds need_locks \
10609 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10610 lt_cv_sys_global_symbol_to_c_name_address \
10611 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10612 old_postinstall_cmds old_postuninstall_cmds \
10616 lt_prog_compiler_wl \
10617 lt_prog_compiler_pic \
10618 lt_prog_compiler_static \
10619 lt_prog_compiler_no_builtin_flag \
10620 export_dynamic_flag_spec \
10621 thread_safe_flag_spec \
10622 whole_archive_flag_spec \
10623 enable_shared_with_static_runtimes \
10625 old_archive_from_new_cmds \
10630 compiler_lib_search_path \
10632 archive_expsym_cmds \
10634 postuninstall_cmds \
10635 old_archive_from_expsyms_cmds \
10636 allow_undefined_flag \
10637 no_undefined_flag \
10638 export_symbols_cmds \
10639 hardcode_libdir_flag_spec \
10640 hardcode_libdir_flag_spec_ld \
10641 hardcode_libdir_separator \
10642 hardcode_automatic \
10644 module_expsym_cmds \
10645 lt_cv_prog_compiler_c_o \
10648 include_expsyms; do
10651 old_archive_cmds | \
10652 old_archive_from_new_cmds | \
10654 archive_expsym_cmds | \
10656 module_expsym_cmds | \
10657 old_archive_from_expsyms_cmds | \
10658 export_symbols_cmds | \
10659 extract_expsyms_cmds | reload_cmds | finish_cmds | \
10660 postinstall_cmds | postuninstall_cmds | \
10661 old_postinstall_cmds | old_postuninstall_cmds | \
10662 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10663 # Double-quote double-evaled strings.
10664 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$double_quote_subst\" -e \"\
$sed_quote_subst\" -e \"\
$delay_variable_subst\"\
`\\\""
10667 eval "lt_$var=\\\"\`\
$echo \"X\$
$var\" | \
$Xsed -e \"\
$sed_quote_subst\"\
`\\\""
10673 *'\$0 --fallback-echo"')
10674 lt_echo=`$echo "X$lt_echo" |
$Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10678 cfgfile="${ofile}T"
10679 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10681 { $as_echo "$as_me:$LINENO: creating $ofile" >&5
10682 $as_echo "$as_me: creating $ofile" >&6;}
10684 cat <<__EOF__ >> "$cfgfile"
10687 # `$echo "$cfgfile" |
sed 's%^.*/%%'` - Provide generalized library-building support services.
10688 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10689 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
10691 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10692 # Free Software Foundation, Inc.
10694 # This file is part of GNU Libtool:
10695 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10697 # This program is free software; you can redistribute it and/or modify
10698 # it under the terms of the GNU General Public License as published by
10699 # the Free Software Foundation; either version 2 of the License, or
10700 # (at your option) any later version.
10702 # This program is distributed in the hope that it will be useful, but
10703 # WITHOUT ANY WARRANTY; without even the implied warranty of
10704 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10705 # General Public License for more details.
10707 # You should have received a copy of the GNU General Public License
10708 # along with this program; if not, write to the Free Software
10709 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10711 # As a special exception to the GNU General Public License, if you
10712 # distribute this file as part of a program that contains a
10713 # configuration script generated by Autoconf, you may include it under
10714 # the same distribution terms that you use for the rest of that program.
10716 # A sed program that does not truncate output.
10719 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
10720 Xsed="$SED -e 1s/^X//"
10722 # The HP-UX ksh and POSIX shell print the target directory to stdout
10723 # if CDPATH is set.
10724 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10726 # The names of the tagged configurations supported by this script.
10729 # ### BEGIN LIBTOOL CONFIG
10731 # Libtool was configured on host `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`:
10733 # Shell to use when invoking shell scripts.
10736 # Whether or not to build shared libraries.
10737 build_libtool_libs=$enable_shared
10739 # Whether or not to build static libraries.
10740 build_old_libs=$enable_static
10742 # Whether or not to add -lc for building shared libraries.
10743 build_libtool_need_lc=$archive_cmds_need_lc
10745 # Whether or not to disallow shared libs when runtime libs are static
10746 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10748 # Whether or not to optimize for fast installation.
10749 fast_install=$enable_fast_install
10752 host_alias=$host_alias
10756 # The build system.
10757 build_alias=$build_alias
10761 # An echo program that does not interpret backslashes.
10766 AR_FLAGS=$lt_AR_FLAGS
10771 # LTCC compiler flags.
10772 LTCFLAGS=$lt_LTCFLAGS
10774 # A language-specific compiler.
10777 # Is the compiler the GNU C compiler?
10783 # The linker used to build libraries.
10786 # Whether we need hard or soft links.
10789 # A BSD-compatible nm program.
10792 # A symbol stripping program
10795 # Used to examine libraries when file_magic_cmd begins "file"
10796 MAGIC_CMD=$MAGIC_CMD
10798 # Used on cygwin: DLL creation program.
10801 # Used on cygwin: object dumper.
10804 # Used on cygwin: assembler.
10807 # The name of the directory that contains temporary libtool files.
10810 # How to create reloadable object files.
10811 reload_flag=$lt_reload_flag
10812 reload_cmds=$lt_reload_cmds
10814 # How to pass a linker flag through the compiler.
10815 wl=$lt_lt_prog_compiler_wl
10817 # Object file suffix (normally "o").
10818 objext="$ac_objext"
10820 # Old archive suffix (normally "a").
10823 # Shared library suffix (normally ".so").
10824 shrext_cmds='$shrext_cmds'
10826 # Executable file suffix (normally "").
10829 # Additional compiler flags for building library objects.
10830 pic_flag=$lt_lt_prog_compiler_pic
10833 # What is the maximum length of a command?
10834 max_cmd_len=$lt_cv_sys_max_cmd_len
10836 # Does compiler simultaneously support -c and -o options?
10837 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10839 # Must we lock files when doing compilation?
10840 need_locks=$lt_need_locks
10842 # Do we need the lib prefix for modules?
10843 need_lib_prefix=$need_lib_prefix
10845 # Do we need a version for libraries?
10846 need_version=$need_version
10848 # Whether dlopen is supported.
10849 dlopen_support=$enable_dlopen
10851 # Whether dlopen of programs is supported.
10852 dlopen_self=$enable_dlopen_self
10854 # Whether dlopen of statically linked programs is supported.
10855 dlopen_self_static=$enable_dlopen_self_static
10857 # Compiler flag to prevent dynamic linking.
10858 link_static_flag=$lt_lt_prog_compiler_static
10860 # Compiler flag to turn off builtin functions.
10861 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10863 # Compiler flag to allow reflexive dlopens.
10864 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10866 # Compiler flag to generate shared objects directly from archives.
10867 whole_archive_flag_spec=$lt_whole_archive_flag_spec
10869 # Compiler flag to generate thread-safe objects.
10870 thread_safe_flag_spec=$lt_thread_safe_flag_spec
10872 # Library versioning type.
10873 version_type=$version_type
10875 # Format of library name prefix.
10876 libname_spec=$lt_libname_spec
10878 # List of archive names. First name is the real one, the rest are links.
10879 # The last name is the one that the linker finds with -lNAME.
10880 library_names_spec=$lt_library_names_spec
10882 # The coded name of the library, if different from the real name.
10883 soname_spec=$lt_soname_spec
10885 # Commands used to build and install an old-style archive.
10887 old_archive_cmds=$lt_old_archive_cmds
10888 old_postinstall_cmds=$lt_old_postinstall_cmds
10889 old_postuninstall_cmds=$lt_old_postuninstall_cmds
10891 # Create an old-style archive from a shared archive.
10892 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10894 # Create a temporary old-style archive to link instead of a shared archive.
10895 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10897 # Commands used to build and install a shared archive.
10898 archive_cmds=$lt_archive_cmds
10899 archive_expsym_cmds=$lt_archive_expsym_cmds
10900 postinstall_cmds=$lt_postinstall_cmds
10901 postuninstall_cmds=$lt_postuninstall_cmds
10903 # Commands used to build a loadable module (assumed same as above if empty)
10904 module_cmds=$lt_module_cmds
10905 module_expsym_cmds=$lt_module_expsym_cmds
10907 # Commands to strip libraries.
10908 old_striplib=$lt_old_striplib
10909 striplib=$lt_striplib
10911 # Dependencies to place before the objects being linked to create a
10913 predep_objects=$lt_predep_objects
10915 # Dependencies to place after the objects being linked to create a
10917 postdep_objects=$lt_postdep_objects
10919 # Dependencies to place before the objects being linked to create a
10921 predeps=$lt_predeps
10923 # Dependencies to place after the objects being linked to create a
10925 postdeps=$lt_postdeps
10927 # The library search path used internally by the compiler when linking
10928 # a shared library.
10929 compiler_lib_search_path=$lt_compiler_lib_search_path
10931 # Method to check whether dependent libraries are shared objects.
10932 deplibs_check_method=$lt_deplibs_check_method
10934 # Command to use when deplibs_check_method == file_magic.
10935 file_magic_cmd=$lt_file_magic_cmd
10937 # Flag that allows shared libraries with undefined symbols to be built.
10938 allow_undefined_flag=$lt_allow_undefined_flag
10940 # Flag that forces no undefined symbols.
10941 no_undefined_flag=$lt_no_undefined_flag
10943 # Commands used to finish a libtool library installation in a directory.
10944 finish_cmds=$lt_finish_cmds
10946 # Same as above, but a single script fragment to be evaled but not shown.
10947 finish_eval=$lt_finish_eval
10949 # Take the output of nm and produce a listing of raw symbols and C names.
10950 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10952 # Transform the output of nm in a proper C declaration
10953 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10955 # Transform the output of nm in a C name address pair
10956 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10958 # This is the shared library runtime path variable.
10959 runpath_var=$runpath_var
10961 # This is the shared library path variable.
10962 shlibpath_var=$shlibpath_var
10964 # Is shlibpath searched before the hard-coded library search path?
10965 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10967 # How to hardcode a shared library path into an executable.
10968 hardcode_action=$hardcode_action
10970 # Whether we should hardcode library paths into libraries.
10971 hardcode_into_libs=$hardcode_into_libs
10973 # Flag to hardcode \$libdir into a binary during linking.
10974 # This must work even if \$libdir does not exist.
10975 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10977 # If ld is used when linking, flag to hardcode \$libdir into
10978 # a binary during linking. This must work even if \$libdir does
10980 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10982 # Whether we need a single -rpath flag with a separated argument.
10983 hardcode_libdir_separator=$lt_hardcode_libdir_separator
10985 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10986 # resulting binary.
10987 hardcode_direct=$hardcode_direct
10989 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10990 # resulting binary.
10991 hardcode_minus_L=$hardcode_minus_L
10993 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10994 # the resulting binary.
10995 hardcode_shlibpath_var=$hardcode_shlibpath_var
10997 # Set to yes if building a shared library automatically hardcodes DIR into the library
10998 # and all subsequent libraries and executables linked against it.
10999 hardcode_automatic=$hardcode_automatic
11001 # Variables whose values should be saved in libtool wrapper scripts and
11002 # restored at relink time.
11003 variables_saved_for_relink="$variables_saved_for_relink"
11005 # Whether libtool must link a program against all its dependency libraries.
11006 link_all_deplibs=$link_all_deplibs
11008 # Compile-time system search path for libraries
11009 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
11011 # Run-time system search path for libraries
11012 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11014 # Fix the shell variable \$srcfile for the compiler.
11015 fix_srcfile_path=$lt_fix_srcfile_path
11017 # Set to yes if exported symbols are required.
11018 always_export_symbols=$always_export_symbols
11020 # The commands to list exported symbols.
11021 export_symbols_cmds=$lt_export_symbols_cmds
11023 # The commands to extract the exported symbol list from a shared archive.
11024 extract_expsyms_cmds=$lt_extract_expsyms_cmds
11026 # Symbols that should not be listed in the preloaded symbols.
11027 exclude_expsyms=$lt_exclude_expsyms
11029 # Symbols that must always be exported.
11030 include_expsyms=$lt_include_expsyms
11032 # ### END LIBTOOL CONFIG
11039 cat <<\EOF >> "$cfgfile"
11041 # AIX sometimes has problems with the GCC collect2 program. For some
11042 # reason, if we set the COLLECT_NAMES environment variable, the problems
11043 # vanish in a puff of smoke.
11044 if test "X${COLLECT_NAMES+set}" != Xset; then
11046 export COLLECT_NAMES
11052 # We use sed instead of cat because bash on DJGPP gets confused if
11053 # if finds mixed CR/LF and LF-only lines. Since sed operates in
11054 # text mode, it properly converts lines to CR/LF. This bash problem
11055 # is reportedly fixed, but why not run on old versions too?
11056 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
11058 mv -f "$cfgfile" "$ofile" || \
11059 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
11063 # If there is no Makefile yet, we rely on a make rule to execute
11064 # `config.status
--recheck' to rerun these tests and create the
11065 # libtool script then.
11066 ltmain_in=`echo $ltmain | sed -e 's
/\.sh$
/.in
/'`
11067 if test -f "$ltmain_in"; then
11068 test -f Makefile && make "$ltmain"
11074 ac_cpp='$CPP $CPPFLAGS'
11075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
11076 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
11077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11082 # Check whether --with-tags was given.
11083 if test "${with_tags+set}" = set; then
11084 withval=$with_tags; tagnames="$withval"
11088 if test -f "$ltmain" && test -n "$tagnames"; then
11089 if test ! -f "${ofile}"; then
11090 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist
" >&5
11091 $as_echo "$as_me: WARNING
: output
file \
`$ofile' does not exist" >&2;}
11094 if test -z "$LTCC"; then
11095 eval "`$SHELL ${ofile} --config |
grep '^LTCC='`"
11096 if test -z "$LTCC"; then
11097 { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
11098 $as_echo "$as_me: WARNING: output file \`$ofile' does not
look like a libtool
script" >&2;}
11100 { $as_echo "$as_me:$LINENO: WARNING
: using \
`LTCC=$LTCC', extracted from \`$ofile'" >&5
11101 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \
`$ofile'" >&2;}
11104 if test -z "$LTCFLAGS"; then
11105 eval "`$SHELL ${ofile} --config |
grep '^LTCFLAGS='`"
11108 # Extract list of available tagged configurations in $ofile.
11109 # Note that this assumes the entire list is on one line.
11110 available_tags=`grep "^available_tags=" "${ofile}" |
$SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
11112 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
11113 for tagname in $tagnames; do
11115 # Check whether tagname contains only valid characters
11116 case `$echo "X$tagname" |
$Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
11118 *) { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
11119 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
11120 { (exit 1); exit 1; }; }
11124 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
11126 { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
11127 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
11128 { (exit 1); exit 1; }; }
11131 # Update the list of available tags.
11132 if test -n "$tagname"; then
11133 echo appending configuration tag \"$tagname\" to $ofile
11137 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11138 ( (test "X$CXX" = "Xg++" && `g
++ -v >/dev
/null
2>&1` ) ||
11139 (test "X$CXX" != "Xg++"))) ; then
11141 ac_cpp='$CXXCPP $CPPFLAGS'
11142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11149 archive_cmds_need_lc_CXX=no
11150 allow_undefined_flag_CXX=
11151 always_export_symbols_CXX=no
11152 archive_expsym_cmds_CXX=
11153 export_dynamic_flag_spec_CXX=
11154 hardcode_direct_CXX=no
11155 hardcode_libdir_flag_spec_CXX=
11156 hardcode_libdir_flag_spec_ld_CXX=
11157 hardcode_libdir_separator_CXX=
11158 hardcode_minus_L_CXX=no
11159 hardcode_shlibpath_var_CXX=unsupported
11160 hardcode_automatic_CXX=no
11162 module_expsym_cmds_CXX=
11163 link_all_deplibs_CXX=unknown
11164 old_archive_cmds_CXX=$old_archive_cmds
11165 no_undefined_flag_CXX=
11166 whole_archive_flag_spec_CXX=
11167 enable_shared_with_static_runtimes_CXX=no
11169 # Dependencies to place before and after the object being linked:
11170 predep_objects_CXX=
11171 postdep_objects_CXX=
11174 compiler_lib_search_path_CXX=
11176 # Source file extension for C++ test sources.
11179 # Object file extension for compiled C++ test sources.
11183 # Code to be used in simple compile tests
11184 lt_simple_compile_test_code="int some_variable = 0;"
11186 # Code to be used in simple link tests
11187 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11189 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11191 # If no C compiler was specified, use CC.
11194 # If no C compiler flags were specified, use CFLAGS.
11195 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11197 # Allow CC to be a program name with arguments.
11201 # save warnings/boilerplate of simple test code
11202 ac_outfile=conftest.$ac_objext
11203 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11204 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11205 _lt_compiler_boilerplate=`cat conftest.err
`
11208 ac_outfile=conftest.$ac_objext
11209 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11210 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11211 _lt_linker_boilerplate=`cat conftest.err
`
11215 # Allow CC to be a program name with arguments.
11220 lt_save_with_gnu_ld=$with_gnu_ld
11221 lt_save_path_LD=$lt_cv_path_LD
11222 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11223 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11225 $as_unset lt_cv_prog_gnu_ld
11227 if test -n "${lt_cv_path_LDCXX+set}"; then
11228 lt_cv_path_LD=$lt_cv_path_LDCXX
11230 $as_unset lt_cv_path_LD
11232 test -z "${LDCXX+set}" || LD=$LDCXX
11236 for cc_temp in $compiler""; do
11238 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11239 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11244 cc_basename=`$echo "X$cc_temp" |
$Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11247 # We don't want -fno-exception wen compiling C++ code, so set the
11248 # no_builtin_flag separately
11249 if test "$GXX" = yes; then
11250 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11252 lt_prog_compiler_no_builtin_flag_CXX=
11255 if test "$GXX" = yes; then
11256 # Set up default GNU C++ configuration
11259 # Check whether --with-gnu-ld was given.
11260 if test "${with_gnu_ld+set}" = set; then
11261 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11267 if test "$GCC" = yes; then
11268 # Check if gcc -print-prog-name=ld gives a path.
11269 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11270 $as_echo_n "checking for ld used by $CC... " >&6; }
11273 # gcc leaves a trailing carriage return which upsets mingw
11274 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
11276 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
11279 # Accept absolute paths.
11281 re_direlt='/[^/][^/]*/\.\./'
11282 # Canonicalize the pathname of ld
11283 ac_prog=`echo $ac_prog|
$SED 's%\\\\%/%g'`
11284 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11285 ac_prog=`echo $ac_prog|
$SED "s%$re_direlt%/%"`
11287 test -z "$LD" && LD="$ac_prog"
11290 # If it fails, then pretend we aren't using GCC.
11294 # If it is relative, then search for the first ld in PATH.
11295 with_gnu_ld=unknown
11298 elif test "$with_gnu_ld" = yes; then
11299 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
11300 $as_echo_n "checking for GNU ld... " >&6; }
11302 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11303 $as_echo_n "checking for non-GNU ld... " >&6; }
11305 if test "${lt_cv_path_LD+set}" = set; then
11306 $as_echo_n "(cached) " >&6
11308 if test -z "$LD"; then
11309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11310 for ac_dir in $PATH; do
11312 test -z "$ac_dir" && ac_dir=.
11313 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11314 lt_cv_path_LD="$ac_dir/$ac_prog"
11315 # Check to see if the program is GNU ld. I'd rather use --version,
11316 # but apparently some variants of GNU ld only accept -v.
11317 # Break only if it was the GNU/non-GNU ld that we prefer.
11318 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
11319 *GNU* | *'with BFD'*)
11320 test "$with_gnu_ld" != no && break
11323 test "$with_gnu_ld" != yes && break
11330 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11334 LD="$lt_cv_path_LD"
11335 if test -n "$LD"; then
11336 { $as_echo "$as_me:$LINENO: result: $LD" >&5
11337 $as_echo "$LD" >&6; }
11339 { $as_echo "$as_me:$LINENO: result: no" >&5
11340 $as_echo "no" >&6; }
11342 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11343 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11344 { (exit 1); exit 1; }; }
11345 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11346 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11347 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11348 $as_echo_n "(cached) " >&6
11350 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11351 case `$LD -v 2>&1 </dev
/null
` in
11352 *GNU* | *'with BFD'*)
11353 lt_cv_prog_gnu_ld=yes
11356 lt_cv_prog_gnu_ld=no
11360 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11361 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
11362 with_gnu_ld=$lt_cv_prog_gnu_ld
11366 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11367 # archiving commands below assume that GNU ld is being used.
11368 if test "$with_gnu_ld" = yes; then
11369 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11370 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'
11372 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11373 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11375 # If archive_cmds runs LD, not CC, wlarc should be empty
11376 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11377 # investigate it a little bit more. (MM)
11380 # ancient GNU ld didn't support --whole-archive et. al.
11381 if eval "`$CC -print-prog-name=ld
` --help 2>&1" | \
11382 grep 'no-whole-archive' > /dev/null; then
11383 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11385 whole_archive_flag_spec_CXX=
11391 # A generic and very simple default shared library creation
11392 # command for GNU C++ for the case where it uses the native
11393 # linker, instead of GNU ld. If possible, this setting should
11394 # overridden to take advantage of the native linker features on
11395 # the platform it is being used on.
11396 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11399 # Commands to make compiler produce verbose output that lists
11400 # what "hidden" libraries, object files and flags are used when
11401 # linking a shared library.
11402 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11410 # PORTME: fill in a description of your system's C++ link characteristics
11411 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11412 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11416 # FIXME: insert proper C++ library support
11420 if test "$host_cpu" = ia64; then
11421 # On IA64, the linker does run time linking by default, so we don't
11422 # have to do anything special.
11423 aix_use_runtimelinking=no
11424 exp_sym_flag='-Bexport'
11427 aix_use_runtimelinking=no
11429 # Test if we are trying to use run time linking or normal
11430 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11431 # need to do runtime linking.
11432 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11433 for ld_flag in $LDFLAGS; do
11436 aix_use_runtimelinking=yes
11444 exp_sym_flag='-bexport'
11445 no_entry_flag='-bnoentry'
11448 # When large executables or shared objects are built, AIX ld can
11449 # have problems creating the table of contents. If linking a library
11450 # or program results in "error TOC overflow" add -mminimal-toc to
11451 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11452 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11454 archive_cmds_CXX=''
11455 hardcode_direct_CXX=yes
11456 hardcode_libdir_separator_CXX=':'
11457 link_all_deplibs_CXX=yes
11459 if test "$GXX" = yes; then
11460 case $host_os in aix4.[012]|aix4.[012].*)
11461 # We only want to do this on AIX 4.2 and lower, the check
11462 # below for broken collect2 doesn't work under 4.3+
11463 collect2name=`${CC} -print-prog-name=collect2
`
11464 if test -f "$collect2name" && \
11465 strings "$collect2name" | grep resolve_lib_name >/dev/null
11467 # We have reworked collect2
11470 # We have old collect2
11471 hardcode_direct_CXX=unsupported
11472 # It fails to find uninstalled libraries when the uninstalled
11473 # path is not listed in the libpath. Setting hardcode_minus_L
11474 # to unsupported forces relinking
11475 hardcode_minus_L_CXX=yes
11476 hardcode_libdir_flag_spec_CXX='-L$libdir'
11477 hardcode_libdir_separator_CXX=
11481 shared_flag='-shared'
11482 if test "$aix_use_runtimelinking" = yes; then
11483 shared_flag="$shared_flag "'${wl}-G'
11487 if test "$host_cpu" = ia64; then
11488 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11489 # chokes on -Wl,-G. The following line is correct:
11492 if test "$aix_use_runtimelinking" = yes; then
11493 shared_flag='${wl}-G'
11495 shared_flag='${wl}-bM:SRE'
11500 # It seems that -bexpall does not export symbols beginning with
11501 # underscore (_), so it is better to generate a list of symbols to export.
11502 always_export_symbols_CXX=yes
11503 if test "$aix_use_runtimelinking" = yes; then
11504 # Warning - without using the other runtime loading flags (-brtl),
11505 # -berok will link without error, but may produce a broken library.
11506 allow_undefined_flag_CXX='-berok'
11507 # Determine the default libpath from the value encoded in an empty executable.
11508 cat >conftest.$ac_ext <<_ACEOF
11511 cat confdefs.h >>conftest.$ac_ext
11512 cat >>conftest.$ac_ext <<_ACEOF
11513 /* end confdefs.h. */
11523 rm -f conftest.$ac_objext conftest$ac_exeext
11524 if { (ac_try="$ac_link"
11525 case "(($ac_try" in
11526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11527 *) ac_try_echo
=$ac_try;;
11529 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11530 $as_echo "$ac_try_echo") >&5
11531 (eval "$ac_link") 2>conftest.er1
11533 grep -v '^ *+' conftest.er1
>conftest.err
11535 cat conftest.err
>&5
11536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } && {
11538 test -z "$ac_cxx_werror_flag" ||
11539 test ! -s conftest.err
11540 } && test -s conftest
$ac_exeext && {
11541 test "$cross_compiling" = yes ||
11542 $as_test_x conftest
$ac_exeext
11545 lt_aix_libpath_sed
='
11546 /Import File Strings/,/^$/ {
11552 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11553 # Check for a 64-bit object if we didn't find anything.
11554 if test -z "$aix_libpath"; then
11555 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11558 $as_echo "$as_me: failed program was:" >&5
11559 sed 's/^/| /' conftest.
$ac_ext >&5
11564 rm -rf conftest.dSYM
11565 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11566 conftest
$ac_exeext conftest.
$ac_ext
11567 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
11569 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
11571 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"
11573 if test "$host_cpu" = ia64
; then
11574 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
11575 allow_undefined_flag_CXX
="-z nodefs"
11576 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"
11578 # Determine the default libpath from the value encoded in an empty executable.
11579 cat >conftest.
$ac_ext <<_ACEOF
11582 cat confdefs.h
>>conftest.
$ac_ext
11583 cat >>conftest.
$ac_ext <<_ACEOF
11584 /* end confdefs.h. */
11594 rm -f conftest.
$ac_objext conftest
$ac_exeext
11595 if { (ac_try
="$ac_link"
11596 case "(($ac_try" in
11597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11598 *) ac_try_echo=$ac_try;;
11600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11601 $as_echo "$ac_try_echo") >&5
11602 (eval "$ac_link") 2>conftest.er1
11604 grep -v '^ *+' conftest.er1 >conftest.err
11606 cat conftest.err >&5
11607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); } && {
11609 test -z "$ac_cxx_werror_flag" ||
11610 test ! -s conftest.err
11611 } && test -s conftest$ac_exeext && {
11612 test "$cross_compiling" = yes ||
11613 $as_test_x conftest$ac_exeext
11616 lt_aix_libpath_sed='
11617 /Import File Strings/,/^$/ {
11623 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11624 # Check for a 64-bit object if we didn't find anything.
11625 if test -z "$aix_libpath"; then
11626 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
11629 $as_echo "$as_me: failed program was:" >&5
11630 sed 's/^/| /' conftest.$ac_ext >&5
11635 rm -rf conftest.dSYM
11636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11637 conftest$ac_exeext conftest.$ac_ext
11638 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11640 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11641 # Warning - without using the other run time loading flags,
11642 # -berok will link without error, but may produce a broken library.
11643 no_undefined_flag_CXX=' ${wl}-bernotok'
11644 allow_undefined_flag_CXX=' ${wl}-berok'
11645 # Exported symbols can be pulled into shared objects from archives
11646 whole_archive_flag_spec_CXX='$convenience'
11647 archive_cmds_need_lc_CXX=yes
11648 # This is similar to how AIX traditionally builds its shared libraries.
11649 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'
11655 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11656 allow_undefined_flag_CXX=unsupported
11657 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11658 # support --undefined. This deserves some investigation. FIXME
11659 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11666 case $cc_basename in
11668 # FIXME: insert proper C++ library support
11674 cygwin* | mingw* | pw32*)
11675 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11676 # as there is no search path for DLLs.
11677 hardcode_libdir_flag_spec_CXX='-L$libdir'
11678 allow_undefined_flag_CXX=unsupported
11679 always_export_symbols_CXX=no
11680 enable_shared_with_static_runtimes_CXX=yes
11682 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11683 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'
11684 # If the export-symbols file already is a .def file (1st line
11685 # is EXPORTS), use it as is; otherwise, prepend...
11686 archive_expsym_cmds_CXX='if test "x`$SED 1q
$export_symbols`" = xEXPORTS; then
11687 cp $export_symbols $output_objdir/$soname.def;
11689 echo EXPORTS > $output_objdir/$soname.def;
11690 cat $export_symbols >> $output_objdir/$soname.def;
11692 $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'
11697 darwin* | rhapsody*)
11699 rhapsody* | darwin1.[012])
11700 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11703 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11704 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11706 case ${MACOSX_DEPLOYMENT_TARGET} in
11708 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11711 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11717 archive_cmds_need_lc_CXX=no
11718 hardcode_direct_CXX=no
11719 hardcode_automatic_CXX=yes
11720 hardcode_shlibpath_var_CXX=unsupported
11721 whole_archive_flag_spec_CXX=''
11722 link_all_deplibs_CXX=yes
11724 if test "$GXX" = yes ; then
11725 lt_int_apple_cc_single_mod=no
11726 output_verbose_link_cmd='echo'
11727 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11728 lt_int_apple_cc_single_mod=yes
11730 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11731 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11733 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'
11735 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11736 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11737 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11738 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}'
11740 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}'
11742 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}'
11744 case $cc_basename in
11746 output_verbose_link_cmd='echo'
11747 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'
11748 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11749 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11750 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}'
11751 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}'
11761 case $cc_basename in
11763 # FIXME: insert proper C++ library support
11767 # Green Hills C++ Compiler
11768 # FIXME: insert proper C++ library support
11772 # FIXME: insert proper C++ library support
11778 # C++ shared libraries reported to be fairly broken before switch to ELF
11782 archive_cmds_need_lc_CXX=no
11784 freebsd* | dragonfly*)
11785 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11792 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11793 hardcode_libdir_separator_CXX=:
11794 export_dynamic_flag_spec_CXX='${wl}-E'
11795 hardcode_direct_CXX=yes
11796 hardcode_minus_L_CXX=yes # Not in the search PATH,
11797 # but as the default
11798 # location of the library.
11800 case $cc_basename in
11802 # FIXME: insert proper C++ library support
11806 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'
11807 # Commands to make compiler produce verbose output that lists
11808 # what "hidden" libraries, object files and flags are used when
11809 # linking a shared library.
11811 # There doesn't appear to be a way to prevent this compiler from
11812 # explicitly linking system object files so we need to strip them
11813 # from the output so that they don't get included in the library
11815 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'
11818 if test "$GXX" = yes; then
11819 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'
11821 # FIXME: insert proper C++ library support
11828 if test $with_gnu_ld = no; then
11829 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11830 hardcode_libdir_separator_CXX=:
11835 export_dynamic_flag_spec_CXX='${wl}-E'
11841 hardcode_direct_CXX=no
11842 hardcode_shlibpath_var_CXX=no
11845 hardcode_direct_CXX=yes
11846 hardcode_minus_L_CXX=yes # Not in the search PATH,
11847 # but as the default
11848 # location of the library.
11852 case $cc_basename in
11854 # FIXME: insert proper C++ library support
11860 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11863 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11866 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11869 # Commands to make compiler produce verbose output that lists
11870 # what "hidden" libraries, object files and flags are used when
11871 # linking a shared library.
11873 # There doesn't appear to be a way to prevent this compiler from
11874 # explicitly linking system object files so we need to strip them
11875 # from the output so that they don't get included in the library
11877 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'
11880 if test "$GXX" = yes; then
11881 if test $with_gnu_ld = no; then
11884 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11887 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11890 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'
11895 # FIXME: insert proper C++ library support
11902 hardcode_direct_CXX=no
11903 hardcode_shlibpath_var_CXX=no
11904 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11905 export_dynamic_flag_spec_CXX='${wl}-E'
11906 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11907 # Instead, shared libraries are loaded at an image base (0x10000000 by
11908 # default) and relocated if they conflict, which is a slow very memory
11909 # consuming and fragmenting process. To avoid this, we pick a random,
11910 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11911 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11912 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'
11913 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'
11916 case $cc_basename in
11919 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'
11921 # Archives containing C++ object files must be created using
11922 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11923 # necessary to make sure instantiated templates are included
11925 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11928 if test "$GXX" = yes; then
11929 if test "$with_gnu_ld" = no; then
11930 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'
11932 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'
11935 link_all_deplibs_CXX=yes
11938 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11939 hardcode_libdir_separator_CXX=:
11941 linux* | k*bsd*-gnu)
11942 case $cc_basename in
11944 # Kuck and Associates, Inc. (KAI) C++ Compiler
11946 # KCC will only create a shared library if the output file
11947 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11948 # to its proper name (with version) after linking.
11949 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'
11950 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'
11951 # Commands to make compiler produce verbose output that lists
11952 # what "hidden" libraries, object files and flags are used when
11953 # linking a shared library.
11955 # There doesn't appear to be a way to prevent this compiler from
11956 # explicitly linking system object files so we need to strip them
11957 # from the output so that they don't get included in the library
11959 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'
11961 hardcode_libdir_flag_spec_CXX
='${wl}--rpath,$libdir'
11962 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11964 # Archives containing C++ object files must be created using
11965 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11966 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
11971 # version 8.0 and above of icpc choke on multiply defined symbols
11972 # if we add $predep_objects and $postdep_objects, however 7.1 and
11973 # earlier do not add the objects themselves.
11974 case `$CC -V 2>&1` in
11976 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11977 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'
11979 *) # Version 8.0 or newer
11982 ia64
*) tmp_idyn
=' -i_dynamic';;
11984 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11985 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'
11988 archive_cmds_need_lc_CXX
=no
11989 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
11990 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
11991 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11994 # Portland Group C++ compiler
11995 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11996 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'
11998 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
11999 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12000 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'
12004 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12005 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'
12007 runpath_var
=LD_RUN_PATH
12008 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12009 hardcode_libdir_separator_CXX
=:
12011 # Commands to make compiler produce verbose output that lists
12012 # what "hidden" libraries, object files and flags are used when
12013 # linking a shared library.
12015 # There doesn't appear to be a way to prevent this compiler from
12016 # explicitly linking system object files so we need to strip them
12017 # from the output so that they don't get included in the library
12019 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'
12022 case `$CC -V 2>&1 | sed 5q` in
12025 no_undefined_flag_CXX
=' -zdefs'
12026 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12027 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'
12028 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12029 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'
12031 # Not sure whether something based on
12032 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12034 output_verbose_link_cmd
='echo'
12036 # Archives containing C++ object files must be created using
12037 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12038 # necessary to make sure instantiated templates are included
12040 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12047 # FIXME: insert proper C++ library support
12051 # FIXME: insert proper C++ library support
12055 case $cc_basename in
12057 # FIXME: insert proper C++ library support
12061 # FIXME: insert proper C++ library support
12067 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
12068 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12070 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12071 hardcode_direct_CXX
=yes
12072 hardcode_shlibpath_var_CXX
=no
12074 # Workaround some broken pre-1.5 toolchains
12075 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12078 # C++ shared libraries are fairly broken
12082 if test -f /usr
/libexec
/ld.so
; then
12083 hardcode_direct_CXX
=yes
12084 hardcode_shlibpath_var_CXX
=no
12085 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12086 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12087 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12088 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12089 export_dynamic_flag_spec_CXX
='${wl}-E'
12090 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12092 output_verbose_link_cmd
='echo'
12098 case $cc_basename in
12100 # Kuck and Associates, Inc. (KAI) C++ Compiler
12102 # KCC will only create a shared library if the output file
12103 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12104 # to its proper name (with version) after linking.
12105 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'
12107 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12108 hardcode_libdir_separator_CXX
=:
12110 # Archives containing C++ object files must be created using
12111 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12112 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
12116 # Rational C++ 2.4.1
12117 # FIXME: insert proper C++ library support
12121 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12122 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'
12124 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12125 hardcode_libdir_separator_CXX
=:
12127 # Commands to make compiler produce verbose output that lists
12128 # what "hidden" libraries, object files and flags are used when
12129 # linking a shared library.
12131 # There doesn't appear to be a way to prevent this compiler from
12132 # explicitly linking system object files so we need to strip them
12133 # from the output so that they don't get included in the library
12135 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'
12138 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12139 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12140 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'
12142 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12143 hardcode_libdir_separator_CXX
=:
12145 # Commands to make compiler produce verbose output that lists
12146 # what "hidden" libraries, object files and flags are used when
12147 # linking a shared library.
12148 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12151 # FIXME: insert proper C++ library support
12158 case $cc_basename in
12160 # Kuck and Associates, Inc. (KAI) C++ Compiler
12162 # KCC will only create a shared library if the output file
12163 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12164 # to its proper name (with version) after linking.
12165 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'
12167 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
12168 hardcode_libdir_separator_CXX
=:
12170 # Archives containing C++ object files must be created using
12171 # the KAI C++ compiler.
12172 old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs'
12175 # Rational C++ 2.4.1
12176 # FIXME: insert proper C++ library support
12180 allow_undefined_flag_CXX
=' -expect_unresolved \*'
12181 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'
12182 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12183 echo "-hidden">> $lib.exp~
12184 $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~
12187 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
12188 hardcode_libdir_separator_CXX
=:
12190 # Commands to make compiler produce verbose output that lists
12191 # what "hidden" libraries, object files and flags are used when
12192 # linking a shared library.
12194 # There doesn't appear to be a way to prevent this compiler from
12195 # explicitly linking system object files so we need to strip them
12196 # from the output so that they don't get included in the library
12198 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'
12201 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12202 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
12203 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'
12205 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12206 hardcode_libdir_separator_CXX
=:
12208 # Commands to make compiler produce verbose output that lists
12209 # what "hidden" libraries, object files and flags are used when
12210 # linking a shared library.
12211 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
12214 # FIXME: insert proper C++ library support
12221 # FIXME: insert proper C++ library support
12225 case $cc_basename in
12228 # FIXME: insert proper C++ library support
12233 # FIXME: insert proper C++ library support
12237 # FIXME: insert proper C++ library support
12243 case $cc_basename in
12245 # Sun C++ 4.2, 5.x and Centerline C++
12246 archive_cmds_need_lc_CXX
=yes
12247 no_undefined_flag_CXX
=' -zdefs'
12248 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12249 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12250 $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'
12252 hardcode_libdir_flag_spec_CXX
='-R$libdir'
12253 hardcode_shlibpath_var_CXX
=no
12255 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12257 # The compiler driver will combine and reorder linker options,
12258 # but understands `-z linker_flag'.
12259 # Supported since Solaris 2.6 (maybe 2.5.1?)
12260 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
12263 link_all_deplibs_CXX
=yes
12265 output_verbose_link_cmd
='echo'
12267 # Archives containing C++ object files must be created using
12268 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12269 # necessary to make sure instantiated templates are included
12271 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
12274 # Green Hills C++ Compiler
12275 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12277 # The C++ compiler must be used to create the archive.
12278 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12281 # GNU C++ compiler with Solaris linker
12282 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
12283 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
12284 if $CC --version |
grep -v '^2\.7' > /dev
/null
; then
12285 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12286 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12287 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12289 # Commands to make compiler produce verbose output that lists
12290 # what "hidden" libraries, object files and flags are used when
12291 # linking a shared library.
12292 output_verbose_link_cmd
="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12294 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12296 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12297 archive_expsym_cmds_CXX
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12298 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12300 # Commands to make compiler produce verbose output that lists
12301 # what "hidden" libraries, object files and flags are used when
12302 # linking a shared library.
12303 output_verbose_link_cmd
="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12306 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
12308 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
12310 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12317 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
12318 no_undefined_flag_CXX
='${wl}-z,text'
12319 archive_cmds_need_lc_CXX
=no
12320 hardcode_shlibpath_var_CXX
=no
12321 runpath_var
='LD_RUN_PATH'
12323 case $cc_basename in
12325 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12326 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12329 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12330 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12334 sysv5
* | sco3.2v5
* | sco5v6
*)
12335 # Note: We can NOT use -z defs as we might desire, because we do not
12336 # link with -lc, and that would cause any symbols used from libc to
12337 # always be unresolved, which means just about no library would
12338 # ever link correctly. If we're not using GNU ld we use -z text
12339 # though, which does catch some bad symbols but isn't as heavy-handed
12341 # For security reasons, it is highly recommended that you always
12342 # use absolute paths for naming shared libraries, and exclude the
12343 # DT_RUNPATH tag from executables and libraries. But doing so
12344 # requires that you compile everything twice, which is a pain.
12345 # So that behaviour is only enabled if SCOABSPATH is set to a
12346 # non-empty value in the environment. Most likely only useful for
12347 # creating official distributions of packages.
12348 # This is a hack until libtool officially supports absolute path
12349 # names for shared libraries.
12350 no_undefined_flag_CXX
='${wl}-z,text'
12351 allow_undefined_flag_CXX
='${wl}-z,nodefs'
12352 archive_cmds_need_lc_CXX
=no
12353 hardcode_shlibpath_var_CXX
=no
12354 hardcode_libdir_flag_spec_CXX
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12355 hardcode_libdir_separator_CXX
=':'
12356 link_all_deplibs_CXX
=yes
12357 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
12358 runpath_var
='LD_RUN_PATH'
12360 case $cc_basename in
12362 archive_cmds_CXX
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12363 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12366 archive_cmds_CXX
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12367 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12372 case $cc_basename in
12374 # NonStop-UX NCC 3.20
12375 # FIXME: insert proper C++ library support
12379 # FIXME: insert proper C++ library support
12385 # FIXME: insert proper C++ library support
12389 # FIXME: insert proper C++ library support
12393 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12394 $as_echo "$ld_shlibs_CXX" >&6; }
12395 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
12401 cat > conftest.
$ac_ext <<EOF
12405 Foo (void) { a = 0; }
12411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12412 (eval $ac_compile) 2>&5
12414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12415 (exit $ac_status); }; then
12416 # Parse the compiler output and extract the necessary
12417 # objects, libraries and library flags.
12419 # Sentinel used to keep track of whether or not we are before
12420 # the conftest object file.
12421 pre_test_object_deps_done
=no
12423 # The `*' in the case matches for architectures that use `case' in
12424 # $output_verbose_cmd can trigger glob expansion during the loop
12425 # eval without this substitution.
12426 output_verbose_link_cmd
=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12428 for p
in `eval $output_verbose_link_cmd`; do
12432 # Some compilers place space between "-{L,R}" and the path.
12433 # Remove the space.
12434 if test $p = "-L" \
12435 ||
test $p = "-R"; then
12442 if test "$pre_test_object_deps_done" = no
; then
12445 # Internal compiler library paths should come after those
12446 # provided the user. The postdeps already come after the
12447 # user supplied libs so there is no need to process them.
12448 if test -z "$compiler_lib_search_path_CXX"; then
12449 compiler_lib_search_path_CXX
="${prev}${p}"
12451 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
12454 # The "-l" case would never come before the object being
12455 # linked, so don't bother handling this case.
12458 if test -z "$postdeps_CXX"; then
12459 postdeps_CXX
="${prev}${p}"
12461 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
12467 # This assumes that the test object file only shows up
12468 # once in the compiler output.
12469 if test "$p" = "conftest.$objext"; then
12470 pre_test_object_deps_done
=yes
12474 if test "$pre_test_object_deps_done" = no
; then
12475 if test -z "$predep_objects_CXX"; then
12476 predep_objects_CXX
="$p"
12478 predep_objects_CXX
="$predep_objects_CXX $p"
12481 if test -z "$postdep_objects_CXX"; then
12482 postdep_objects_CXX
="$p"
12484 postdep_objects_CXX
="$postdep_objects_CXX $p"
12489 *) ;; # Ignore the rest.
12497 echo "libtool.m4: error: problem compiling CXX test program"
12500 $rm -f confest.
$objext
12502 # PORTME: override above test on systems where it is broken
12505 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12506 # hack all around it, let's just trust "g++" to DTRT.
12507 predep_objects_CXX
=
12508 postdep_objects_CXX
=
12513 case `$CC -V 2>&1 | sed 5q` in
12517 # The more standards-conforming stlport4 library is
12518 # incompatible with the Cstd library. Avoid specifying
12519 # it if it's in CXXFLAGS. Ignore libCrun as
12520 # -library=stlport4 depends on it.
12521 case " $CXX $CXXFLAGS " in
12522 *" -library=stlport4 "*)
12523 solaris_use_stlport4
=yes
12526 if test "$solaris_use_stlport4" != yes; then
12527 postdeps_CXX
='-library=Cstd -library=Crun'
12534 case $cc_basename in
12536 # The more standards-conforming stlport4 library is
12537 # incompatible with the Cstd library. Avoid specifying
12538 # it if it's in CXXFLAGS. Ignore libCrun as
12539 # -library=stlport4 depends on it.
12540 case " $CXX $CXXFLAGS " in
12541 *" -library=stlport4 "*)
12542 solaris_use_stlport4
=yes
12546 # Adding this requires a known-good setup of shared libraries for
12547 # Sun compiler versions before 5.6, else PIC objects from an old
12548 # archive will be linked into the output, leading to subtle bugs.
12549 if test "$solaris_use_stlport4" != yes; then
12550 postdeps_CXX
='-library=Cstd -library=Crun'
12558 case " $postdeps_CXX " in
12559 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
12562 lt_prog_compiler_wl_CXX
=
12563 lt_prog_compiler_pic_CXX
=
12564 lt_prog_compiler_static_CXX
=
12566 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12567 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12569 # C++ specific cases for pic, static, wl, etc.
12570 if test "$GXX" = yes; then
12571 lt_prog_compiler_wl_CXX
='-Wl,'
12572 lt_prog_compiler_static_CXX
='-static'
12576 # All AIX code is PIC.
12577 if test "$host_cpu" = ia64
; then
12578 # AIX 5 now supports IA64 processor
12579 lt_prog_compiler_static_CXX
='-Bstatic'
12583 # FIXME: we need at least 68020 code to build shared libraries, but
12584 # adding the `-m68020' flag to GCC prevents building anything better,
12586 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
12588 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
12589 # PIC is the default for these OSes.
12591 mingw
* | cygwin
* | os2
* | pw32
*)
12592 # This hack is so that the source file can tell whether it is being
12593 # built for inclusion in a dll (and should export symbols for example).
12594 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12595 # (--disable-auto-import) libraries
12596 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
12598 darwin
* | rhapsody
*)
12599 # PIC is the default on this platform
12600 # Common symbols not allowed in MH_DYLIB files
12601 lt_prog_compiler_pic_CXX
='-fno-common'
12604 # DJGPP does not support shared libraries at all
12605 lt_prog_compiler_pic_CXX
=
12608 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12609 # Instead, we relocate shared libraries at runtime.
12612 if test -d /usr
/nec
; then
12613 lt_prog_compiler_pic_CXX
=-Kconform_pic
12617 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12618 # not for PA HP-UX.
12623 lt_prog_compiler_pic_CXX
='-fPIC'
12628 lt_prog_compiler_pic_CXX
='-fPIC'
12634 # All AIX code is PIC.
12635 if test "$host_cpu" = ia64
; then
12636 # AIX 5 now supports IA64 processor
12637 lt_prog_compiler_static_CXX
='-Bstatic'
12639 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
12643 case $cc_basename in
12645 # Green Hills C++ Compiler
12646 # _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"
12651 # PIC is the default on this platform
12652 # Common symbols not allowed in MH_DYLIB files
12653 case $cc_basename in
12655 lt_prog_compiler_pic_CXX
='-qnocommon'
12656 lt_prog_compiler_wl_CXX
='-Wl,'
12661 case $cc_basename in
12663 lt_prog_compiler_pic_CXX
='-KPIC'
12666 # Green Hills C++ Compiler
12667 lt_prog_compiler_pic_CXX
='-pic'
12673 freebsd
* | dragonfly
*)
12674 # FreeBSD uses GNU C++
12676 hpux9
* | hpux10
* | hpux11
*)
12677 case $cc_basename in
12679 lt_prog_compiler_wl_CXX
='-Wl,'
12680 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12681 if test "$host_cpu" != ia64
; then
12682 lt_prog_compiler_pic_CXX
='+Z'
12686 lt_prog_compiler_wl_CXX
='-Wl,'
12687 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
12693 lt_prog_compiler_pic_CXX
='+Z'
12702 # This is c89, which is MS Visual C++ (no shared libs)
12703 # Anyone wants to do a port?
12705 irix5
* | irix6
* | nonstopux
*)
12706 case $cc_basename in
12708 lt_prog_compiler_wl_CXX
='-Wl,'
12709 lt_prog_compiler_static_CXX
='-non_shared'
12710 # CC pic flag -KPIC is the default.
12716 linux
* | k
*bsd
*-gnu)
12717 case $cc_basename in
12720 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12721 lt_prog_compiler_pic_CXX
='-fPIC'
12725 lt_prog_compiler_wl_CXX
='-Wl,'
12726 lt_prog_compiler_pic_CXX
='-KPIC'
12727 lt_prog_compiler_static_CXX
='-static'
12730 # Portland Group C++ compiler.
12731 lt_prog_compiler_wl_CXX
='-Wl,'
12732 lt_prog_compiler_pic_CXX
='-fpic'
12733 lt_prog_compiler_static_CXX
='-Bstatic'
12737 # Make sure the PIC flag is empty. It appears that all Alpha
12738 # Linux and Compaq Tru64 Unix objects are PIC.
12739 lt_prog_compiler_pic_CXX
=
12740 lt_prog_compiler_static_CXX
='-non_shared'
12743 case `$CC -V 2>&1 | sed 5q` in
12746 lt_prog_compiler_pic_CXX
='-KPIC'
12747 lt_prog_compiler_static_CXX
='-Bstatic'
12748 lt_prog_compiler_wl_CXX
='-Qoption ld '
12759 case $cc_basename in
12761 lt_prog_compiler_pic_CXX
='-W c,exportall'
12769 osf3
* | osf4
* | osf5
*)
12770 case $cc_basename in
12772 lt_prog_compiler_wl_CXX
='--backend -Wl,'
12775 # Rational C++ 2.4.1
12776 lt_prog_compiler_pic_CXX
='-pic'
12779 # Digital/Compaq C++
12780 lt_prog_compiler_wl_CXX
='-Wl,'
12781 # Make sure the PIC flag is empty. It appears that all Alpha
12782 # Linux and Compaq Tru64 Unix objects are PIC.
12783 lt_prog_compiler_pic_CXX
=
12784 lt_prog_compiler_static_CXX
='-non_shared'
12793 case $cc_basename in
12795 # Sun C++ 4.2, 5.x and Centerline C++
12796 lt_prog_compiler_pic_CXX
='-KPIC'
12797 lt_prog_compiler_static_CXX
='-Bstatic'
12798 lt_prog_compiler_wl_CXX
='-Qoption ld '
12801 # Green Hills C++ Compiler
12802 lt_prog_compiler_pic_CXX
='-PIC'
12809 case $cc_basename in
12812 lt_prog_compiler_pic_CXX
='-pic'
12813 lt_prog_compiler_static_CXX
='-Bstatic'
12817 lt_prog_compiler_pic_CXX
='-pic'
12824 case $cc_basename in
12826 # NonStop-UX NCC 3.20
12827 lt_prog_compiler_pic_CXX
='-KPIC'
12833 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
12834 case $cc_basename in
12836 lt_prog_compiler_wl_CXX
='-Wl,'
12837 lt_prog_compiler_pic_CXX
='-KPIC'
12838 lt_prog_compiler_static_CXX
='-Bstatic'
12845 lt_prog_compiler_can_build_shared_CXX
=no
12850 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12851 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
12854 # Check to make sure the PIC flag actually works.
12856 if test -n "$lt_prog_compiler_pic_CXX"; then
12858 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12859 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
12860 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12861 $as_echo_n "(cached) " >&6
12863 lt_prog_compiler_pic_works_CXX
=no
12864 ac_outfile
=conftest.
$ac_objext
12865 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12866 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
12867 # Insert the option either (1) after the last *FLAGS variable, or
12868 # (2) before a word containing "conftest.", or (3) at the end.
12869 # Note that $ac_compile itself does not contain backslashes and begins
12870 # with a dollar sign (not a hyphen), so the echo should work correctly.
12871 # The option is referenced via a variable to avoid confusing sed.
12872 lt_compile
=`echo "$ac_compile" | $SED \
12873 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12874 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12875 -e 's:$: $lt_compiler_flag:'`
12876 (eval echo "\"\$as_me:12876: $lt_compile\"" >&5)
12877 (eval "$lt_compile" 2>conftest.err
)
12879 cat conftest.err
>&5
12880 echo "$as_me:12880: \$? = $ac_status" >&5
12881 if (exit $ac_status) && test -s "$ac_outfile"; then
12882 # The compiler can only warn and ignore the option if not recognized
12883 # So say no if there are warnings other than the usual output.
12884 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12885 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12886 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12887 lt_prog_compiler_pic_works_CXX
=yes
12893 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12894 $as_echo "$lt_prog_compiler_pic_works_CXX" >&6; }
12896 if test x
"$lt_prog_compiler_pic_works_CXX" = xyes
; then
12897 case $lt_prog_compiler_pic_CXX in
12899 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
12902 lt_prog_compiler_pic_CXX
=
12903 lt_prog_compiler_can_build_shared_CXX
=no
12908 # For platforms which do not support PIC, -DPIC is meaningless:
12910 lt_prog_compiler_pic_CXX
=
12913 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
12918 # Check to make sure the static flag actually works.
12920 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
12921 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12922 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
12923 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12924 $as_echo_n "(cached) " >&6
12926 lt_prog_compiler_static_works_CXX
=no
12927 save_LDFLAGS
="$LDFLAGS"
12928 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12929 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12930 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12931 # The linker can only warn and ignore the option if not recognized
12932 # So say no if there are warnings
12933 if test -s conftest.err
; then
12934 # Append any errors to the config.log.
12935 cat conftest.err
1>&5
12936 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12937 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12938 if diff conftest.exp conftest.er2
>/dev
/null
; then
12939 lt_prog_compiler_static_works_CXX
=yes
12942 lt_prog_compiler_static_works_CXX
=yes
12946 LDFLAGS
="$save_LDFLAGS"
12949 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12950 $as_echo "$lt_prog_compiler_static_works_CXX" >&6; }
12952 if test x
"$lt_prog_compiler_static_works_CXX" = xyes
; then
12955 lt_prog_compiler_static_CXX
=
12959 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12960 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
12961 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12962 $as_echo_n "(cached) " >&6
12964 lt_cv_prog_compiler_c_o_CXX
=no
12965 $rm -r conftest
2>/dev
/null
12969 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12971 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12972 # Insert the option either (1) after the last *FLAGS variable, or
12973 # (2) before a word containing "conftest.", or (3) at the end.
12974 # Note that $ac_compile itself does not contain backslashes and begins
12975 # with a dollar sign (not a hyphen), so the echo should work correctly.
12976 lt_compile
=`echo "$ac_compile" | $SED \
12977 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12978 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12979 -e 's:$: $lt_compiler_flag:'`
12980 (eval echo "\"\$as_me:12980: $lt_compile\"" >&5)
12981 (eval "$lt_compile" 2>out
/conftest.err
)
12983 cat out
/conftest.err
>&5
12984 echo "$as_me:12984: \$? = $ac_status" >&5
12985 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12987 # The compiler can only warn and ignore the option if not recognized
12988 # So say no if there are warnings
12989 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12990 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12991 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12992 lt_cv_prog_compiler_c_o_CXX
=yes
12997 # SGI C++ compiler will create directory out/ii_files/ for
12998 # template instantiation
12999 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
13000 $rm out
/* && rmdir out
13006 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13007 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13010 hard_links
="nottested"
13011 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
13012 # do not overwrite the value of need_locks provided by the user
13013 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13014 $as_echo_n "checking if we can lock with hard links... " >&6; }
13017 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13019 ln conftest.a conftest.b
2>&5 || hard_links
=no
13020 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
13021 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13022 $as_echo "$hard_links" >&6; }
13023 if test "$hard_links" = no
; then
13024 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13025 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13032 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13033 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13035 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13038 # If we're using GNU nm, then we don't want the "-C" option.
13039 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13040 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
13041 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'
13043 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'
13047 export_symbols_cmds_CXX
="$ltdll_cmds"
13050 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'
13053 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13057 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13058 $as_echo "$ld_shlibs_CXX" >&6; }
13059 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
13062 # Do we need to explicitly link libc?
13064 case "x$archive_cmds_need_lc_CXX" in
13066 # Assume -lc should be added
13067 archive_cmds_need_lc_CXX
=yes
13069 if test "$enable_shared" = yes && test "$GCC" = yes; then
13070 case $archive_cmds_CXX in
13072 # FIXME: we may have to deal with multi-command sequences.
13075 # Test whether the compiler implicitly links with -lc since on some
13076 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13077 # to ld, don't add -lc before -lgcc.
13078 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13079 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13081 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13084 (eval $ac_compile) 2>&5
13086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); } 2>conftest.err
; then
13090 libobjs
=conftest.
$ac_objext
13092 wl
=$lt_prog_compiler_wl_CXX
13093 pic_flag
=$lt_prog_compiler_pic_CXX
13099 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
13100 allow_undefined_flag_CXX
=
13101 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13102 (eval $archive_cmds_CXX 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13105 (exit $ac_status); }
13107 archive_cmds_need_lc_CXX
=no
13109 archive_cmds_need_lc_CXX
=yes
13111 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
13113 cat conftest.err
1>&5
13116 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13117 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
13124 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13125 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13126 library_names_spec
=
13127 libname_spec
='lib$name'
13131 postuninstall_cmds
=
13135 shlibpath_overrides_runpath
=unknown
13137 dynamic_linker
="$host_os ld.so"
13138 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13140 need_lib_prefix
=unknown
13141 hardcode_into_libs
=no
13143 # when you set need_version to no, make sure it does not cause -set_version
13144 # flags to be left without arguments
13145 need_version
=unknown
13150 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13151 shlibpath_var
=LIBPATH
13153 # AIX 3 has no versioning support, so we append a major version to the name.
13154 soname_spec
='${libname}${release}${shared_ext}$major'
13161 hardcode_into_libs
=yes
13162 if test "$host_cpu" = ia64
; then
13163 # AIX 5 supports IA64
13164 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13165 shlibpath_var
=LD_LIBRARY_PATH
13167 # With GCC up to 2.95.x, collect2 would create an import file
13168 # for dependence libraries. The import file would start with
13169 # the line `#! .'. This would cause the generated library to
13170 # depend on `.', always an invalid library. This was fixed in
13171 # development snapshots of GCC prior to 3.0.
13173 aix4 | aix4.
[01] | aix4.
[01].
*)
13174 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13176 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
13179 can_build_shared
=no
13183 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13184 # soname into executable. Probably we can add versioning support to
13185 # collect2, so additional links can be useful in future.
13186 if test "$aix_use_runtimelinking" = yes; then
13187 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13188 # instead of lib<name>.a to let people know that these are not
13189 # typical AIX shared libraries.
13190 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13192 # We preserve .a as extension for shared libraries through AIX4.2
13193 # and later when we are not doing run time linking.
13194 library_names_spec
='${libname}${release}.a $libname.a'
13195 soname_spec
='${libname}${release}${shared_ext}$major'
13197 shlibpath_var
=LIBPATH
13202 library_names_spec
='$libname.ixlibrary $libname.a'
13203 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13204 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'
13208 library_names_spec
='${libname}${shared_ext}'
13209 dynamic_linker
="$host_os ld.so"
13210 shlibpath_var
=LIBRARY_PATH
13216 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13217 soname_spec
='${libname}${release}${shared_ext}$major'
13218 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13219 shlibpath_var
=LD_LIBRARY_PATH
13220 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13221 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13222 # the default ld.so.conf also contains /usr/contrib/lib and
13223 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13224 # libtool to hard-code these into programs
13227 cygwin
* | mingw
* | pw32
*)
13228 version_type
=windows
13233 case $GCC,$host_os in
13234 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
13235 library_names_spec
='$libname.dll.a'
13236 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13237 postinstall_cmds
='base_file=`basename \${file}`~
13238 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
13239 dldir=$destdir/`dirname \$dlpath`~
13240 test -d \$dldir || mkdir -p \$dldir~
13241 $install_prog $dir/$dlname \$dldir/$dlname~
13242 chmod a+x \$dldir/$dlname'
13243 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13244 dlpath=$dir/\$dldll~
13246 shlibpath_overrides_runpath
=yes
13250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13251 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13252 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13255 # MinGW DLLs use traditional 'lib' prefix
13256 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13257 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13258 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
13259 # It is most probably a Windows format PATH printed by
13260 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13261 # path with ; separators, and with drive letters. We can handle the
13262 # drive letters (cygwin fileutils understands them), so leave them,
13263 # especially as we might pass files found there to a mingw objdump,
13264 # which wouldn't understand a cygwinified path. Ahh.
13265 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13267 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13271 # pw32 DLLs use 'pw' prefix rather than 'lib'
13272 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13278 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13281 dynamic_linker
='Win32 ld.exe'
13282 # FIXME: first we should search . and the directory the executable is in
13286 darwin
* | rhapsody
*)
13287 dynamic_linker
="$host_os dyld"
13288 version_type
=darwin
13291 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13292 soname_spec
='${libname}${release}${major}$shared_ext'
13293 shlibpath_overrides_runpath
=yes
13294 shlibpath_var
=DYLD_LIBRARY_PATH
13295 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13297 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13305 soname_spec
='${libname}${release}${shared_ext}$major'
13306 shlibpath_var
=LD_LIBRARY_PATH
13313 freebsd
* | dragonfly
*)
13314 # DragonFly does not have aout. When/if they implement a new
13315 # versioning mechanism, adjust this.
13316 if test -x /usr
/bin
/objformat
; then
13317 objformat
=`/usr/bin/objformat`
13320 freebsd
[123]*) objformat
=aout
;;
13321 *) objformat
=elf
;;
13324 version_type
=freebsd-
$objformat
13325 case $version_type in
13327 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13332 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13336 shlibpath_var
=LD_LIBRARY_PATH
13339 shlibpath_overrides_runpath
=yes
13341 freebsd3.
[01]* | freebsdelf3.
[01]*)
13342 shlibpath_overrides_runpath
=yes
13343 hardcode_into_libs
=yes
13345 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13346 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13347 shlibpath_overrides_runpath
=no
13348 hardcode_into_libs
=yes
13350 *) # from 4.6 on, and DragonFly
13351 shlibpath_overrides_runpath
=yes
13352 hardcode_into_libs
=yes
13361 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13362 soname_spec
='${libname}${release}${shared_ext}$major'
13363 shlibpath_var
=LD_LIBRARY_PATH
13364 hardcode_into_libs
=yes
13367 hpux9
* | hpux10
* | hpux11
*)
13368 # Give a soname corresponding to the major version so that dld.sl refuses to
13369 # link against other versions.
13376 hardcode_into_libs
=yes
13377 dynamic_linker
="$host_os dld.so"
13378 shlibpath_var
=LD_LIBRARY_PATH
13379 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13380 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13381 soname_spec
='${libname}${release}${shared_ext}$major'
13382 if test "X$HPUX_IA64_MODE" = X32
; then
13383 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13385 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13387 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13391 hardcode_into_libs
=yes
13392 dynamic_linker
="$host_os dld.sl"
13393 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13394 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13395 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13396 soname_spec
='${libname}${release}${shared_ext}$major'
13397 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13398 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13402 dynamic_linker
="$host_os dld.sl"
13403 shlibpath_var
=SHLIB_PATH
13404 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
13409 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13410 postinstall_cmds
='chmod 555 $lib'
13417 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13418 soname_spec
='${libname}${release}${shared_ext}$major'
13419 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13420 shlibpath_var
=LD_LIBRARY_PATH
13421 shlibpath_overrides_runpath
=no
13422 hardcode_into_libs
=yes
13425 irix5
* | irix6
* | nonstopux
*)
13427 nonstopux
*) version_type
=nonstopux
;;
13429 if test "$lt_cv_prog_gnu_ld" = yes; then
13437 soname_spec
='${libname}${release}${shared_ext}$major'
13438 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13440 irix5
* | nonstopux
*)
13441 libsuff
= shlibsuff
=
13444 case $LD in # libtool.m4 will add one of these switches to LD
13445 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13446 libsuff
= shlibsuff
= libmagic
=32-bit;;
13447 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13448 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13449 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13450 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13451 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13455 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13456 shlibpath_overrides_runpath
=no
13457 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13458 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13459 hardcode_into_libs
=yes
13462 # No shared lib support for Linux oldld, aout, or coff.
13463 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13467 # This must be Linux ELF.
13468 linux
* | k
*bsd
*-gnu)
13472 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13473 soname_spec
='${libname}${release}${shared_ext}$major'
13474 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13475 shlibpath_var
=LD_LIBRARY_PATH
13476 shlibpath_overrides_runpath
=no
13477 # This implies no fast_install, which is unacceptable.
13478 # Some rework will be needed to allow for fast_install
13479 # before this can be enabled.
13480 hardcode_into_libs
=yes
13482 # Append ld.so.conf contents to the search path
13483 if test -f /etc
/ld.so.conf
; then
13484 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' ' '`
13485 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13488 # We used to test for /lib/ld.so.1 and disable shared libraries on
13489 # powerpc, because MkLinux only supported shared libraries with the
13490 # GNU dynamic linker. Since this was broken with cross compilers,
13491 # most powerpc-linux boxes support dynamic linking these days and
13492 # people can always --disable-shared, the test was removed, and we
13493 # assume the GNU/Linux dynamic linker is in use.
13494 dynamic_linker
='GNU/Linux ld.so'
13501 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
13502 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13503 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13504 dynamic_linker
='NetBSD (a.out) ld.so'
13506 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13507 soname_spec
='${libname}${release}${shared_ext}$major'
13508 dynamic_linker
='NetBSD ld.elf_so'
13510 shlibpath_var
=LD_LIBRARY_PATH
13511 shlibpath_overrides_runpath
=yes
13512 hardcode_into_libs
=yes
13517 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518 shlibpath_var
=LD_LIBRARY_PATH
13519 shlibpath_overrides_runpath
=yes
13526 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13527 soname_spec
='${libname}${release}${shared_ext}$major'
13528 shlibpath_var
=LD_LIBRARY_PATH
13529 shlibpath_overrides_runpath
=yes
13534 sys_lib_dlsearch_path_spec
="/usr/lib"
13536 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13538 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13539 *) need_version
=no
;;
13541 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13542 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13543 shlibpath_var
=LD_LIBRARY_PATH
13544 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13546 openbsd2.
[89] | openbsd2.
[89].
*)
13547 shlibpath_overrides_runpath
=no
13550 shlibpath_overrides_runpath
=yes
13554 shlibpath_overrides_runpath
=yes
13559 libname_spec
='$name'
13562 library_names_spec
='$libname${shared_ext} $libname.a'
13563 dynamic_linker
='OS/2 ld.exe'
13564 shlibpath_var
=LIBPATH
13567 osf3
* | osf4
* | osf5
*)
13571 soname_spec
='${libname}${release}${shared_ext}$major'
13572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13573 shlibpath_var
=LD_LIBRARY_PATH
13574 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13575 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13586 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13587 soname_spec
='${libname}${release}${shared_ext}$major'
13588 shlibpath_var
=LD_LIBRARY_PATH
13589 shlibpath_overrides_runpath
=yes
13590 hardcode_into_libs
=yes
13591 # ldd complains unless libraries are executable
13592 postinstall_cmds
='chmod +x $lib'
13597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13598 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13599 shlibpath_var
=LD_LIBRARY_PATH
13600 shlibpath_overrides_runpath
=yes
13601 if test "$with_gnu_ld" = yes; then
13609 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13610 soname_spec
='${libname}${release}${shared_ext}$major'
13611 shlibpath_var
=LD_LIBRARY_PATH
13612 case $host_vendor in
13614 shlibpath_overrides_runpath
=no
13616 export_dynamic_flag_spec
='${wl}-Blargedynsym'
13617 runpath_var
=LD_RUN_PATH
13625 shlibpath_overrides_runpath
=no
13626 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13632 if test -d /usr
/nec
;then
13634 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13635 soname_spec
='$libname${shared_ext}.$major'
13636 shlibpath_var
=LD_LIBRARY_PATH
13640 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13641 version_type
=freebsd-elf
13644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13645 soname_spec
='${libname}${release}${shared_ext}$major'
13646 shlibpath_var
=LD_LIBRARY_PATH
13647 hardcode_into_libs
=yes
13648 if test "$with_gnu_ld" = yes; then
13649 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13650 shlibpath_overrides_runpath
=no
13652 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13653 shlibpath_overrides_runpath
=yes
13656 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13660 sys_lib_dlsearch_path_spec
='/usr/lib'
13665 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13666 soname_spec
='${libname}${release}${shared_ext}$major'
13667 shlibpath_var
=LD_LIBRARY_PATH
13674 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13675 $as_echo "$dynamic_linker" >&6; }
13676 test "$dynamic_linker" = no
&& can_build_shared
=no
13678 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
13679 if test "$GCC" = yes; then
13680 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13683 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13684 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13685 hardcode_action_CXX
=
13686 if test -n "$hardcode_libdir_flag_spec_CXX" || \
13687 test -n "$runpath_var_CXX" || \
13688 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13690 # We can hardcode non-existant directories.
13691 if test "$hardcode_direct_CXX" != no
&&
13692 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13693 # have to relink, otherwise we might link with an installed library
13694 # when we should be linking with a yet-to-be-installed one
13695 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13696 test "$hardcode_minus_L_CXX" != no
; then
13697 # Linking always hardcodes the temporary library directory.
13698 hardcode_action_CXX
=relink
13700 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13701 hardcode_action_CXX
=immediate
13704 # We cannot hardcode anything, or else we can only hardcode existing
13706 hardcode_action_CXX
=unsupported
13708 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13709 $as_echo "$hardcode_action_CXX" >&6; }
13711 if test "$hardcode_action_CXX" = relink
; then
13712 # Fast installation is not supported
13713 enable_fast_install
=no
13714 elif test "$shlibpath_overrides_runpath" = yes ||
13715 test "$enable_shared" = no
; then
13716 # Fast installation is not necessary
13717 enable_fast_install
=needless
13721 # The else clause should only fire when bootstrapping the
13722 # libtool distribution, otherwise you forgot to ship ltmain.sh
13723 # with your package, and you will get complaints that there are
13724 # no rules to generate ltmain.sh.
13725 if test -f "$ltmain"; then
13726 # See if we are running on zsh, and set the options which allow our commands through
13727 # without removal of \ escapes.
13728 if test -n "${ZSH_VERSION+set}" ; then
13729 setopt NO_GLOB_SUBST
13731 # Now quote all the things that may contain metacharacters while being
13732 # careful not to overquote the AC_SUBSTed values. We take copies of the
13733 # variables and quote the copies for generation of the libtool script.
13734 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13736 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13737 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13738 deplibs_check_method reload_flag reload_cmds need_locks \
13739 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13740 lt_cv_sys_global_symbol_to_c_name_address \
13741 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13742 old_postinstall_cmds old_postuninstall_cmds \
13746 lt_prog_compiler_wl_CXX \
13747 lt_prog_compiler_pic_CXX \
13748 lt_prog_compiler_static_CXX \
13749 lt_prog_compiler_no_builtin_flag_CXX \
13750 export_dynamic_flag_spec_CXX \
13751 thread_safe_flag_spec_CXX \
13752 whole_archive_flag_spec_CXX \
13753 enable_shared_with_static_runtimes_CXX \
13754 old_archive_cmds_CXX \
13755 old_archive_from_new_cmds_CXX \
13756 predep_objects_CXX \
13757 postdep_objects_CXX \
13760 compiler_lib_search_path_CXX \
13762 archive_expsym_cmds_CXX \
13763 postinstall_cmds_CXX \
13764 postuninstall_cmds_CXX \
13765 old_archive_from_expsyms_cmds_CXX \
13766 allow_undefined_flag_CXX \
13767 no_undefined_flag_CXX \
13768 export_symbols_cmds_CXX \
13769 hardcode_libdir_flag_spec_CXX \
13770 hardcode_libdir_flag_spec_ld_CXX \
13771 hardcode_libdir_separator_CXX \
13772 hardcode_automatic_CXX \
13774 module_expsym_cmds_CXX \
13775 lt_cv_prog_compiler_c_o_CXX \
13776 fix_srcfile_path_CXX \
13777 exclude_expsyms_CXX \
13778 include_expsyms_CXX
; do
13781 old_archive_cmds_CXX | \
13782 old_archive_from_new_cmds_CXX | \
13783 archive_cmds_CXX | \
13784 archive_expsym_cmds_CXX | \
13785 module_cmds_CXX | \
13786 module_expsym_cmds_CXX | \
13787 old_archive_from_expsyms_cmds_CXX | \
13788 export_symbols_cmds_CXX | \
13789 extract_expsyms_cmds | reload_cmds | finish_cmds | \
13790 postinstall_cmds | postuninstall_cmds | \
13791 old_postinstall_cmds | old_postuninstall_cmds | \
13792 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
13793 # Double-quote double-evaled strings.
13794 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13797 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13803 *'\$0 --fallback-echo"')
13804 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13810 cat <<__EOF__ >> "$cfgfile"
13811 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
13813 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13815 # Shell to use when invoking shell scripts.
13818 # Whether or not to build shared libraries.
13819 build_libtool_libs=$enable_shared
13821 # Whether or not to build static libraries.
13822 build_old_libs=$enable_static
13824 # Whether or not to add -lc for building shared libraries.
13825 build_libtool_need_lc=$archive_cmds_need_lc_CXX
13827 # Whether or not to disallow shared libs when runtime libs are static
13828 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13830 # Whether or not to optimize for fast installation.
13831 fast_install=$enable_fast_install
13834 host_alias=$host_alias
13838 # The build system.
13839 build_alias=$build_alias
13843 # An echo program that does not interpret backslashes.
13848 AR_FLAGS=$lt_AR_FLAGS
13853 # LTCC compiler flags.
13854 LTCFLAGS=$lt_LTCFLAGS
13856 # A language-specific compiler.
13857 CC=$lt_compiler_CXX
13859 # Is the compiler the GNU C compiler?
13865 # The linker used to build libraries.
13868 # Whether we need hard or soft links.
13871 # A BSD-compatible nm program.
13874 # A symbol stripping program
13877 # Used to examine libraries when file_magic_cmd begins "file"
13878 MAGIC_CMD=$MAGIC_CMD
13880 # Used on cygwin: DLL creation program.
13883 # Used on cygwin: object dumper.
13886 # Used on cygwin: assembler.
13889 # The name of the directory that contains temporary libtool files.
13892 # How to create reloadable object files.
13893 reload_flag=$lt_reload_flag
13894 reload_cmds=$lt_reload_cmds
13896 # How to pass a linker flag through the compiler.
13897 wl=$lt_lt_prog_compiler_wl_CXX
13899 # Object file suffix (normally "o").
13900 objext="$ac_objext"
13902 # Old archive suffix (normally "a").
13905 # Shared library suffix (normally ".so").
13906 shrext_cmds='$shrext_cmds'
13908 # Executable file suffix (normally "").
13911 # Additional compiler flags for building library objects.
13912 pic_flag=$lt_lt_prog_compiler_pic_CXX
13915 # What is the maximum length of a command?
13916 max_cmd_len=$lt_cv_sys_max_cmd_len
13918 # Does compiler simultaneously support -c and -o options?
13919 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13921 # Must we lock files when doing compilation?
13922 need_locks=$lt_need_locks
13924 # Do we need the lib prefix for modules?
13925 need_lib_prefix=$need_lib_prefix
13927 # Do we need a version for libraries?
13928 need_version=$need_version
13930 # Whether dlopen is supported.
13931 dlopen_support=$enable_dlopen
13933 # Whether dlopen of programs is supported.
13934 dlopen_self=$enable_dlopen_self
13936 # Whether dlopen of statically linked programs is supported.
13937 dlopen_self_static=$enable_dlopen_self_static
13939 # Compiler flag to prevent dynamic linking.
13940 link_static_flag=$lt_lt_prog_compiler_static_CXX
13942 # Compiler flag to turn off builtin functions.
13943 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13945 # Compiler flag to allow reflexive dlopens.
13946 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13948 # Compiler flag to generate shared objects directly from archives.
13949 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13951 # Compiler flag to generate thread-safe objects.
13952 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13954 # Library versioning type.
13955 version_type=$version_type
13957 # Format of library name prefix.
13958 libname_spec=$lt_libname_spec
13960 # List of archive names. First name is the real one, the rest are links.
13961 # The last name is the one that the linker finds with -lNAME.
13962 library_names_spec=$lt_library_names_spec
13964 # The coded name of the library, if different from the real name.
13965 soname_spec=$lt_soname_spec
13967 # Commands used to build and install an old-style archive.
13969 old_archive_cmds=$lt_old_archive_cmds_CXX
13970 old_postinstall_cmds=$lt_old_postinstall_cmds
13971 old_postuninstall_cmds=$lt_old_postuninstall_cmds
13973 # Create an old-style archive from a shared archive.
13974 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13976 # Create a temporary old-style archive to link instead of a shared archive.
13977 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13979 # Commands used to build and install a shared archive.
13980 archive_cmds=$lt_archive_cmds_CXX
13981 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13982 postinstall_cmds=$lt_postinstall_cmds
13983 postuninstall_cmds=$lt_postuninstall_cmds
13985 # Commands used to build a loadable module (assumed same as above if empty)
13986 module_cmds=$lt_module_cmds_CXX
13987 module_expsym_cmds=$lt_module_expsym_cmds_CXX
13989 # Commands to strip libraries.
13990 old_striplib=$lt_old_striplib
13991 striplib=$lt_striplib
13993 # Dependencies to place before the objects being linked to create a
13995 predep_objects=$lt_predep_objects_CXX
13997 # Dependencies to place after the objects being linked to create a
13999 postdep_objects=$lt_postdep_objects_CXX
14001 # Dependencies to place before the objects being linked to create a
14003 predeps=$lt_predeps_CXX
14005 # Dependencies to place after the objects being linked to create a
14007 postdeps=$lt_postdeps_CXX
14009 # The library search path used internally by the compiler when linking
14010 # a shared library.
14011 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
14013 # Method to check whether dependent libraries are shared objects.
14014 deplibs_check_method=$lt_deplibs_check_method
14016 # Command to use when deplibs_check_method == file_magic.
14017 file_magic_cmd=$lt_file_magic_cmd
14019 # Flag that allows shared libraries with undefined symbols to be built.
14020 allow_undefined_flag=$lt_allow_undefined_flag_CXX
14022 # Flag that forces no undefined symbols.
14023 no_undefined_flag=$lt_no_undefined_flag_CXX
14025 # Commands used to finish a libtool library installation in a directory.
14026 finish_cmds=$lt_finish_cmds
14028 # Same as above, but a single script fragment to be evaled but not shown.
14029 finish_eval=$lt_finish_eval
14031 # Take the output of nm and produce a listing of raw symbols and C names.
14032 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14034 # Transform the output of nm in a proper C declaration
14035 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14037 # Transform the output of nm in a C name address pair
14038 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14040 # This is the shared library runtime path variable.
14041 runpath_var=$runpath_var
14043 # This is the shared library path variable.
14044 shlibpath_var=$shlibpath_var
14046 # Is shlibpath searched before the hard-coded library search path?
14047 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14049 # How to hardcode a shared library path into an executable.
14050 hardcode_action=$hardcode_action_CXX
14052 # Whether we should hardcode library paths into libraries.
14053 hardcode_into_libs=$hardcode_into_libs
14055 # Flag to hardcode \$libdir into a binary during linking.
14056 # This must work even if \$libdir does not exist.
14057 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
14059 # If ld is used when linking, flag to hardcode \$libdir into
14060 # a binary during linking. This must work even if \$libdir does
14062 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
14064 # Whether we need a single -rpath flag with a separated argument.
14065 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
14067 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14068 # resulting binary.
14069 hardcode_direct=$hardcode_direct_CXX
14071 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14072 # resulting binary.
14073 hardcode_minus_L=$hardcode_minus_L_CXX
14075 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14076 # the resulting binary.
14077 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
14079 # Set to yes if building a shared library automatically hardcodes DIR into the library
14080 # and all subsequent libraries and executables linked against it.
14081 hardcode_automatic=$hardcode_automatic_CXX
14083 # Variables whose values should be saved in libtool wrapper scripts and
14084 # restored at relink time.
14085 variables_saved_for_relink="$variables_saved_for_relink"
14087 # Whether libtool must link a program against all its dependency libraries.
14088 link_all_deplibs=$link_all_deplibs_CXX
14090 # Compile-time system search path for libraries
14091 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14093 # Run-time system search path for libraries
14094 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14096 # Fix the shell variable \$srcfile for the compiler.
14097 fix_srcfile_path=$lt_fix_srcfile_path
14099 # Set to yes if exported symbols are required.
14100 always_export_symbols=$always_export_symbols_CXX
14102 # The commands to list exported symbols.
14103 export_symbols_cmds=$lt_export_symbols_cmds_CXX
14105 # The commands to extract the exported symbol list from a shared archive.
14106 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14108 # Symbols that should not be listed in the preloaded symbols.
14109 exclude_expsyms=$lt_exclude_expsyms_CXX
14111 # Symbols that must always be exported.
14112 include_expsyms=$lt_include_expsyms_CXX
14114 # ### END LIBTOOL TAG CONFIG: $tagname
14120 # If there is no Makefile yet, we rely on a make rule to execute
14121 # `config.status --recheck' to rerun these tests and create the
14122 # libtool script then.
14123 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
14124 if test -f "$ltmain_in"; then
14125 test -f Makefile
&& make "$ltmain"
14131 ac_cpp
='$CPP $CPPFLAGS'
14132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14140 with_gnu_ldcxx
=$with_gnu_ld
14141 with_gnu_ld
=$lt_save_with_gnu_ld
14142 lt_cv_path_LDCXX
=$lt_cv_path_LD
14143 lt_cv_path_LD
=$lt_save_path_LD
14144 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
14145 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
14153 if test -n "$F77" && test "X$F77" != "Xno"; then
14156 ac_compile
='$F77 -c $FFLAGS conftest.$ac_ext >&5'
14157 ac_link
='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14158 ac_compiler_gnu
=$ac_cv_f77_compiler_gnu
14161 archive_cmds_need_lc_F77
=no
14162 allow_undefined_flag_F77
=
14163 always_export_symbols_F77
=no
14164 archive_expsym_cmds_F77
=
14165 export_dynamic_flag_spec_F77
=
14166 hardcode_direct_F77
=no
14167 hardcode_libdir_flag_spec_F77
=
14168 hardcode_libdir_flag_spec_ld_F77
=
14169 hardcode_libdir_separator_F77
=
14170 hardcode_minus_L_F77
=no
14171 hardcode_automatic_F77
=no
14173 module_expsym_cmds_F77
=
14174 link_all_deplibs_F77
=unknown
14175 old_archive_cmds_F77
=$old_archive_cmds
14176 no_undefined_flag_F77
=
14177 whole_archive_flag_spec_F77
=
14178 enable_shared_with_static_runtimes_F77
=no
14180 # Source file extension for f77 test sources.
14183 # Object file extension for compiled f77 test sources.
14187 # Code to be used in simple compile tests
14188 lt_simple_compile_test_code
="\
14194 # Code to be used in simple link tests
14195 lt_simple_link_test_code
="\
14200 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14202 # If no C compiler was specified, use CC.
14205 # If no C compiler flags were specified, use CFLAGS.
14206 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
14208 # Allow CC to be a program name with arguments.
14212 # save warnings/boilerplate of simple test code
14213 ac_outfile
=conftest.
$ac_objext
14214 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
14215 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14216 _lt_compiler_boilerplate
=`cat conftest.err`
14219 ac_outfile
=conftest.
$ac_objext
14220 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
14221 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
14222 _lt_linker_boilerplate
=`cat conftest.err`
14226 # Allow CC to be a program name with arguments.
14231 for cc_temp
in $compiler""; do
14233 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14234 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14239 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14242 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
14243 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14244 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
14245 $as_echo "$can_build_shared" >&6; }
14247 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
14248 $as_echo_n "checking whether to build shared libraries... " >&6; }
14249 test "$can_build_shared" = "no" && enable_shared
=no
14251 # On AIX, shared libraries and static libraries use the same namespace, and
14252 # are all built from PIC.
14255 test "$enable_shared" = yes && enable_static
=no
14256 if test -n "$RANLIB"; then
14257 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
14258 postinstall_cmds
='$RANLIB $lib'
14262 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
14263 test "$enable_shared" = yes && enable_static
=no
14267 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
14268 $as_echo "$enable_shared" >&6; }
14270 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14271 $as_echo_n "checking whether to build static libraries... " >&6; }
14272 # Make sure either enable_shared or enable_static is yes.
14273 test "$enable_shared" = yes || enable_static
=yes
14274 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
14275 $as_echo "$enable_static" >&6; }
14280 lt_prog_compiler_wl_F77
=
14281 lt_prog_compiler_pic_F77
=
14282 lt_prog_compiler_static_F77
=
14284 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14285 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14287 if test "$GCC" = yes; then
14288 lt_prog_compiler_wl_F77
='-Wl,'
14289 lt_prog_compiler_static_F77
='-static'
14293 # All AIX code is PIC.
14294 if test "$host_cpu" = ia64
; then
14295 # AIX 5 now supports IA64 processor
14296 lt_prog_compiler_static_F77
='-Bstatic'
14301 # FIXME: we need at least 68020 code to build shared libraries, but
14302 # adding the `-m68020' flag to GCC prevents building anything better,
14304 lt_prog_compiler_pic_F77
='-m68020 -resident32 -malways-restore-a4'
14307 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14308 # PIC is the default for these OSes.
14311 mingw
* | cygwin
* | pw32
* | os2
*)
14312 # This hack is so that the source file can tell whether it is being
14313 # built for inclusion in a dll (and should export symbols for example).
14314 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14315 # (--disable-auto-import) libraries
14316 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14319 darwin
* | rhapsody
*)
14320 # PIC is the default on this platform
14321 # Common symbols not allowed in MH_DYLIB files
14322 lt_prog_compiler_pic_F77
='-fno-common'
14326 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14327 # Instead, we relocate shared libraries at runtime.
14331 # Just because we use GCC doesn't mean we suddenly get shared libraries
14332 # on systems that don't support them.
14333 lt_prog_compiler_can_build_shared_F77
=no
14338 if test -d /usr
/nec
; then
14339 lt_prog_compiler_pic_F77
=-Kconform_pic
14344 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14345 # not for PA HP-UX.
14351 lt_prog_compiler_pic_F77
='-fPIC'
14357 lt_prog_compiler_pic_F77
='-fPIC'
14361 # PORTME Check for flag to pass linker flags through the system compiler.
14364 lt_prog_compiler_wl_F77
='-Wl,'
14365 if test "$host_cpu" = ia64
; then
14366 # AIX 5 now supports IA64 processor
14367 lt_prog_compiler_static_F77
='-Bstatic'
14369 lt_prog_compiler_static_F77
='-bnso -bI:/lib/syscalls.exp'
14373 # PIC is the default on this platform
14374 # Common symbols not allowed in MH_DYLIB files
14375 case $cc_basename in
14377 lt_prog_compiler_pic_F77
='-qnocommon'
14378 lt_prog_compiler_wl_F77
='-Wl,'
14383 mingw
* | cygwin
* | pw32
* | os2
*)
14384 # This hack is so that the source file can tell whether it is being
14385 # built for inclusion in a dll (and should export symbols for example).
14386 lt_prog_compiler_pic_F77
='-DDLL_EXPORT'
14389 hpux9
* | hpux10
* | hpux11
*)
14390 lt_prog_compiler_wl_F77
='-Wl,'
14391 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14392 # not for PA HP-UX.
14398 lt_prog_compiler_pic_F77
='+Z'
14401 # Is there a better lt_prog_compiler_static that works with the bundled CC?
14402 lt_prog_compiler_static_F77
='${wl}-a ${wl}archive'
14405 irix5
* | irix6
* | nonstopux
*)
14406 lt_prog_compiler_wl_F77
='-Wl,'
14407 # PIC (with -KPIC) is the default.
14408 lt_prog_compiler_static_F77
='-non_shared'
14412 lt_prog_compiler_pic_F77
='-KPIC'
14413 lt_prog_compiler_static_F77
='-Bstatic'
14416 linux
* | k
*bsd
*-gnu)
14417 case $cc_basename in
14419 lt_prog_compiler_wl_F77
='-Wl,'
14420 lt_prog_compiler_pic_F77
='-KPIC'
14421 lt_prog_compiler_static_F77
='-static'
14423 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
14424 # Portland Group compilers (*not* the Pentium gcc compiler,
14425 # which looks to be a dead project)
14426 lt_prog_compiler_wl_F77
='-Wl,'
14427 lt_prog_compiler_pic_F77
='-fpic'
14428 lt_prog_compiler_static_F77
='-Bstatic'
14431 lt_prog_compiler_wl_F77
='-Wl,'
14432 # All Alpha code is PIC.
14433 lt_prog_compiler_static_F77
='-non_shared'
14436 case `$CC -V 2>&1 | sed 5q` in
14439 lt_prog_compiler_pic_F77
='-KPIC'
14440 lt_prog_compiler_static_F77
='-Bstatic'
14441 lt_prog_compiler_wl_F77
='-Wl,'
14444 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14445 lt_prog_compiler_pic_F77
='-KPIC'
14446 lt_prog_compiler_static_F77
='-Bstatic'
14447 lt_prog_compiler_wl_F77
=''
14454 osf3
* | osf4
* | osf5
*)
14455 lt_prog_compiler_wl_F77
='-Wl,'
14456 # All OSF/1 code is PIC.
14457 lt_prog_compiler_static_F77
='-non_shared'
14461 lt_prog_compiler_static_F77
='-non_shared'
14465 lt_prog_compiler_pic_F77
='-KPIC'
14466 lt_prog_compiler_static_F77
='-Bstatic'
14467 case $cc_basename in
14468 f77
* | f90
* | f95
*)
14469 lt_prog_compiler_wl_F77
='-Qoption ld ';;
14471 lt_prog_compiler_wl_F77
='-Wl,';;
14476 lt_prog_compiler_wl_F77
='-Qoption ld '
14477 lt_prog_compiler_pic_F77
='-PIC'
14478 lt_prog_compiler_static_F77
='-Bstatic'
14481 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14482 lt_prog_compiler_wl_F77
='-Wl,'
14483 lt_prog_compiler_pic_F77
='-KPIC'
14484 lt_prog_compiler_static_F77
='-Bstatic'
14488 if test -d /usr
/nec
;then
14489 lt_prog_compiler_pic_F77
='-Kconform_pic'
14490 lt_prog_compiler_static_F77
='-Bstatic'
14494 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14495 lt_prog_compiler_wl_F77
='-Wl,'
14496 lt_prog_compiler_pic_F77
='-KPIC'
14497 lt_prog_compiler_static_F77
='-Bstatic'
14501 lt_prog_compiler_wl_F77
='-Wl,'
14502 lt_prog_compiler_can_build_shared_F77
=no
14506 lt_prog_compiler_pic_F77
='-pic'
14507 lt_prog_compiler_static_F77
='-Bstatic'
14511 lt_prog_compiler_can_build_shared_F77
=no
14516 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14517 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
14520 # Check to make sure the PIC flag actually works.
14522 if test -n "$lt_prog_compiler_pic_F77"; then
14524 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14525 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
14526 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14527 $as_echo_n "(cached) " >&6
14529 lt_prog_compiler_pic_works_F77
=no
14530 ac_outfile
=conftest.
$ac_objext
14531 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14532 lt_compiler_flag
="$lt_prog_compiler_pic_F77"
14533 # Insert the option either (1) after the last *FLAGS variable, or
14534 # (2) before a word containing "conftest.", or (3) at the end.
14535 # Note that $ac_compile itself does not contain backslashes and begins
14536 # with a dollar sign (not a hyphen), so the echo should work correctly.
14537 # The option is referenced via a variable to avoid confusing sed.
14538 lt_compile
=`echo "$ac_compile" | $SED \
14539 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14541 -e 's:$: $lt_compiler_flag:'`
14542 (eval echo "\"\$as_me:14542: $lt_compile\"" >&5)
14543 (eval "$lt_compile" 2>conftest.err
)
14545 cat conftest.err
>&5
14546 echo "$as_me:14546: \$? = $ac_status" >&5
14547 if (exit $ac_status) && test -s "$ac_outfile"; then
14548 # The compiler can only warn and ignore the option if not recognized
14549 # So say no if there are warnings other than the usual output.
14550 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
14551 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14552 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14553 lt_prog_compiler_pic_works_F77
=yes
14559 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14560 $as_echo "$lt_prog_compiler_pic_works_F77" >&6; }
14562 if test x
"$lt_prog_compiler_pic_works_F77" = xyes
; then
14563 case $lt_prog_compiler_pic_F77 in
14565 *) lt_prog_compiler_pic_F77
=" $lt_prog_compiler_pic_F77" ;;
14568 lt_prog_compiler_pic_F77
=
14569 lt_prog_compiler_can_build_shared_F77
=no
14574 # For platforms which do not support PIC, -DPIC is meaningless:
14576 lt_prog_compiler_pic_F77
=
14579 lt_prog_compiler_pic_F77
="$lt_prog_compiler_pic_F77"
14584 # Check to make sure the static flag actually works.
14586 wl
=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_F77\"
14587 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14588 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14589 if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14590 $as_echo_n "(cached) " >&6
14592 lt_prog_compiler_static_works_F77
=no
14593 save_LDFLAGS
="$LDFLAGS"
14594 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14595 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14596 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14597 # The linker can only warn and ignore the option if not recognized
14598 # So say no if there are warnings
14599 if test -s conftest.err
; then
14600 # Append any errors to the config.log.
14601 cat conftest.err
1>&5
14602 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
14603 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14604 if diff conftest.exp conftest.er2
>/dev
/null
; then
14605 lt_prog_compiler_static_works_F77
=yes
14608 lt_prog_compiler_static_works_F77
=yes
14612 LDFLAGS
="$save_LDFLAGS"
14615 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14616 $as_echo "$lt_prog_compiler_static_works_F77" >&6; }
14618 if test x
"$lt_prog_compiler_static_works_F77" = xyes
; then
14621 lt_prog_compiler_static_F77
=
14625 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14626 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14627 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14628 $as_echo_n "(cached) " >&6
14630 lt_cv_prog_compiler_c_o_F77
=no
14631 $rm -r conftest
2>/dev
/null
14635 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14637 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14638 # Insert the option either (1) after the last *FLAGS variable, or
14639 # (2) before a word containing "conftest.", or (3) at the end.
14640 # Note that $ac_compile itself does not contain backslashes and begins
14641 # with a dollar sign (not a hyphen), so the echo should work correctly.
14642 lt_compile
=`echo "$ac_compile" | $SED \
14643 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14644 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14645 -e 's:$: $lt_compiler_flag:'`
14646 (eval echo "\"\$as_me:14646: $lt_compile\"" >&5)
14647 (eval "$lt_compile" 2>out
/conftest.err
)
14649 cat out
/conftest.err
>&5
14650 echo "$as_me:14650: \$? = $ac_status" >&5
14651 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14653 # The compiler can only warn and ignore the option if not recognized
14654 # So say no if there are warnings
14655 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
14656 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14657 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14658 lt_cv_prog_compiler_c_o_F77
=yes
14663 # SGI C++ compiler will create directory out/ii_files/ for
14664 # template instantiation
14665 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
14666 $rm out
/* && rmdir out
14672 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14673 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
14676 hard_links
="nottested"
14677 if test "$lt_cv_prog_compiler_c_o_F77" = no
&& test "$need_locks" != no
; then
14678 # do not overwrite the value of need_locks provided by the user
14679 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14680 $as_echo_n "checking if we can lock with hard links... " >&6; }
14683 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14685 ln conftest.a conftest.b
2>&5 || hard_links
=no
14686 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14687 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
14688 $as_echo "$hard_links" >&6; }
14689 if test "$hard_links" = no
; then
14690 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14691 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14698 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14699 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14702 allow_undefined_flag_F77
=
14703 enable_shared_with_static_runtimes_F77
=no
14705 archive_expsym_cmds_F77
=
14706 old_archive_From_new_cmds_F77
=
14707 old_archive_from_expsyms_cmds_F77
=
14708 export_dynamic_flag_spec_F77
=
14709 whole_archive_flag_spec_F77
=
14710 thread_safe_flag_spec_F77
=
14711 hardcode_libdir_flag_spec_F77
=
14712 hardcode_libdir_flag_spec_ld_F77
=
14713 hardcode_libdir_separator_F77
=
14714 hardcode_direct_F77
=no
14715 hardcode_minus_L_F77
=no
14716 hardcode_shlibpath_var_F77
=unsupported
14717 link_all_deplibs_F77
=unknown
14718 hardcode_automatic_F77
=no
14720 module_expsym_cmds_F77
=
14721 always_export_symbols_F77
=no
14722 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14723 # include_expsyms should be a list of space-separated symbols to be *always*
14724 # included in the symbol list
14725 include_expsyms_F77
=
14726 # exclude_expsyms can be an extended regexp of symbols to exclude
14727 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14728 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14729 # as well as any symbol that contains `d'.
14730 exclude_expsyms_F77
="_GLOBAL_OFFSET_TABLE_"
14731 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14732 # platforms (ab)use it in PIC code, but their linkers get confused if
14733 # the symbol is explicitly referenced. Since portable code cannot
14734 # rely on this symbol name, it's probably fine to never include it in
14735 # preloaded symbol tables.
14736 extract_expsyms_cmds
=
14737 # Just being paranoid about ensuring that cc_basename is set.
14738 for cc_temp
in $compiler""; do
14740 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
14741 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
14746 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14749 cygwin
* | mingw
* | pw32
*)
14750 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14751 # When not using gcc, we currently assume that we are using
14752 # Microsoft Visual C++.
14753 if test "$GCC" != yes; then
14758 # we just hope/assume this is gcc and not c89 (= MSVC++)
14767 if test "$with_gnu_ld" = yes; then
14768 # If archive_cmds runs LD, not CC, wlarc should be empty
14771 # Set some defaults for GNU ld with shared library support. These
14772 # are reset later if shared libraries are not supported. Putting them
14773 # here allows them to be overridden if necessary.
14774 runpath_var
=LD_RUN_PATH
14775 hardcode_libdir_flag_spec_F77
='${wl}--rpath ${wl}$libdir'
14776 export_dynamic_flag_spec_F77
='${wl}--export-dynamic'
14777 # ancient GNU ld didn't support --whole-archive et. al.
14778 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
14779 whole_archive_flag_spec_F77
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14781 whole_archive_flag_spec_F77
=
14783 supports_anon_versioning
=no
14784 case `$LD -v 2>/dev/null` in
14785 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14786 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14787 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14788 *\
2.11.
*) ;; # other 2.11 versions
14789 *) supports_anon_versioning
=yes ;;
14792 # See if GNU ld supports shared libraries.
14794 aix3
* | aix4
* | aix5
*)
14795 # On AIX/PPC, the GNU linker is very broken
14796 if test "$host_cpu" != ia64
; then
14800 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
14801 *** to be unable to reliably create shared libraries on AIX.
14802 *** Therefore, libtool is disabling shared libraries support. If you
14803 *** really care for shared libraries, you may want to modify your PATH
14804 *** so that a non-GNU linker is found, and then restart.
14811 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)'
14812 hardcode_libdir_flag_spec_F77
='-L$libdir'
14813 hardcode_minus_L_F77
=yes
14815 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14816 # that the semantics of dynamic libraries on AmigaOS, at least up
14817 # to version 4, is to share data among multiple programs linked
14818 # with the same dynamic library. Since this doesn't match the
14819 # behavior of shared libraries on other platforms, we can't use
14825 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14826 allow_undefined_flag_F77
=unsupported
14827 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14828 # support --undefined. This deserves some investigation. FIXME
14829 archive_cmds_F77
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14835 cygwin
* | mingw
* | pw32
*)
14836 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14837 # as there is no search path for DLLs.
14838 hardcode_libdir_flag_spec_F77
='-L$libdir'
14839 allow_undefined_flag_F77
=unsupported
14840 always_export_symbols_F77
=no
14841 enable_shared_with_static_runtimes_F77
=yes
14842 export_symbols_cmds_F77
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14844 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
14845 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14846 # If the export-symbols file already is a .def file (1st line
14847 # is EXPORTS), use it as is; otherwise, prepend...
14848 archive_expsym_cmds_F77
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14849 cp $export_symbols $output_objdir/$soname.def;
14851 echo EXPORTS > $output_objdir/$soname.def;
14852 cat $export_symbols >> $output_objdir/$soname.def;
14854 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14861 hardcode_direct_F77
=no
14862 hardcode_shlibpath_var_F77
=no
14863 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
14864 export_dynamic_flag_spec_F77
='${wl}-E'
14865 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14866 # Instead, shared libraries are loaded at an image base (0x10000000 by
14867 # default) and relocated if they conflict, which is a slow very memory
14868 # consuming and fragmenting process. To avoid this, we pick a random,
14869 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14870 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14871 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'
14872 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'
14875 gnu
* | linux
* | k
*bsd
*-gnu)
14876 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14878 case $cc_basename,$host_cpu in
14879 pgcc
*) # Portland Group C compiler
14880 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'
14881 tmp_addflag
=' $pic_flag'
14883 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
14884 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'
14885 tmp_addflag
=' $pic_flag -Mnomain' ;;
14886 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14887 tmp_addflag
=' -i_dynamic' ;;
14888 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14889 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14890 ifc
* | ifort
*) # Intel Fortran compiler
14891 tmp_addflag
=' -nofor_main' ;;
14893 case `$CC -V 2>&1 | sed 5q` in
14894 *Sun\ C
*) # Sun C 5.9
14895 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'
14896 tmp_sharedflag
='-G' ;;
14897 *Sun\ F
*) # Sun Fortran 8.3
14898 tmp_sharedflag
='-G' ;;
14900 tmp_sharedflag
='-shared' ;;
14902 archive_cmds_F77
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14904 if test $supports_anon_versioning = yes; then
14905 archive_expsym_cmds_F77
='$echo "{ global:" > $output_objdir/$libname.ver~
14906 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14907 $echo "local: *; };" >> $output_objdir/$libname.ver~
14908 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14916 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
14917 archive_cmds_F77
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14920 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14921 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14926 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
14930 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14931 *** create shared libraries on Solaris systems. Therefore, libtool
14932 *** is disabling shared libraries support. We urge you to upgrade GNU
14933 *** binutils to release 2.9.1 or newer. Another option is to modify
14934 *** your PATH or compiler configuration so that the native linker is
14935 *** used, and then restart.
14938 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14939 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14940 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14946 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14947 case `$LD -v 2>&1` in
14948 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14952 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14953 *** reliably create shared libraries on SCO systems. Therefore, libtool
14954 *** is disabling shared libraries support. We urge you to upgrade GNU
14955 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14956 *** your PATH or compiler configuration so that the native linker is
14957 *** used, and then restart.
14962 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14963 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14964 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14965 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14974 archive_cmds_F77
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14976 hardcode_direct_F77
=yes
14977 hardcode_shlibpath_var_F77
=no
14981 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
14982 archive_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14983 archive_expsym_cmds_F77
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14990 if test "$ld_shlibs_F77" = no
; then
14992 hardcode_libdir_flag_spec_F77
=
14993 export_dynamic_flag_spec_F77
=
14994 whole_archive_flag_spec_F77
=
14997 # PORTME fill in a description of your system's linker (not GNU ld)
15000 allow_undefined_flag_F77
=unsupported
15001 always_export_symbols_F77
=yes
15002 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'
15003 # Note: this linker hardcodes the directories in LIBPATH if there
15004 # are no directories specified by -L.
15005 hardcode_minus_L_F77
=yes
15006 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
15007 # Neither direct hardcoding nor static linking is supported with a
15009 hardcode_direct_F77
=unsupported
15014 if test "$host_cpu" = ia64
; then
15015 # On IA64, the linker does run time linking by default, so we don't
15016 # have to do anything special.
15017 aix_use_runtimelinking
=no
15018 exp_sym_flag
='-Bexport'
15021 # If we're using GNU nm, then we don't want the "-C" option.
15022 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15023 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
15024 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'
15026 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'
15028 aix_use_runtimelinking
=no
15030 # Test if we are trying to use run time linking or normal
15031 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15032 # need to do runtime linking.
15033 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
15034 for ld_flag
in $LDFLAGS; do
15035 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
15036 aix_use_runtimelinking
=yes
15043 exp_sym_flag
='-bexport'
15044 no_entry_flag
='-bnoentry'
15047 # When large executables or shared objects are built, AIX ld can
15048 # have problems creating the table of contents. If linking a library
15049 # or program results in "error TOC overflow" add -mminimal-toc to
15050 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15051 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15053 archive_cmds_F77
=''
15054 hardcode_direct_F77
=yes
15055 hardcode_libdir_separator_F77
=':'
15056 link_all_deplibs_F77
=yes
15058 if test "$GCC" = yes; then
15059 case $host_os in aix4.
[012]|aix4.
[012].
*)
15060 # We only want to do this on AIX 4.2 and lower, the check
15061 # below for broken collect2 doesn't work under 4.3+
15062 collect2name
=`${CC} -print-prog-name=collect2`
15063 if test -f "$collect2name" && \
15064 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
15066 # We have reworked collect2
15069 # We have old collect2
15070 hardcode_direct_F77
=unsupported
15071 # It fails to find uninstalled libraries when the uninstalled
15072 # path is not listed in the libpath. Setting hardcode_minus_L
15073 # to unsupported forces relinking
15074 hardcode_minus_L_F77
=yes
15075 hardcode_libdir_flag_spec_F77
='-L$libdir'
15076 hardcode_libdir_separator_F77
=
15080 shared_flag
='-shared'
15081 if test "$aix_use_runtimelinking" = yes; then
15082 shared_flag
="$shared_flag "'${wl}-G'
15086 if test "$host_cpu" = ia64
; then
15087 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15088 # chokes on -Wl,-G. The following line is correct:
15091 if test "$aix_use_runtimelinking" = yes; then
15092 shared_flag
='${wl}-G'
15094 shared_flag
='${wl}-bM:SRE'
15099 # It seems that -bexpall does not export symbols beginning with
15100 # underscore (_), so it is better to generate a list of symbols to export.
15101 always_export_symbols_F77
=yes
15102 if test "$aix_use_runtimelinking" = yes; then
15103 # Warning - without using the other runtime loading flags (-brtl),
15104 # -berok will link without error, but may produce a broken library.
15105 allow_undefined_flag_F77
='-berok'
15106 # Determine the default libpath from the value encoded in an empty executable.
15107 cat >conftest.
$ac_ext <<_ACEOF
15112 rm -f conftest.
$ac_objext conftest
$ac_exeext
15113 if { (ac_try
="$ac_link"
15114 case "(($ac_try" in
15115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15116 *) ac_try_echo=$ac_try;;
15118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15119 $as_echo "$ac_try_echo") >&5
15120 (eval "$ac_link") 2>conftest.er1
15122 grep -v '^ *+' conftest.er1 >conftest.err
15124 cat conftest.err >&5
15125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); } && {
15127 test -z "$ac_f77_werror_flag" ||
15128 test ! -s conftest.err
15129 } && test -s conftest$ac_exeext && {
15130 test "$cross_compiling" = yes ||
15131 $as_test_x conftest$ac_exeext
15134 lt_aix_libpath_sed='
15135 /Import File Strings/,/^$/ {
15141 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15142 # Check for a 64-bit object if we didn't find anything.
15143 if test -z "$aix_libpath"; then
15144 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
15147 $as_echo "$as_me: failed program was:" >&5
15148 sed 's/^/| /' conftest.$ac_ext >&5
15153 rm -rf conftest.dSYM
15154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15155 conftest$ac_exeext conftest.$ac_ext
15156 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15158 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
15159 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"
15161 if test "$host_cpu" = ia64; then
15162 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
15163 allow_undefined_flag_F77="-z nodefs"
15164 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"
15166 # Determine the default libpath from the value encoded in an empty executable.
15167 cat >conftest.$ac_ext <<_ACEOF
15172 rm -f conftest.$ac_objext conftest$ac_exeext
15173 if { (ac_try="$ac_link"
15174 case "(($ac_try" in
15175 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15176 *) ac_try_echo
=$ac_try;;
15178 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15179 $as_echo "$ac_try_echo") >&5
15180 (eval "$ac_link") 2>conftest.er1
15182 grep -v '^ *+' conftest.er1
>conftest.err
15184 cat conftest.err
>&5
15185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } && {
15187 test -z "$ac_f77_werror_flag" ||
15188 test ! -s conftest.err
15189 } && test -s conftest
$ac_exeext && {
15190 test "$cross_compiling" = yes ||
15191 $as_test_x conftest
$ac_exeext
15194 lt_aix_libpath_sed
='
15195 /Import File Strings/,/^$/ {
15201 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15202 # Check for a 64-bit object if we didn't find anything.
15203 if test -z "$aix_libpath"; then
15204 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15207 $as_echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.
$ac_ext >&5
15213 rm -rf conftest.dSYM
15214 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15215 conftest
$ac_exeext conftest.
$ac_ext
15216 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
15218 hardcode_libdir_flag_spec_F77
='${wl}-blibpath:$libdir:'"$aix_libpath"
15219 # Warning - without using the other run time loading flags,
15220 # -berok will link without error, but may produce a broken library.
15221 no_undefined_flag_F77
=' ${wl}-bernotok'
15222 allow_undefined_flag_F77
=' ${wl}-berok'
15223 # Exported symbols can be pulled into shared objects from archives
15224 whole_archive_flag_spec_F77
='$convenience'
15225 archive_cmds_need_lc_F77
=yes
15226 # This is similar to how AIX traditionally builds its shared libraries.
15227 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'
15233 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)'
15234 hardcode_libdir_flag_spec_F77
='-L$libdir'
15235 hardcode_minus_L_F77
=yes
15236 # see comment about different semantics on the GNU ld section
15241 export_dynamic_flag_spec_F77
=-rdynamic
15244 cygwin
* | mingw
* | pw32
*)
15245 # When not using gcc, we currently assume that we are using
15246 # Microsoft Visual C++.
15247 # hardcode_libdir_flag_spec is actually meaningless, as there is
15248 # no search path for DLLs.
15249 hardcode_libdir_flag_spec_F77
=' '
15250 allow_undefined_flag_F77
=unsupported
15251 # Tell ltmain to make .lib files, not .a files.
15253 # Tell ltmain to make .dll files, not .so files.
15255 # FIXME: Setting linknames here is a bad hack.
15256 archive_cmds_F77
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15257 # The linker will automatically build a .lib file if we build a DLL.
15258 old_archive_From_new_cmds_F77
='true'
15259 # FIXME: Should let the user specify the lib program.
15260 old_archive_cmds_F77
='lib -OUT:$oldlib$oldobjs$old_deplibs'
15261 fix_srcfile_path_F77
='`cygpath -w "$srcfile"`'
15262 enable_shared_with_static_runtimes_F77
=yes
15265 darwin
* | rhapsody
*)
15267 rhapsody
* | darwin1.
[012])
15268 allow_undefined_flag_F77
='${wl}-undefined ${wl}suppress'
15271 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
15272 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15274 case ${MACOSX_DEPLOYMENT_TARGET} in
15276 allow_undefined_flag_F77
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
15279 allow_undefined_flag_F77
='${wl}-undefined ${wl}dynamic_lookup'
15285 archive_cmds_need_lc_F77
=no
15286 hardcode_direct_F77
=no
15287 hardcode_automatic_F77
=yes
15288 hardcode_shlibpath_var_F77
=unsupported
15289 whole_archive_flag_spec_F77
=''
15290 link_all_deplibs_F77
=yes
15291 if test "$GCC" = yes ; then
15292 output_verbose_link_cmd
='echo'
15293 archive_cmds_F77
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15294 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15295 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15296 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}'
15297 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}'
15299 case $cc_basename in
15301 output_verbose_link_cmd
='echo'
15302 archive_cmds_F77
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15303 module_cmds_F77
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15304 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15305 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}'
15306 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}'
15316 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15317 hardcode_libdir_flag_spec_F77
='-L$libdir'
15318 hardcode_shlibpath_var_F77
=no
15325 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15326 # support. Future versions do this automatically, but an explicit c++rt0.o
15327 # does not break anything, and helps significantly (at the cost of a little
15330 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15331 hardcode_libdir_flag_spec_F77
='-R$libdir'
15332 hardcode_direct_F77
=yes
15333 hardcode_shlibpath_var_F77
=no
15336 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15338 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15339 hardcode_direct_F77
=yes
15340 hardcode_minus_L_F77
=yes
15341 hardcode_shlibpath_var_F77
=no
15344 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15345 freebsd
* | dragonfly
*)
15346 archive_cmds_F77
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15347 hardcode_libdir_flag_spec_F77
='-R$libdir'
15348 hardcode_direct_F77
=yes
15349 hardcode_shlibpath_var_F77
=no
15353 if test "$GCC" = yes; then
15354 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'
15356 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'
15358 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15359 hardcode_libdir_separator_F77
=:
15360 hardcode_direct_F77
=yes
15362 # hardcode_minus_L: Not really in the search PATH,
15363 # but as the default location of the library.
15364 hardcode_minus_L_F77
=yes
15365 export_dynamic_flag_spec_F77
='${wl}-E'
15369 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15370 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15372 archive_cmds_F77
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15374 if test "$with_gnu_ld" = no
; then
15375 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15376 hardcode_libdir_separator_F77
=:
15378 hardcode_direct_F77
=yes
15379 export_dynamic_flag_spec_F77
='${wl}-E'
15381 # hardcode_minus_L: Not really in the search PATH,
15382 # but as the default location of the library.
15383 hardcode_minus_L_F77
=yes
15388 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
15391 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15394 archive_cmds_F77
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15397 archive_cmds_F77
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15403 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15406 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15409 archive_cmds_F77
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15413 if test "$with_gnu_ld" = no
; then
15414 hardcode_libdir_flag_spec_F77
='${wl}+b ${wl}$libdir'
15415 hardcode_libdir_separator_F77
=:
15419 hardcode_libdir_flag_spec_ld_F77
='+b $libdir'
15420 hardcode_direct_F77
=no
15421 hardcode_shlibpath_var_F77
=no
15424 hardcode_direct_F77
=yes
15425 export_dynamic_flag_spec_F77
='${wl}-E'
15427 # hardcode_minus_L: Not really in the search PATH,
15428 # but as the default location of the library.
15429 hardcode_minus_L_F77
=yes
15435 irix5
* | irix6
* | nonstopux
*)
15436 if test "$GCC" = yes; then
15437 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'
15439 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'
15440 hardcode_libdir_flag_spec_ld_F77
='-rpath $libdir'
15442 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15443 hardcode_libdir_separator_F77
=:
15444 link_all_deplibs_F77
=yes
15448 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
15449 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15451 archive_cmds_F77
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15453 hardcode_libdir_flag_spec_F77
='-R$libdir'
15454 hardcode_direct_F77
=yes
15455 hardcode_shlibpath_var_F77
=no
15459 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15460 hardcode_direct_F77
=yes
15461 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15462 hardcode_libdir_separator_F77
=:
15463 hardcode_shlibpath_var_F77
=no
15467 if test -f /usr
/libexec
/ld.so
; then
15468 hardcode_direct_F77
=yes
15469 hardcode_shlibpath_var_F77
=no
15470 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15471 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15472 archive_expsym_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15473 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15474 export_dynamic_flag_spec_F77
='${wl}-E'
15477 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15478 archive_cmds_F77
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15479 hardcode_libdir_flag_spec_F77
='-R$libdir'
15482 archive_cmds_F77
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15483 hardcode_libdir_flag_spec_F77
='${wl}-rpath,$libdir'
15493 hardcode_libdir_flag_spec_F77
='-L$libdir'
15494 hardcode_minus_L_F77
=yes
15495 allow_undefined_flag_F77
=unsupported
15496 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'
15497 old_archive_From_new_cmds_F77
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
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}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15505 allow_undefined_flag_F77
=' -expect_unresolved \*'
15506 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'
15508 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15509 hardcode_libdir_separator_F77
=:
15512 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15513 if test "$GCC" = yes; then
15514 allow_undefined_flag_F77
=' ${wl}-expect_unresolved ${wl}\*'
15515 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'
15516 hardcode_libdir_flag_spec_F77
='${wl}-rpath ${wl}$libdir'
15518 allow_undefined_flag_F77
=' -expect_unresolved \*'
15519 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'
15520 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~
15521 $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'
15523 # Both c and cxx compiler support -rpath directly
15524 hardcode_libdir_flag_spec_F77
='-rpath $libdir'
15526 hardcode_libdir_separator_F77
=:
15530 no_undefined_flag_F77
=' -z text'
15531 if test "$GCC" = yes; then
15533 archive_cmds_F77
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15534 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15535 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15538 archive_cmds_F77
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15539 archive_expsym_cmds_F77
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15540 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15542 hardcode_libdir_flag_spec_F77
='-R$libdir'
15543 hardcode_shlibpath_var_F77
=no
15545 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15547 # The compiler driver will combine and reorder linker options,
15548 # but understands `-z linker_flag'. GCC discards it without `$wl',
15549 # but is careful enough not to reorder.
15550 # Supported since Solaris 2.6 (maybe 2.5.1?)
15551 if test "$GCC" = yes; then
15552 whole_archive_flag_spec_F77
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15554 whole_archive_flag_spec_F77
='-z allextract$convenience -z defaultextract'
15558 link_all_deplibs_F77
=yes
15562 if test "x$host_vendor" = xsequent
; then
15563 # Use $CC to link under sequent, because it throws in some extra .o
15564 # files that make .init and .fini sections work.
15565 archive_cmds_F77
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15567 archive_cmds_F77
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15569 hardcode_libdir_flag_spec_F77
='-L$libdir'
15570 hardcode_direct_F77
=yes
15571 hardcode_minus_L_F77
=yes
15572 hardcode_shlibpath_var_F77
=no
15576 case $host_vendor in
15578 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15579 hardcode_direct_F77
=yes # is this really true???
15582 ## LD is ld it makes a PLAMLIB
15583 ## CC just makes a GrossModule.
15584 archive_cmds_F77
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15585 reload_cmds_F77
='$CC -r -o $output$reload_objs'
15586 hardcode_direct_F77
=no
15589 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15590 hardcode_direct_F77
=no
#Motorola manual says yes, but my tests say they lie
15593 runpath_var
='LD_RUN_PATH'
15594 hardcode_shlibpath_var_F77
=no
15598 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15599 hardcode_shlibpath_var_F77
=no
15600 export_dynamic_flag_spec_F77
='-Bexport'
15604 if test -d /usr
/nec
; then
15605 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15606 hardcode_shlibpath_var_F77
=no
15607 runpath_var
=LD_RUN_PATH
15608 hardcode_runpath_var
=yes
15613 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15614 no_undefined_flag_F77
='${wl}-z,text'
15615 archive_cmds_need_lc_F77
=no
15616 hardcode_shlibpath_var_F77
=no
15617 runpath_var
='LD_RUN_PATH'
15619 if test "$GCC" = yes; then
15620 archive_cmds_F77
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15621 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15623 archive_cmds_F77
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15624 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15628 sysv5
* | sco3.2v5
* | sco5v6
*)
15629 # Note: We can NOT use -z defs as we might desire, because we do not
15630 # link with -lc, and that would cause any symbols used from libc to
15631 # always be unresolved, which means just about no library would
15632 # ever link correctly. If we're not using GNU ld we use -z text
15633 # though, which does catch some bad symbols but isn't as heavy-handed
15635 no_undefined_flag_F77
='${wl}-z,text'
15636 allow_undefined_flag_F77
='${wl}-z,nodefs'
15637 archive_cmds_need_lc_F77
=no
15638 hardcode_shlibpath_var_F77
=no
15639 hardcode_libdir_flag_spec_F77
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15640 hardcode_libdir_separator_F77
=':'
15641 link_all_deplibs_F77
=yes
15642 export_dynamic_flag_spec_F77
='${wl}-Bexport'
15643 runpath_var
='LD_RUN_PATH'
15645 if test "$GCC" = yes; then
15646 archive_cmds_F77
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15647 archive_expsym_cmds_F77
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15649 archive_cmds_F77
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15650 archive_expsym_cmds_F77
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15655 archive_cmds_F77
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15656 hardcode_libdir_flag_spec_F77
='-L$libdir'
15657 hardcode_shlibpath_var_F77
=no
15666 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15667 $as_echo "$ld_shlibs_F77" >&6; }
15668 test "$ld_shlibs_F77" = no
&& can_build_shared
=no
15671 # Do we need to explicitly link libc?
15673 case "x$archive_cmds_need_lc_F77" in
15675 # Assume -lc should be added
15676 archive_cmds_need_lc_F77
=yes
15678 if test "$enable_shared" = yes && test "$GCC" = yes; then
15679 case $archive_cmds_F77 in
15681 # FIXME: we may have to deal with multi-command sequences.
15684 # Test whether the compiler implicitly links with -lc since on some
15685 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15686 # to ld, don't add -lc before -lgcc.
15687 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15688 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15690 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15693 (eval $ac_compile) 2>&5
15695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); } 2>conftest.err
; then
15699 libobjs
=conftest.
$ac_objext
15701 wl
=$lt_prog_compiler_wl_F77
15702 pic_flag
=$lt_prog_compiler_pic_F77
15708 lt_save_allow_undefined_flag
=$allow_undefined_flag_F77
15709 allow_undefined_flag_F77
=
15710 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15711 (eval $archive_cmds_F77 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }
15716 archive_cmds_need_lc_F77
=no
15718 archive_cmds_need_lc_F77
=yes
15720 allow_undefined_flag_F77
=$lt_save_allow_undefined_flag
15722 cat conftest.err
1>&5
15725 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15726 $as_echo "$archive_cmds_need_lc_F77" >&6; }
15733 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15734 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15735 library_names_spec
=
15736 libname_spec
='lib$name'
15740 postuninstall_cmds
=
15744 shlibpath_overrides_runpath
=unknown
15746 dynamic_linker
="$host_os ld.so"
15747 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15749 need_lib_prefix
=unknown
15750 hardcode_into_libs
=no
15752 # when you set need_version to no, make sure it does not cause -set_version
15753 # flags to be left without arguments
15754 need_version
=unknown
15759 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15760 shlibpath_var
=LIBPATH
15762 # AIX 3 has no versioning support, so we append a major version to the name.
15763 soname_spec
='${libname}${release}${shared_ext}$major'
15770 hardcode_into_libs
=yes
15771 if test "$host_cpu" = ia64
; then
15772 # AIX 5 supports IA64
15773 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15774 shlibpath_var
=LD_LIBRARY_PATH
15776 # With GCC up to 2.95.x, collect2 would create an import file
15777 # for dependence libraries. The import file would start with
15778 # the line `#! .'. This would cause the generated library to
15779 # depend on `.', always an invalid library. This was fixed in
15780 # development snapshots of GCC prior to 3.0.
15782 aix4 | aix4.
[01] | aix4.
[01].
*)
15783 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15785 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
15788 can_build_shared
=no
15792 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15793 # soname into executable. Probably we can add versioning support to
15794 # collect2, so additional links can be useful in future.
15795 if test "$aix_use_runtimelinking" = yes; then
15796 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15797 # instead of lib<name>.a to let people know that these are not
15798 # typical AIX shared libraries.
15799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15801 # We preserve .a as extension for shared libraries through AIX4.2
15802 # and later when we are not doing run time linking.
15803 library_names_spec
='${libname}${release}.a $libname.a'
15804 soname_spec
='${libname}${release}${shared_ext}$major'
15806 shlibpath_var
=LIBPATH
15811 library_names_spec
='$libname.ixlibrary $libname.a'
15812 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15813 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'
15817 library_names_spec
='${libname}${shared_ext}'
15818 dynamic_linker
="$host_os ld.so"
15819 shlibpath_var
=LIBRARY_PATH
15825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15826 soname_spec
='${libname}${release}${shared_ext}$major'
15827 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15828 shlibpath_var
=LD_LIBRARY_PATH
15829 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15830 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15831 # the default ld.so.conf also contains /usr/contrib/lib and
15832 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15833 # libtool to hard-code these into programs
15836 cygwin
* | mingw
* | pw32
*)
15837 version_type
=windows
15842 case $GCC,$host_os in
15843 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
15844 library_names_spec
='$libname.dll.a'
15845 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15846 postinstall_cmds
='base_file=`basename \${file}`~
15847 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15848 dldir=$destdir/`dirname \$dlpath`~
15849 test -d \$dldir || mkdir -p \$dldir~
15850 $install_prog $dir/$dlname \$dldir/$dlname~
15851 chmod a+x \$dldir/$dlname'
15852 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15853 dlpath=$dir/\$dldll~
15855 shlibpath_overrides_runpath
=yes
15859 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15860 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15861 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
15864 # MinGW DLLs use traditional 'lib' prefix
15865 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15866 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15867 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
15868 # It is most probably a Windows format PATH printed by
15869 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15870 # path with ; separators, and with drive letters. We can handle the
15871 # drive letters (cygwin fileutils understands them), so leave them,
15872 # especially as we might pass files found there to a mingw objdump,
15873 # which wouldn't understand a cygwinified path. Ahh.
15874 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15876 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15880 # pw32 DLLs use 'pw' prefix rather than 'lib'
15881 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15887 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15890 dynamic_linker
='Win32 ld.exe'
15891 # FIXME: first we should search . and the directory the executable is in
15895 darwin
* | rhapsody
*)
15896 dynamic_linker
="$host_os dyld"
15897 version_type
=darwin
15900 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15901 soname_spec
='${libname}${release}${major}$shared_ext'
15902 shlibpath_overrides_runpath
=yes
15903 shlibpath_var
=DYLD_LIBRARY_PATH
15904 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15906 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15913 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15914 soname_spec
='${libname}${release}${shared_ext}$major'
15915 shlibpath_var
=LD_LIBRARY_PATH
15922 freebsd
* | dragonfly
*)
15923 # DragonFly does not have aout. When/if they implement a new
15924 # versioning mechanism, adjust this.
15925 if test -x /usr
/bin
/objformat
; then
15926 objformat
=`/usr/bin/objformat`
15929 freebsd
[123]*) objformat
=aout
;;
15930 *) objformat
=elf
;;
15933 version_type
=freebsd-
$objformat
15934 case $version_type in
15936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15941 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15945 shlibpath_var
=LD_LIBRARY_PATH
15948 shlibpath_overrides_runpath
=yes
15950 freebsd3.
[01]* | freebsdelf3.
[01]*)
15951 shlibpath_overrides_runpath
=yes
15952 hardcode_into_libs
=yes
15954 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15955 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15956 shlibpath_overrides_runpath
=no
15957 hardcode_into_libs
=yes
15959 *) # from 4.6 on, and DragonFly
15960 shlibpath_overrides_runpath
=yes
15961 hardcode_into_libs
=yes
15970 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15971 soname_spec
='${libname}${release}${shared_ext}$major'
15972 shlibpath_var
=LD_LIBRARY_PATH
15973 hardcode_into_libs
=yes
15976 hpux9
* | hpux10
* | hpux11
*)
15977 # Give a soname corresponding to the major version so that dld.sl refuses to
15978 # link against other versions.
15985 hardcode_into_libs
=yes
15986 dynamic_linker
="$host_os dld.so"
15987 shlibpath_var
=LD_LIBRARY_PATH
15988 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15989 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15990 soname_spec
='${libname}${release}${shared_ext}$major'
15991 if test "X$HPUX_IA64_MODE" = X32
; then
15992 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15994 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15996 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16000 hardcode_into_libs
=yes
16001 dynamic_linker
="$host_os dld.sl"
16002 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
16003 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
16004 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16005 soname_spec
='${libname}${release}${shared_ext}$major'
16006 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16007 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
16011 dynamic_linker
="$host_os dld.sl"
16012 shlibpath_var
=SHLIB_PATH
16013 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
16018 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16019 postinstall_cmds
='chmod 555 $lib'
16026 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16027 soname_spec
='${libname}${release}${shared_ext}$major'
16028 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
16029 shlibpath_var
=LD_LIBRARY_PATH
16030 shlibpath_overrides_runpath
=no
16031 hardcode_into_libs
=yes
16034 irix5
* | irix6
* | nonstopux
*)
16036 nonstopux
*) version_type
=nonstopux
;;
16038 if test "$lt_cv_prog_gnu_ld" = yes; then
16046 soname_spec
='${libname}${release}${shared_ext}$major'
16047 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16049 irix5
* | nonstopux
*)
16050 libsuff
= shlibsuff
=
16053 case $LD in # libtool.m4 will add one of these switches to LD
16054 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
16055 libsuff
= shlibsuff
= libmagic
=32-bit;;
16056 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
16057 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
16058 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
16059 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
16060 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
16064 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
16065 shlibpath_overrides_runpath
=no
16066 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16067 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
16068 hardcode_into_libs
=yes
16071 # No shared lib support for Linux oldld, aout, or coff.
16072 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
16076 # This must be Linux ELF.
16077 linux
* | k
*bsd
*-gnu)
16081 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16082 soname_spec
='${libname}${release}${shared_ext}$major'
16083 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16084 shlibpath_var
=LD_LIBRARY_PATH
16085 shlibpath_overrides_runpath
=no
16086 # This implies no fast_install, which is unacceptable.
16087 # Some rework will be needed to allow for fast_install
16088 # before this can be enabled.
16089 hardcode_into_libs
=yes
16091 # Append ld.so.conf contents to the search path
16092 if test -f /etc
/ld.so.conf
; then
16093 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' ' '`
16094 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
16097 # We used to test for /lib/ld.so.1 and disable shared libraries on
16098 # powerpc, because MkLinux only supported shared libraries with the
16099 # GNU dynamic linker. Since this was broken with cross compilers,
16100 # most powerpc-linux boxes support dynamic linking these days and
16101 # people can always --disable-shared, the test was removed, and we
16102 # assume the GNU/Linux dynamic linker is in use.
16103 dynamic_linker
='GNU/Linux ld.so'
16110 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
16111 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16112 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16113 dynamic_linker
='NetBSD (a.out) ld.so'
16115 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16116 soname_spec
='${libname}${release}${shared_ext}$major'
16117 dynamic_linker
='NetBSD ld.elf_so'
16119 shlibpath_var
=LD_LIBRARY_PATH
16120 shlibpath_overrides_runpath
=yes
16121 hardcode_into_libs
=yes
16126 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16127 shlibpath_var
=LD_LIBRARY_PATH
16128 shlibpath_overrides_runpath
=yes
16135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16136 soname_spec
='${libname}${release}${shared_ext}$major'
16137 shlibpath_var
=LD_LIBRARY_PATH
16138 shlibpath_overrides_runpath
=yes
16143 sys_lib_dlsearch_path_spec
="/usr/lib"
16145 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16147 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
16148 *) need_version
=no
;;
16150 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16151 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16152 shlibpath_var
=LD_LIBRARY_PATH
16153 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16155 openbsd2.
[89] | openbsd2.
[89].
*)
16156 shlibpath_overrides_runpath
=no
16159 shlibpath_overrides_runpath
=yes
16163 shlibpath_overrides_runpath
=yes
16168 libname_spec
='$name'
16171 library_names_spec
='$libname${shared_ext} $libname.a'
16172 dynamic_linker
='OS/2 ld.exe'
16173 shlibpath_var
=LIBPATH
16176 osf3
* | osf4
* | osf5
*)
16180 soname_spec
='${libname}${release}${shared_ext}$major'
16181 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16182 shlibpath_var
=LD_LIBRARY_PATH
16183 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16184 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16195 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16196 soname_spec
='${libname}${release}${shared_ext}$major'
16197 shlibpath_var
=LD_LIBRARY_PATH
16198 shlibpath_overrides_runpath
=yes
16199 hardcode_into_libs
=yes
16200 # ldd complains unless libraries are executable
16201 postinstall_cmds
='chmod +x $lib'
16206 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16207 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16208 shlibpath_var
=LD_LIBRARY_PATH
16209 shlibpath_overrides_runpath
=yes
16210 if test "$with_gnu_ld" = yes; then
16218 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16219 soname_spec
='${libname}${release}${shared_ext}$major'
16220 shlibpath_var
=LD_LIBRARY_PATH
16221 case $host_vendor in
16223 shlibpath_overrides_runpath
=no
16225 export_dynamic_flag_spec
='${wl}-Blargedynsym'
16226 runpath_var
=LD_RUN_PATH
16234 shlibpath_overrides_runpath
=no
16235 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16241 if test -d /usr
/nec
;then
16243 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16244 soname_spec
='$libname${shared_ext}.$major'
16245 shlibpath_var
=LD_LIBRARY_PATH
16249 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16250 version_type
=freebsd-elf
16253 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16254 soname_spec
='${libname}${release}${shared_ext}$major'
16255 shlibpath_var
=LD_LIBRARY_PATH
16256 hardcode_into_libs
=yes
16257 if test "$with_gnu_ld" = yes; then
16258 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16259 shlibpath_overrides_runpath
=no
16261 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16262 shlibpath_overrides_runpath
=yes
16265 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16269 sys_lib_dlsearch_path_spec
='/usr/lib'
16274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16275 soname_spec
='${libname}${release}${shared_ext}$major'
16276 shlibpath_var
=LD_LIBRARY_PATH
16283 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16284 $as_echo "$dynamic_linker" >&6; }
16285 test "$dynamic_linker" = no
&& can_build_shared
=no
16287 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16288 if test "$GCC" = yes; then
16289 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16292 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16293 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16294 hardcode_action_F77
=
16295 if test -n "$hardcode_libdir_flag_spec_F77" || \
16296 test -n "$runpath_var_F77" || \
16297 test "X$hardcode_automatic_F77" = "Xyes" ; then
16299 # We can hardcode non-existant directories.
16300 if test "$hardcode_direct_F77" != no
&&
16301 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16302 # have to relink, otherwise we might link with an installed library
16303 # when we should be linking with a yet-to-be-installed one
16304 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16305 test "$hardcode_minus_L_F77" != no
; then
16306 # Linking always hardcodes the temporary library directory.
16307 hardcode_action_F77
=relink
16309 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16310 hardcode_action_F77
=immediate
16313 # We cannot hardcode anything, or else we can only hardcode existing
16315 hardcode_action_F77
=unsupported
16317 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16318 $as_echo "$hardcode_action_F77" >&6; }
16320 if test "$hardcode_action_F77" = relink
; then
16321 # Fast installation is not supported
16322 enable_fast_install
=no
16323 elif test "$shlibpath_overrides_runpath" = yes ||
16324 test "$enable_shared" = no
; then
16325 # Fast installation is not necessary
16326 enable_fast_install
=needless
16330 # The else clause should only fire when bootstrapping the
16331 # libtool distribution, otherwise you forgot to ship ltmain.sh
16332 # with your package, and you will get complaints that there are
16333 # no rules to generate ltmain.sh.
16334 if test -f "$ltmain"; then
16335 # See if we are running on zsh, and set the options which allow our commands through
16336 # without removal of \ escapes.
16337 if test -n "${ZSH_VERSION+set}" ; then
16338 setopt NO_GLOB_SUBST
16340 # Now quote all the things that may contain metacharacters while being
16341 # careful not to overquote the AC_SUBSTed values. We take copies of the
16342 # variables and quote the copies for generation of the libtool script.
16343 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16345 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16346 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16347 deplibs_check_method reload_flag reload_cmds need_locks \
16348 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16349 lt_cv_sys_global_symbol_to_c_name_address \
16350 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16351 old_postinstall_cmds old_postuninstall_cmds \
16355 lt_prog_compiler_wl_F77 \
16356 lt_prog_compiler_pic_F77 \
16357 lt_prog_compiler_static_F77 \
16358 lt_prog_compiler_no_builtin_flag_F77 \
16359 export_dynamic_flag_spec_F77 \
16360 thread_safe_flag_spec_F77 \
16361 whole_archive_flag_spec_F77 \
16362 enable_shared_with_static_runtimes_F77 \
16363 old_archive_cmds_F77 \
16364 old_archive_from_new_cmds_F77 \
16365 predep_objects_F77 \
16366 postdep_objects_F77 \
16369 compiler_lib_search_path_F77 \
16371 archive_expsym_cmds_F77 \
16372 postinstall_cmds_F77 \
16373 postuninstall_cmds_F77 \
16374 old_archive_from_expsyms_cmds_F77 \
16375 allow_undefined_flag_F77 \
16376 no_undefined_flag_F77 \
16377 export_symbols_cmds_F77 \
16378 hardcode_libdir_flag_spec_F77 \
16379 hardcode_libdir_flag_spec_ld_F77 \
16380 hardcode_libdir_separator_F77 \
16381 hardcode_automatic_F77 \
16383 module_expsym_cmds_F77 \
16384 lt_cv_prog_compiler_c_o_F77 \
16385 fix_srcfile_path_F77 \
16386 exclude_expsyms_F77 \
16387 include_expsyms_F77
; do
16390 old_archive_cmds_F77 | \
16391 old_archive_from_new_cmds_F77 | \
16392 archive_cmds_F77 | \
16393 archive_expsym_cmds_F77 | \
16394 module_cmds_F77 | \
16395 module_expsym_cmds_F77 | \
16396 old_archive_from_expsyms_cmds_F77 | \
16397 export_symbols_cmds_F77 | \
16398 extract_expsyms_cmds | reload_cmds | finish_cmds | \
16399 postinstall_cmds | postuninstall_cmds | \
16400 old_postinstall_cmds | old_postuninstall_cmds | \
16401 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
16402 # Double-quote double-evaled strings.
16403 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16406 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16412 *'\$0 --fallback-echo"')
16413 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16419 cat <<__EOF__ >> "$cfgfile"
16420 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
16422 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16424 # Shell to use when invoking shell scripts.
16427 # Whether or not to build shared libraries.
16428 build_libtool_libs=$enable_shared
16430 # Whether or not to build static libraries.
16431 build_old_libs=$enable_static
16433 # Whether or not to add -lc for building shared libraries.
16434 build_libtool_need_lc=$archive_cmds_need_lc_F77
16436 # Whether or not to disallow shared libs when runtime libs are static
16437 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16439 # Whether or not to optimize for fast installation.
16440 fast_install=$enable_fast_install
16443 host_alias=$host_alias
16447 # The build system.
16448 build_alias=$build_alias
16452 # An echo program that does not interpret backslashes.
16457 AR_FLAGS=$lt_AR_FLAGS
16462 # LTCC compiler flags.
16463 LTCFLAGS=$lt_LTCFLAGS
16465 # A language-specific compiler.
16466 CC=$lt_compiler_F77
16468 # Is the compiler the GNU C compiler?
16474 # The linker used to build libraries.
16477 # Whether we need hard or soft links.
16480 # A BSD-compatible nm program.
16483 # A symbol stripping program
16486 # Used to examine libraries when file_magic_cmd begins "file"
16487 MAGIC_CMD=$MAGIC_CMD
16489 # Used on cygwin: DLL creation program.
16492 # Used on cygwin: object dumper.
16495 # Used on cygwin: assembler.
16498 # The name of the directory that contains temporary libtool files.
16501 # How to create reloadable object files.
16502 reload_flag=$lt_reload_flag
16503 reload_cmds=$lt_reload_cmds
16505 # How to pass a linker flag through the compiler.
16506 wl=$lt_lt_prog_compiler_wl_F77
16508 # Object file suffix (normally "o").
16509 objext="$ac_objext"
16511 # Old archive suffix (normally "a").
16514 # Shared library suffix (normally ".so").
16515 shrext_cmds='$shrext_cmds'
16517 # Executable file suffix (normally "").
16520 # Additional compiler flags for building library objects.
16521 pic_flag=$lt_lt_prog_compiler_pic_F77
16524 # What is the maximum length of a command?
16525 max_cmd_len=$lt_cv_sys_max_cmd_len
16527 # Does compiler simultaneously support -c and -o options?
16528 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16530 # Must we lock files when doing compilation?
16531 need_locks=$lt_need_locks
16533 # Do we need the lib prefix for modules?
16534 need_lib_prefix=$need_lib_prefix
16536 # Do we need a version for libraries?
16537 need_version=$need_version
16539 # Whether dlopen is supported.
16540 dlopen_support=$enable_dlopen
16542 # Whether dlopen of programs is supported.
16543 dlopen_self=$enable_dlopen_self
16545 # Whether dlopen of statically linked programs is supported.
16546 dlopen_self_static=$enable_dlopen_self_static
16548 # Compiler flag to prevent dynamic linking.
16549 link_static_flag=$lt_lt_prog_compiler_static_F77
16551 # Compiler flag to turn off builtin functions.
16552 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16554 # Compiler flag to allow reflexive dlopens.
16555 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16557 # Compiler flag to generate shared objects directly from archives.
16558 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16560 # Compiler flag to generate thread-safe objects.
16561 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16563 # Library versioning type.
16564 version_type=$version_type
16566 # Format of library name prefix.
16567 libname_spec=$lt_libname_spec
16569 # List of archive names. First name is the real one, the rest are links.
16570 # The last name is the one that the linker finds with -lNAME.
16571 library_names_spec=$lt_library_names_spec
16573 # The coded name of the library, if different from the real name.
16574 soname_spec=$lt_soname_spec
16576 # Commands used to build and install an old-style archive.
16578 old_archive_cmds=$lt_old_archive_cmds_F77
16579 old_postinstall_cmds=$lt_old_postinstall_cmds
16580 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16582 # Create an old-style archive from a shared archive.
16583 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16585 # Create a temporary old-style archive to link instead of a shared archive.
16586 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16588 # Commands used to build and install a shared archive.
16589 archive_cmds=$lt_archive_cmds_F77
16590 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16591 postinstall_cmds=$lt_postinstall_cmds
16592 postuninstall_cmds=$lt_postuninstall_cmds
16594 # Commands used to build a loadable module (assumed same as above if empty)
16595 module_cmds=$lt_module_cmds_F77
16596 module_expsym_cmds=$lt_module_expsym_cmds_F77
16598 # Commands to strip libraries.
16599 old_striplib=$lt_old_striplib
16600 striplib=$lt_striplib
16602 # Dependencies to place before the objects being linked to create a
16604 predep_objects=$lt_predep_objects_F77
16606 # Dependencies to place after the objects being linked to create a
16608 postdep_objects=$lt_postdep_objects_F77
16610 # Dependencies to place before the objects being linked to create a
16612 predeps=$lt_predeps_F77
16614 # Dependencies to place after the objects being linked to create a
16616 postdeps=$lt_postdeps_F77
16618 # The library search path used internally by the compiler when linking
16619 # a shared library.
16620 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16622 # Method to check whether dependent libraries are shared objects.
16623 deplibs_check_method=$lt_deplibs_check_method
16625 # Command to use when deplibs_check_method == file_magic.
16626 file_magic_cmd=$lt_file_magic_cmd
16628 # Flag that allows shared libraries with undefined symbols to be built.
16629 allow_undefined_flag=$lt_allow_undefined_flag_F77
16631 # Flag that forces no undefined symbols.
16632 no_undefined_flag=$lt_no_undefined_flag_F77
16634 # Commands used to finish a libtool library installation in a directory.
16635 finish_cmds=$lt_finish_cmds
16637 # Same as above, but a single script fragment to be evaled but not shown.
16638 finish_eval=$lt_finish_eval
16640 # Take the output of nm and produce a listing of raw symbols and C names.
16641 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16643 # Transform the output of nm in a proper C declaration
16644 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16646 # Transform the output of nm in a C name address pair
16647 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16649 # This is the shared library runtime path variable.
16650 runpath_var=$runpath_var
16652 # This is the shared library path variable.
16653 shlibpath_var=$shlibpath_var
16655 # Is shlibpath searched before the hard-coded library search path?
16656 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16658 # How to hardcode a shared library path into an executable.
16659 hardcode_action=$hardcode_action_F77
16661 # Whether we should hardcode library paths into libraries.
16662 hardcode_into_libs=$hardcode_into_libs
16664 # Flag to hardcode \$libdir into a binary during linking.
16665 # This must work even if \$libdir does not exist.
16666 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16668 # If ld is used when linking, flag to hardcode \$libdir into
16669 # a binary during linking. This must work even if \$libdir does
16671 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16673 # Whether we need a single -rpath flag with a separated argument.
16674 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16676 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16677 # resulting binary.
16678 hardcode_direct=$hardcode_direct_F77
16680 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16681 # resulting binary.
16682 hardcode_minus_L=$hardcode_minus_L_F77
16684 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16685 # the resulting binary.
16686 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16688 # Set to yes if building a shared library automatically hardcodes DIR into the library
16689 # and all subsequent libraries and executables linked against it.
16690 hardcode_automatic=$hardcode_automatic_F77
16692 # Variables whose values should be saved in libtool wrapper scripts and
16693 # restored at relink time.
16694 variables_saved_for_relink="$variables_saved_for_relink"
16696 # Whether libtool must link a program against all its dependency libraries.
16697 link_all_deplibs=$link_all_deplibs_F77
16699 # Compile-time system search path for libraries
16700 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16702 # Run-time system search path for libraries
16703 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16705 # Fix the shell variable \$srcfile for the compiler.
16706 fix_srcfile_path=$lt_fix_srcfile_path
16708 # Set to yes if exported symbols are required.
16709 always_export_symbols=$always_export_symbols_F77
16711 # The commands to list exported symbols.
16712 export_symbols_cmds=$lt_export_symbols_cmds_F77
16714 # The commands to extract the exported symbol list from a shared archive.
16715 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16717 # Symbols that should not be listed in the preloaded symbols.
16718 exclude_expsyms=$lt_exclude_expsyms_F77
16720 # Symbols that must always be exported.
16721 include_expsyms=$lt_include_expsyms_F77
16723 # ### END LIBTOOL TAG CONFIG: $tagname
16729 # If there is no Makefile yet, we rely on a make rule to execute
16730 # `config.status --recheck' to rerun these tests and create the
16731 # libtool script then.
16732 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16733 if test -f "$ltmain_in"; then
16734 test -f Makefile
&& make "$ltmain"
16740 ac_cpp
='$CPP $CPPFLAGS'
16741 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16742 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16743 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16753 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16756 # Source file extension for Java test sources.
16759 # Object file extension for compiled Java test sources.
16763 # Code to be used in simple compile tests
16764 lt_simple_compile_test_code
="class foo {}"
16766 # Code to be used in simple link tests
16767 lt_simple_link_test_code
='public class conftest { public static void main(String[] argv) {}; }'
16769 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16771 # If no C compiler was specified, use CC.
16774 # If no C compiler flags were specified, use CFLAGS.
16775 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
16777 # Allow CC to be a program name with arguments.
16781 # save warnings/boilerplate of simple test code
16782 ac_outfile
=conftest.
$ac_objext
16783 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
16784 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16785 _lt_compiler_boilerplate
=`cat conftest.err`
16788 ac_outfile
=conftest.
$ac_objext
16789 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
16790 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
16791 _lt_linker_boilerplate
=`cat conftest.err`
16795 # Allow CC to be a program name with arguments.
16800 for cc_temp
in $compiler""; do
16802 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
16803 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
16808 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16811 # GCJ did not exist at the time GCC didn't implicitly link libc in.
16812 archive_cmds_need_lc_GCJ
=no
16814 old_archive_cmds_GCJ
=$old_archive_cmds
16817 lt_prog_compiler_no_builtin_flag_GCJ
=
16819 if test "$GCC" = yes; then
16820 lt_prog_compiler_no_builtin_flag_GCJ
=' -fno-builtin'
16823 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16824 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
16825 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16826 $as_echo_n "(cached) " >&6
16828 lt_cv_prog_compiler_rtti_exceptions
=no
16829 ac_outfile
=conftest.
$ac_objext
16830 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
16831 lt_compiler_flag
="-fno-rtti -fno-exceptions"
16832 # Insert the option either (1) after the last *FLAGS variable, or
16833 # (2) before a word containing "conftest.", or (3) at the end.
16834 # Note that $ac_compile itself does not contain backslashes and begins
16835 # with a dollar sign (not a hyphen), so the echo should work correctly.
16836 # The option is referenced via a variable to avoid confusing sed.
16837 lt_compile
=`echo "$ac_compile" | $SED \
16838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16840 -e 's:$: $lt_compiler_flag:'`
16841 (eval echo "\"\$as_me:16841: $lt_compile\"" >&5)
16842 (eval "$lt_compile" 2>conftest.err
)
16844 cat conftest.err
>&5
16845 echo "$as_me:16845: \$? = $ac_status" >&5
16846 if (exit $ac_status) && test -s "$ac_outfile"; then
16847 # The compiler can only warn and ignore the option if not recognized
16848 # So say no if there are warnings other than the usual output.
16849 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
16850 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
16851 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
16852 lt_cv_prog_compiler_rtti_exceptions
=yes
16858 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16859 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16861 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
16862 lt_prog_compiler_no_builtin_flag_GCJ
="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16869 lt_prog_compiler_wl_GCJ
=
16870 lt_prog_compiler_pic_GCJ
=
16871 lt_prog_compiler_static_GCJ
=
16873 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16874 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16876 if test "$GCC" = yes; then
16877 lt_prog_compiler_wl_GCJ
='-Wl,'
16878 lt_prog_compiler_static_GCJ
='-static'
16882 # All AIX code is PIC.
16883 if test "$host_cpu" = ia64
; then
16884 # AIX 5 now supports IA64 processor
16885 lt_prog_compiler_static_GCJ
='-Bstatic'
16890 # FIXME: we need at least 68020 code to build shared libraries, but
16891 # adding the `-m68020' flag to GCC prevents building anything better,
16893 lt_prog_compiler_pic_GCJ
='-m68020 -resident32 -malways-restore-a4'
16896 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
16897 # PIC is the default for these OSes.
16900 mingw
* | cygwin
* | pw32
* | os2
*)
16901 # This hack is so that the source file can tell whether it is being
16902 # built for inclusion in a dll (and should export symbols for example).
16903 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16904 # (--disable-auto-import) libraries
16905 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16908 darwin
* | rhapsody
*)
16909 # PIC is the default on this platform
16910 # Common symbols not allowed in MH_DYLIB files
16911 lt_prog_compiler_pic_GCJ
='-fno-common'
16915 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16916 # Instead, we relocate shared libraries at runtime.
16920 # Just because we use GCC doesn't mean we suddenly get shared libraries
16921 # on systems that don't support them.
16922 lt_prog_compiler_can_build_shared_GCJ
=no
16927 if test -d /usr
/nec
; then
16928 lt_prog_compiler_pic_GCJ
=-Kconform_pic
16933 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16934 # not for PA HP-UX.
16940 lt_prog_compiler_pic_GCJ
='-fPIC'
16946 lt_prog_compiler_pic_GCJ
='-fPIC'
16950 # PORTME Check for flag to pass linker flags through the system compiler.
16953 lt_prog_compiler_wl_GCJ
='-Wl,'
16954 if test "$host_cpu" = ia64
; then
16955 # AIX 5 now supports IA64 processor
16956 lt_prog_compiler_static_GCJ
='-Bstatic'
16958 lt_prog_compiler_static_GCJ
='-bnso -bI:/lib/syscalls.exp'
16962 # PIC is the default on this platform
16963 # Common symbols not allowed in MH_DYLIB files
16964 case $cc_basename in
16966 lt_prog_compiler_pic_GCJ
='-qnocommon'
16967 lt_prog_compiler_wl_GCJ
='-Wl,'
16972 mingw
* | cygwin
* | pw32
* | os2
*)
16973 # This hack is so that the source file can tell whether it is being
16974 # built for inclusion in a dll (and should export symbols for example).
16975 lt_prog_compiler_pic_GCJ
='-DDLL_EXPORT'
16978 hpux9
* | hpux10
* | hpux11
*)
16979 lt_prog_compiler_wl_GCJ
='-Wl,'
16980 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16981 # not for PA HP-UX.
16987 lt_prog_compiler_pic_GCJ
='+Z'
16990 # Is there a better lt_prog_compiler_static that works with the bundled CC?
16991 lt_prog_compiler_static_GCJ
='${wl}-a ${wl}archive'
16994 irix5
* | irix6
* | nonstopux
*)
16995 lt_prog_compiler_wl_GCJ
='-Wl,'
16996 # PIC (with -KPIC) is the default.
16997 lt_prog_compiler_static_GCJ
='-non_shared'
17001 lt_prog_compiler_pic_GCJ
='-KPIC'
17002 lt_prog_compiler_static_GCJ
='-Bstatic'
17005 linux
* | k
*bsd
*-gnu)
17006 case $cc_basename in
17008 lt_prog_compiler_wl_GCJ
='-Wl,'
17009 lt_prog_compiler_pic_GCJ
='-KPIC'
17010 lt_prog_compiler_static_GCJ
='-static'
17012 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
17013 # Portland Group compilers (*not* the Pentium gcc compiler,
17014 # which looks to be a dead project)
17015 lt_prog_compiler_wl_GCJ
='-Wl,'
17016 lt_prog_compiler_pic_GCJ
='-fpic'
17017 lt_prog_compiler_static_GCJ
='-Bstatic'
17020 lt_prog_compiler_wl_GCJ
='-Wl,'
17021 # All Alpha code is PIC.
17022 lt_prog_compiler_static_GCJ
='-non_shared'
17025 case `$CC -V 2>&1 | sed 5q` in
17028 lt_prog_compiler_pic_GCJ
='-KPIC'
17029 lt_prog_compiler_static_GCJ
='-Bstatic'
17030 lt_prog_compiler_wl_GCJ
='-Wl,'
17033 # Sun Fortran 8.3 passes all unrecognized flags to the linker
17034 lt_prog_compiler_pic_GCJ
='-KPIC'
17035 lt_prog_compiler_static_GCJ
='-Bstatic'
17036 lt_prog_compiler_wl_GCJ
=''
17043 osf3
* | osf4
* | osf5
*)
17044 lt_prog_compiler_wl_GCJ
='-Wl,'
17045 # All OSF/1 code is PIC.
17046 lt_prog_compiler_static_GCJ
='-non_shared'
17050 lt_prog_compiler_static_GCJ
='-non_shared'
17054 lt_prog_compiler_pic_GCJ
='-KPIC'
17055 lt_prog_compiler_static_GCJ
='-Bstatic'
17056 case $cc_basename in
17057 f77
* | f90
* | f95
*)
17058 lt_prog_compiler_wl_GCJ
='-Qoption ld ';;
17060 lt_prog_compiler_wl_GCJ
='-Wl,';;
17065 lt_prog_compiler_wl_GCJ
='-Qoption ld '
17066 lt_prog_compiler_pic_GCJ
='-PIC'
17067 lt_prog_compiler_static_GCJ
='-Bstatic'
17070 sysv4 | sysv4.2uw2
* | sysv4.3
*)
17071 lt_prog_compiler_wl_GCJ
='-Wl,'
17072 lt_prog_compiler_pic_GCJ
='-KPIC'
17073 lt_prog_compiler_static_GCJ
='-Bstatic'
17077 if test -d /usr
/nec
;then
17078 lt_prog_compiler_pic_GCJ
='-Kconform_pic'
17079 lt_prog_compiler_static_GCJ
='-Bstatic'
17083 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
17084 lt_prog_compiler_wl_GCJ
='-Wl,'
17085 lt_prog_compiler_pic_GCJ
='-KPIC'
17086 lt_prog_compiler_static_GCJ
='-Bstatic'
17090 lt_prog_compiler_wl_GCJ
='-Wl,'
17091 lt_prog_compiler_can_build_shared_GCJ
=no
17095 lt_prog_compiler_pic_GCJ
='-pic'
17096 lt_prog_compiler_static_GCJ
='-Bstatic'
17100 lt_prog_compiler_can_build_shared_GCJ
=no
17105 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
17106 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
17109 # Check to make sure the PIC flag actually works.
17111 if test -n "$lt_prog_compiler_pic_GCJ"; then
17113 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
17114 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
17115 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
17116 $as_echo_n "(cached) " >&6
17118 lt_prog_compiler_pic_works_GCJ
=no
17119 ac_outfile
=conftest.
$ac_objext
17120 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17121 lt_compiler_flag
="$lt_prog_compiler_pic_GCJ"
17122 # Insert the option either (1) after the last *FLAGS variable, or
17123 # (2) before a word containing "conftest.", or (3) at the end.
17124 # Note that $ac_compile itself does not contain backslashes and begins
17125 # with a dollar sign (not a hyphen), so the echo should work correctly.
17126 # The option is referenced via a variable to avoid confusing sed.
17127 lt_compile
=`echo "$ac_compile" | $SED \
17128 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17129 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17130 -e 's:$: $lt_compiler_flag:'`
17131 (eval echo "\"\$as_me:17131: $lt_compile\"" >&5)
17132 (eval "$lt_compile" 2>conftest.err
)
17134 cat conftest.err
>&5
17135 echo "$as_me:17135: \$? = $ac_status" >&5
17136 if (exit $ac_status) && test -s "$ac_outfile"; then
17137 # The compiler can only warn and ignore the option if not recognized
17138 # So say no if there are warnings other than the usual output.
17139 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
17140 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17141 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
17142 lt_prog_compiler_pic_works_GCJ
=yes
17148 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
17149 $as_echo "$lt_prog_compiler_pic_works_GCJ" >&6; }
17151 if test x
"$lt_prog_compiler_pic_works_GCJ" = xyes
; then
17152 case $lt_prog_compiler_pic_GCJ in
17154 *) lt_prog_compiler_pic_GCJ
=" $lt_prog_compiler_pic_GCJ" ;;
17157 lt_prog_compiler_pic_GCJ
=
17158 lt_prog_compiler_can_build_shared_GCJ
=no
17163 # For platforms which do not support PIC, -DPIC is meaningless:
17165 lt_prog_compiler_pic_GCJ
=
17168 lt_prog_compiler_pic_GCJ
="$lt_prog_compiler_pic_GCJ"
17173 # Check to make sure the static flag actually works.
17175 wl
=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_GCJ\"
17176 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17177 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17178 if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
17179 $as_echo_n "(cached) " >&6
17181 lt_prog_compiler_static_works_GCJ
=no
17182 save_LDFLAGS
="$LDFLAGS"
17183 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
17184 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
17185 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
17186 # The linker can only warn and ignore the option if not recognized
17187 # So say no if there are warnings
17188 if test -s conftest.err
; then
17189 # Append any errors to the config.log.
17190 cat conftest.err
1>&5
17191 $echo "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
17192 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
17193 if diff conftest.exp conftest.er2
>/dev
/null
; then
17194 lt_prog_compiler_static_works_GCJ
=yes
17197 lt_prog_compiler_static_works_GCJ
=yes
17201 LDFLAGS
="$save_LDFLAGS"
17204 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
17205 $as_echo "$lt_prog_compiler_static_works_GCJ" >&6; }
17207 if test x
"$lt_prog_compiler_static_works_GCJ" = xyes
; then
17210 lt_prog_compiler_static_GCJ
=
17214 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
17215 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17216 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
17217 $as_echo_n "(cached) " >&6
17219 lt_cv_prog_compiler_c_o_GCJ
=no
17220 $rm -r conftest
2>/dev
/null
17224 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
17226 lt_compiler_flag
="-o out/conftest2.$ac_objext"
17227 # Insert the option either (1) after the last *FLAGS variable, or
17228 # (2) before a word containing "conftest.", or (3) at the end.
17229 # Note that $ac_compile itself does not contain backslashes and begins
17230 # with a dollar sign (not a hyphen), so the echo should work correctly.
17231 lt_compile
=`echo "$ac_compile" | $SED \
17232 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17233 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17234 -e 's:$: $lt_compiler_flag:'`
17235 (eval echo "\"\$as_me:17235: $lt_compile\"" >&5)
17236 (eval "$lt_compile" 2>out
/conftest.err
)
17238 cat out
/conftest.err
>&5
17239 echo "$as_me:17239: \$? = $ac_status" >&5
17240 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
17242 # The compiler can only warn and ignore the option if not recognized
17243 # So say no if there are warnings
17244 $echo "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
17245 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
17246 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
17247 lt_cv_prog_compiler_c_o_GCJ
=yes
17252 # SGI C++ compiler will create directory out/ii_files/ for
17253 # template instantiation
17254 test -d out
/ii_files
&& $rm out
/ii_files
/* && rmdir out
/ii_files
17255 $rm out
/* && rmdir out
17261 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
17262 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
17265 hard_links
="nottested"
17266 if test "$lt_cv_prog_compiler_c_o_GCJ" = no
&& test "$need_locks" != no
; then
17267 # do not overwrite the value of need_locks provided by the user
17268 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
17269 $as_echo_n "checking if we can lock with hard links... " >&6; }
17272 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17274 ln conftest.a conftest.b
2>&5 || hard_links
=no
17275 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
17276 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
17277 $as_echo "$hard_links" >&6; }
17278 if test "$hard_links" = no
; then
17279 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17280 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17287 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17288 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17291 allow_undefined_flag_GCJ
=
17292 enable_shared_with_static_runtimes_GCJ
=no
17294 archive_expsym_cmds_GCJ
=
17295 old_archive_From_new_cmds_GCJ
=
17296 old_archive_from_expsyms_cmds_GCJ
=
17297 export_dynamic_flag_spec_GCJ
=
17298 whole_archive_flag_spec_GCJ
=
17299 thread_safe_flag_spec_GCJ
=
17300 hardcode_libdir_flag_spec_GCJ
=
17301 hardcode_libdir_flag_spec_ld_GCJ
=
17302 hardcode_libdir_separator_GCJ
=
17303 hardcode_direct_GCJ
=no
17304 hardcode_minus_L_GCJ
=no
17305 hardcode_shlibpath_var_GCJ
=unsupported
17306 link_all_deplibs_GCJ
=unknown
17307 hardcode_automatic_GCJ
=no
17309 module_expsym_cmds_GCJ
=
17310 always_export_symbols_GCJ
=no
17311 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17312 # include_expsyms should be a list of space-separated symbols to be *always*
17313 # included in the symbol list
17314 include_expsyms_GCJ
=
17315 # exclude_expsyms can be an extended regexp of symbols to exclude
17316 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17317 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17318 # as well as any symbol that contains `d'.
17319 exclude_expsyms_GCJ
="_GLOBAL_OFFSET_TABLE_"
17320 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17321 # platforms (ab)use it in PIC code, but their linkers get confused if
17322 # the symbol is explicitly referenced. Since portable code cannot
17323 # rely on this symbol name, it's probably fine to never include it in
17324 # preloaded symbol tables.
17325 extract_expsyms_cmds
=
17326 # Just being paranoid about ensuring that cc_basename is set.
17327 for cc_temp
in $compiler""; do
17329 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
17330 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
17335 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17338 cygwin
* | mingw
* | pw32
*)
17339 # FIXME: the MSVC++ port hasn't been tested in a loooong time
17340 # When not using gcc, we currently assume that we are using
17341 # Microsoft Visual C++.
17342 if test "$GCC" != yes; then
17347 # we just hope/assume this is gcc and not c89 (= MSVC++)
17356 if test "$with_gnu_ld" = yes; then
17357 # If archive_cmds runs LD, not CC, wlarc should be empty
17360 # Set some defaults for GNU ld with shared library support. These
17361 # are reset later if shared libraries are not supported. Putting them
17362 # here allows them to be overridden if necessary.
17363 runpath_var
=LD_RUN_PATH
17364 hardcode_libdir_flag_spec_GCJ
='${wl}--rpath ${wl}$libdir'
17365 export_dynamic_flag_spec_GCJ
='${wl}--export-dynamic'
17366 # ancient GNU ld didn't support --whole-archive et. al.
17367 if $LD --help 2>&1 |
grep 'no-whole-archive' > /dev
/null
; then
17368 whole_archive_flag_spec_GCJ
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17370 whole_archive_flag_spec_GCJ
=
17372 supports_anon_versioning
=no
17373 case `$LD -v 2>/dev/null` in
17374 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
17375 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
17376 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
17377 *\
2.11.
*) ;; # other 2.11 versions
17378 *) supports_anon_versioning
=yes ;;
17381 # See if GNU ld supports shared libraries.
17383 aix3
* | aix4
* | aix5
*)
17384 # On AIX/PPC, the GNU linker is very broken
17385 if test "$host_cpu" != ia64
; then
17389 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
17390 *** to be unable to reliably create shared libraries on AIX.
17391 *** Therefore, libtool is disabling shared libraries support. If you
17392 *** really care for shared libraries, you may want to modify your PATH
17393 *** so that a non-GNU linker is found, and then restart.
17400 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)'
17401 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17402 hardcode_minus_L_GCJ
=yes
17404 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17405 # that the semantics of dynamic libraries on AmigaOS, at least up
17406 # to version 4, is to share data among multiple programs linked
17407 # with the same dynamic library. Since this doesn't match the
17408 # behavior of shared libraries on other platforms, we can't use
17414 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17415 allow_undefined_flag_GCJ
=unsupported
17416 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17417 # support --undefined. This deserves some investigation. FIXME
17418 archive_cmds_GCJ
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17424 cygwin
* | mingw
* | pw32
*)
17425 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17426 # as there is no search path for DLLs.
17427 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17428 allow_undefined_flag_GCJ
=unsupported
17429 always_export_symbols_GCJ
=no
17430 enable_shared_with_static_runtimes_GCJ
=yes
17431 export_symbols_cmds_GCJ
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17433 if $LD --help 2>&1 |
grep 'auto-import' > /dev
/null
; then
17434 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17435 # If the export-symbols file already is a .def file (1st line
17436 # is EXPORTS), use it as is; otherwise, prepend...
17437 archive_expsym_cmds_GCJ
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17438 cp $export_symbols $output_objdir/$soname.def;
17440 echo EXPORTS > $output_objdir/$soname.def;
17441 cat $export_symbols >> $output_objdir/$soname.def;
17443 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17450 hardcode_direct_GCJ
=no
17451 hardcode_shlibpath_var_GCJ
=no
17452 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
17453 export_dynamic_flag_spec_GCJ
='${wl}-E'
17454 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17455 # Instead, shared libraries are loaded at an image base (0x10000000 by
17456 # default) and relocated if they conflict, which is a slow very memory
17457 # consuming and fragmenting process. To avoid this, we pick a random,
17458 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17459 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
17460 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'
17461 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'
17464 gnu
* | linux
* | k
*bsd
*-gnu)
17465 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17467 case $cc_basename,$host_cpu in
17468 pgcc
*) # Portland Group C compiler
17469 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'
17470 tmp_addflag
=' $pic_flag'
17472 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
17473 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'
17474 tmp_addflag
=' $pic_flag -Mnomain' ;;
17475 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
17476 tmp_addflag
=' -i_dynamic' ;;
17477 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
17478 tmp_addflag
=' -i_dynamic -nofor_main' ;;
17479 ifc
* | ifort
*) # Intel Fortran compiler
17480 tmp_addflag
=' -nofor_main' ;;
17482 case `$CC -V 2>&1 | sed 5q` in
17483 *Sun\ C
*) # Sun C 5.9
17484 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'
17485 tmp_sharedflag
='-G' ;;
17486 *Sun\ F
*) # Sun Fortran 8.3
17487 tmp_sharedflag
='-G' ;;
17489 tmp_sharedflag
='-shared' ;;
17491 archive_cmds_GCJ
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17493 if test $supports_anon_versioning = yes; then
17494 archive_expsym_cmds_GCJ
='$echo "{ global:" > $output_objdir/$libname.ver~
17495 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17496 $echo "local: *; };" >> $output_objdir/$libname.ver~
17497 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17505 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
17506 archive_cmds_GCJ
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17509 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17510 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17515 if $LD -v 2>&1 |
grep 'BFD 2\.8' > /dev
/null
; then
17519 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
17520 *** create shared libraries on Solaris systems. Therefore, libtool
17521 *** is disabling shared libraries support. We urge you to upgrade GNU
17522 *** binutils to release 2.9.1 or newer. Another option is to modify
17523 *** your PATH or compiler configuration so that the native linker is
17524 *** used, and then restart.
17527 elif $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17528 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17529 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17535 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
17536 case `$LD -v 2>&1` in
17537 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
17541 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17542 *** reliably create shared libraries on SCO systems. Therefore, libtool
17543 *** is disabling shared libraries support. We urge you to upgrade GNU
17544 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17545 *** your PATH or compiler configuration so that the native linker is
17546 *** used, and then restart.
17551 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17552 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17553 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17554 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17563 archive_cmds_GCJ
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17565 hardcode_direct_GCJ
=yes
17566 hardcode_shlibpath_var_GCJ
=no
17570 if $LD --help 2>&1 |
grep ': supported targets:.* elf' > /dev
/null
; then
17571 archive_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17572 archive_expsym_cmds_GCJ
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17579 if test "$ld_shlibs_GCJ" = no
; then
17581 hardcode_libdir_flag_spec_GCJ
=
17582 export_dynamic_flag_spec_GCJ
=
17583 whole_archive_flag_spec_GCJ
=
17586 # PORTME fill in a description of your system's linker (not GNU ld)
17589 allow_undefined_flag_GCJ
=unsupported
17590 always_export_symbols_GCJ
=yes
17591 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'
17592 # Note: this linker hardcodes the directories in LIBPATH if there
17593 # are no directories specified by -L.
17594 hardcode_minus_L_GCJ
=yes
17595 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17596 # Neither direct hardcoding nor static linking is supported with a
17598 hardcode_direct_GCJ
=unsupported
17603 if test "$host_cpu" = ia64
; then
17604 # On IA64, the linker does run time linking by default, so we don't
17605 # have to do anything special.
17606 aix_use_runtimelinking
=no
17607 exp_sym_flag
='-Bexport'
17610 # If we're using GNU nm, then we don't want the "-C" option.
17611 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17612 if $NM -V 2>&1 |
grep 'GNU' > /dev
/null
; then
17613 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'
17615 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'
17617 aix_use_runtimelinking
=no
17619 # Test if we are trying to use run time linking or normal
17620 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17621 # need to do runtime linking.
17622 case $host_os in aix4.
[23]|aix4.
[23].
*|aix5
*)
17623 for ld_flag
in $LDFLAGS; do
17624 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
17625 aix_use_runtimelinking
=yes
17632 exp_sym_flag
='-bexport'
17633 no_entry_flag
='-bnoentry'
17636 # When large executables or shared objects are built, AIX ld can
17637 # have problems creating the table of contents. If linking a library
17638 # or program results in "error TOC overflow" add -mminimal-toc to
17639 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17640 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17642 archive_cmds_GCJ
=''
17643 hardcode_direct_GCJ
=yes
17644 hardcode_libdir_separator_GCJ
=':'
17645 link_all_deplibs_GCJ
=yes
17647 if test "$GCC" = yes; then
17648 case $host_os in aix4.
[012]|aix4.
[012].
*)
17649 # We only want to do this on AIX 4.2 and lower, the check
17650 # below for broken collect2 doesn't work under 4.3+
17651 collect2name
=`${CC} -print-prog-name=collect2`
17652 if test -f "$collect2name" && \
17653 strings "$collect2name" |
grep resolve_lib_name
>/dev
/null
17655 # We have reworked collect2
17658 # We have old collect2
17659 hardcode_direct_GCJ
=unsupported
17660 # It fails to find uninstalled libraries when the uninstalled
17661 # path is not listed in the libpath. Setting hardcode_minus_L
17662 # to unsupported forces relinking
17663 hardcode_minus_L_GCJ
=yes
17664 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17665 hardcode_libdir_separator_GCJ
=
17669 shared_flag
='-shared'
17670 if test "$aix_use_runtimelinking" = yes; then
17671 shared_flag
="$shared_flag "'${wl}-G'
17675 if test "$host_cpu" = ia64
; then
17676 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17677 # chokes on -Wl,-G. The following line is correct:
17680 if test "$aix_use_runtimelinking" = yes; then
17681 shared_flag
='${wl}-G'
17683 shared_flag
='${wl}-bM:SRE'
17688 # It seems that -bexpall does not export symbols beginning with
17689 # underscore (_), so it is better to generate a list of symbols to export.
17690 always_export_symbols_GCJ
=yes
17691 if test "$aix_use_runtimelinking" = yes; then
17692 # Warning - without using the other runtime loading flags (-brtl),
17693 # -berok will link without error, but may produce a broken library.
17694 allow_undefined_flag_GCJ
='-berok'
17695 # Determine the default libpath from the value encoded in an empty executable.
17696 cat >conftest.
$ac_ext <<_ACEOF
17699 cat confdefs.h
>>conftest.
$ac_ext
17700 cat >>conftest.
$ac_ext <<_ACEOF
17701 /* end confdefs.h. */
17711 rm -f conftest.
$ac_objext conftest
$ac_exeext
17712 if { (ac_try
="$ac_link"
17713 case "(($ac_try" in
17714 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17715 *) ac_try_echo=$ac_try;;
17717 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17718 $as_echo "$ac_try_echo") >&5
17719 (eval "$ac_link") 2>conftest.er1
17721 grep -v '^ *+' conftest.er1 >conftest.err
17723 cat conftest.err >&5
17724 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); } && {
17726 test -z "$ac_c_werror_flag" ||
17727 test ! -s conftest.err
17728 } && test -s conftest$ac_exeext && {
17729 test "$cross_compiling" = yes ||
17730 $as_test_x conftest$ac_exeext
17733 lt_aix_libpath_sed='
17734 /Import File Strings/,/^$/ {
17740 aix_libpath=`dump
-H conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17741 # Check for a 64-bit object if we didn't find anything.
17742 if test -z "$aix_libpath"; then
17743 aix_libpath=`dump
-HX64 conftest
$ac_exeext 2>/dev
/null |
$SED -n -e "$lt_aix_libpath_sed"`
17746 $as_echo "$as_me: failed program was:" >&5
17747 sed 's/^/| /' conftest.$ac_ext >&5
17752 rm -rf conftest.dSYM
17753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17754 conftest$ac_exeext conftest.$ac_ext
17755 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17757 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17758 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"
17760 if test "$host_cpu" = ia64; then
17761 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17762 allow_undefined_flag_GCJ="-z nodefs"
17763 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"
17765 # Determine the default libpath from the value encoded in an empty executable.
17766 cat >conftest.$ac_ext <<_ACEOF
17769 cat confdefs.h >>conftest.$ac_ext
17770 cat >>conftest.$ac_ext <<_ACEOF
17771 /* end confdefs.h. */
17781 rm -f conftest.$ac_objext conftest$ac_exeext
17782 if { (ac_try="$ac_link"
17783 case "(($ac_try" in
17784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17785 *) ac_try_echo
=$ac_try;;
17787 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17788 $as_echo "$ac_try_echo") >&5
17789 (eval "$ac_link") 2>conftest.er1
17791 grep -v '^ *+' conftest.er1
>conftest.err
17793 cat conftest.err
>&5
17794 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); } && {
17796 test -z "$ac_c_werror_flag" ||
17797 test ! -s conftest.err
17798 } && test -s conftest
$ac_exeext && {
17799 test "$cross_compiling" = yes ||
17800 $as_test_x conftest
$ac_exeext
17803 lt_aix_libpath_sed
='
17804 /Import File Strings/,/^$/ {
17810 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17811 # Check for a 64-bit object if we didn't find anything.
17812 if test -z "$aix_libpath"; then
17813 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17816 $as_echo "$as_me: failed program was:" >&5
17817 sed 's/^/| /' conftest.
$ac_ext >&5
17822 rm -rf conftest.dSYM
17823 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17824 conftest
$ac_exeext conftest.
$ac_ext
17825 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
17827 hardcode_libdir_flag_spec_GCJ
='${wl}-blibpath:$libdir:'"$aix_libpath"
17828 # Warning - without using the other run time loading flags,
17829 # -berok will link without error, but may produce a broken library.
17830 no_undefined_flag_GCJ
=' ${wl}-bernotok'
17831 allow_undefined_flag_GCJ
=' ${wl}-berok'
17832 # Exported symbols can be pulled into shared objects from archives
17833 whole_archive_flag_spec_GCJ
='$convenience'
17834 archive_cmds_need_lc_GCJ
=yes
17835 # This is similar to how AIX traditionally builds its shared libraries.
17836 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'
17842 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)'
17843 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17844 hardcode_minus_L_GCJ
=yes
17845 # see comment about different semantics on the GNU ld section
17850 export_dynamic_flag_spec_GCJ
=-rdynamic
17853 cygwin
* | mingw
* | pw32
*)
17854 # When not using gcc, we currently assume that we are using
17855 # Microsoft Visual C++.
17856 # hardcode_libdir_flag_spec is actually meaningless, as there is
17857 # no search path for DLLs.
17858 hardcode_libdir_flag_spec_GCJ
=' '
17859 allow_undefined_flag_GCJ
=unsupported
17860 # Tell ltmain to make .lib files, not .a files.
17862 # Tell ltmain to make .dll files, not .so files.
17864 # FIXME: Setting linknames here is a bad hack.
17865 archive_cmds_GCJ
='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17866 # The linker will automatically build a .lib file if we build a DLL.
17867 old_archive_From_new_cmds_GCJ
='true'
17868 # FIXME: Should let the user specify the lib program.
17869 old_archive_cmds_GCJ
='lib -OUT:$oldlib$oldobjs$old_deplibs'
17870 fix_srcfile_path_GCJ
='`cygpath -w "$srcfile"`'
17871 enable_shared_with_static_runtimes_GCJ
=yes
17874 darwin
* | rhapsody
*)
17876 rhapsody
* | darwin1.
[012])
17877 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}suppress'
17880 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17881 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17883 case ${MACOSX_DEPLOYMENT_TARGET} in
17885 allow_undefined_flag_GCJ
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17888 allow_undefined_flag_GCJ
='${wl}-undefined ${wl}dynamic_lookup'
17894 archive_cmds_need_lc_GCJ
=no
17895 hardcode_direct_GCJ
=no
17896 hardcode_automatic_GCJ
=yes
17897 hardcode_shlibpath_var_GCJ
=unsupported
17898 whole_archive_flag_spec_GCJ
=''
17899 link_all_deplibs_GCJ
=yes
17900 if test "$GCC" = yes ; then
17901 output_verbose_link_cmd
='echo'
17902 archive_cmds_GCJ
='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17903 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17904 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17905 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}'
17906 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}'
17908 case $cc_basename in
17910 output_verbose_link_cmd
='echo'
17911 archive_cmds_GCJ
='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17912 module_cmds_GCJ
='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17913 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17914 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}'
17915 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}'
17925 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17926 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
17927 hardcode_shlibpath_var_GCJ
=no
17934 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17935 # support. Future versions do this automatically, but an explicit c++rt0.o
17936 # does not break anything, and helps significantly (at the cost of a little
17939 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17940 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17941 hardcode_direct_GCJ
=yes
17942 hardcode_shlibpath_var_GCJ
=no
17945 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
17947 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17948 hardcode_direct_GCJ
=yes
17949 hardcode_minus_L_GCJ
=yes
17950 hardcode_shlibpath_var_GCJ
=no
17953 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17954 freebsd
* | dragonfly
*)
17955 archive_cmds_GCJ
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17956 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
17957 hardcode_direct_GCJ
=yes
17958 hardcode_shlibpath_var_GCJ
=no
17962 if test "$GCC" = yes; then
17963 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'
17965 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'
17967 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17968 hardcode_libdir_separator_GCJ
=:
17969 hardcode_direct_GCJ
=yes
17971 # hardcode_minus_L: Not really in the search PATH,
17972 # but as the default location of the library.
17973 hardcode_minus_L_GCJ
=yes
17974 export_dynamic_flag_spec_GCJ
='${wl}-E'
17978 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
17979 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17981 archive_cmds_GCJ
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17983 if test "$with_gnu_ld" = no
; then
17984 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
17985 hardcode_libdir_separator_GCJ
=:
17987 hardcode_direct_GCJ
=yes
17988 export_dynamic_flag_spec_GCJ
='${wl}-E'
17990 # hardcode_minus_L: Not really in the search PATH,
17991 # but as the default location of the library.
17992 hardcode_minus_L_GCJ
=yes
17997 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
18000 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18003 archive_cmds_GCJ
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18006 archive_cmds_GCJ
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18012 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18015 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
18018 archive_cmds_GCJ
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
18022 if test "$with_gnu_ld" = no
; then
18023 hardcode_libdir_flag_spec_GCJ
='${wl}+b ${wl}$libdir'
18024 hardcode_libdir_separator_GCJ
=:
18028 hardcode_libdir_flag_spec_ld_GCJ
='+b $libdir'
18029 hardcode_direct_GCJ
=no
18030 hardcode_shlibpath_var_GCJ
=no
18033 hardcode_direct_GCJ
=yes
18034 export_dynamic_flag_spec_GCJ
='${wl}-E'
18036 # hardcode_minus_L: Not really in the search PATH,
18037 # but as the default location of the library.
18038 hardcode_minus_L_GCJ
=yes
18044 irix5
* | irix6
* | nonstopux
*)
18045 if test "$GCC" = yes; then
18046 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'
18048 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'
18049 hardcode_libdir_flag_spec_ld_GCJ
='-rpath $libdir'
18051 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18052 hardcode_libdir_separator_GCJ
=:
18053 link_all_deplibs_GCJ
=yes
18057 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18058 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
18060 archive_cmds_GCJ
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
18062 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18063 hardcode_direct_GCJ
=yes
18064 hardcode_shlibpath_var_GCJ
=no
18068 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18069 hardcode_direct_GCJ
=yes
18070 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18071 hardcode_libdir_separator_GCJ
=:
18072 hardcode_shlibpath_var_GCJ
=no
18076 if test -f /usr
/libexec
/ld.so
; then
18077 hardcode_direct_GCJ
=yes
18078 hardcode_shlibpath_var_GCJ
=no
18079 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18080 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18081 archive_expsym_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
18082 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18083 export_dynamic_flag_spec_GCJ
='${wl}-E'
18086 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
18087 archive_cmds_GCJ
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
18088 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18091 archive_cmds_GCJ
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
18092 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath,$libdir'
18102 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18103 hardcode_minus_L_GCJ
=yes
18104 allow_undefined_flag_GCJ
=unsupported
18105 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'
18106 old_archive_From_new_cmds_GCJ
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
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}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
18114 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18115 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'
18117 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18118 hardcode_libdir_separator_GCJ
=:
18121 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
18122 if test "$GCC" = yes; then
18123 allow_undefined_flag_GCJ
=' ${wl}-expect_unresolved ${wl}\*'
18124 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'
18125 hardcode_libdir_flag_spec_GCJ
='${wl}-rpath ${wl}$libdir'
18127 allow_undefined_flag_GCJ
=' -expect_unresolved \*'
18128 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'
18129 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~
18130 $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'
18132 # Both c and cxx compiler support -rpath directly
18133 hardcode_libdir_flag_spec_GCJ
='-rpath $libdir'
18135 hardcode_libdir_separator_GCJ
=:
18139 no_undefined_flag_GCJ
=' -z text'
18140 if test "$GCC" = yes; then
18142 archive_cmds_GCJ
='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
18143 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18144 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
18147 archive_cmds_GCJ
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
18148 archive_expsym_cmds_GCJ
='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
18149 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
18151 hardcode_libdir_flag_spec_GCJ
='-R$libdir'
18152 hardcode_shlibpath_var_GCJ
=no
18154 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
18156 # The compiler driver will combine and reorder linker options,
18157 # but understands `-z linker_flag'. GCC discards it without `$wl',
18158 # but is careful enough not to reorder.
18159 # Supported since Solaris 2.6 (maybe 2.5.1?)
18160 if test "$GCC" = yes; then
18161 whole_archive_flag_spec_GCJ
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
18163 whole_archive_flag_spec_GCJ
='-z allextract$convenience -z defaultextract'
18167 link_all_deplibs_GCJ
=yes
18171 if test "x$host_vendor" = xsequent
; then
18172 # Use $CC to link under sequent, because it throws in some extra .o
18173 # files that make .init and .fini sections work.
18174 archive_cmds_GCJ
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
18176 archive_cmds_GCJ
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
18178 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18179 hardcode_direct_GCJ
=yes
18180 hardcode_minus_L_GCJ
=yes
18181 hardcode_shlibpath_var_GCJ
=no
18185 case $host_vendor in
18187 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18188 hardcode_direct_GCJ
=yes # is this really true???
18191 ## LD is ld it makes a PLAMLIB
18192 ## CC just makes a GrossModule.
18193 archive_cmds_GCJ
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
18194 reload_cmds_GCJ
='$CC -r -o $output$reload_objs'
18195 hardcode_direct_GCJ
=no
18198 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18199 hardcode_direct_GCJ
=no
#Motorola manual says yes, but my tests say they lie
18202 runpath_var
='LD_RUN_PATH'
18203 hardcode_shlibpath_var_GCJ
=no
18207 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18208 hardcode_shlibpath_var_GCJ
=no
18209 export_dynamic_flag_spec_GCJ
='-Bexport'
18213 if test -d /usr
/nec
; then
18214 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18215 hardcode_shlibpath_var_GCJ
=no
18216 runpath_var
=LD_RUN_PATH
18217 hardcode_runpath_var
=yes
18222 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
18223 no_undefined_flag_GCJ
='${wl}-z,text'
18224 archive_cmds_need_lc_GCJ
=no
18225 hardcode_shlibpath_var_GCJ
=no
18226 runpath_var
='LD_RUN_PATH'
18228 if test "$GCC" = yes; then
18229 archive_cmds_GCJ
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18230 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18232 archive_cmds_GCJ
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18233 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
18237 sysv5
* | sco3.2v5
* | sco5v6
*)
18238 # Note: We can NOT use -z defs as we might desire, because we do not
18239 # link with -lc, and that would cause any symbols used from libc to
18240 # always be unresolved, which means just about no library would
18241 # ever link correctly. If we're not using GNU ld we use -z text
18242 # though, which does catch some bad symbols but isn't as heavy-handed
18244 no_undefined_flag_GCJ
='${wl}-z,text'
18245 allow_undefined_flag_GCJ
='${wl}-z,nodefs'
18246 archive_cmds_need_lc_GCJ
=no
18247 hardcode_shlibpath_var_GCJ
=no
18248 hardcode_libdir_flag_spec_GCJ
='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
18249 hardcode_libdir_separator_GCJ
=':'
18250 link_all_deplibs_GCJ
=yes
18251 export_dynamic_flag_spec_GCJ
='${wl}-Bexport'
18252 runpath_var
='LD_RUN_PATH'
18254 if test "$GCC" = yes; then
18255 archive_cmds_GCJ
='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18256 archive_expsym_cmds_GCJ
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18258 archive_cmds_GCJ
='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18259 archive_expsym_cmds_GCJ
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
18264 archive_cmds_GCJ
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
18265 hardcode_libdir_flag_spec_GCJ
='-L$libdir'
18266 hardcode_shlibpath_var_GCJ
=no
18275 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
18276 $as_echo "$ld_shlibs_GCJ" >&6; }
18277 test "$ld_shlibs_GCJ" = no
&& can_build_shared
=no
18280 # Do we need to explicitly link libc?
18282 case "x$archive_cmds_need_lc_GCJ" in
18284 # Assume -lc should be added
18285 archive_cmds_need_lc_GCJ
=yes
18287 if test "$enable_shared" = yes && test "$GCC" = yes; then
18288 case $archive_cmds_GCJ in
18290 # FIXME: we may have to deal with multi-command sequences.
18293 # Test whether the compiler implicitly links with -lc since on some
18294 # systems, -lgcc has to come before -lc. If gcc already passes -lc
18295 # to ld, don't add -lc before -lgcc.
18296 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18297 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18299 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
18301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18302 (eval $ac_compile) 2>&5
18304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); } 2>conftest.err
; then
18308 libobjs
=conftest.
$ac_objext
18310 wl
=$lt_prog_compiler_wl_GCJ
18311 pic_flag
=$lt_prog_compiler_pic_GCJ
18317 lt_save_allow_undefined_flag
=$allow_undefined_flag_GCJ
18318 allow_undefined_flag_GCJ
=
18319 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18320 (eval $archive_cmds_GCJ 2\
>\
&1 \|
grep \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
18322 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); }
18325 archive_cmds_need_lc_GCJ
=no
18327 archive_cmds_need_lc_GCJ
=yes
18329 allow_undefined_flag_GCJ
=$lt_save_allow_undefined_flag
18331 cat conftest.err
1>&5
18334 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18335 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
18342 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18343 $as_echo_n "checking dynamic linker characteristics... " >&6; }
18344 library_names_spec
=
18345 libname_spec
='lib$name'
18349 postuninstall_cmds
=
18353 shlibpath_overrides_runpath
=unknown
18355 dynamic_linker
="$host_os ld.so"
18356 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
18358 need_lib_prefix
=unknown
18359 hardcode_into_libs
=no
18361 # when you set need_version to no, make sure it does not cause -set_version
18362 # flags to be left without arguments
18363 need_version
=unknown
18368 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
18369 shlibpath_var
=LIBPATH
18371 # AIX 3 has no versioning support, so we append a major version to the name.
18372 soname_spec
='${libname}${release}${shared_ext}$major'
18379 hardcode_into_libs
=yes
18380 if test "$host_cpu" = ia64
; then
18381 # AIX 5 supports IA64
18382 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18383 shlibpath_var
=LD_LIBRARY_PATH
18385 # With GCC up to 2.95.x, collect2 would create an import file
18386 # for dependence libraries. The import file would start with
18387 # the line `#! .'. This would cause the generated library to
18388 # depend on `.', always an invalid library. This was fixed in
18389 # development snapshots of GCC prior to 3.0.
18391 aix4 | aix4.
[01] | aix4.
[01].
*)
18392 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18394 echo '#endif'; } |
${CC} -E - |
grep yes > /dev
/null
; then
18397 can_build_shared
=no
18401 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18402 # soname into executable. Probably we can add versioning support to
18403 # collect2, so additional links can be useful in future.
18404 if test "$aix_use_runtimelinking" = yes; then
18405 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
18406 # instead of lib<name>.a to let people know that these are not
18407 # typical AIX shared libraries.
18408 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18410 # We preserve .a as extension for shared libraries through AIX4.2
18411 # and later when we are not doing run time linking.
18412 library_names_spec
='${libname}${release}.a $libname.a'
18413 soname_spec
='${libname}${release}${shared_ext}$major'
18415 shlibpath_var
=LIBPATH
18420 library_names_spec
='$libname.ixlibrary $libname.a'
18421 # Create ${libname}_ixlibrary.a entries in /sys/libs.
18422 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'
18426 library_names_spec
='${libname}${shared_ext}'
18427 dynamic_linker
="$host_os ld.so"
18428 shlibpath_var
=LIBRARY_PATH
18434 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18435 soname_spec
='${libname}${release}${shared_ext}$major'
18436 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
18437 shlibpath_var
=LD_LIBRARY_PATH
18438 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18439 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
18440 # the default ld.so.conf also contains /usr/contrib/lib and
18441 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18442 # libtool to hard-code these into programs
18445 cygwin
* | mingw
* | pw32
*)
18446 version_type
=windows
18451 case $GCC,$host_os in
18452 yes,cygwin
* |
yes,mingw
* |
yes,pw32
*)
18453 library_names_spec
='$libname.dll.a'
18454 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18455 postinstall_cmds
='base_file=`basename \${file}`~
18456 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18457 dldir=$destdir/`dirname \$dlpath`~
18458 test -d \$dldir || mkdir -p \$dldir~
18459 $install_prog $dir/$dlname \$dldir/$dlname~
18460 chmod a+x \$dldir/$dlname'
18461 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18462 dlpath=$dir/\$dldll~
18464 shlibpath_overrides_runpath
=yes
18468 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18469 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18470 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
18473 # MinGW DLLs use traditional 'lib' prefix
18474 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18475 sys_lib_search_path_spec
=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18476 if echo "$sys_lib_search_path_spec" |
grep ';[c-zC-Z]:/' >/dev
/null
; then
18477 # It is most probably a Windows format PATH printed by
18478 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18479 # path with ; separators, and with drive letters. We can handle the
18480 # drive letters (cygwin fileutils understands them), so leave them,
18481 # especially as we might pass files found there to a mingw objdump,
18482 # which wouldn't understand a cygwinified path. Ahh.
18483 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18485 sys_lib_search_path_spec
=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18489 # pw32 DLLs use 'pw' prefix rather than 'lib'
18490 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18496 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18499 dynamic_linker
='Win32 ld.exe'
18500 # FIXME: first we should search . and the directory the executable is in
18504 darwin
* | rhapsody
*)
18505 dynamic_linker
="$host_os dyld"
18506 version_type
=darwin
18509 library_names_spec
='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18510 soname_spec
='${libname}${release}${major}$shared_ext'
18511 shlibpath_overrides_runpath
=yes
18512 shlibpath_var
=DYLD_LIBRARY_PATH
18513 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
18515 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
18522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18523 soname_spec
='${libname}${release}${shared_ext}$major'
18524 shlibpath_var
=LD_LIBRARY_PATH
18531 freebsd
* | dragonfly
*)
18532 # DragonFly does not have aout. When/if they implement a new
18533 # versioning mechanism, adjust this.
18534 if test -x /usr
/bin
/objformat
; then
18535 objformat
=`/usr/bin/objformat`
18538 freebsd
[123]*) objformat
=aout
;;
18539 *) objformat
=elf
;;
18542 version_type
=freebsd-
$objformat
18543 case $version_type in
18545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18550 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18554 shlibpath_var
=LD_LIBRARY_PATH
18557 shlibpath_overrides_runpath
=yes
18559 freebsd3.
[01]* | freebsdelf3.
[01]*)
18560 shlibpath_overrides_runpath
=yes
18561 hardcode_into_libs
=yes
18563 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
18564 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
18565 shlibpath_overrides_runpath
=no
18566 hardcode_into_libs
=yes
18568 *) # from 4.6 on, and DragonFly
18569 shlibpath_overrides_runpath
=yes
18570 hardcode_into_libs
=yes
18579 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18580 soname_spec
='${libname}${release}${shared_ext}$major'
18581 shlibpath_var
=LD_LIBRARY_PATH
18582 hardcode_into_libs
=yes
18585 hpux9
* | hpux10
* | hpux11
*)
18586 # Give a soname corresponding to the major version so that dld.sl refuses to
18587 # link against other versions.
18594 hardcode_into_libs
=yes
18595 dynamic_linker
="$host_os dld.so"
18596 shlibpath_var
=LD_LIBRARY_PATH
18597 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18598 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18599 soname_spec
='${libname}${release}${shared_ext}$major'
18600 if test "X$HPUX_IA64_MODE" = X32
; then
18601 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18603 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
18605 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18609 hardcode_into_libs
=yes
18610 dynamic_linker
="$host_os dld.sl"
18611 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
18612 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
18613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18614 soname_spec
='${libname}${release}${shared_ext}$major'
18615 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18616 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
18620 dynamic_linker
="$host_os dld.sl"
18621 shlibpath_var
=SHLIB_PATH
18622 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
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'
18627 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18628 postinstall_cmds
='chmod 555 $lib'
18635 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18636 soname_spec
='${libname}${release}${shared_ext}$major'
18637 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
18638 shlibpath_var
=LD_LIBRARY_PATH
18639 shlibpath_overrides_runpath
=no
18640 hardcode_into_libs
=yes
18643 irix5
* | irix6
* | nonstopux
*)
18645 nonstopux
*) version_type
=nonstopux
;;
18647 if test "$lt_cv_prog_gnu_ld" = yes; then
18655 soname_spec
='${libname}${release}${shared_ext}$major'
18656 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18658 irix5
* | nonstopux
*)
18659 libsuff
= shlibsuff
=
18662 case $LD in # libtool.m4 will add one of these switches to LD
18663 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
18664 libsuff
= shlibsuff
= libmagic
=32-bit;;
18665 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
18666 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
18667 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
18668 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
18669 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
18673 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
18674 shlibpath_overrides_runpath
=no
18675 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18676 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
18677 hardcode_into_libs
=yes
18680 # No shared lib support for Linux oldld, aout, or coff.
18681 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
18685 # This must be Linux ELF.
18686 linux
* | k
*bsd
*-gnu)
18690 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18691 soname_spec
='${libname}${release}${shared_ext}$major'
18692 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18693 shlibpath_var
=LD_LIBRARY_PATH
18694 shlibpath_overrides_runpath
=no
18695 # This implies no fast_install, which is unacceptable.
18696 # Some rework will be needed to allow for fast_install
18697 # before this can be enabled.
18698 hardcode_into_libs
=yes
18700 # Append ld.so.conf contents to the search path
18701 if test -f /etc
/ld.so.conf
; then
18702 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' ' '`
18703 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
18706 # We used to test for /lib/ld.so.1 and disable shared libraries on
18707 # powerpc, because MkLinux only supported shared libraries with the
18708 # GNU dynamic linker. Since this was broken with cross compilers,
18709 # most powerpc-linux boxes support dynamic linking these days and
18710 # people can always --disable-shared, the test was removed, and we
18711 # assume the GNU/Linux dynamic linker is in use.
18712 dynamic_linker
='GNU/Linux ld.so'
18719 if echo __ELF__ |
$CC -E - |
grep __ELF__
>/dev
/null
; then
18720 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18721 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18722 dynamic_linker
='NetBSD (a.out) ld.so'
18724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18725 soname_spec
='${libname}${release}${shared_ext}$major'
18726 dynamic_linker
='NetBSD ld.elf_so'
18728 shlibpath_var
=LD_LIBRARY_PATH
18729 shlibpath_overrides_runpath
=yes
18730 hardcode_into_libs
=yes
18735 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18736 shlibpath_var
=LD_LIBRARY_PATH
18737 shlibpath_overrides_runpath
=yes
18744 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18745 soname_spec
='${libname}${release}${shared_ext}$major'
18746 shlibpath_var
=LD_LIBRARY_PATH
18747 shlibpath_overrides_runpath
=yes
18752 sys_lib_dlsearch_path_spec
="/usr/lib"
18754 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18756 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
18757 *) need_version
=no
;;
18759 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18760 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18761 shlibpath_var
=LD_LIBRARY_PATH
18762 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18764 openbsd2.
[89] | openbsd2.
[89].
*)
18765 shlibpath_overrides_runpath
=no
18768 shlibpath_overrides_runpath
=yes
18772 shlibpath_overrides_runpath
=yes
18777 libname_spec
='$name'
18780 library_names_spec
='$libname${shared_ext} $libname.a'
18781 dynamic_linker
='OS/2 ld.exe'
18782 shlibpath_var
=LIBPATH
18785 osf3
* | osf4
* | osf5
*)
18789 soname_spec
='${libname}${release}${shared_ext}$major'
18790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18791 shlibpath_var
=LD_LIBRARY_PATH
18792 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18793 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
18804 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18805 soname_spec
='${libname}${release}${shared_ext}$major'
18806 shlibpath_var
=LD_LIBRARY_PATH
18807 shlibpath_overrides_runpath
=yes
18808 hardcode_into_libs
=yes
18809 # ldd complains unless libraries are executable
18810 postinstall_cmds
='chmod +x $lib'
18815 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18816 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18817 shlibpath_var
=LD_LIBRARY_PATH
18818 shlibpath_overrides_runpath
=yes
18819 if test "$with_gnu_ld" = yes; then
18827 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18828 soname_spec
='${libname}${release}${shared_ext}$major'
18829 shlibpath_var
=LD_LIBRARY_PATH
18830 case $host_vendor in
18832 shlibpath_overrides_runpath
=no
18834 export_dynamic_flag_spec
='${wl}-Blargedynsym'
18835 runpath_var
=LD_RUN_PATH
18843 shlibpath_overrides_runpath
=no
18844 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
18850 if test -d /usr
/nec
;then
18852 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18853 soname_spec
='$libname${shared_ext}.$major'
18854 shlibpath_var
=LD_LIBRARY_PATH
18858 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
18859 version_type
=freebsd-elf
18862 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18863 soname_spec
='${libname}${release}${shared_ext}$major'
18864 shlibpath_var
=LD_LIBRARY_PATH
18865 hardcode_into_libs
=yes
18866 if test "$with_gnu_ld" = yes; then
18867 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18868 shlibpath_overrides_runpath
=no
18870 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
18871 shlibpath_overrides_runpath
=yes
18874 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
18878 sys_lib_dlsearch_path_spec
='/usr/lib'
18883 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18884 soname_spec
='${libname}${release}${shared_ext}$major'
18885 shlibpath_var
=LD_LIBRARY_PATH
18892 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18893 $as_echo "$dynamic_linker" >&6; }
18894 test "$dynamic_linker" = no
&& can_build_shared
=no
18896 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
18897 if test "$GCC" = yes; then
18898 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18901 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18902 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18903 hardcode_action_GCJ
=
18904 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18905 test -n "$runpath_var_GCJ" || \
18906 test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18908 # We can hardcode non-existant directories.
18909 if test "$hardcode_direct_GCJ" != no
&&
18910 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18911 # have to relink, otherwise we might link with an installed library
18912 # when we should be linking with a yet-to-be-installed one
18913 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18914 test "$hardcode_minus_L_GCJ" != no
; then
18915 # Linking always hardcodes the temporary library directory.
18916 hardcode_action_GCJ
=relink
18918 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18919 hardcode_action_GCJ
=immediate
18922 # We cannot hardcode anything, or else we can only hardcode existing
18924 hardcode_action_GCJ
=unsupported
18926 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18927 $as_echo "$hardcode_action_GCJ" >&6; }
18929 if test "$hardcode_action_GCJ" = relink
; then
18930 # Fast installation is not supported
18931 enable_fast_install
=no
18932 elif test "$shlibpath_overrides_runpath" = yes ||
18933 test "$enable_shared" = no
; then
18934 # Fast installation is not necessary
18935 enable_fast_install
=needless
18939 # The else clause should only fire when bootstrapping the
18940 # libtool distribution, otherwise you forgot to ship ltmain.sh
18941 # with your package, and you will get complaints that there are
18942 # no rules to generate ltmain.sh.
18943 if test -f "$ltmain"; then
18944 # See if we are running on zsh, and set the options which allow our commands through
18945 # without removal of \ escapes.
18946 if test -n "${ZSH_VERSION+set}" ; then
18947 setopt NO_GLOB_SUBST
18949 # Now quote all the things that may contain metacharacters while being
18950 # careful not to overquote the AC_SUBSTed values. We take copies of the
18951 # variables and quote the copies for generation of the libtool script.
18952 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18954 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18955 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18956 deplibs_check_method reload_flag reload_cmds need_locks \
18957 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18958 lt_cv_sys_global_symbol_to_c_name_address \
18959 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18960 old_postinstall_cmds old_postuninstall_cmds \
18964 lt_prog_compiler_wl_GCJ \
18965 lt_prog_compiler_pic_GCJ \
18966 lt_prog_compiler_static_GCJ \
18967 lt_prog_compiler_no_builtin_flag_GCJ \
18968 export_dynamic_flag_spec_GCJ \
18969 thread_safe_flag_spec_GCJ \
18970 whole_archive_flag_spec_GCJ \
18971 enable_shared_with_static_runtimes_GCJ \
18972 old_archive_cmds_GCJ \
18973 old_archive_from_new_cmds_GCJ \
18974 predep_objects_GCJ \
18975 postdep_objects_GCJ \
18978 compiler_lib_search_path_GCJ \
18980 archive_expsym_cmds_GCJ \
18981 postinstall_cmds_GCJ \
18982 postuninstall_cmds_GCJ \
18983 old_archive_from_expsyms_cmds_GCJ \
18984 allow_undefined_flag_GCJ \
18985 no_undefined_flag_GCJ \
18986 export_symbols_cmds_GCJ \
18987 hardcode_libdir_flag_spec_GCJ \
18988 hardcode_libdir_flag_spec_ld_GCJ \
18989 hardcode_libdir_separator_GCJ \
18990 hardcode_automatic_GCJ \
18992 module_expsym_cmds_GCJ \
18993 lt_cv_prog_compiler_c_o_GCJ \
18994 fix_srcfile_path_GCJ \
18995 exclude_expsyms_GCJ \
18996 include_expsyms_GCJ
; do
18999 old_archive_cmds_GCJ | \
19000 old_archive_from_new_cmds_GCJ | \
19001 archive_cmds_GCJ | \
19002 archive_expsym_cmds_GCJ | \
19003 module_cmds_GCJ | \
19004 module_expsym_cmds_GCJ | \
19005 old_archive_from_expsyms_cmds_GCJ | \
19006 export_symbols_cmds_GCJ | \
19007 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19008 postinstall_cmds | postuninstall_cmds | \
19009 old_postinstall_cmds | old_postuninstall_cmds | \
19010 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19011 # Double-quote double-evaled strings.
19012 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19015 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19021 *'\$0 --fallback-echo"')
19022 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19028 cat <<__EOF__ >> "$cfgfile"
19029 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19031 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19033 # Shell to use when invoking shell scripts.
19036 # Whether or not to build shared libraries.
19037 build_libtool_libs=$enable_shared
19039 # Whether or not to build static libraries.
19040 build_old_libs=$enable_static
19042 # Whether or not to add -lc for building shared libraries.
19043 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
19045 # Whether or not to disallow shared libs when runtime libs are static
19046 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
19048 # Whether or not to optimize for fast installation.
19049 fast_install=$enable_fast_install
19052 host_alias=$host_alias
19056 # The build system.
19057 build_alias=$build_alias
19061 # An echo program that does not interpret backslashes.
19066 AR_FLAGS=$lt_AR_FLAGS
19071 # LTCC compiler flags.
19072 LTCFLAGS=$lt_LTCFLAGS
19074 # A language-specific compiler.
19075 CC=$lt_compiler_GCJ
19077 # Is the compiler the GNU C compiler?
19083 # The linker used to build libraries.
19086 # Whether we need hard or soft links.
19089 # A BSD-compatible nm program.
19092 # A symbol stripping program
19095 # Used to examine libraries when file_magic_cmd begins "file"
19096 MAGIC_CMD=$MAGIC_CMD
19098 # Used on cygwin: DLL creation program.
19101 # Used on cygwin: object dumper.
19104 # Used on cygwin: assembler.
19107 # The name of the directory that contains temporary libtool files.
19110 # How to create reloadable object files.
19111 reload_flag=$lt_reload_flag
19112 reload_cmds=$lt_reload_cmds
19114 # How to pass a linker flag through the compiler.
19115 wl=$lt_lt_prog_compiler_wl_GCJ
19117 # Object file suffix (normally "o").
19118 objext="$ac_objext"
19120 # Old archive suffix (normally "a").
19123 # Shared library suffix (normally ".so").
19124 shrext_cmds='$shrext_cmds'
19126 # Executable file suffix (normally "").
19129 # Additional compiler flags for building library objects.
19130 pic_flag=$lt_lt_prog_compiler_pic_GCJ
19133 # What is the maximum length of a command?
19134 max_cmd_len=$lt_cv_sys_max_cmd_len
19136 # Does compiler simultaneously support -c and -o options?
19137 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
19139 # Must we lock files when doing compilation?
19140 need_locks=$lt_need_locks
19142 # Do we need the lib prefix for modules?
19143 need_lib_prefix=$need_lib_prefix
19145 # Do we need a version for libraries?
19146 need_version=$need_version
19148 # Whether dlopen is supported.
19149 dlopen_support=$enable_dlopen
19151 # Whether dlopen of programs is supported.
19152 dlopen_self=$enable_dlopen_self
19154 # Whether dlopen of statically linked programs is supported.
19155 dlopen_self_static=$enable_dlopen_self_static
19157 # Compiler flag to prevent dynamic linking.
19158 link_static_flag=$lt_lt_prog_compiler_static_GCJ
19160 # Compiler flag to turn off builtin functions.
19161 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
19163 # Compiler flag to allow reflexive dlopens.
19164 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
19166 # Compiler flag to generate shared objects directly from archives.
19167 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
19169 # Compiler flag to generate thread-safe objects.
19170 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
19172 # Library versioning type.
19173 version_type=$version_type
19175 # Format of library name prefix.
19176 libname_spec=$lt_libname_spec
19178 # List of archive names. First name is the real one, the rest are links.
19179 # The last name is the one that the linker finds with -lNAME.
19180 library_names_spec=$lt_library_names_spec
19182 # The coded name of the library, if different from the real name.
19183 soname_spec=$lt_soname_spec
19185 # Commands used to build and install an old-style archive.
19187 old_archive_cmds=$lt_old_archive_cmds_GCJ
19188 old_postinstall_cmds=$lt_old_postinstall_cmds
19189 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19191 # Create an old-style archive from a shared archive.
19192 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
19194 # Create a temporary old-style archive to link instead of a shared archive.
19195 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
19197 # Commands used to build and install a shared archive.
19198 archive_cmds=$lt_archive_cmds_GCJ
19199 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
19200 postinstall_cmds=$lt_postinstall_cmds
19201 postuninstall_cmds=$lt_postuninstall_cmds
19203 # Commands used to build a loadable module (assumed same as above if empty)
19204 module_cmds=$lt_module_cmds_GCJ
19205 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
19207 # Commands to strip libraries.
19208 old_striplib=$lt_old_striplib
19209 striplib=$lt_striplib
19211 # Dependencies to place before the objects being linked to create a
19213 predep_objects=$lt_predep_objects_GCJ
19215 # Dependencies to place after the objects being linked to create a
19217 postdep_objects=$lt_postdep_objects_GCJ
19219 # Dependencies to place before the objects being linked to create a
19221 predeps=$lt_predeps_GCJ
19223 # Dependencies to place after the objects being linked to create a
19225 postdeps=$lt_postdeps_GCJ
19227 # The library search path used internally by the compiler when linking
19228 # a shared library.
19229 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
19231 # Method to check whether dependent libraries are shared objects.
19232 deplibs_check_method=$lt_deplibs_check_method
19234 # Command to use when deplibs_check_method == file_magic.
19235 file_magic_cmd=$lt_file_magic_cmd
19237 # Flag that allows shared libraries with undefined symbols to be built.
19238 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
19240 # Flag that forces no undefined symbols.
19241 no_undefined_flag=$lt_no_undefined_flag_GCJ
19243 # Commands used to finish a libtool library installation in a directory.
19244 finish_cmds=$lt_finish_cmds
19246 # Same as above, but a single script fragment to be evaled but not shown.
19247 finish_eval=$lt_finish_eval
19249 # Take the output of nm and produce a listing of raw symbols and C names.
19250 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19252 # Transform the output of nm in a proper C declaration
19253 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19255 # Transform the output of nm in a C name address pair
19256 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19258 # This is the shared library runtime path variable.
19259 runpath_var=$runpath_var
19261 # This is the shared library path variable.
19262 shlibpath_var=$shlibpath_var
19264 # Is shlibpath searched before the hard-coded library search path?
19265 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19267 # How to hardcode a shared library path into an executable.
19268 hardcode_action=$hardcode_action_GCJ
19270 # Whether we should hardcode library paths into libraries.
19271 hardcode_into_libs=$hardcode_into_libs
19273 # Flag to hardcode \$libdir into a binary during linking.
19274 # This must work even if \$libdir does not exist.
19275 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19277 # If ld is used when linking, flag to hardcode \$libdir into
19278 # a binary during linking. This must work even if \$libdir does
19280 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19282 # Whether we need a single -rpath flag with a separated argument.
19283 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19285 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19286 # resulting binary.
19287 hardcode_direct=$hardcode_direct_GCJ
19289 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19290 # resulting binary.
19291 hardcode_minus_L=$hardcode_minus_L_GCJ
19293 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19294 # the resulting binary.
19295 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19297 # Set to yes if building a shared library automatically hardcodes DIR into the library
19298 # and all subsequent libraries and executables linked against it.
19299 hardcode_automatic=$hardcode_automatic_GCJ
19301 # Variables whose values should be saved in libtool wrapper scripts and
19302 # restored at relink time.
19303 variables_saved_for_relink="$variables_saved_for_relink"
19305 # Whether libtool must link a program against all its dependency libraries.
19306 link_all_deplibs=$link_all_deplibs_GCJ
19308 # Compile-time system search path for libraries
19309 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19311 # Run-time system search path for libraries
19312 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19314 # Fix the shell variable \$srcfile for the compiler.
19315 fix_srcfile_path=$lt_fix_srcfile_path
19317 # Set to yes if exported symbols are required.
19318 always_export_symbols=$always_export_symbols_GCJ
19320 # The commands to list exported symbols.
19321 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19323 # The commands to extract the exported symbol list from a shared archive.
19324 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19326 # Symbols that should not be listed in the preloaded symbols.
19327 exclude_expsyms=$lt_exclude_expsyms_GCJ
19329 # Symbols that must always be exported.
19330 include_expsyms=$lt_include_expsyms_GCJ
19332 # ### END LIBTOOL TAG CONFIG: $tagname
19338 # If there is no Makefile yet, we rely on a make rule to execute
19339 # `config.status --recheck' to rerun these tests and create the
19340 # libtool script then.
19341 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19342 if test -f "$ltmain_in"; then
19343 test -f Makefile
&& make "$ltmain"
19349 ac_cpp
='$CPP $CPPFLAGS'
19350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19364 # Source file extension for RC test sources.
19367 # Object file extension for compiled RC test sources.
19371 # Code to be used in simple compile tests
19372 lt_simple_compile_test_code
='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19374 # Code to be used in simple link tests
19375 lt_simple_link_test_code
="$lt_simple_compile_test_code"
19377 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
19379 # If no C compiler was specified, use CC.
19382 # If no C compiler flags were specified, use CFLAGS.
19383 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
19385 # Allow CC to be a program name with arguments.
19389 # save warnings/boilerplate of simple test code
19390 ac_outfile
=conftest.
$ac_objext
19391 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
19392 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19393 _lt_compiler_boilerplate
=`cat conftest.err`
19396 ac_outfile
=conftest.
$ac_objext
19397 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
19398 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
19399 _lt_linker_boilerplate
=`cat conftest.err`
19403 # Allow CC to be a program name with arguments.
19408 for cc_temp
in $compiler""; do
19410 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
19411 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
19416 cc_basename
=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19418 lt_cv_prog_compiler_c_o_RC
=yes
19420 # The else clause should only fire when bootstrapping the
19421 # libtool distribution, otherwise you forgot to ship ltmain.sh
19422 # with your package, and you will get complaints that there are
19423 # no rules to generate ltmain.sh.
19424 if test -f "$ltmain"; then
19425 # See if we are running on zsh, and set the options which allow our commands through
19426 # without removal of \ escapes.
19427 if test -n "${ZSH_VERSION+set}" ; then
19428 setopt NO_GLOB_SUBST
19430 # Now quote all the things that may contain metacharacters while being
19431 # careful not to overquote the AC_SUBSTed values. We take copies of the
19432 # variables and quote the copies for generation of the libtool script.
19433 for var
in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19435 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19436 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19437 deplibs_check_method reload_flag reload_cmds need_locks \
19438 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19439 lt_cv_sys_global_symbol_to_c_name_address \
19440 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19441 old_postinstall_cmds old_postuninstall_cmds \
19445 lt_prog_compiler_wl_RC \
19446 lt_prog_compiler_pic_RC \
19447 lt_prog_compiler_static_RC \
19448 lt_prog_compiler_no_builtin_flag_RC \
19449 export_dynamic_flag_spec_RC \
19450 thread_safe_flag_spec_RC \
19451 whole_archive_flag_spec_RC \
19452 enable_shared_with_static_runtimes_RC \
19453 old_archive_cmds_RC \
19454 old_archive_from_new_cmds_RC \
19455 predep_objects_RC \
19456 postdep_objects_RC \
19459 compiler_lib_search_path_RC \
19461 archive_expsym_cmds_RC \
19462 postinstall_cmds_RC \
19463 postuninstall_cmds_RC \
19464 old_archive_from_expsyms_cmds_RC \
19465 allow_undefined_flag_RC \
19466 no_undefined_flag_RC \
19467 export_symbols_cmds_RC \
19468 hardcode_libdir_flag_spec_RC \
19469 hardcode_libdir_flag_spec_ld_RC \
19470 hardcode_libdir_separator_RC \
19471 hardcode_automatic_RC \
19473 module_expsym_cmds_RC \
19474 lt_cv_prog_compiler_c_o_RC \
19475 fix_srcfile_path_RC \
19476 exclude_expsyms_RC \
19477 include_expsyms_RC
; do
19480 old_archive_cmds_RC | \
19481 old_archive_from_new_cmds_RC | \
19482 archive_cmds_RC | \
19483 archive_expsym_cmds_RC | \
19485 module_expsym_cmds_RC | \
19486 old_archive_from_expsyms_cmds_RC | \
19487 export_symbols_cmds_RC | \
19488 extract_expsyms_cmds | reload_cmds | finish_cmds | \
19489 postinstall_cmds | postuninstall_cmds | \
19490 old_postinstall_cmds | old_postuninstall_cmds | \
19491 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec
)
19492 # Double-quote double-evaled strings.
19493 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19496 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19502 *'\$0 --fallback-echo"')
19503 lt_echo
=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19509 cat <<__EOF__ >> "$cfgfile"
19510 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
19512 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19514 # Shell to use when invoking shell scripts.
19517 # Whether or not to build shared libraries.
19518 build_libtool_libs=$enable_shared
19520 # Whether or not to build static libraries.
19521 build_old_libs=$enable_static
19523 # Whether or not to add -lc for building shared libraries.
19524 build_libtool_need_lc=$archive_cmds_need_lc_RC
19526 # Whether or not to disallow shared libs when runtime libs are static
19527 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19529 # Whether or not to optimize for fast installation.
19530 fast_install=$enable_fast_install
19533 host_alias=$host_alias
19537 # The build system.
19538 build_alias=$build_alias
19542 # An echo program that does not interpret backslashes.
19547 AR_FLAGS=$lt_AR_FLAGS
19552 # LTCC compiler flags.
19553 LTCFLAGS=$lt_LTCFLAGS
19555 # A language-specific compiler.
19558 # Is the compiler the GNU C compiler?
19564 # The linker used to build libraries.
19567 # Whether we need hard or soft links.
19570 # A BSD-compatible nm program.
19573 # A symbol stripping program
19576 # Used to examine libraries when file_magic_cmd begins "file"
19577 MAGIC_CMD=$MAGIC_CMD
19579 # Used on cygwin: DLL creation program.
19582 # Used on cygwin: object dumper.
19585 # Used on cygwin: assembler.
19588 # The name of the directory that contains temporary libtool files.
19591 # How to create reloadable object files.
19592 reload_flag=$lt_reload_flag
19593 reload_cmds=$lt_reload_cmds
19595 # How to pass a linker flag through the compiler.
19596 wl=$lt_lt_prog_compiler_wl_RC
19598 # Object file suffix (normally "o").
19599 objext="$ac_objext"
19601 # Old archive suffix (normally "a").
19604 # Shared library suffix (normally ".so").
19605 shrext_cmds='$shrext_cmds'
19607 # Executable file suffix (normally "").
19610 # Additional compiler flags for building library objects.
19611 pic_flag=$lt_lt_prog_compiler_pic_RC
19614 # What is the maximum length of a command?
19615 max_cmd_len=$lt_cv_sys_max_cmd_len
19617 # Does compiler simultaneously support -c and -o options?
19618 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19620 # Must we lock files when doing compilation?
19621 need_locks=$lt_need_locks
19623 # Do we need the lib prefix for modules?
19624 need_lib_prefix=$need_lib_prefix
19626 # Do we need a version for libraries?
19627 need_version=$need_version
19629 # Whether dlopen is supported.
19630 dlopen_support=$enable_dlopen
19632 # Whether dlopen of programs is supported.
19633 dlopen_self=$enable_dlopen_self
19635 # Whether dlopen of statically linked programs is supported.
19636 dlopen_self_static=$enable_dlopen_self_static
19638 # Compiler flag to prevent dynamic linking.
19639 link_static_flag=$lt_lt_prog_compiler_static_RC
19641 # Compiler flag to turn off builtin functions.
19642 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19644 # Compiler flag to allow reflexive dlopens.
19645 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19647 # Compiler flag to generate shared objects directly from archives.
19648 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19650 # Compiler flag to generate thread-safe objects.
19651 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19653 # Library versioning type.
19654 version_type=$version_type
19656 # Format of library name prefix.
19657 libname_spec=$lt_libname_spec
19659 # List of archive names. First name is the real one, the rest are links.
19660 # The last name is the one that the linker finds with -lNAME.
19661 library_names_spec=$lt_library_names_spec
19663 # The coded name of the library, if different from the real name.
19664 soname_spec=$lt_soname_spec
19666 # Commands used to build and install an old-style archive.
19668 old_archive_cmds=$lt_old_archive_cmds_RC
19669 old_postinstall_cmds=$lt_old_postinstall_cmds
19670 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19672 # Create an old-style archive from a shared archive.
19673 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19675 # Create a temporary old-style archive to link instead of a shared archive.
19676 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19678 # Commands used to build and install a shared archive.
19679 archive_cmds=$lt_archive_cmds_RC
19680 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19681 postinstall_cmds=$lt_postinstall_cmds
19682 postuninstall_cmds=$lt_postuninstall_cmds
19684 # Commands used to build a loadable module (assumed same as above if empty)
19685 module_cmds=$lt_module_cmds_RC
19686 module_expsym_cmds=$lt_module_expsym_cmds_RC
19688 # Commands to strip libraries.
19689 old_striplib=$lt_old_striplib
19690 striplib=$lt_striplib
19692 # Dependencies to place before the objects being linked to create a
19694 predep_objects=$lt_predep_objects_RC
19696 # Dependencies to place after the objects being linked to create a
19698 postdep_objects=$lt_postdep_objects_RC
19700 # Dependencies to place before the objects being linked to create a
19702 predeps=$lt_predeps_RC
19704 # Dependencies to place after the objects being linked to create a
19706 postdeps=$lt_postdeps_RC
19708 # The library search path used internally by the compiler when linking
19709 # a shared library.
19710 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19712 # Method to check whether dependent libraries are shared objects.
19713 deplibs_check_method=$lt_deplibs_check_method
19715 # Command to use when deplibs_check_method == file_magic.
19716 file_magic_cmd=$lt_file_magic_cmd
19718 # Flag that allows shared libraries with undefined symbols to be built.
19719 allow_undefined_flag=$lt_allow_undefined_flag_RC
19721 # Flag that forces no undefined symbols.
19722 no_undefined_flag=$lt_no_undefined_flag_RC
19724 # Commands used to finish a libtool library installation in a directory.
19725 finish_cmds=$lt_finish_cmds
19727 # Same as above, but a single script fragment to be evaled but not shown.
19728 finish_eval=$lt_finish_eval
19730 # Take the output of nm and produce a listing of raw symbols and C names.
19731 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19733 # Transform the output of nm in a proper C declaration
19734 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19736 # Transform the output of nm in a C name address pair
19737 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19739 # This is the shared library runtime path variable.
19740 runpath_var=$runpath_var
19742 # This is the shared library path variable.
19743 shlibpath_var=$shlibpath_var
19745 # Is shlibpath searched before the hard-coded library search path?
19746 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19748 # How to hardcode a shared library path into an executable.
19749 hardcode_action=$hardcode_action_RC
19751 # Whether we should hardcode library paths into libraries.
19752 hardcode_into_libs=$hardcode_into_libs
19754 # Flag to hardcode \$libdir into a binary during linking.
19755 # This must work even if \$libdir does not exist.
19756 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19758 # If ld is used when linking, flag to hardcode \$libdir into
19759 # a binary during linking. This must work even if \$libdir does
19761 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19763 # Whether we need a single -rpath flag with a separated argument.
19764 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19766 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19767 # resulting binary.
19768 hardcode_direct=$hardcode_direct_RC
19770 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19771 # resulting binary.
19772 hardcode_minus_L=$hardcode_minus_L_RC
19774 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19775 # the resulting binary.
19776 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19778 # Set to yes if building a shared library automatically hardcodes DIR into the library
19779 # and all subsequent libraries and executables linked against it.
19780 hardcode_automatic=$hardcode_automatic_RC
19782 # Variables whose values should be saved in libtool wrapper scripts and
19783 # restored at relink time.
19784 variables_saved_for_relink="$variables_saved_for_relink"
19786 # Whether libtool must link a program against all its dependency libraries.
19787 link_all_deplibs=$link_all_deplibs_RC
19789 # Compile-time system search path for libraries
19790 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19792 # Run-time system search path for libraries
19793 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19795 # Fix the shell variable \$srcfile for the compiler.
19796 fix_srcfile_path=$lt_fix_srcfile_path
19798 # Set to yes if exported symbols are required.
19799 always_export_symbols=$always_export_symbols_RC
19801 # The commands to list exported symbols.
19802 export_symbols_cmds=$lt_export_symbols_cmds_RC
19804 # The commands to extract the exported symbol list from a shared archive.
19805 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19807 # Symbols that should not be listed in the preloaded symbols.
19808 exclude_expsyms=$lt_exclude_expsyms_RC
19810 # Symbols that must always be exported.
19811 include_expsyms=$lt_include_expsyms_RC
19813 # ### END LIBTOOL TAG CONFIG: $tagname
19819 # If there is no Makefile yet, we rely on a make rule to execute
19820 # `config.status --recheck' to rerun these tests and create the
19821 # libtool script then.
19822 ltmain_in
=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19823 if test -f "$ltmain_in"; then
19824 test -f Makefile
&& make "$ltmain"
19830 ac_cpp
='$CPP $CPPFLAGS'
19831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19840 { { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19841 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19842 { (exit 1); exit 1; }; }
19846 # Append the new tag name to the list of available tags.
19847 if test -n "$tagname" ; then
19848 available_tags
="$available_tags $tagname"
19854 # Now substitute the updated list of available tags.
19855 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19856 mv "${ofile}T" "$ofile"
19860 { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19861 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19862 { (exit 1); exit 1; }; }
19868 # This can be used to rebuild libtool when needed
19869 LIBTOOL_DEPS
="$ac_aux_dir/ltmain.sh"
19871 # Always use our own libtool.
19872 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
19874 # Prevent multiple expansion
19896 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19897 $as_echo_n "checking for ANSI C header files... " >&6; }
19898 if test "${ac_cv_header_stdc+set}" = set; then
19899 $as_echo_n "(cached) " >&6
19901 cat >conftest.
$ac_ext <<_ACEOF
19904 cat confdefs.h
>>conftest.
$ac_ext
19905 cat >>conftest.
$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 #include <stdlib.h>
19908 #include <stdarg.h>
19909 #include <string.h>
19920 rm -f conftest.
$ac_objext
19921 if { (ac_try
="$ac_compile"
19922 case "(($ac_try" in
19923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19924 *) ac_try_echo=$ac_try;;
19926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
19927 $as_echo "$ac_try_echo") >&5
19928 (eval "$ac_compile") 2>conftest.er1
19930 grep -v '^ *+' conftest.er1 >conftest.err
19932 cat conftest.err >&5
19933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); } && {
19935 test -z "$ac_c_werror_flag" ||
19936 test ! -s conftest.err
19937 } && test -s conftest.$ac_objext; then
19938 ac_cv_header_stdc=yes
19940 $as_echo "$as_me: failed program was:" >&5
19941 sed 's/^/| /' conftest.$ac_ext >&5
19943 ac_cv_header_stdc=no
19946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19948 if test $ac_cv_header_stdc = yes; then
19949 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19950 cat >conftest.$ac_ext <<_ACEOF
19953 cat confdefs.h >>conftest.$ac_ext
19954 cat >>conftest.$ac_ext <<_ACEOF
19955 /* end confdefs.h. */
19956 #include <string.h>
19959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19960 $EGREP "memchr" >/dev/null 2>&1; then
19963 ac_cv_header_stdc=no
19969 if test $ac_cv_header_stdc = yes; then
19970 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19971 cat >conftest.$ac_ext <<_ACEOF
19974 cat confdefs.h >>conftest.$ac_ext
19975 cat >>conftest.$ac_ext <<_ACEOF
19976 /* end confdefs.h. */
19977 #include <stdlib.h>
19980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19981 $EGREP "free" >/dev/null 2>&1; then
19984 ac_cv_header_stdc=no
19990 if test $ac_cv_header_stdc = yes; then
19991 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19992 if test "$cross_compiling" = yes; then
19995 cat >conftest.$ac_ext <<_ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20002 #include <stdlib.h>
20003 #if ((' ' & 0x0FF) == 0x020)
20004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20005 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20007 # define ISLOWER(c) \
20008 (('a' <= (c) && (c) <= 'i') \
20009 || ('j' <= (c) && (c) <= 'r') \
20010 || ('s' <= (c) && (c) <= 'z'))
20011 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20014 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20019 for (i = 0; i < 256; i++)
20020 if (XOR (islower (i), ISLOWER (i))
20021 || toupper (i) != TOUPPER (i))
20026 rm -f conftest$ac_exeext
20027 if { (ac_try="$ac_link"
20028 case "(($ac_try" in
20029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20030 *) ac_try_echo
=$ac_try;;
20032 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20033 $as_echo "$ac_try_echo") >&5
20034 (eval "$ac_link") 2>&5
20036 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20038 { (case "(($ac_try" in
20039 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20040 *) ac_try_echo=$ac_try;;
20042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20043 $as_echo "$ac_try_echo") >&5
20044 (eval "$ac_try") 2>&5
20046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); }; }; then
20050 $as_echo "$as_me: program exited with status $ac_status" >&5
20051 $as_echo "$as_me: failed program was:" >&5
20052 sed 's/^/| /' conftest.$ac_ext >&5
20054 ( exit $ac_status )
20055 ac_cv_header_stdc=no
20057 rm -rf conftest.dSYM
20058 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20064 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20065 $as_echo "$ac_cv_header_stdc" >&6; }
20066 if test $ac_cv_header_stdc = yes; then
20068 cat >>confdefs.h <<\_ACEOF
20069 #define STDC_HEADERS 1
20078 for ac_header in sys/types.h sys/param.h sys/stat.h sys/time.h
20080 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20081 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20082 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20083 $as_echo_n "checking for $ac_header... " >&6; }
20084 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20085 $as_echo_n "(cached) " >&6
20087 ac_res=`eval 'as_val=${'$as_ac_Header'}
20088 $as_echo "$as_val"'`
20089 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20090 $as_echo "$ac_res" >&6; }
20092 # Is the header compilable?
20093 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20094 $as_echo_n "checking $ac_header usability... " >&6; }
20095 cat >conftest.$ac_ext <<_ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101 $ac_includes_default
20102 #include <$ac_header>
20104 rm -f conftest.$ac_objext
20105 if { (ac_try="$ac_compile"
20106 case "(($ac_try" in
20107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20108 *) ac_try_echo
=$ac_try;;
20110 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20111 $as_echo "$ac_try_echo") >&5
20112 (eval "$ac_compile") 2>conftest.er1
20114 grep -v '^ *+' conftest.er1
>conftest.err
20116 cat conftest.err
>&5
20117 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } && {
20119 test -z "$ac_c_werror_flag" ||
20120 test ! -s conftest.err
20121 } && test -s conftest.
$ac_objext; then
20122 ac_header_compiler
=yes
20124 $as_echo "$as_me: failed program was:" >&5
20125 sed 's/^/| /' conftest.
$ac_ext >&5
20127 ac_header_compiler
=no
20130 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20131 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20132 $as_echo "$ac_header_compiler" >&6; }
20134 # Is the header present?
20135 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20136 $as_echo_n "checking $ac_header presence... " >&6; }
20137 cat >conftest.
$ac_ext <<_ACEOF
20140 cat confdefs.h
>>conftest.
$ac_ext
20141 cat >>conftest.
$ac_ext <<_ACEOF
20142 /* end confdefs.h. */
20143 #include <$ac_header>
20145 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20146 case "(($ac_try" in
20147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20148 *) ac_try_echo=$ac_try;;
20150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20151 $as_echo "$ac_try_echo") >&5
20152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20154 grep -v '^ *+' conftest.er1 >conftest.err
20156 cat conftest.err >&5
20157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); } >/dev/null && {
20159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20160 test ! -s conftest.err
20162 ac_header_preproc=yes
20164 $as_echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20167 ac_header_preproc=no
20170 rm -f conftest.err conftest.$ac_ext
20171 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20172 $as_echo "$ac_header_preproc" >&6; }
20174 # So? What about this header?
20175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20177 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20178 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20180 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20181 ac_header_preproc=yes
20184 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20185 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20186 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20187 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20188 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20189 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20190 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20191 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20192 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20193 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20194 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20195 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20197 ## ----------------------------------------------- ##
20198 ## Report this to Alistair Crooks <agc@NetBSD.org> ##
20199 ## ----------------------------------------------- ##
20201 ) | sed "s/^/$as_me: WARNING: /" >&2
20204 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20205 $as_echo_n "checking for $ac_header... " >&6; }
20206 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20207 $as_echo_n "(cached) " >&6
20209 eval "$as_ac_Header=\$ac_header_preproc"
20211 ac_res=`eval 'as_val=${'$as_ac_Header'}
20212 $as_echo "$as_val"'`
20213 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20214 $as_echo "$ac_res" >&6; }
20217 as_val=`eval 'as_val=${'$as_ac_Header'}
20218 $as_echo "$as_val"'`
20219 if test "x$as_val" = x""yes; then
20220 cat >>confdefs.h <<_ACEOF
20221 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20233 for ac_header in sys/mman.h sys/uio.h sys/socket.h sys/time.h sys/vfs.h
20235 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20236 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20237 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20238 $as_echo_n "checking for $ac_header... " >&6; }
20239 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20240 $as_echo_n "(cached) " >&6
20242 ac_res=`eval 'as_val=${'$as_ac_Header'}
20243 $as_echo "$as_val"'`
20244 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20245 $as_echo "$ac_res" >&6; }
20247 # Is the header compilable?
20248 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20249 $as_echo_n "checking $ac_header usability... " >&6; }
20250 cat >conftest.$ac_ext <<_ACEOF
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20256 $ac_includes_default
20257 #include <$ac_header>
20259 rm -f conftest.$ac_objext
20260 if { (ac_try="$ac_compile"
20261 case "(($ac_try" in
20262 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20263 *) ac_try_echo
=$ac_try;;
20265 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20266 $as_echo "$ac_try_echo") >&5
20267 (eval "$ac_compile") 2>conftest.er1
20269 grep -v '^ *+' conftest.er1
>conftest.err
20271 cat conftest.err
>&5
20272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } && {
20274 test -z "$ac_c_werror_flag" ||
20275 test ! -s conftest.err
20276 } && test -s conftest.
$ac_objext; then
20277 ac_header_compiler
=yes
20279 $as_echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.
$ac_ext >&5
20282 ac_header_compiler
=no
20285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20286 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20287 $as_echo "$ac_header_compiler" >&6; }
20289 # Is the header present?
20290 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20291 $as_echo_n "checking $ac_header presence... " >&6; }
20292 cat >conftest.
$ac_ext <<_ACEOF
20295 cat confdefs.h
>>conftest.
$ac_ext
20296 cat >>conftest.
$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20298 #include <$ac_header>
20300 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20301 case "(($ac_try" in
20302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20303 *) ac_try_echo=$ac_try;;
20305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20306 $as_echo "$ac_try_echo") >&5
20307 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20309 grep -v '^ *+' conftest.er1 >conftest.err
20311 cat conftest.err >&5
20312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } >/dev/null && {
20314 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20315 test ! -s conftest.err
20317 ac_header_preproc=yes
20319 $as_echo "$as_me: failed program was:" >&5
20320 sed 's/^/| /' conftest.$ac_ext >&5
20322 ac_header_preproc=no
20325 rm -f conftest.err conftest.$ac_ext
20326 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20327 $as_echo "$ac_header_preproc" >&6; }
20329 # So? What about this header?
20330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20332 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20333 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20334 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20335 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20336 ac_header_preproc=yes
20339 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20340 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20342 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20344 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20345 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20346 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20347 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20348 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20349 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20350 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20352 ## ----------------------------------------------- ##
20353 ## Report this to Alistair Crooks <agc@NetBSD.org> ##
20354 ## ----------------------------------------------- ##
20356 ) | sed "s/^/$as_me: WARNING: /" >&2
20359 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20360 $as_echo_n "checking for $ac_header... " >&6; }
20361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20362 $as_echo_n "(cached) " >&6
20364 eval "$as_ac_Header=\$ac_header_preproc"
20366 ac_res=`eval 'as_val=${'$as_ac_Header'}
20367 $as_echo "$as_val"'`
20368 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20369 $as_echo "$ac_res" >&6; }
20372 as_val=`eval 'as_val=${'$as_ac_Header'}
20373 $as_echo "$as_val"'`
20374 if test "x$as_val" = x""yes; then
20375 cat >>confdefs.h <<_ACEOF
20376 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20388 for ac_header in arpa/inet.h netinet/in.h netinet/tcp.h netdb.h poll.h
20390 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20392 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20393 $as_echo_n "checking for $ac_header... " >&6; }
20394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20395 $as_echo_n "(cached) " >&6
20397 ac_res=`eval 'as_val=${'$as_ac_Header'}
20398 $as_echo "$as_val"'`
20399 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20400 $as_echo "$ac_res" >&6; }
20402 # Is the header compilable?
20403 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20404 $as_echo_n "checking $ac_header usability... " >&6; }
20405 cat >conftest.$ac_ext <<_ACEOF
20408 cat confdefs.h >>conftest.$ac_ext
20409 cat >>conftest.$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20411 $ac_includes_default
20412 #include <$ac_header>
20414 rm -f conftest.$ac_objext
20415 if { (ac_try="$ac_compile"
20416 case "(($ac_try" in
20417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20418 *) ac_try_echo
=$ac_try;;
20420 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20421 $as_echo "$ac_try_echo") >&5
20422 (eval "$ac_compile") 2>conftest.er1
20424 grep -v '^ *+' conftest.er1
>conftest.err
20426 cat conftest.err
>&5
20427 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } && {
20429 test -z "$ac_c_werror_flag" ||
20430 test ! -s conftest.err
20431 } && test -s conftest.
$ac_objext; then
20432 ac_header_compiler
=yes
20434 $as_echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.
$ac_ext >&5
20437 ac_header_compiler
=no
20440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20441 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20442 $as_echo "$ac_header_compiler" >&6; }
20444 # Is the header present?
20445 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20446 $as_echo_n "checking $ac_header presence... " >&6; }
20447 cat >conftest.
$ac_ext <<_ACEOF
20450 cat confdefs.h
>>conftest.
$ac_ext
20451 cat >>conftest.
$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 #include <$ac_header>
20455 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20456 case "(($ac_try" in
20457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20458 *) ac_try_echo=$ac_try;;
20460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20461 $as_echo "$ac_try_echo") >&5
20462 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20464 grep -v '^ *+' conftest.er1 >conftest.err
20466 cat conftest.err >&5
20467 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468 (exit $ac_status); } >/dev/null && {
20469 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20470 test ! -s conftest.err
20472 ac_header_preproc=yes
20474 $as_echo "$as_me: failed program was:" >&5
20475 sed 's/^/| /' conftest.$ac_ext >&5
20477 ac_header_preproc=no
20480 rm -f conftest.err conftest.$ac_ext
20481 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20482 $as_echo "$ac_header_preproc" >&6; }
20484 # So? What about this header?
20485 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20488 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20490 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20491 ac_header_preproc=yes
20494 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20495 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20496 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20497 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20498 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20499 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20500 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20501 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20502 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20503 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20504 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20505 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20507 ## ----------------------------------------------- ##
20508 ## Report this to Alistair Crooks <agc@NetBSD.org> ##
20509 ## ----------------------------------------------- ##
20511 ) | sed "s/^/$as_me: WARNING: /" >&2
20514 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20515 $as_echo_n "checking for $ac_header... " >&6; }
20516 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20517 $as_echo_n "(cached) " >&6
20519 eval "$as_ac_Header=\$ac_header_preproc"
20521 ac_res=`eval 'as_val=${'$as_ac_Header'}
20522 $as_echo "$as_val"'`
20523 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20524 $as_echo "$ac_res" >&6; }
20527 as_val=`eval 'as_val=${'$as_ac_Header'}
20528 $as_echo "$as_val"'`
20529 if test "x$as_val" = x""yes; then
20530 cat >>confdefs.h <<_ACEOF
20531 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20542 for ac_header in asm/byteorder.h sys/bswap.h sys/byteorder.h sys/select.h
20544 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20546 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20547 $as_echo_n "checking for $ac_header... " >&6; }
20548 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20549 $as_echo_n "(cached) " >&6
20551 ac_res=`eval 'as_val=${'$as_ac_Header'}
20552 $as_echo "$as_val"'`
20553 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20554 $as_echo "$ac_res" >&6; }
20556 # Is the header compilable?
20557 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20558 $as_echo_n "checking $ac_header usability... " >&6; }
20559 cat >conftest.$ac_ext <<_ACEOF
20562 cat confdefs.h >>conftest.$ac_ext
20563 cat >>conftest.$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20565 $ac_includes_default
20566 #include <$ac_header>
20568 rm -f conftest.$ac_objext
20569 if { (ac_try="$ac_compile"
20570 case "(($ac_try" in
20571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20572 *) ac_try_echo
=$ac_try;;
20574 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20575 $as_echo "$ac_try_echo") >&5
20576 (eval "$ac_compile") 2>conftest.er1
20578 grep -v '^ *+' conftest.er1
>conftest.err
20580 cat conftest.err
>&5
20581 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); } && {
20583 test -z "$ac_c_werror_flag" ||
20584 test ! -s conftest.err
20585 } && test -s conftest.
$ac_objext; then
20586 ac_header_compiler
=yes
20588 $as_echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.
$ac_ext >&5
20591 ac_header_compiler
=no
20594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20595 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20596 $as_echo "$ac_header_compiler" >&6; }
20598 # Is the header present?
20599 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20600 $as_echo_n "checking $ac_header presence... " >&6; }
20601 cat >conftest.
$ac_ext <<_ACEOF
20604 cat confdefs.h
>>conftest.
$ac_ext
20605 cat >>conftest.
$ac_ext <<_ACEOF
20606 /* end confdefs.h. */
20607 #include <$ac_header>
20609 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20610 case "(($ac_try" in
20611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20612 *) ac_try_echo=$ac_try;;
20614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20615 $as_echo "$ac_try_echo") >&5
20616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20618 grep -v '^ *+' conftest.er1 >conftest.err
20620 cat conftest.err >&5
20621 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); } >/dev/null && {
20623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20624 test ! -s conftest.err
20626 ac_header_preproc=yes
20628 $as_echo "$as_me: failed program was:" >&5
20629 sed 's/^/| /' conftest.$ac_ext >&5
20631 ac_header_preproc=no
20634 rm -f conftest.err conftest.$ac_ext
20635 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20636 $as_echo "$ac_header_preproc" >&6; }
20638 # So? What about this header?
20639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20641 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20642 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20643 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20644 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20645 ac_header_preproc=yes
20648 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20649 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20650 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20651 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20652 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20653 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20654 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20655 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20656 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20657 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20658 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20659 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20661 ## ----------------------------------------------- ##
20662 ## Report this to Alistair Crooks <agc@NetBSD.org> ##
20663 ## ----------------------------------------------- ##
20665 ) | sed "s/^/$as_me: WARNING: /" >&2
20668 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20669 $as_echo_n "checking for $ac_header... " >&6; }
20670 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20671 $as_echo_n "(cached) " >&6
20673 eval "$as_ac_Header=\$ac_header_preproc"
20675 ac_res=`eval 'as_val=${'$as_ac_Header'}
20676 $as_echo "$as_val"'`
20677 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20678 $as_echo "$ac_res" >&6; }
20681 as_val=`eval 'as_val=${'$as_ac_Header'}
20682 $as_echo "$as_val"'`
20683 if test "x$as_val" = x""yes; then
20684 cat >>confdefs.h <<_ACEOF
20685 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20695 for ac_header in libkern/OSByteOrder.h byteswap.h machine/endian.h
20697 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20699 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20700 $as_echo_n "checking for $ac_header... " >&6; }
20701 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20702 $as_echo_n "(cached) " >&6
20704 ac_res=`eval 'as_val=${'$as_ac_Header'}
20705 $as_echo "$as_val"'`
20706 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20707 $as_echo "$ac_res" >&6; }
20709 # Is the header compilable?
20710 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20711 $as_echo_n "checking $ac_header usability... " >&6; }
20712 cat >conftest.$ac_ext <<_ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718 $ac_includes_default
20719 #include <$ac_header>
20721 rm -f conftest.$ac_objext
20722 if { (ac_try="$ac_compile"
20723 case "(($ac_try" in
20724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20725 *) ac_try_echo
=$ac_try;;
20727 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20728 $as_echo "$ac_try_echo") >&5
20729 (eval "$ac_compile") 2>conftest.er1
20731 grep -v '^ *+' conftest.er1
>conftest.err
20733 cat conftest.err
>&5
20734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); } && {
20736 test -z "$ac_c_werror_flag" ||
20737 test ! -s conftest.err
20738 } && test -s conftest.
$ac_objext; then
20739 ac_header_compiler
=yes
20741 $as_echo "$as_me: failed program was:" >&5
20742 sed 's/^/| /' conftest.
$ac_ext >&5
20744 ac_header_compiler
=no
20747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20748 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20749 $as_echo "$ac_header_compiler" >&6; }
20751 # Is the header present?
20752 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20753 $as_echo_n "checking $ac_header presence... " >&6; }
20754 cat >conftest.
$ac_ext <<_ACEOF
20757 cat confdefs.h
>>conftest.
$ac_ext
20758 cat >>conftest.
$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 #include <$ac_header>
20762 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20763 case "(($ac_try" in
20764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20765 *) ac_try_echo=$ac_try;;
20767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20768 $as_echo "$ac_try_echo") >&5
20769 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20771 grep -v '^ *+' conftest.er1 >conftest.err
20773 cat conftest.err >&5
20774 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); } >/dev/null && {
20776 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20777 test ! -s conftest.err
20779 ac_header_preproc=yes
20781 $as_echo "$as_me: failed program was:" >&5
20782 sed 's/^/| /' conftest.$ac_ext >&5
20784 ac_header_preproc=no
20787 rm -f conftest.err conftest.$ac_ext
20788 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20789 $as_echo "$ac_header_preproc" >&6; }
20791 # So? What about this header?
20792 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20794 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20795 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20796 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20797 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20798 ac_header_preproc=yes
20801 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20802 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20803 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20804 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20805 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20806 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20807 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20808 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20809 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20810 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20811 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20812 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20814 ## ----------------------------------------------- ##
20815 ## Report this to Alistair Crooks <agc@NetBSD.org> ##
20816 ## ----------------------------------------------- ##
20818 ) | sed "s/^/$as_me: WARNING: /" >&2
20821 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20822 $as_echo_n "checking for $ac_header... " >&6; }
20823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20824 $as_echo_n "(cached) " >&6
20826 eval "$as_ac_Header=\$ac_header_preproc"
20828 ac_res=`eval 'as_val=${'$as_ac_Header'}
20829 $as_echo "$as_val"'`
20830 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20831 $as_echo "$ac_res" >&6; }
20834 as_val=`eval 'as_val=${'$as_ac_Header'}
20835 $as_echo "$as_val"'`
20836 if test "x$as_val" = x""yes; then
20837 cat >>confdefs.h <<_ACEOF
20838 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
20852 for ac_header in ctype.h errno.h fcntl.h pthread.h pwd.h signal.h stdint.h
20854 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
20855 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20856 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20857 $as_echo_n "checking for $ac_header... " >&6; }
20858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20859 $as_echo_n "(cached) " >&6
20861 ac_res=`eval 'as_val=${'$as_ac_Header'}
20862 $as_echo "$as_val"'`
20863 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20864 $as_echo "$ac_res" >&6; }
20866 # Is the header compilable?
20867 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
20868 $as_echo_n "checking $ac_header usability... " >&6; }
20869 cat >conftest.$ac_ext <<_ACEOF
20872 cat confdefs.h >>conftest.$ac_ext
20873 cat >>conftest.$ac_ext <<_ACEOF
20874 /* end confdefs.h. */
20875 $ac_includes_default
20876 #include <$ac_header>
20878 rm -f conftest.$ac_objext
20879 if { (ac_try="$ac_compile"
20880 case "(($ac_try" in
20881 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20882 *) ac_try_echo
=$ac_try;;
20884 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
20885 $as_echo "$ac_try_echo") >&5
20886 (eval "$ac_compile") 2>conftest.er1
20888 grep -v '^ *+' conftest.er1
>conftest.err
20890 cat conftest.err
>&5
20891 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } && {
20893 test -z "$ac_c_werror_flag" ||
20894 test ! -s conftest.err
20895 } && test -s conftest.
$ac_objext; then
20896 ac_header_compiler
=yes
20898 $as_echo "$as_me: failed program was:" >&5
20899 sed 's/^/| /' conftest.
$ac_ext >&5
20901 ac_header_compiler
=no
20904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20905 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20906 $as_echo "$ac_header_compiler" >&6; }
20908 # Is the header present?
20909 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
20910 $as_echo_n "checking $ac_header presence... " >&6; }
20911 cat >conftest.
$ac_ext <<_ACEOF
20914 cat confdefs.h
>>conftest.
$ac_ext
20915 cat >>conftest.
$ac_ext <<_ACEOF
20916 /* end confdefs.h. */
20917 #include <$ac_header>
20919 if { (ac_try
="$ac_cpp conftest.$ac_ext"
20920 case "(($ac_try" in
20921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20922 *) ac_try_echo=$ac_try;;
20924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
20925 $as_echo "$ac_try_echo") >&5
20926 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20928 grep -v '^ *+' conftest.er1 >conftest.err
20930 cat conftest.err >&5
20931 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } >/dev/null && {
20933 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20934 test ! -s conftest.err
20936 ac_header_preproc=yes
20938 $as_echo "$as_me: failed program was:" >&5
20939 sed 's/^/| /' conftest.$ac_ext >&5
20941 ac_header_preproc=no
20944 rm -f conftest.err conftest.$ac_ext
20945 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20946 $as_echo "$ac_header_preproc" >&6; }
20948 # So? What about this header?
20949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20951 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20952 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20953 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20954 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20955 ac_header_preproc=yes
20958 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20959 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20960 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20961 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20962 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20963 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20964 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20965 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20967 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20968 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20969 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20971 ## ----------------------------------------------- ##
20972 ## Report this to Alistair Crooks <agc@NetBSD.org> ##
20973 ## ----------------------------------------------- ##
20975 ) | sed "s/^/$as_me: WARNING: /" >&2
20978 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
20979 $as_echo_n "checking for $ac_header... " >&6; }
20980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20981 $as_echo_n "(cached) " >&6
20983 eval "$as_ac_Header=\$ac_header_preproc"
20985 ac_res=`eval 'as_val=${'$as_ac_Header'}
20986 $as_echo "$as_val"'`
20987 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
20988 $as_echo "$ac_res" >&6; }
20991 as_val=`eval 'as_val=${'$as_ac_Header'}
20992 $as_echo "$as_val"'`
20993 if test "x$as_val" = x""yes; then
20994 cat >>confdefs.h <<_ACEOF
20995 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
21009 for ac_header in stdlib.h syslog.h unistd.h string.h stdarg.h utime.h uuid.h
21011 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
21012 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21013 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21014 $as_echo_n "checking for $ac_header... " >&6; }
21015 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21016 $as_echo_n "(cached) " >&6
21018 ac_res=`eval 'as_val=${'$as_ac_Header'}
21019 $as_echo "$as_val"'`
21020 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21021 $as_echo "$ac_res" >&6; }
21023 # Is the header compilable?
21024 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21025 $as_echo_n "checking $ac_header usability... " >&6; }
21026 cat >conftest.$ac_ext <<_ACEOF
21029 cat confdefs.h >>conftest.$ac_ext
21030 cat >>conftest.$ac_ext <<_ACEOF
21031 /* end confdefs.h. */
21032 $ac_includes_default
21033 #include <$ac_header>
21035 rm -f conftest.$ac_objext
21036 if { (ac_try="$ac_compile"
21037 case "(($ac_try" in
21038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21039 *) ac_try_echo
=$ac_try;;
21041 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21042 $as_echo "$ac_try_echo") >&5
21043 (eval "$ac_compile") 2>conftest.er1
21045 grep -v '^ *+' conftest.er1
>conftest.err
21047 cat conftest.err
>&5
21048 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); } && {
21050 test -z "$ac_c_werror_flag" ||
21051 test ! -s conftest.err
21052 } && test -s conftest.
$ac_objext; then
21053 ac_header_compiler
=yes
21055 $as_echo "$as_me: failed program was:" >&5
21056 sed 's/^/| /' conftest.
$ac_ext >&5
21058 ac_header_compiler
=no
21061 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21062 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21063 $as_echo "$ac_header_compiler" >&6; }
21065 # Is the header present?
21066 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21067 $as_echo_n "checking $ac_header presence... " >&6; }
21068 cat >conftest.
$ac_ext <<_ACEOF
21071 cat confdefs.h
>>conftest.
$ac_ext
21072 cat >>conftest.
$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 #include <$ac_header>
21076 if { (ac_try
="$ac_cpp conftest.$ac_ext"
21077 case "(($ac_try" in
21078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21079 *) ac_try_echo=$ac_try;;
21081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21082 $as_echo "$ac_try_echo") >&5
21083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21085 grep -v '^ *+' conftest.er1 >conftest.err
21087 cat conftest.err >&5
21088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } >/dev/null && {
21090 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21091 test ! -s conftest.err
21093 ac_header_preproc=yes
21095 $as_echo "$as_me: failed program was:" >&5
21096 sed 's/^/| /' conftest.$ac_ext >&5
21098 ac_header_preproc=no
21101 rm -f conftest.err conftest.$ac_ext
21102 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21103 $as_echo "$ac_header_preproc" >&6; }
21105 # So? What about this header?
21106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21109 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21111 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21112 ac_header_preproc=yes
21115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21116 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21117 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21118 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21119 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21120 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21121 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21122 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21124 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21126 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21128 ## ----------------------------------------------- ##
21129 ## Report this to Alistair Crooks <agc@NetBSD.org> ##
21130 ## ----------------------------------------------- ##
21132 ) | sed "s/^/$as_me: WARNING: /" >&2
21135 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21136 $as_echo_n "checking for $ac_header... " >&6; }
21137 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21138 $as_echo_n "(cached) " >&6
21140 eval "$as_ac_Header=\$ac_header_preproc"
21142 ac_res=`eval 'as_val=${'$as_ac_Header'}
21143 $as_echo "$as_val"'`
21144 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21145 $as_echo "$ac_res" >&6; }
21148 as_val=`eval 'as_val=${'$as_ac_Header'}
21149 $as_echo "$as_val"'`
21150 if test "x$as_val" = x""yes; then
21151 cat >>confdefs.h <<_ACEOF
21152 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
21160 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21161 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
21162 if test "${ac_cv_c_const+set}" = set; then
21163 $as_echo_n "(cached) " >&6
21165 cat >conftest.$ac_ext <<_ACEOF
21168 cat confdefs.h >>conftest.$ac_ext
21169 cat >>conftest.$ac_ext <<_ACEOF
21170 /* end confdefs.h. */
21175 /* FIXME: Include the comments suggested by Paul. */
21176 #ifndef __cplusplus
21177 /* Ultrix mips cc rejects this. */
21178 typedef int charset[2];
21180 /* SunOS 4.1.1 cc rejects this. */
21181 char const *const *pcpcc;
21183 /* NEC SVR4.0.2 mips cc rejects this. */
21184 struct point {int x, y;};
21185 static struct point const zero = {0,0};
21186 /* AIX XL C 1.02.0.0 rejects this.
21187 It does not let you subtract one const X* pointer from another in
21188 an arm of an if-expression whose if-part is not a constant
21190 const char *g = "string";
21191 pcpcc = &g + (g ? g-g : 0);
21192 /* HPUX 7.0 cc rejects these. */
21194 ppc = (char**) pcpcc;
21195 pcpcc = (char const *const *) ppc;
21196 { /* SCO 3.2v4 cc rejects this. */
21198 char const *s = 0 ? (char *) 0 : (char const *) 0;
21203 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21204 int x[] = {25, 17};
21205 const int *foo = &x[0];
21208 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21209 typedef const int *iptr;
21213 { /* AIX XL C 1.02.0.0 rejects this saying
21214 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21215 struct s { int j; const int *ap[3]; };
21216 struct s *b; b->j = 5;
21218 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21219 const int foo = 10;
21220 if (!foo) return 0;
21222 return !cs[0] && !zero.x;
21229 rm -f conftest.$ac_objext
21230 if { (ac_try="$ac_compile"
21231 case "(($ac_try" in
21232 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21233 *) ac_try_echo
=$ac_try;;
21235 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21236 $as_echo "$ac_try_echo") >&5
21237 (eval "$ac_compile") 2>conftest.er1
21239 grep -v '^ *+' conftest.er1
>conftest.err
21241 cat conftest.err
>&5
21242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); } && {
21244 test -z "$ac_c_werror_flag" ||
21245 test ! -s conftest.err
21246 } && test -s conftest.
$ac_objext; then
21249 $as_echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.
$ac_ext >&5
21255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21257 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21258 $as_echo "$ac_cv_c_const" >&6; }
21259 if test $ac_cv_c_const = no
; then
21261 cat >>confdefs.h
<<\_ACEOF
21267 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
21268 $as_echo_n "checking for size_t... " >&6; }
21269 if test "${ac_cv_type_size_t+set}" = set; then
21270 $as_echo_n "(cached) " >&6
21272 ac_cv_type_size_t
=no
21273 cat >conftest.
$ac_ext <<_ACEOF
21276 cat confdefs.h
>>conftest.
$ac_ext
21277 cat >>conftest.
$ac_ext <<_ACEOF
21278 /* end confdefs.h. */
21279 $ac_includes_default
21283 if (sizeof (size_t))
21289 rm -f conftest.
$ac_objext
21290 if { (ac_try
="$ac_compile"
21291 case "(($ac_try" in
21292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21293 *) ac_try_echo=$ac_try;;
21295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21296 $as_echo "$ac_try_echo") >&5
21297 (eval "$ac_compile") 2>conftest.er1
21299 grep -v '^ *+' conftest.er1 >conftest.err
21301 cat conftest.err >&5
21302 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } && {
21304 test -z "$ac_c_werror_flag" ||
21305 test ! -s conftest.err
21306 } && test -s conftest.$ac_objext; then
21307 cat >conftest.$ac_ext <<_ACEOF
21310 cat confdefs.h >>conftest.$ac_ext
21311 cat >>conftest.$ac_ext <<_ACEOF
21312 /* end confdefs.h. */
21313 $ac_includes_default
21317 if (sizeof ((size_t)))
21323 rm -f conftest.$ac_objext
21324 if { (ac_try="$ac_compile"
21325 case "(($ac_try" in
21326 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21327 *) ac_try_echo
=$ac_try;;
21329 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21330 $as_echo "$ac_try_echo") >&5
21331 (eval "$ac_compile") 2>conftest.er1
21333 grep -v '^ *+' conftest.er1
>conftest.err
21335 cat conftest.err
>&5
21336 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } && {
21338 test -z "$ac_c_werror_flag" ||
21339 test ! -s conftest.err
21340 } && test -s conftest.
$ac_objext; then
21343 $as_echo "$as_me: failed program was:" >&5
21344 sed 's/^/| /' conftest.
$ac_ext >&5
21346 ac_cv_type_size_t
=yes
21349 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21351 $as_echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.
$ac_ext >&5
21357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21359 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21360 $as_echo "$ac_cv_type_size_t" >&6; }
21361 if test "x$ac_cv_type_size_t" = x
""yes; then
21365 cat >>confdefs.h
<<_ACEOF
21366 #define size_t unsigned int
21371 { $as_echo "$as_me:$LINENO: checking for socklen_t" >&5
21372 $as_echo_n "checking for socklen_t... " >&6; }
21373 if test "${ac_cv_type_socklen_t+set}" = set; then
21374 $as_echo_n "(cached) " >&6
21376 ac_cv_type_socklen_t
=no
21377 cat >conftest.
$ac_ext <<_ACEOF
21380 cat confdefs.h
>>conftest.
$ac_ext
21381 cat >>conftest.
$ac_ext <<_ACEOF
21382 /* end confdefs.h. */
21384 #include <sys/socket.h>
21385 #include <arpa/inet.h>
21391 if (sizeof (socklen_t))
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
21415 cat >conftest.$ac_ext <<_ACEOF
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21422 #include <sys/socket.h>
21423 #include <arpa/inet.h>
21429 if (sizeof ((socklen_t)))
21435 rm -f conftest.$ac_objext
21436 if { (ac_try="$ac_compile"
21437 case "(($ac_try" in
21438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21439 *) ac_try_echo
=$ac_try;;
21441 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21442 $as_echo "$ac_try_echo") >&5
21443 (eval "$ac_compile") 2>conftest.er1
21445 grep -v '^ *+' conftest.er1
>conftest.err
21447 cat conftest.err
>&5
21448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21449 (exit $ac_status); } && {
21450 test -z "$ac_c_werror_flag" ||
21451 test ! -s conftest.err
21452 } && test -s conftest.
$ac_objext; then
21455 $as_echo "$as_me: failed program was:" >&5
21456 sed 's/^/| /' conftest.
$ac_ext >&5
21458 ac_cv_type_socklen_t
=yes
21461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21463 $as_echo "$as_me: failed program was:" >&5
21464 sed 's/^/| /' conftest.
$ac_ext >&5
21469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21471 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
21472 $as_echo "$ac_cv_type_socklen_t" >&6; }
21473 if test "x$ac_cv_type_socklen_t" = x
""yes; then
21475 cat >>confdefs.h
<<_ACEOF
21476 #define HAVE_SOCKLEN_T 1
21482 { $as_echo "$as_me:$LINENO: checking for long long" >&5
21483 $as_echo_n "checking for long long... " >&6; }
21484 if test "${ac_cv_type_long_long+set}" = set; then
21485 $as_echo_n "(cached) " >&6
21487 ac_cv_type_long_long
=no
21488 cat >conftest.
$ac_ext <<_ACEOF
21491 cat confdefs.h
>>conftest.
$ac_ext
21492 cat >>conftest.
$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 $ac_includes_default
21498 if (sizeof (long long))
21504 rm -f conftest.
$ac_objext
21505 if { (ac_try
="$ac_compile"
21506 case "(($ac_try" in
21507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21508 *) ac_try_echo=$ac_try;;
21510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21511 $as_echo "$ac_try_echo") >&5
21512 (eval "$ac_compile") 2>conftest.er1
21514 grep -v '^ *+' conftest.er1 >conftest.err
21516 cat conftest.err >&5
21517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21518 (exit $ac_status); } && {
21519 test -z "$ac_c_werror_flag" ||
21520 test ! -s conftest.err
21521 } && test -s conftest.$ac_objext; then
21522 cat >conftest.$ac_ext <<_ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21528 $ac_includes_default
21532 if (sizeof ((long long)))
21538 rm -f conftest.$ac_objext
21539 if { (ac_try="$ac_compile"
21540 case "(($ac_try" in
21541 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21542 *) ac_try_echo
=$ac_try;;
21544 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21545 $as_echo "$ac_try_echo") >&5
21546 (eval "$ac_compile") 2>conftest.er1
21548 grep -v '^ *+' conftest.er1
>conftest.err
21550 cat conftest.err
>&5
21551 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } && {
21553 test -z "$ac_c_werror_flag" ||
21554 test ! -s conftest.err
21555 } && test -s conftest.
$ac_objext; then
21558 $as_echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.
$ac_ext >&5
21561 ac_cv_type_long_long
=yes
21564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21566 $as_echo "$as_me: failed program was:" >&5
21567 sed 's/^/| /' conftest.
$ac_ext >&5
21572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21574 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21575 $as_echo "$ac_cv_type_long_long" >&6; }
21576 if test "x$ac_cv_type_long_long" = x
""yes; then
21578 cat >>confdefs.h
<<_ACEOF
21579 #define HAVE_LONG_LONG 1
21584 { $as_echo "$as_me:$LINENO: checking for unsigned long long" >&5
21585 $as_echo_n "checking for unsigned long long... " >&6; }
21586 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
21587 $as_echo_n "(cached) " >&6
21589 ac_cv_type_unsigned_long_long
=no
21590 cat >conftest.
$ac_ext <<_ACEOF
21593 cat confdefs.h
>>conftest.
$ac_ext
21594 cat >>conftest.
$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596 $ac_includes_default
21600 if (sizeof (unsigned long long))
21606 rm -f conftest.
$ac_objext
21607 if { (ac_try
="$ac_compile"
21608 case "(($ac_try" in
21609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21610 *) ac_try_echo=$ac_try;;
21612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21613 $as_echo "$ac_try_echo") >&5
21614 (eval "$ac_compile") 2>conftest.er1
21616 grep -v '^ *+' conftest.er1 >conftest.err
21618 cat conftest.err >&5
21619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); } && {
21621 test -z "$ac_c_werror_flag" ||
21622 test ! -s conftest.err
21623 } && test -s conftest.$ac_objext; then
21624 cat >conftest.$ac_ext <<_ACEOF
21627 cat confdefs.h >>conftest.$ac_ext
21628 cat >>conftest.$ac_ext <<_ACEOF
21629 /* end confdefs.h. */
21630 $ac_includes_default
21634 if (sizeof ((unsigned long long)))
21640 rm -f conftest.$ac_objext
21641 if { (ac_try="$ac_compile"
21642 case "(($ac_try" in
21643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21644 *) ac_try_echo
=$ac_try;;
21646 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21647 $as_echo "$ac_try_echo") >&5
21648 (eval "$ac_compile") 2>conftest.er1
21650 grep -v '^ *+' conftest.er1
>conftest.err
21652 cat conftest.err
>&5
21653 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); } && {
21655 test -z "$ac_c_werror_flag" ||
21656 test ! -s conftest.err
21657 } && test -s conftest.
$ac_objext; then
21660 $as_echo "$as_me: failed program was:" >&5
21661 sed 's/^/| /' conftest.
$ac_ext >&5
21663 ac_cv_type_unsigned_long_long
=yes
21666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21668 $as_echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.
$ac_ext >&5
21674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21676 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
21677 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
21678 if test "x$ac_cv_type_unsigned_long_long" = x
""yes; then
21680 cat >>confdefs.h
<<_ACEOF
21681 #define HAVE_UNSIGNED_LONG_LONG 1
21687 cat >>confdefs.h
<<_ACEOF
21688 #define HAVE_SOCKLEN_T $ac_cv_type_socklen_t
21691 cat >>confdefs.h
<<_ACEOF
21692 #define HAVE_LONG_LONG $ac_cv_type_long_long
21695 cat >>confdefs.h
<<_ACEOF
21696 #define HAVE_UNSIGNED_LONG_LONG $ac_cv_type_unsigned_long_long
21700 # Checks for typedefs, structures, and compiler characteristics.
21703 { $as_echo "$as_me:$LINENO: checking for unsigned long long int" >&5
21704 $as_echo_n "checking for unsigned long long int... " >&6; }
21705 if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then
21706 $as_echo_n "(cached) " >&6
21708 cat >conftest.
$ac_ext <<_ACEOF
21712 cat confdefs.h
>>conftest.
$ac_ext
21713 cat >>conftest.
$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21715 /* For now, do not test the preprocessor; as of 2007 there are too many
21716 implementations with broken preprocessors. Perhaps this can
21717 be revisited in 2012. In the meantime, code should not expect
21718 #if to work with literals wider than 32 bits. */
21719 /* Test literals. */
21720 long long int ll = 9223372036854775807ll;
21721 long long int nll = -9223372036854775807LL;
21722 unsigned long long int ull = 18446744073709551615ULL;
21723 /* Test constant expressions. */
21724 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
21726 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
21732 /* Test availability of runtime routines for shift and division. */
21733 long long int llmax = 9223372036854775807ll;
21734 unsigned long long int ullmax = 18446744073709551615ull;
21735 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
21736 | (llmax / ll) | (llmax % ll)
21737 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
21738 | (ullmax / ull) | (ullmax % ull));
21744 rm -f conftest.
$ac_objext conftest
$ac_exeext
21745 if { (ac_try
="$ac_link"
21746 case "(($ac_try" in
21747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21751 $as_echo "$ac_try_echo") >&5
21752 (eval "$ac_link") 2>conftest.er1
21754 grep -v '^ *+' conftest.er1 >conftest.err
21756 cat conftest.err >&5
21757 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); } && {
21759 test -z "$ac_c_werror_flag" ||
21760 test ! -s conftest.err
21761 } && test -s conftest$ac_exeext && {
21762 test "$cross_compiling" = yes ||
21763 $as_test_x conftest$ac_exeext
21765 ac_cv_type_unsigned_long_long_int=yes
21767 $as_echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.$ac_ext >&5
21770 ac_cv_type_unsigned_long_long_int=no
21773 rm -rf conftest.dSYM
21774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21775 conftest$ac_exeext conftest.$ac_ext
21777 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long_int" >&5
21778 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
21779 if test $ac_cv_type_unsigned_long_long_int = yes; then
21781 cat >>confdefs.h <<\_ACEOF
21782 #define HAVE_UNSIGNED_LONG_LONG_INT 1
21788 { $as_echo "$as_me:$LINENO: checking for long long int" >&5
21789 $as_echo_n "checking for long long int... " >&6; }
21790 if test "${ac_cv_type_long_long_int+set}" = set; then
21791 $as_echo_n "(cached) " >&6
21793 cat >conftest.$ac_ext <<_ACEOF
21797 cat confdefs.h >>conftest.$ac_ext
21798 cat >>conftest.$ac_ext <<_ACEOF
21799 /* end confdefs.h. */
21800 /* For now, do not test the preprocessor; as of 2007 there are too many
21801 implementations with broken preprocessors. Perhaps this can
21802 be revisited in 2012. In the meantime, code should not expect
21803 #if to work with literals wider than 32 bits. */
21804 /* Test literals. */
21805 long long int ll = 9223372036854775807ll;
21806 long long int nll = -9223372036854775807LL;
21807 unsigned long long int ull = 18446744073709551615ULL;
21808 /* Test constant expressions. */
21809 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
21811 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
21817 /* Test availability of runtime routines for shift and division. */
21818 long long int llmax = 9223372036854775807ll;
21819 unsigned long long int ullmax = 18446744073709551615ull;
21820 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
21821 | (llmax / ll) | (llmax % ll)
21822 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
21823 | (ullmax / ull) | (ullmax % ull));
21829 rm -f conftest.$ac_objext conftest$ac_exeext
21830 if { (ac_try="$ac_link"
21831 case "(($ac_try" in
21832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21833 *) ac_try_echo
=$ac_try;;
21835 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21836 $as_echo "$ac_try_echo") >&5
21837 (eval "$ac_link") 2>conftest.er1
21839 grep -v '^ *+' conftest.er1
>conftest.err
21841 cat conftest.err
>&5
21842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } && {
21844 test -z "$ac_c_werror_flag" ||
21845 test ! -s conftest.err
21846 } && test -s conftest
$ac_exeext && {
21847 test "$cross_compiling" = yes ||
21848 $as_test_x conftest
$ac_exeext
21850 if test "$cross_compiling" = yes; then
21851 ac_cv_type_long_long_int
=yes
21853 cat >conftest.
$ac_ext <<_ACEOF
21856 cat confdefs.h
>>conftest.
$ac_ext
21857 cat >>conftest.
$ac_ext <<_ACEOF
21858 /* end confdefs.h. */
21859 #include <limits.h>
21862 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
21863 # define LLONG_MAX (HALF - 1 + HALF)
21868 long long int n = 1;
21872 long long int m = n << i;
21875 if (LLONG_MAX / 2 < m)
21883 rm -f conftest
$ac_exeext
21884 if { (ac_try
="$ac_link"
21885 case "(($ac_try" in
21886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21890 $as_echo "$ac_try_echo") >&5
21891 (eval "$ac_link") 2>&5
21893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21895 { (case "(($ac_try" in
21896 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21897 *) ac_try_echo
=$ac_try;;
21899 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
21900 $as_echo "$ac_try_echo") >&5
21901 (eval "$ac_try") 2>&5
21903 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21904 (exit $ac_status); }; }; then
21905 ac_cv_type_long_long_int
=yes
21907 $as_echo "$as_me: program exited with status $ac_status" >&5
21908 $as_echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.
$ac_ext >&5
21911 ( exit $ac_status )
21912 ac_cv_type_long_long_int
=no
21914 rm -rf conftest.dSYM
21915 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
21920 $as_echo "$as_me: failed program was:" >&5
21921 sed 's/^/| /' conftest.
$ac_ext >&5
21923 ac_cv_type_long_long_int
=no
21926 rm -rf conftest.dSYM
21927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
21928 conftest
$ac_exeext conftest.
$ac_ext
21930 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
21931 $as_echo "$ac_cv_type_long_long_int" >&6; }
21932 if test $ac_cv_type_long_long_int = yes; then
21934 cat >>confdefs.h
<<\_ACEOF
21935 #define HAVE_LONG_LONG_INT 1
21940 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
21941 $as_echo_n "checking for size_t... " >&6; }
21942 if test "${ac_cv_type_size_t+set}" = set; then
21943 $as_echo_n "(cached) " >&6
21945 ac_cv_type_size_t
=no
21946 cat >conftest.
$ac_ext <<_ACEOF
21949 cat confdefs.h
>>conftest.
$ac_ext
21950 cat >>conftest.
$ac_ext <<_ACEOF
21951 /* end confdefs.h. */
21952 $ac_includes_default
21956 if (sizeof (size_t))
21962 rm -f conftest.
$ac_objext
21963 if { (ac_try
="$ac_compile"
21964 case "(($ac_try" in
21965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21966 *) ac_try_echo=$ac_try;;
21968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21969 $as_echo "$ac_try_echo") >&5
21970 (eval "$ac_compile") 2>conftest.er1
21972 grep -v '^ *+' conftest.er1 >conftest.err
21974 cat conftest.err >&5
21975 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } && {
21977 test -z "$ac_c_werror_flag" ||
21978 test ! -s conftest.err
21979 } && test -s conftest.$ac_objext; then
21980 cat >conftest.$ac_ext <<_ACEOF
21983 cat confdefs.h >>conftest.$ac_ext
21984 cat >>conftest.$ac_ext <<_ACEOF
21985 /* end confdefs.h. */
21986 $ac_includes_default
21990 if (sizeof ((size_t)))
21996 rm -f conftest.$ac_objext
21997 if { (ac_try="$ac_compile"
21998 case "(($ac_try" in
21999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22000 *) ac_try_echo
=$ac_try;;
22002 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22003 $as_echo "$ac_try_echo") >&5
22004 (eval "$ac_compile") 2>conftest.er1
22006 grep -v '^ *+' conftest.er1
>conftest.err
22008 cat conftest.err
>&5
22009 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22010 (exit $ac_status); } && {
22011 test -z "$ac_c_werror_flag" ||
22012 test ! -s conftest.err
22013 } && test -s conftest.
$ac_objext; then
22016 $as_echo "$as_me: failed program was:" >&5
22017 sed 's/^/| /' conftest.
$ac_ext >&5
22019 ac_cv_type_size_t
=yes
22022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22024 $as_echo "$as_me: failed program was:" >&5
22025 sed 's/^/| /' conftest.
$ac_ext >&5
22030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22032 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22033 $as_echo "$ac_cv_type_size_t" >&6; }
22034 if test "x$ac_cv_type_size_t" = x
""yes; then
22038 cat >>confdefs.h
<<_ACEOF
22039 #define size_t unsigned int
22045 { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
22046 $as_echo_n "checking for uint16_t... " >&6; }
22047 if test "${ac_cv_c_uint16_t+set}" = set; then
22048 $as_echo_n "(cached) " >&6
22050 ac_cv_c_uint16_t
=no
22051 for ac_type
in 'uint16_t' 'unsigned int' 'unsigned long int' \
22052 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
22053 cat >conftest.
$ac_ext <<_ACEOF
22056 cat confdefs.h
>>conftest.
$ac_ext
22057 cat >>conftest.
$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22059 $ac_includes_default
22063 static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)];
22070 rm -f conftest.
$ac_objext
22071 if { (ac_try
="$ac_compile"
22072 case "(($ac_try" in
22073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22074 *) ac_try_echo=$ac_try;;
22076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22077 $as_echo "$ac_try_echo") >&5
22078 (eval "$ac_compile") 2>conftest.er1
22080 grep -v '^ *+' conftest.er1 >conftest.err
22082 cat conftest.err >&5
22083 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); } && {
22085 test -z "$ac_c_werror_flag" ||
22086 test ! -s conftest.err
22087 } && test -s conftest.$ac_objext; then
22089 uint16_t) ac_cv_c_uint16_t=yes ;;
22090 *) ac_cv_c_uint16_t=$ac_type ;;
22094 $as_echo "$as_me: failed program was:" >&5
22095 sed 's/^/| /' conftest.$ac_ext >&5
22100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22101 test "$ac_cv_c_uint16_t" != no && break
22104 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5
22105 $as_echo "$ac_cv_c_uint16_t" >&6; }
22106 case $ac_cv_c_uint16_t in #(
22111 cat >>confdefs.h <<_ACEOF
22112 #define uint16_t $ac_cv_c_uint16_t
22118 { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5
22119 $as_echo_n "checking for uint32_t... " >&6; }
22120 if test "${ac_cv_c_uint32_t+set}" = set; then
22121 $as_echo_n "(cached) " >&6
22123 ac_cv_c_uint32_t=no
22124 for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \
22125 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
22126 cat >conftest.$ac_ext <<_ACEOF
22129 cat confdefs.h >>conftest.$ac_ext
22130 cat >>conftest.$ac_ext <<_ACEOF
22131 /* end confdefs.h. */
22132 $ac_includes_default
22136 static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)];
22143 rm -f conftest.$ac_objext
22144 if { (ac_try="$ac_compile"
22145 case "(($ac_try" in
22146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22147 *) ac_try_echo
=$ac_try;;
22149 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22150 $as_echo "$ac_try_echo") >&5
22151 (eval "$ac_compile") 2>conftest.er1
22153 grep -v '^ *+' conftest.er1
>conftest.err
22155 cat conftest.err
>&5
22156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } && {
22158 test -z "$ac_c_werror_flag" ||
22159 test ! -s conftest.err
22160 } && test -s conftest.
$ac_objext; then
22162 uint32_t
) ac_cv_c_uint32_t
=yes ;;
22163 *) ac_cv_c_uint32_t
=$ac_type ;;
22167 $as_echo "$as_me: failed program was:" >&5
22168 sed 's/^/| /' conftest.
$ac_ext >&5
22173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22174 test "$ac_cv_c_uint32_t" != no
&& break
22177 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5
22178 $as_echo "$ac_cv_c_uint32_t" >&6; }
22179 case $ac_cv_c_uint32_t in #(
22183 cat >>confdefs.h
<<\_ACEOF
22184 #define _UINT32_T 1
22188 cat >>confdefs.h
<<_ACEOF
22189 #define uint32_t $ac_cv_c_uint32_t
22195 { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5
22196 $as_echo_n "checking for uint64_t... " >&6; }
22197 if test "${ac_cv_c_uint64_t+set}" = set; then
22198 $as_echo_n "(cached) " >&6
22200 ac_cv_c_uint64_t
=no
22201 for ac_type
in 'uint64_t' 'unsigned int' 'unsigned long int' \
22202 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
22203 cat >conftest.
$ac_ext <<_ACEOF
22206 cat confdefs.h
>>conftest.
$ac_ext
22207 cat >>conftest.
$ac_ext <<_ACEOF
22208 /* end confdefs.h. */
22209 $ac_includes_default
22213 static int test_array [1 - 2 * !(($ac_type) -1 >> (64 - 1) == 1)];
22220 rm -f conftest.
$ac_objext
22221 if { (ac_try
="$ac_compile"
22222 case "(($ac_try" in
22223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22224 *) ac_try_echo=$ac_try;;
22226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22227 $as_echo "$ac_try_echo") >&5
22228 (eval "$ac_compile") 2>conftest.er1
22230 grep -v '^ *+' conftest.er1 >conftest.err
22232 cat conftest.err >&5
22233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234 (exit $ac_status); } && {
22235 test -z "$ac_c_werror_flag" ||
22236 test ! -s conftest.err
22237 } && test -s conftest.$ac_objext; then
22239 uint64_t) ac_cv_c_uint64_t=yes ;;
22240 *) ac_cv_c_uint64_t=$ac_type ;;
22244 $as_echo "$as_me: failed program was:" >&5
22245 sed 's/^/| /' conftest.$ac_ext >&5
22250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22251 test "$ac_cv_c_uint64_t" != no && break
22254 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint64_t" >&5
22255 $as_echo "$ac_cv_c_uint64_t" >&6; }
22256 case $ac_cv_c_uint64_t in #(
22260 cat >>confdefs.h <<\_ACEOF
22261 #define _UINT64_T 1
22265 cat >>confdefs.h <<_ACEOF
22266 #define uint64_t $ac_cv_c_uint64_t
22272 { $as_echo "$as_me:$LINENO: checking for uint8_t" >&5
22273 $as_echo_n "checking for uint8_t... " >&6; }
22274 if test "${ac_cv_c_uint8_t+set}" = set; then
22275 $as_echo_n "(cached) " >&6
22278 for ac_type in 'uint8_t' 'unsigned int' 'unsigned long int' \
22279 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
22280 cat >conftest.$ac_ext <<_ACEOF
22283 cat confdefs.h >>conftest.$ac_ext
22284 cat >>conftest.$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22286 $ac_includes_default
22290 static int test_array [1 - 2 * !(($ac_type) -1 >> (8 - 1) == 1)];
22297 rm -f conftest.$ac_objext
22298 if { (ac_try="$ac_compile"
22299 case "(($ac_try" in
22300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22301 *) ac_try_echo
=$ac_try;;
22303 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22304 $as_echo "$ac_try_echo") >&5
22305 (eval "$ac_compile") 2>conftest.er1
22307 grep -v '^ *+' conftest.er1
>conftest.err
22309 cat conftest.err
>&5
22310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); } && {
22312 test -z "$ac_c_werror_flag" ||
22313 test ! -s conftest.err
22314 } && test -s conftest.
$ac_objext; then
22316 uint8_t
) ac_cv_c_uint8_t
=yes ;;
22317 *) ac_cv_c_uint8_t
=$ac_type ;;
22321 $as_echo "$as_me: failed program was:" >&5
22322 sed 's/^/| /' conftest.
$ac_ext >&5
22327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22328 test "$ac_cv_c_uint8_t" != no
&& break
22331 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_uint8_t" >&5
22332 $as_echo "$ac_cv_c_uint8_t" >&6; }
22333 case $ac_cv_c_uint8_t in #(
22337 cat >>confdefs.h
<<\_ACEOF
22342 cat >>confdefs.h
<<_ACEOF
22343 #define uint8_t $ac_cv_c_uint8_t
22349 { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
22350 $as_echo_n "checking for library containing gethostbyname... " >&6; }
22351 if test "${ac_cv_search_gethostbyname+set}" = set; then
22352 $as_echo_n "(cached) " >&6
22354 ac_func_search_save_LIBS
=$LIBS
22355 cat >conftest.
$ac_ext <<_ACEOF
22358 cat confdefs.h
>>conftest.
$ac_ext
22359 cat >>conftest.
$ac_ext <<_ACEOF
22360 /* end confdefs.h. */
22362 /* Override any GCC internal prototype to avoid an error.
22363 Use char because int might match the return type of a GCC
22364 builtin and then its argument prototype would still apply. */
22368 char gethostbyname ();
22372 return gethostbyname ();
22377 for ac_lib
in '' nsl
; do
22378 if test -z "$ac_lib"; then
22379 ac_res
="none required"
22382 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22384 rm -f conftest.
$ac_objext conftest
$ac_exeext
22385 if { (ac_try
="$ac_link"
22386 case "(($ac_try" in
22387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22388 *) ac_try_echo=$ac_try;;
22390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22391 $as_echo "$ac_try_echo") >&5
22392 (eval "$ac_link") 2>conftest.er1
22394 grep -v '^ *+' conftest.er1 >conftest.err
22396 cat conftest.err >&5
22397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); } && {
22399 test -z "$ac_c_werror_flag" ||
22400 test ! -s conftest.err
22401 } && test -s conftest$ac_exeext && {
22402 test "$cross_compiling" = yes ||
22403 $as_test_x conftest$ac_exeext
22405 ac_cv_search_gethostbyname=$ac_res
22407 $as_echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22413 rm -rf conftest.dSYM
22414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22416 if test "${ac_cv_search_gethostbyname+set}" = set; then
22420 if test "${ac_cv_search_gethostbyname+set}" = set; then
22423 ac_cv_search_gethostbyname=no
22425 rm conftest.$ac_ext
22426 LIBS=$ac_func_search_save_LIBS
22428 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
22429 $as_echo "$ac_cv_search_gethostbyname" >&6; }
22430 ac_res=$ac_cv_search_gethostbyname
22431 if test "$ac_res" != no; then
22432 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22436 { $as_echo "$as_me:$LINENO: checking for library containing connect" >&5
22437 $as_echo_n "checking for library containing connect... " >&6; }
22438 if test "${ac_cv_search_connect+set}" = set; then
22439 $as_echo_n "(cached) " >&6
22441 ac_func_search_save_LIBS=$LIBS
22442 cat >conftest.$ac_ext <<_ACEOF
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22449 /* Override any GCC internal prototype to avoid an error.
22450 Use char because int might match the return type of a GCC
22451 builtin and then its argument prototype would still apply. */
22464 for ac_lib in '' socket; do
22465 if test -z "$ac_lib"; then
22466 ac_res="none required"
22469 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22471 rm -f conftest.$ac_objext conftest$ac_exeext
22472 if { (ac_try="$ac_link"
22473 case "(($ac_try" in
22474 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22475 *) ac_try_echo
=$ac_try;;
22477 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22478 $as_echo "$ac_try_echo") >&5
22479 (eval "$ac_link") 2>conftest.er1
22481 grep -v '^ *+' conftest.er1
>conftest.err
22483 cat conftest.err
>&5
22484 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); } && {
22486 test -z "$ac_c_werror_flag" ||
22487 test ! -s conftest.err
22488 } && test -s conftest
$ac_exeext && {
22489 test "$cross_compiling" = yes ||
22490 $as_test_x conftest
$ac_exeext
22492 ac_cv_search_connect
=$ac_res
22494 $as_echo "$as_me: failed program was:" >&5
22495 sed 's/^/| /' conftest.
$ac_ext >&5
22500 rm -rf conftest.dSYM
22501 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22503 if test "${ac_cv_search_connect+set}" = set; then
22507 if test "${ac_cv_search_connect+set}" = set; then
22510 ac_cv_search_connect
=no
22512 rm conftest.
$ac_ext
22513 LIBS
=$ac_func_search_save_LIBS
22515 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
22516 $as_echo "$ac_cv_search_connect" >&6; }
22517 ac_res
=$ac_cv_search_connect
22518 if test "$ac_res" != no
; then
22519 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22523 { $as_echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
22524 $as_echo_n "checking for library containing inet_aton... " >&6; }
22525 if test "${ac_cv_search_inet_aton+set}" = set; then
22526 $as_echo_n "(cached) " >&6
22528 ac_func_search_save_LIBS
=$LIBS
22529 cat >conftest.
$ac_ext <<_ACEOF
22532 cat confdefs.h
>>conftest.
$ac_ext
22533 cat >>conftest.
$ac_ext <<_ACEOF
22534 /* end confdefs.h. */
22536 /* Override any GCC internal prototype to avoid an error.
22537 Use char because int might match the return type of a GCC
22538 builtin and then its argument prototype would still apply. */
22546 return inet_aton ();
22551 for ac_lib
in '' resolv
; do
22552 if test -z "$ac_lib"; then
22553 ac_res
="none required"
22556 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
22558 rm -f conftest.
$ac_objext conftest
$ac_exeext
22559 if { (ac_try
="$ac_link"
22560 case "(($ac_try" in
22561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22562 *) ac_try_echo=$ac_try;;
22564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22565 $as_echo "$ac_try_echo") >&5
22566 (eval "$ac_link") 2>conftest.er1
22568 grep -v '^ *+' conftest.er1 >conftest.err
22570 cat conftest.err >&5
22571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); } && {
22573 test -z "$ac_c_werror_flag" ||
22574 test ! -s conftest.err
22575 } && test -s conftest$ac_exeext && {
22576 test "$cross_compiling" = yes ||
22577 $as_test_x conftest$ac_exeext
22579 ac_cv_search_inet_aton=$ac_res
22581 $as_echo "$as_me: failed program was:" >&5
22582 sed 's/^/| /' conftest.$ac_ext >&5
22587 rm -rf conftest.dSYM
22588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22590 if test "${ac_cv_search_inet_aton+set}" = set; then
22594 if test "${ac_cv_search_inet_aton+set}" = set; then
22597 ac_cv_search_inet_aton=no
22599 rm conftest.$ac_ext
22600 LIBS=$ac_func_search_save_LIBS
22602 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
22603 $as_echo "$ac_cv_search_inet_aton" >&6; }
22604 ac_res=$ac_cv_search_inet_aton
22605 if test "$ac_res" != no; then
22606 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22610 { $as_echo "$as_me:$LINENO: checking for library containing pthread_create" >&5
22611 $as_echo_n "checking for library containing pthread_create... " >&6; }
22612 if test "${ac_cv_search_pthread_create+set}" = set; then
22613 $as_echo_n "(cached) " >&6
22615 ac_func_search_save_LIBS=$LIBS
22616 cat >conftest.$ac_ext <<_ACEOF
22619 cat confdefs.h >>conftest.$ac_ext
22620 cat >>conftest.$ac_ext <<_ACEOF
22621 /* end confdefs.h. */
22623 /* Override any GCC internal prototype to avoid an error.
22624 Use char because int might match the return type of a GCC
22625 builtin and then its argument prototype would still apply. */
22629 char pthread_create ();
22633 return pthread_create ();
22638 for ac_lib in '' pthread; do
22639 if test -z "$ac_lib"; then
22640 ac_res="none required"
22643 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22645 rm -f conftest.$ac_objext conftest$ac_exeext
22646 if { (ac_try="$ac_link"
22647 case "(($ac_try" in
22648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22649 *) ac_try_echo
=$ac_try;;
22651 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22652 $as_echo "$ac_try_echo") >&5
22653 (eval "$ac_link") 2>conftest.er1
22655 grep -v '^ *+' conftest.er1
>conftest.err
22657 cat conftest.err
>&5
22658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } && {
22660 test -z "$ac_c_werror_flag" ||
22661 test ! -s conftest.err
22662 } && test -s conftest
$ac_exeext && {
22663 test "$cross_compiling" = yes ||
22664 $as_test_x conftest
$ac_exeext
22666 ac_cv_search_pthread_create
=$ac_res
22668 $as_echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.
$ac_ext >&5
22674 rm -rf conftest.dSYM
22675 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22677 if test "${ac_cv_search_pthread_create+set}" = set; then
22681 if test "${ac_cv_search_pthread_create+set}" = set; then
22684 ac_cv_search_pthread_create
=no
22686 rm conftest.
$ac_ext
22687 LIBS
=$ac_func_search_save_LIBS
22689 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5
22690 $as_echo "$ac_cv_search_pthread_create" >&6; }
22691 ac_res
=$ac_cv_search_pthread_create
22692 if test "$ac_res" != no
; then
22693 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
22704 for ac_func
in __bswap64 asprintf asnprintf bswap64 daemon fsync_range
22706 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22707 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
22708 $as_echo_n "checking for $ac_func... " >&6; }
22709 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22710 $as_echo_n "(cached) " >&6
22712 cat >conftest.
$ac_ext <<_ACEOF
22715 cat confdefs.h
>>conftest.
$ac_ext
22716 cat >>conftest.
$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22720 #define $ac_func innocuous_$ac_func
22722 /* System header to define __stub macros and hopefully few prototypes,
22723 which can conflict with char $ac_func (); below.
22724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22725 <limits.h> exists even on freestanding compilers. */
22728 # include <limits.h>
22730 # include <assert.h>
22735 /* Override any GCC internal prototype to avoid an error.
22736 Use char because int might match the return type of a GCC
22737 builtin and then its argument prototype would still apply. */
22742 /* The GNU C library defines this for functions which it implements
22743 to always fail with ENOSYS. Some functions are actually named
22744 something starting with __ and the normal name is an alias. */
22745 #if defined __stub_$ac_func || defined __stub___$ac_func
22752 return $ac_func ();
22757 rm -f conftest.
$ac_objext conftest
$ac_exeext
22758 if { (ac_try
="$ac_link"
22759 case "(($ac_try" in
22760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22761 *) ac_try_echo=$ac_try;;
22763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22764 $as_echo "$ac_try_echo") >&5
22765 (eval "$ac_link") 2>conftest.er1
22767 grep -v '^ *+' conftest.er1 >conftest.err
22769 cat conftest.err >&5
22770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22771 (exit $ac_status); } && {
22772 test -z "$ac_c_werror_flag" ||
22773 test ! -s conftest.err
22774 } && test -s conftest$ac_exeext && {
22775 test "$cross_compiling" = yes ||
22776 $as_test_x conftest$ac_exeext
22778 eval "$as_ac_var=yes"
22780 $as_echo "$as_me: failed program was:" >&5
22781 sed 's/^/| /' conftest.$ac_ext >&5
22783 eval "$as_ac_var=no"
22786 rm -rf conftest.dSYM
22787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22788 conftest$ac_exeext conftest.$ac_ext
22790 ac_res=`eval 'as_val=${'$as_ac_var'}
22791 $as_echo "$as_val"'`
22792 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22793 $as_echo "$ac_res" >&6; }
22794 as_val=`eval 'as_val=${'$as_ac_var'}
22795 $as_echo "$as_val"'`
22796 if test "x$as_val" = x""yes; then
22797 cat >>confdefs.h <<_ACEOF
22798 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
22811 for ac_func in getaddrinfo getnameinfo htobe64 memset bcopy poll snprintf
22813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
22814 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
22815 $as_echo_n "checking for $ac_func... " >&6; }
22816 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22817 $as_echo_n "(cached) " >&6
22819 cat >conftest.$ac_ext <<_ACEOF
22822 cat confdefs.h >>conftest.$ac_ext
22823 cat >>conftest.$ac_ext <<_ACEOF
22824 /* end confdefs.h. */
22825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22827 #define $ac_func innocuous_$ac_func
22829 /* System header to define __stub macros and hopefully few prototypes,
22830 which can conflict with char $ac_func (); below.
22831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22832 <limits.h> exists even on freestanding compilers. */
22835 # include <limits.h>
22837 # include <assert.h>
22842 /* Override any GCC internal prototype to avoid an error.
22843 Use char because int might match the return type of a GCC
22844 builtin and then its argument prototype would still apply. */
22849 /* The GNU C library defines this for functions which it implements
22850 to always fail with ENOSYS. Some functions are actually named
22851 something starting with __ and the normal name is an alias. */
22852 #if defined __stub_$ac_func || defined __stub___$ac_func
22859 return $ac_func ();
22864 rm -f conftest.$ac_objext conftest$ac_exeext
22865 if { (ac_try="$ac_link"
22866 case "(($ac_try" in
22867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22868 *) ac_try_echo
=$ac_try;;
22870 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
22871 $as_echo "$ac_try_echo") >&5
22872 (eval "$ac_link") 2>conftest.er1
22874 grep -v '^ *+' conftest.er1
>conftest.err
22876 cat conftest.err
>&5
22877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22878 (exit $ac_status); } && {
22879 test -z "$ac_c_werror_flag" ||
22880 test ! -s conftest.err
22881 } && test -s conftest
$ac_exeext && {
22882 test "$cross_compiling" = yes ||
22883 $as_test_x conftest
$ac_exeext
22885 eval "$as_ac_var=yes"
22887 $as_echo "$as_me: failed program was:" >&5
22888 sed 's/^/| /' conftest.
$ac_ext >&5
22890 eval "$as_ac_var=no"
22893 rm -rf conftest.dSYM
22894 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
22895 conftest
$ac_exeext conftest.
$ac_ext
22897 ac_res
=`eval 'as_val=${'$as_ac_var'}
22898 $as_echo "$as_val"'`
22899 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
22900 $as_echo "$ac_res" >&6; }
22901 as_val
=`eval 'as_val=${'$as_ac_var'}
22902 $as_echo "$as_val"'`
22903 if test "x$as_val" = x
""yes; then
22904 cat >>confdefs.h
<<_ACEOF
22905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22917 for ac_func
in strlcpy strtoll syslog uuid_create uuid_to_string vasprintf
22919 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22920 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
22921 $as_echo_n "checking for $ac_func... " >&6; }
22922 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22923 $as_echo_n "(cached) " >&6
22925 cat >conftest.
$ac_ext <<_ACEOF
22928 cat confdefs.h
>>conftest.
$ac_ext
22929 cat >>conftest.
$ac_ext <<_ACEOF
22930 /* end confdefs.h. */
22931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22933 #define $ac_func innocuous_$ac_func
22935 /* System header to define __stub macros and hopefully few prototypes,
22936 which can conflict with char $ac_func (); below.
22937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22938 <limits.h> exists even on freestanding compilers. */
22941 # include <limits.h>
22943 # include <assert.h>
22948 /* Override any GCC internal prototype to avoid an error.
22949 Use char because int might match the return type of a GCC
22950 builtin and then its argument prototype would still apply. */
22955 /* The GNU C library defines this for functions which it implements
22956 to always fail with ENOSYS. Some functions are actually named
22957 something starting with __ and the normal name is an alias. */
22958 #if defined __stub_$ac_func || defined __stub___$ac_func
22965 return $ac_func ();
22970 rm -f conftest.
$ac_objext conftest
$ac_exeext
22971 if { (ac_try
="$ac_link"
22972 case "(($ac_try" in
22973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22974 *) ac_try_echo=$ac_try;;
22976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
22977 $as_echo "$ac_try_echo") >&5
22978 (eval "$ac_link") 2>conftest.er1
22980 grep -v '^ *+' conftest.er1 >conftest.err
22982 cat conftest.err >&5
22983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); } && {
22985 test -z "$ac_c_werror_flag" ||
22986 test ! -s conftest.err
22987 } && test -s conftest$ac_exeext && {
22988 test "$cross_compiling" = yes ||
22989 $as_test_x conftest$ac_exeext
22991 eval "$as_ac_var=yes"
22993 $as_echo "$as_me: failed program was:" >&5
22994 sed 's/^/| /' conftest.$ac_ext >&5
22996 eval "$as_ac_var=no"
22999 rm -rf conftest.dSYM
23000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23001 conftest$ac_exeext conftest.$ac_ext
23003 ac_res=`eval 'as_val=${'$as_ac_var'}
23004 $as_echo "$as_val"'`
23005 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23006 $as_echo "$ac_res" >&6; }
23007 as_val=`eval 'as_val=${'$as_ac_var'}
23008 $as_echo "$as_val"'`
23009 if test "x$as_val" = x""yes; then
23010 cat >>confdefs.h <<_ACEOF
23011 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
23020 for ac_func in vasprintf vasnprintf vsnprintf
23022 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
23023 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
23024 $as_echo_n "checking for $ac_func... " >&6; }
23025 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
23026 $as_echo_n "(cached) " >&6
23028 cat >conftest.$ac_ext <<_ACEOF
23031 cat confdefs.h >>conftest.$ac_ext
23032 cat >>conftest.$ac_ext <<_ACEOF
23033 /* end confdefs.h. */
23034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23036 #define $ac_func innocuous_$ac_func
23038 /* System header to define __stub macros and hopefully few prototypes,
23039 which can conflict with char $ac_func (); below.
23040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23041 <limits.h> exists even on freestanding compilers. */
23044 # include <limits.h>
23046 # include <assert.h>
23051 /* Override any GCC internal prototype to avoid an error.
23052 Use char because int might match the return type of a GCC
23053 builtin and then its argument prototype would still apply. */
23058 /* The GNU C library defines this for functions which it implements
23059 to always fail with ENOSYS. Some functions are actually named
23060 something starting with __ and the normal name is an alias. */
23061 #if defined __stub_$ac_func || defined __stub___$ac_func
23068 return $ac_func ();
23073 rm -f conftest.$ac_objext conftest$ac_exeext
23074 if { (ac_try="$ac_link"
23075 case "(($ac_try" in
23076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23077 *) ac_try_echo
=$ac_try;;
23079 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
23080 $as_echo "$ac_try_echo") >&5
23081 (eval "$ac_link") 2>conftest.er1
23083 grep -v '^ *+' conftest.er1
>conftest.err
23085 cat conftest.err
>&5
23086 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); } && {
23088 test -z "$ac_c_werror_flag" ||
23089 test ! -s conftest.err
23090 } && test -s conftest
$ac_exeext && {
23091 test "$cross_compiling" = yes ||
23092 $as_test_x conftest
$ac_exeext
23094 eval "$as_ac_var=yes"
23096 $as_echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.
$ac_ext >&5
23099 eval "$as_ac_var=no"
23102 rm -rf conftest.dSYM
23103 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23104 conftest
$ac_exeext conftest.
$ac_ext
23106 ac_res
=`eval 'as_val=${'$as_ac_var'}
23107 $as_echo "$as_val"'`
23108 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
23109 $as_echo "$ac_res" >&6; }
23110 as_val
=`eval 'as_val=${'$as_ac_var'}
23111 $as_echo "$as_val"'`
23112 if test "x$as_val" = x
""yes; then
23113 cat >>confdefs.h
<<_ACEOF
23114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23121 ac_config_files
="$ac_config_files Makefile"
23123 cat >confcache
<<\_ACEOF
23124 # This file is a shell script that caches the results of configure
23125 # tests run on this system so they can be shared between configure
23126 # scripts and configure runs, see configure's option --config-cache.
23127 # It is not useful on other systems. If it contains results you don't
23128 # want to keep, you may remove or edit it.
23130 # config.status only pays attention to the cache file if you give it
23131 # the --recheck option to rerun configure.
23133 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23134 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23135 # following values.
23139 # The following way of writing the cache mishandles newlines in values,
23140 # but we know of no workaround that is simple, portable, and efficient.
23141 # So, we kill variables containing newlines.
23142 # Ultrix sh set writes to stderr and can't be redirected directly,
23143 # and sets the high bit in the cache file unless we assign to the vars.
23145 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23146 eval ac_val
=\$
$ac_var
23150 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
23151 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
23154 _ | IFS | as_nl
) ;; #(
23155 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
23156 *) $as_unset $ac_var ;;
23162 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23163 *${as_nl}ac_space
=\
*)
23164 # `set' does not quote correctly, so add quotes (double-quote
23165 # substitution turns \\\\ into \\, and sed turns \\ into \).
23168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23171 # `set' quotes correctly as required by POSIX, so do not add quotes.
23172 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23181 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23183 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23185 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23186 if test -w "$cache_file"; then
23187 test "x$cache_file" != "x/dev/null" &&
23188 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
23189 $as_echo "$as_me: updating cache $cache_file" >&6;}
23190 cat confcache
>$cache_file
23192 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23193 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23198 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23199 # Let make expand exec_prefix.
23200 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23202 DEFS
=-DHAVE_CONFIG_H
23206 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23207 # 1. Remove the extension, and $U if already installed.
23208 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23209 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
23210 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23211 # will be set to the directory where LIBOBJS objects are built.
23212 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23213 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23215 LIBOBJS
=$ac_libobjs
23217 LTLIBOBJS
=$ac_ltlibobjs
23220 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
23221 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
23222 Usually this means the macro was only invoked conditionally." >&5
23223 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
23224 Usually this means the macro was only invoked conditionally." >&2;}
23225 { (exit 1); exit 1; }; }
23227 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
23228 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
23229 Usually this means the macro was only invoked conditionally." >&5
23230 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
23231 Usually this means the macro was only invoked conditionally." >&2;}
23232 { (exit 1); exit 1; }; }
23234 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
23235 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
23236 Usually this means the macro was only invoked conditionally." >&5
23237 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
23238 Usually this means the macro was only invoked conditionally." >&2;}
23239 { (exit 1); exit 1; }; }
23241 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
23242 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
23243 Usually this means the macro was only invoked conditionally." >&5
23244 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
23245 Usually this means the macro was only invoked conditionally." >&2;}
23246 { (exit 1); exit 1; }; }
23249 : ${CONFIG_STATUS=./config.status}
23251 ac_clean_files_save
=$ac_clean_files
23252 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23253 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23254 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
23255 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23257 # Generated by $as_me.
23258 # Run this file to recreate the current configuration.
23259 # Compiler output produced by configure, useful for debugging
23260 # configure, is in config.log if it exists.
23263 ac_cs_recheck=false
23265 SHELL=\${CONFIG_SHELL-$SHELL}
23268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23269 ## --------------------- ##
23270 ## M4sh Initialization. ##
23271 ## --------------------- ##
23273 # Be more Bourne compatible
23274 DUALCASE
=1; export DUALCASE
# for MKS sh
23275 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23278 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23279 # is contrary to our usage. Disable this feature.
23280 alias -g '${1+"$@"}'='"$@"'
23281 setopt NO_GLOB_SUBST
23283 case `(set -o) 2>/dev/null` in
23284 *posix
*) set -o posix
;;
23293 # Avoid depending upon Character Ranges.
23294 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23295 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23296 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23297 as_cr_digits
='0123456789'
23298 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23303 # Printing a long string crashes Solaris 7 /usr/bin/printf.
23304 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
23305 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
23306 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
23307 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
23308 as_echo='printf %s
\n'
23309 as_echo_n='printf %s
'
23311 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
23312 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
23313 as_echo_n='/usr
/ucb
/echo -n'
23315 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
23316 as_echo_n_body='eval
23320 expr "X$arg" : "X\\(.*\\)$as_nl";
23321 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
23323 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
23325 export as_echo_n_body
23326 as_echo_n='sh
-c $as_echo_n_body as_echo
'
23328 export as_echo_body
23329 as_echo='sh
-c $as_echo_body as_echo
'
23332 # The user is always right.
23333 if test "${PATH_SEPARATOR+set}" != set; then
23335 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
23336 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
23341 # Support unset when possible.
23342 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23350 # We need space, tab and new line, in precisely that order. Quoting is
23351 # there to prevent editors from complaining about space-tab.
23352 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23353 # splitting by setting IFS to empty value.)
23356 # Find who we are. Look in the path if we contain no directory separator.
23358 *[\\/]* ) as_myself=$0 ;;
23359 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23360 for as_dir in $PATH
23363 test -z "$as_dir" && as_dir=.
23364 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23370 # We did not find ourselves, most probably we were run as `sh COMMAND'
23371 # in which case we are not to be found in the path.
23372 if test "x$as_myself" = x
; then
23375 if test ! -f "$as_myself"; then
23376 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23377 { (exit 1); exit 1; }
23380 # Work around bugs in pre-3.0 UWIN ksh.
23381 for as_var
in ENV MAIL MAILPATH
23382 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23394 # Required to use basename.
23395 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23396 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23402 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23403 as_basename
=basename
23409 # Name of the executable.
23410 as_me
=`$as_basename -- "$0" ||
23411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23412 X"$0" : 'X\(//\)$' \| \
23413 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23415 sed '/^.*\/\([^/][^/]*\)\/*$/{
23434 as_lineno_1
=$LINENO
23435 as_lineno_2
=$LINENO
23436 test "x$as_lineno_1" != "x$as_lineno_2" &&
23437 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23439 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23440 # uniformly replaced by the line number. The first 'sed' inserts a
23441 # line-number line after each line using $LINENO; the second 'sed'
23442 # does the real work. The second script uses 'N' to pair each
23443 # line-number line with the line containing $LINENO, and appends
23444 # trailing '-' during substitution so that $LINENO is not a special
23445 # case at line end.
23446 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23447 # scripts with optimization help from Paolo Bonzini. Blame Lee
23448 # E. McMahon (1931-1989) for sed's syntax. :-)
23460 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23463 ' >$as_me.lineno
&&
23464 chmod +x
"$as_me.lineno" ||
23465 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23466 { (exit 1); exit 1; }; }
23468 # Don't try to exec as it changes $[0], causing all sort of problems
23469 # (the dirname of $[0] is not the place where we might find the
23470 # original and so on. Autoconf is especially sensitive to this).
23471 .
"./$as_me.lineno"
23472 # Exit status is that of the last command.
23477 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
23483 ECHO_C
= ECHO_N
= ECHO_T
=
23484 case `echo -n x` in
23486 case `echo 'x\c'` in
23487 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
23493 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23494 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23500 rm -f conf$$ conf$$.exe conf$$.
file
23501 if test -d conf$$.dir
; then
23502 rm -f conf$$.dir
/conf$$.
file
23505 mkdir conf$$.dir
2>/dev
/null
23507 if (echo >conf$$.
file) 2>/dev
/null
; then
23508 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
23510 # ... but there are two gotchas:
23511 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23512 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23513 # In both cases, we have to default to `cp -p'.
23514 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
23516 elif ln conf$$.
file conf$$
2>/dev
/null
; then
23524 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
23525 rmdir conf$$.dir
2>/dev
/null
23527 if mkdir
-p .
2>/dev
/null
; then
23530 test -d .
/-p && rmdir .
/-p
23534 if test -x / >/dev
/null
2>&1; then
23535 as_test_x
='test -x'
23537 if ls -dL / >/dev
/null
2>&1; then
23544 if test -d "$1"; then
23550 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
23551 ???[sx]*):;;*)false;;esac;fi
23555 as_executable_p
=$as_test_x
23557 # Sed expression to map a string onto a valid CPP name.
23558 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
23560 # Sed expression to map a string onto a valid variable name.
23561 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23566 # Save the log message, to keep $[0] and so on meaningful, and to
23567 # report actual input values of CONFIG_FILES etc. instead of their
23568 # values after options handling.
23570 This file was extended by netbsd-iscsi $as_me 20090622, which was
23571 generated by GNU Autoconf 2.63. Invocation command line was
23573 CONFIG_FILES = $CONFIG_FILES
23574 CONFIG_HEADERS = $CONFIG_HEADERS
23575 CONFIG_LINKS = $CONFIG_LINKS
23576 CONFIG_COMMANDS = $CONFIG_COMMANDS
23579 on `(hostname || uname -n) 2>/dev/null | sed 1q`
23584 case $ac_config_files in *"
23585 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
23588 case $ac_config_headers in *"
23589 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
23593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23594 # Files that config.status was made for.
23595 config_files="$ac_config_files"
23596 config_headers="$ac_config_headers"
23597 config_commands="$ac_config_commands"
23601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23603 \`$as_me' instantiates files from templates according to the
23604 current configuration.
23606 Usage: $0 [OPTION]... [FILE]...
23608 -h, --help print this help, then exit
23609 -V, --version print version number and configuration settings, then exit
23610 -q, --quiet, --silent
23611 do not print progress messages
23612 -d, --debug don't remove temporary files
23613 --recheck update $as_me by reconfiguring in the same conditions
23614 --file=FILE[:TEMPLATE]
23615 instantiate the configuration file FILE
23616 --header=FILE[:TEMPLATE]
23617 instantiate the configuration header FILE
23619 Configuration files:
23622 Configuration headers:
23625 Configuration commands:
23628 Report bugs to <bug-autoconf@gnu.org>."
23631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23633 netbsd-iscsi config.status 20090622
23634 configured by $0, generated by GNU Autoconf 2.63,
23635 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
23637 Copyright (C) 2008 Free Software Foundation, Inc.
23638 This config.status script is free software; the Free Software Foundation
23639 gives unlimited permission to copy, distribute and modify it."
23646 test -n "\$AWK" || AWK=awk
23649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23650 # The default lists apply if the user does not specify any file.
23656 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
23657 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
23668 # Handling of the options.
23669 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
23671 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
23672 $as_echo "$ac_cs_version"; exit ;;
23673 --debug |
--debu |
--deb |
--de |
--d |
-d )
23675 --file |
--fil |
--fi |
--f )
23678 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23680 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
23681 ac_need_defaults
=false
;;
23682 --header |
--heade |
--head |
--hea )
23685 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
23687 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
23688 ac_need_defaults
=false
;;
23690 # Conflict between --help and --header
23691 { $as_echo "$as_me: error: ambiguous option: $1
23692 Try \`$0 --help' for more information." >&2
23693 { (exit 1); exit 1; }; };;
23694 --help |
--hel |
-h )
23695 $as_echo "$ac_cs_usage"; exit ;;
23696 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
23697 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
23700 # This is an error.
23701 -*) { $as_echo "$as_me: error: unrecognized option: $1
23702 Try \`$0 --help' for more information." >&2
23703 { (exit 1); exit 1; }; } ;;
23705 *) ac_config_targets
="$ac_config_targets $1"
23706 ac_need_defaults
=false
;;
23712 ac_configure_extra_args
=
23714 if $ac_cs_silent; then
23716 ac_configure_extra_args
="$ac_configure_extra_args --silent"
23720 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23721 if \$ac_cs_recheck; then
23722 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23724 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
23725 CONFIG_SHELL='$SHELL'
23726 export CONFIG_SHELL
23731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23735 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23736 ## Running $as_me. ##
23742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23746 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
23750 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23752 # Handling of arguments.
23753 for ac_config_target
in $ac_config_targets
23755 case $ac_config_target in
23756 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
23757 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
23758 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
23760 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23761 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23762 { (exit 1); exit 1; }; };;
23767 # If the user did not use the arguments to specify the items to instantiate,
23768 # then the envvar interface is used. Set only those that are not.
23769 # We use the long form for the default assignment because of an extremely
23770 # bizarre bug on SunOS 4.1.3.
23771 if $ac_need_defaults; then
23772 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
23773 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
23774 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
23777 # Have a temporary directory for convenience. Make it in the build tree
23778 # simply because there is no reason against having it here, and in addition,
23779 # creating and moving files from /tmp can sometimes cause problems.
23780 # Hook for its removal unless debugging.
23781 # Note that there is a small window in which the directory will not be cleaned:
23782 # after its creation but before its name has been assigned to `$tmp'.
23786 trap 'exit_status=$?
23787 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23789 trap '{ (exit 1); exit 1; }' 1 2 13 15
23791 # Create a (secure) tmp directory for tmp files.
23794 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23795 test -n "$tmp" && test -d "$tmp"
23798 tmp
=.
/conf$$
-$RANDOM
23799 (umask 077 && mkdir
"$tmp")
23802 $as_echo "$as_me: cannot create a temporary directory in ." >&2
23803 { (exit 1); exit 1; }
23806 # Set up the scripts for CONFIG_FILES section.
23807 # No need to generate them if there are no CONFIG_FILES.
23808 # This happens for instance with `./config.status config.h'.
23809 if test -n "$CONFIG_FILES"; then
23813 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23814 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23817 ac_cs_awk_cr
=$ac_cr
23820 echo 'BEGIN {' >"$tmp/subs1.awk" &&
23825 echo "cat >conf$$subs.awk <<_ACEOF" &&
23826 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23828 } >conf$$subs.sh ||
23829 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
23830 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
23831 { (exit 1); exit 1; }; }
23832 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
23834 for ac_last_try in false false false false false :; do
23835 . ./conf$$subs.sh ||
23836 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
23837 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
23838 { (exit 1); exit 1; }; }
23840 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
23841 if test $ac_delim_n = $ac_delim_num; then
23843 elif $ac_last_try; then
23844 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
23845 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
23846 { (exit 1); exit 1; }; }
23848 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23851 rm -f conf$$subs.sh
23853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23854 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
23858 s/^/S["/; s
/!.
*/"]=/
23868 s/\(.\{148\}\).*/\1/
23870 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23875 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23882 s/\(.\{148\}\).*/\1/
23884 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23888 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23893 ' <conf$$subs.awk | sed '
23898 ' >>$CONFIG_STATUS || ac_write_fail=1
23899 rm -f conf$$subs.awk
23900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23902 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
23903 for (key in S) S_is_set[key] = 1
23909 nfields = split(line, field, "@
")
23911 len = length(field[1])
23912 for (i = 2; i < nfields; i++) {
23914 keylen = length(key)
23915 if (S_is_set[key]) {
23917 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23918 len += length(value) + length(field[++i])
23929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23930 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23931 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23934 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
23935 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
23936 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
23937 { (exit 1); exit 1; }; }
23940 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23941 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
23942 # trailing colons and then remove the whole line if VPATH becomes empty
23943 # (actually we leave an empty line to preserve line numbers).
23944 if test "x
$srcdir" = x.; then
23945 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23946 s/:*\$(srcdir):*/:/
23947 s/:*\${srcdir}:*/:/
23949 s/^\([^=]*=[ ]*\):*/\1/
23955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23956 fi # test -n "$CONFIG_FILES"
23958 # Set up the scripts for CONFIG_HEADERS section.
23959 # No need to generate them if there are no CONFIG_HEADERS.
23960 # This happens for instance with `./config.status Makefile'.
23961 if test -n "$CONFIG_HEADERS"; then
23962 cat >"$tmp/defines.
awk" <<\_ACAWK ||
23966 # Transform confdefs.h into an awk script `defines.awk', embedded as
23967 # here-document in config.status, that substitutes the proper values into
23968 # config.h.in to produce config.h.
23970 # Create a delimiter string that does not exist in confdefs.h, to ease
23971 # handling of long lines.
23973 for ac_last_try in false false :; do
23974 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
23975 if test -z "$ac_t"; then
23977 elif $ac_last_try; then
23978 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
23979 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
23980 { (exit 1); exit 1; }; }
23982 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23986 # For the awk script, D is an array of macro values keyed by name,
23987 # likewise P contains macro parameters if any. Preserve backslash
23988 # newline sequences.
23990 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23992 s/.\{148\}/&'"$ac_delim"'/g
23995 s/^[ ]*#[ ]*define[ ][ ]*/ /
24002 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
24004 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
24008 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
24009 D["\
1"]=" \
3\\\\\\n
"\\/p
24011 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
24016 s/.\{148\}/&'"$ac_delim"'/g
24021 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
24024 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
24026 ' <confdefs.h | sed '
24027 s/'"$ac_delim"'/"\\\
24028 "/g' >>$CONFIG_STATUS || ac_write_fail=1
24030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24031 for (key in D) D_is_set[key] = 1
24034 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
24036 split(line, arg, " ")
24037 if (arg[1] == "#") {
24041 defundef
= substr
(arg
[1], 2)
24044 split(mac1
, mac2
, "(") #)
24046 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
24047 if (D_is_set
[macro
]) {
24048 # Preserve the white space surrounding the "#".
24049 print prefix
"define", macro P
[macro
] D
[macro
]
24052 # Replace #undef with comments. This is necessary, for example,
24053 # in the case of _POSIX_SOURCE, which is predefined and required
24054 # on some systems where configure will not decide to define it.
24055 if (defundef
== "undef") {
24056 print
"/*", prefix defundef
, macro
, "*/"
24064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24065 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
24066 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
24067 { (exit 1); exit 1; }; }
24068 fi # test -n "$CONFIG_HEADERS"
24071 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
24076 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24078 case $ac_mode$ac_tag in
24080 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
24081 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
24082 { (exit 1); exit 1; }; };;
24083 :[FH
]-) ac_tag
=-:-;;
24084 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24101 -) ac_f
="$tmp/stdin";;
24102 *) # Look for the file first in the build tree, then in the source tree
24103 # (if the path is not absolute). The absolute path cannot be DOS-style,
24104 # because $ac_f cannot contain `:'.
24108 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24110 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24111 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24112 { (exit 1); exit 1; }; };;
24114 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
24115 ac_file_inputs
="$ac_file_inputs '$ac_f'"
24118 # Let's still pretend it is `configure' which instantiates (i.e., don't
24119 # use $as_me), people would be surprised to read:
24120 # /* config.h. Generated by config.status. */
24121 configure_input
='Generated from '`
24122 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
24124 if test x
"$ac_file" != x-
; then
24125 configure_input
="$ac_file. $configure_input"
24126 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
24127 $as_echo "$as_me: creating $ac_file" >&6;}
24129 # Neutralize special characters interpreted by sed in replacement strings.
24130 case $configure_input in #(
24131 *\
&* |
*\|
* |
*\\* )
24132 ac_sed_conf_input
=`$as_echo "$configure_input" |
24133 sed 's/[\\\\&|]/\\\\&/g'`;; #(
24134 *) ac_sed_conf_input
=$configure_input;;
24138 *:-:* |
*:-) cat >"$tmp/stdin" \
24139 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24140 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24141 { (exit 1); exit 1; }; } ;;
24146 ac_dir
=`$as_dirname -- "$ac_file" ||
24147 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24148 X"$ac_file" : 'X\(//\)[^/]' \| \
24149 X"$ac_file" : 'X\(//\)$' \| \
24150 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24151 $as_echo X"$ac_file" |
24152 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24156 /^X\(\/\/\)[^/].*/{
24171 -*) as_dir
=.
/$as_dir;;
24173 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24177 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24178 *) as_qdir
=$as_dir;;
24180 as_dirs
="'$as_qdir' $as_dirs"
24181 as_dir
=`$as_dirname -- "$as_dir" ||
24182 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24183 X"$as_dir" : 'X\(//\)[^/]' \| \
24184 X"$as_dir" : 'X\(//\)$' \| \
24185 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24186 $as_echo X"$as_dir" |
24187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24191 /^X\(\/\/\)[^/].*/{
24204 test -d "$as_dir" && break
24206 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24207 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24208 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24209 { (exit 1); exit 1; }; }; }
24213 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24215 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
24216 # A ".." for each directory in $ac_dir_suffix.
24217 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
24218 case $ac_top_builddir_sub in
24219 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
24220 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
24223 ac_abs_top_builddir
=$ac_pwd
24224 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
24225 # for backward compatibility:
24226 ac_top_builddir
=$ac_top_build_prefix
24229 .
) # We are building in place.
24231 ac_top_srcdir
=$ac_top_builddir_sub
24232 ac_abs_top_srcdir
=$ac_pwd ;;
24233 [\\/]* | ?
:[\\/]* ) # Absolute name.
24234 ac_srcdir
=$srcdir$ac_dir_suffix;
24235 ac_top_srcdir
=$srcdir
24236 ac_abs_top_srcdir
=$srcdir ;;
24237 *) # Relative name.
24238 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
24239 ac_top_srcdir
=$ac_top_build_prefix$srcdir
24240 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
24242 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
24252 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
24253 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
24255 ac_MKDIR_P
=$MKDIR_P
24257 [\\/$
]* | ?
:[\\/]* ) ;;
24258 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
24262 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24263 # If the template does not know about datarootdir, expand it.
24264 # FIXME: This hack should be removed a few years after 2.60.
24265 ac_datarootdir_hack
=; ac_datarootdir_seen
=
24278 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
24279 *datarootdir
*) ac_datarootdir_seen
=yes;;
24280 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
24281 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24282 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24285 ac_datarootdir_hack='
24286 s&@datadir@&$datadir&g
24287 s&@docdir@&$docdir&g
24288 s&@infodir@&$infodir&g
24289 s&@localedir@&$localedir&g
24290 s&@mandir@&$mandir&g
24291 s&\\\${datarootdir}&$datarootdir&g' ;;
24295 # Neutralize VPATH when `$srcdir' = `.'.
24296 # Shell code in configure.ac might set extrasub.
24297 # FIXME: do we really want to maintain this feature?
24298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24299 ac_sed_extra="$ac_vpsub
24302 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24304 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
24305 s|@configure_input@|
$ac_sed_conf_input|
;t t
24306 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
24307 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
24308 s
&@srcdir@
&$ac_srcdir&;t t
24309 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
24310 s
&@top_srcdir@
&$ac_top_srcdir&;t t
24311 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
24312 s
&@builddir@
&$ac_builddir&;t t
24313 s
&@abs_builddir@
&$ac_abs_builddir&;t t
24314 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
24315 s
&@INSTALL@
&$ac_INSTALL&;t t
24316 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
24317 $ac_datarootdir_hack
24319 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
24320 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
24321 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
24322 { (exit 1); exit 1; }; }
24324 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24325 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
24326 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
24327 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
24328 which seems to be undefined. Please make sure it is defined." >&5
24329 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
24330 which seems to be undefined. Please make sure it is defined." >&2;}
24334 -) cat "$tmp/out" && rm -f "$tmp/out";;
24335 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
24337 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24338 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24339 { (exit 1); exit 1; }; }
24345 if test x"$ac_file" != x-; then
24347 $as_echo "/* $configure_input */" \
24348 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
24349 } >"$tmp/config.h" \
24350 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24351 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24352 { (exit 1); exit 1; }; }
24353 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
24354 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24355 $as_echo "$as_me: $ac_file is unchanged" >&6;}
24358 mv "$tmp/config.h" "$ac_file" \
24359 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
24360 $as_echo "$as_me: error: could not create $ac_file" >&2;}
24361 { (exit 1); exit 1; }; }
24364 $as_echo "/* $configure_input */" \
24365 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
24366 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
24367 $as_echo "$as_me: error: could not create -" >&2;}
24368 { (exit 1); exit 1; }; }
24370 # Compute "$ac_file"'s index
in $config_headers.
24373 for _am_header
in $config_headers :; do
24374 case $_am_header in
24375 $_am_arg |
$_am_arg:* )
24378 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
24381 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
24382 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24383 X"$_am_arg" : 'X\(//\)[^/]' \| \
24384 X"$_am_arg" : 'X\(//\)$' \| \
24385 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
24386 $as_echo X"$_am_arg" |
24387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24391 /^X\(\/\/\)[^/].*/{
24403 s/.*/./; q'`/stamp-h
$_am_stamp_count
24406 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
24407 $as_echo "$as_me: executing $ac_file commands" >&6;}
24412 case $ac_file$ac_mode in
24413 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
24414 # Strip MF so we end up with the name of the file.
24415 mf
=`echo "$mf" | sed -e 's/:.*$//'`
24416 # Check whether this is an Automake generated Makefile or not.
24417 # We used to match only the files named `Makefile.in', but
24418 # some people rename them; so instead we look at the file content.
24419 # Grep'ing the first line is not enough: some people post-process
24420 # each Makefile.in and add a new line on top of each file to say so.
24421 # Grep'ing the whole file is not good either: AIX grep has a line
24422 # limit of 2048, but all sed's we know have understand at least 4000.
24423 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
24424 dirpart
=`$as_dirname -- "$mf" ||
24425 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24426 X"$mf" : 'X\(//\)[^/]' \| \
24427 X"$mf" : 'X\(//\)$' \| \
24428 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
24430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24434 /^X\(\/\/\)[^/].*/{
24450 # Extract the definition of DEPDIR, am__include, and am__quote
24451 # from the Makefile without running `make'.
24452 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
24453 test -z "$DEPDIR" && continue
24454 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
24455 test -z "am__include" && continue
24456 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
24457 # When using ansi2knr, U may be empty or an underscore; expand it
24458 U
=`sed -n 's/^U = //p' < "$mf"`
24459 # Find all dependency output files, they are included files with
24460 # $(DEPDIR) in their names. We invoke sed twice because it is the
24461 # simplest approach to changing $(DEPDIR) to its actual value in the
24463 for file in `sed -n "
24464 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
24465 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
24466 # Make sure the directory exists.
24467 test -f "$dirpart/$file" && continue
24468 fdir
=`$as_dirname -- "$file" ||
24469 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24470 X"$file" : 'X\(//\)[^/]' \| \
24471 X"$file" : 'X\(//\)$' \| \
24472 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
24473 $as_echo X"$file" |
24474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24478 /^X\(\/\/\)[^/].*/{
24491 { as_dir
=$dirpart/$fdir
24493 -*) as_dir
=.
/$as_dir;;
24495 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
24499 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
24500 *) as_qdir
=$as_dir;;
24502 as_dirs
="'$as_qdir' $as_dirs"
24503 as_dir
=`$as_dirname -- "$as_dir" ||
24504 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24505 X"$as_dir" : 'X\(//\)[^/]' \| \
24506 X"$as_dir" : 'X\(//\)$' \| \
24507 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
24508 $as_echo X"$as_dir" |
24509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24513 /^X\(\/\/\)[^/].*/{
24526 test -d "$as_dir" && break
24528 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
24529 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24530 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
24531 { (exit 1); exit 1; }; }; }
24532 # echo "creating $dirpart/$file"
24533 echo '# dummy' > "$dirpart/$file"
24542 { (exit 0); exit 0; }
24544 chmod +x
$CONFIG_STATUS
24545 ac_clean_files
=$ac_clean_files_save
24547 test $ac_write_fail = 0 ||
24548 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
24549 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
24550 { (exit 1); exit 1; }; }
24553 # configure is writing to config.log, and then calls config.status.
24554 # config.status does its own redirection, appending to config.log.
24555 # Unfortunately, on DOS this fails, as config.log is still kept open
24556 # by configure, so config.status won't be able to write to it; its
24557 # output is simply discarded. So we exec the FD to /dev/null,
24558 # effectively closing config.log, so it can be properly (re)opened and
24559 # appended to by config.status. When coming back to configure, we
24560 # need to make the FD available again.
24561 if test "$no_create" != yes; then
24563 ac_config_status_args
=
24564 test "$silent" = yes &&
24565 ac_config_status_args
="$ac_config_status_args --quiet"
24567 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24569 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24570 # would make configure fail if this is the last instruction.
24571 $ac_cs_success ||
{ (exit 1); exit 1; }
24573 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24574 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24575 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24578 ac_config_files
="$ac_config_files src/Makefile"
24580 cat >confcache
<<\_ACEOF
24581 # This file is a shell script that caches the results of configure
24582 # tests run on this system so they can be shared between configure
24583 # scripts and configure runs, see configure's option --config-cache.
24584 # It is not useful on other systems. If it contains results you don't
24585 # want to keep, you may remove or edit it.
24587 # config.status only pays attention to the cache file if you give it
24588 # the --recheck option to rerun configure.
24590 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24592 # following values.
24596 # The following way of writing the cache mishandles newlines in values,
24597 # but we know of no workaround that is simple, portable, and efficient.
24598 # So, we kill variables containing newlines.
24599 # Ultrix sh set writes to stderr and can't be redirected directly,
24600 # and sets the high bit in the cache file unless we assign to the vars.
24602 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24603 eval ac_val
=\$
$ac_var
24607 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
24608 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
24611 _ | IFS | as_nl
) ;; #(
24612 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
24613 *) $as_unset $ac_var ;;
24619 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24620 *${as_nl}ac_space
=\
*)
24621 # `set' does not quote correctly, so add quotes (double-quote
24622 # substitution turns \\\\ into \\, and sed turns \\ into \).
24625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24628 # `set' quotes correctly as required by POSIX, so do not add quotes.
24629 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24638 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24640 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24642 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
24643 if test -w "$cache_file"; then
24644 test "x$cache_file" != "x/dev/null" &&
24645 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
24646 $as_echo "$as_me: updating cache $cache_file" >&6;}
24647 cat confcache
>$cache_file
24649 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24650 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24655 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
24656 # Let make expand exec_prefix.
24657 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
24659 DEFS
=-DHAVE_CONFIG_H
24663 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
24664 # 1. Remove the extension, and $U if already installed.
24665 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
24666 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
24667 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24668 # will be set to the directory where LIBOBJS objects are built.
24669 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24670 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24672 LIBOBJS
=$ac_libobjs
24674 LTLIBOBJS
=$ac_ltlibobjs
24677 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24678 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24679 Usually this means the macro was only invoked conditionally." >&5
24680 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24681 Usually this means the macro was only invoked conditionally." >&2;}
24682 { (exit 1); exit 1; }; }
24684 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24685 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24686 Usually this means the macro was only invoked conditionally." >&5
24687 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
24688 Usually this means the macro was only invoked conditionally." >&2;}
24689 { (exit 1); exit 1; }; }
24691 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24692 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24693 Usually this means the macro was only invoked conditionally." >&5
24694 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24695 Usually this means the macro was only invoked conditionally." >&2;}
24696 { (exit 1); exit 1; }; }
24698 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24699 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24700 Usually this means the macro was only invoked conditionally." >&5
24701 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24702 Usually this means the macro was only invoked conditionally." >&2;}
24703 { (exit 1); exit 1; }; }
24706 : ${CONFIG_STATUS=./config.status}
24708 ac_clean_files_save
=$ac_clean_files
24709 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
24710 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24711 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
24712 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24714 # Generated by $as_me.
24715 # Run this file to recreate the current configuration.
24716 # Compiler output produced by configure, useful for debugging
24717 # configure, is in config.log if it exists.
24720 ac_cs_recheck=false
24722 SHELL=\${CONFIG_SHELL-$SHELL}
24725 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
24726 ## --------------------- ##
24727 ## M4sh Initialization. ##
24728 ## --------------------- ##
24730 # Be more Bourne compatible
24731 DUALCASE
=1; export DUALCASE
# for MKS sh
24732 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
24735 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24736 # is contrary to our usage. Disable this feature.
24737 alias -g '${1+"$@"}'='"$@"'
24738 setopt NO_GLOB_SUBST
24740 case `(set -o) 2>/dev/null` in
24741 *posix
*) set -o posix
;;
24750 # Avoid depending upon Character Ranges.
24751 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
24752 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24753 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
24754 as_cr_digits
='0123456789'
24755 as_cr_alnum
=$as_cr_Letters$as_cr_digits
24760 # Printing a long string crashes Solaris 7 /usr/bin/printf.
24761 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
24762 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
24763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
24764 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
24765 as_echo='printf %s
\n'
24766 as_echo_n='printf %s
'
24768 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
24769 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
24770 as_echo_n='/usr
/ucb
/echo -n'
24772 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
24773 as_echo_n_body='eval
24777 expr "X$arg" : "X\\(.*\\)$as_nl";
24778 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
24780 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
24782 export as_echo_n_body
24783 as_echo_n='sh
-c $as_echo_n_body as_echo
'
24785 export as_echo_body
24786 as_echo='sh
-c $as_echo_body as_echo
'
24789 # The user is always right.
24790 if test "${PATH_SEPARATOR+set}" != set; then
24792 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
24793 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
24798 # Support unset when possible.
24799 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24807 # We need space, tab and new line, in precisely that order. Quoting is
24808 # there to prevent editors from complaining about space-tab.
24809 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
24810 # splitting by setting IFS to empty value.)
24813 # Find who we are. Look in the path if we contain no directory separator.
24815 *[\\/]* ) as_myself=$0 ;;
24816 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24817 for as_dir in $PATH
24820 test -z "$as_dir" && as_dir=.
24821 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24827 # We did not find ourselves, most probably we were run as `sh COMMAND'
24828 # in which case we are not to be found in the path.
24829 if test "x$as_myself" = x
; then
24832 if test ! -f "$as_myself"; then
24833 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24834 { (exit 1); exit 1; }
24837 # Work around bugs in pre-3.0 UWIN ksh.
24838 for as_var
in ENV MAIL MAILPATH
24839 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
24851 # Required to use basename.
24852 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24853 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24859 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24860 as_basename
=basename
24866 # Name of the executable.
24867 as_me
=`$as_basename -- "$0" ||
24868 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24869 X"$0" : 'X\(//\)$' \| \
24870 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24872 sed '/^.*\/\([^/][^/]*\)\/*$/{
24891 as_lineno_1
=$LINENO
24892 as_lineno_2
=$LINENO
24893 test "x$as_lineno_1" != "x$as_lineno_2" &&
24894 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
24896 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24897 # uniformly replaced by the line number. The first 'sed' inserts a
24898 # line-number line after each line using $LINENO; the second 'sed'
24899 # does the real work. The second script uses 'N' to pair each
24900 # line-number line with the line containing $LINENO, and appends
24901 # trailing '-' during substitution so that $LINENO is not a special
24902 # case at line end.
24903 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24904 # scripts with optimization help from Paolo Bonzini. Blame Lee
24905 # E. McMahon (1931-1989) for sed's syntax. :-)
24917 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24920 ' >$as_me.lineno
&&
24921 chmod +x
"$as_me.lineno" ||
24922 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24923 { (exit 1); exit 1; }; }
24925 # Don't try to exec as it changes $[0], causing all sort of problems
24926 # (the dirname of $[0] is not the place where we might find the
24927 # original and so on. Autoconf is especially sensitive to this).
24928 .
"./$as_me.lineno"
24929 # Exit status is that of the last command.
24934 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24940 ECHO_C
= ECHO_N
= ECHO_T
=
24941 case `echo -n x` in
24943 case `echo 'x\c'` in
24944 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24950 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24951 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24957 rm -f conf$$ conf$$.exe conf$$.
file
24958 if test -d conf$$.dir
; then
24959 rm -f conf$$.dir
/conf$$.
file
24962 mkdir conf$$.dir
2>/dev
/null
24964 if (echo >conf$$.
file) 2>/dev
/null
; then
24965 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24967 # ... but there are two gotchas:
24968 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24969 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24970 # In both cases, we have to default to `cp -p'.
24971 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24973 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24981 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24982 rmdir conf$$.dir
2>/dev
/null
24984 if mkdir
-p .
2>/dev
/null
; then
24987 test -d .
/-p && rmdir .
/-p
24991 if test -x / >/dev
/null
2>&1; then
24992 as_test_x
='test -x'
24994 if ls -dL / >/dev
/null
2>&1; then
25001 if test -d "$1"; then
25007 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25008 ???[sx]*):;;*)false;;esac;fi
25012 as_executable_p
=$as_test_x
25014 # Sed expression to map a string onto a valid CPP name.
25015 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25017 # Sed expression to map a string onto a valid variable name.
25018 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25023 # Save the log message, to keep $[0] and so on meaningful, and to
25024 # report actual input values of CONFIG_FILES etc. instead of their
25025 # values after options handling.
25027 This file was extended by netbsd-iscsi $as_me 20090622, which was
25028 generated by GNU Autoconf 2.63. Invocation command line was
25030 CONFIG_FILES = $CONFIG_FILES
25031 CONFIG_HEADERS = $CONFIG_HEADERS
25032 CONFIG_LINKS = $CONFIG_LINKS
25033 CONFIG_COMMANDS = $CONFIG_COMMANDS
25036 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25041 case $ac_config_files in *"
25042 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
25045 case $ac_config_headers in *"
25046 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
25050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25051 # Files that config.status was made for.
25052 config_files="$ac_config_files"
25053 config_headers="$ac_config_headers"
25054 config_commands="$ac_config_commands"
25058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25060 \`$as_me' instantiates files from templates according to the
25061 current configuration.
25063 Usage: $0 [OPTION]... [FILE]...
25065 -h, --help print this help, then exit
25066 -V, --version print version number and configuration settings, then exit
25067 -q, --quiet, --silent
25068 do not print progress messages
25069 -d, --debug don't remove temporary files
25070 --recheck update $as_me by reconfiguring in the same conditions
25071 --file=FILE[:TEMPLATE]
25072 instantiate the configuration file FILE
25073 --header=FILE[:TEMPLATE]
25074 instantiate the configuration header FILE
25076 Configuration files:
25079 Configuration headers:
25082 Configuration commands:
25085 Report bugs to <bug-autoconf@gnu.org>."
25088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25090 netbsd-iscsi config.status 20090622
25091 configured by $0, generated by GNU Autoconf 2.63,
25092 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25094 Copyright (C) 2008 Free Software Foundation, Inc.
25095 This config.status script is free software; the Free Software Foundation
25096 gives unlimited permission to copy, distribute and modify it."
25103 test -n "\$AWK" || AWK=awk
25106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25107 # The default lists apply if the user does not specify any file.
25113 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
25114 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
25125 # Handling of the options.
25126 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
25128 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
25129 $as_echo "$ac_cs_version"; exit ;;
25130 --debug |
--debu |
--deb |
--de |
--d |
-d )
25132 --file |
--fil |
--fi |
--f )
25135 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25137 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
25138 ac_need_defaults
=false
;;
25139 --header |
--heade |
--head |
--hea )
25142 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25144 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
25145 ac_need_defaults
=false
;;
25147 # Conflict between --help and --header
25148 { $as_echo "$as_me: error: ambiguous option: $1
25149 Try \`$0 --help' for more information." >&2
25150 { (exit 1); exit 1; }; };;
25151 --help |
--hel |
-h )
25152 $as_echo "$ac_cs_usage"; exit ;;
25153 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
25154 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
25157 # This is an error.
25158 -*) { $as_echo "$as_me: error: unrecognized option: $1
25159 Try \`$0 --help' for more information." >&2
25160 { (exit 1); exit 1; }; } ;;
25162 *) ac_config_targets
="$ac_config_targets $1"
25163 ac_need_defaults
=false
;;
25169 ac_configure_extra_args
=
25171 if $ac_cs_silent; then
25173 ac_configure_extra_args
="$ac_configure_extra_args --silent"
25177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25178 if \$ac_cs_recheck; then
25179 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25181 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25182 CONFIG_SHELL='$SHELL'
25183 export CONFIG_SHELL
25188 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25192 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25193 ## Running $as_me. ##
25199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25203 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25209 # Handling of arguments.
25210 for ac_config_target
in $ac_config_targets
25212 case $ac_config_target in
25213 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
25214 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
25215 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
25216 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
25218 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25219 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25220 { (exit 1); exit 1; }; };;
25225 # If the user did not use the arguments to specify the items to instantiate,
25226 # then the envvar interface is used. Set only those that are not.
25227 # We use the long form for the default assignment because of an extremely
25228 # bizarre bug on SunOS 4.1.3.
25229 if $ac_need_defaults; then
25230 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
25231 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
25232 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
25235 # Have a temporary directory for convenience. Make it in the build tree
25236 # simply because there is no reason against having it here, and in addition,
25237 # creating and moving files from /tmp can sometimes cause problems.
25238 # Hook for its removal unless debugging.
25239 # Note that there is a small window in which the directory will not be cleaned:
25240 # after its creation but before its name has been assigned to `$tmp'.
25244 trap 'exit_status=$?
25245 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25247 trap '{ (exit 1); exit 1; }' 1 2 13 15
25249 # Create a (secure) tmp directory for tmp files.
25252 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25253 test -n "$tmp" && test -d "$tmp"
25256 tmp
=.
/conf$$
-$RANDOM
25257 (umask 077 && mkdir
"$tmp")
25260 $as_echo "$as_me: cannot create a temporary directory in ." >&2
25261 { (exit 1); exit 1; }
25264 # Set up the scripts for CONFIG_FILES section.
25265 # No need to generate them if there are no CONFIG_FILES.
25266 # This happens for instance with `./config.status config.h'.
25267 if test -n "$CONFIG_FILES"; then
25271 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
25272 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
25275 ac_cs_awk_cr
=$ac_cr
25278 echo 'BEGIN {' >"$tmp/subs1.awk" &&
25283 echo "cat >conf$$subs.awk <<_ACEOF" &&
25284 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
25286 } >conf$$subs.sh ||
25287 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
25288 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
25289 { (exit 1); exit 1; }; }
25290 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
25292 for ac_last_try in false false false false false :; do
25293 . ./conf$$subs.sh ||
25294 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
25295 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
25296 { (exit 1); exit 1; }; }
25298 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
25299 if test $ac_delim_n = $ac_delim_num; then
25301 elif $ac_last_try; then
25302 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
25303 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
25304 { (exit 1); exit 1; }; }
25306 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25309 rm -f conf$$subs.sh
25311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25312 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
25316 s/^/S["/; s
/!.
*/"]=/
25326 s/\(.\{148\}\).*/\1/
25328 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
25333 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25340 s/\(.\{148\}\).*/\1/
25342 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
25346 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
25351 ' <conf$$subs.awk | sed '
25356 ' >>$CONFIG_STATUS || ac_write_fail=1
25357 rm -f conf$$subs.awk
25358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25360 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
25361 for (key in S) S_is_set[key] = 1
25367 nfields = split(line, field, "@
")
25369 len = length(field[1])
25370 for (i = 2; i < nfields; i++) {
25372 keylen = length(key)
25373 if (S_is_set[key]) {
25375 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
25376 len += length(value) + length(field[++i])
25387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25388 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
25389 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
25392 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
25393 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
25394 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
25395 { (exit 1); exit 1; }; }
25398 # VPATH may cause trouble with some makes, so we remove $(srcdir),
25399 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
25400 # trailing colons and then remove the whole line if VPATH becomes empty
25401 # (actually we leave an empty line to preserve line numbers).
25402 if test "x
$srcdir" = x.; then
25403 ac_vpsub='/^[ ]*VPATH[ ]*=/{
25404 s/:*\$(srcdir):*/:/
25405 s/:*\${srcdir}:*/:/
25407 s/^\([^=]*=[ ]*\):*/\1/
25413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25414 fi # test -n "$CONFIG_FILES"
25416 # Set up the scripts for CONFIG_HEADERS section.
25417 # No need to generate them if there are no CONFIG_HEADERS.
25418 # This happens for instance with `./config.status Makefile'.
25419 if test -n "$CONFIG_HEADERS"; then
25420 cat >"$tmp/defines.
awk" <<\_ACAWK ||
25424 # Transform confdefs.h into an awk script `defines.awk', embedded as
25425 # here-document in config.status, that substitutes the proper values into
25426 # config.h.in to produce config.h.
25428 # Create a delimiter string that does not exist in confdefs.h, to ease
25429 # handling of long lines.
25431 for ac_last_try in false false :; do
25432 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
25433 if test -z "$ac_t"; then
25435 elif $ac_last_try; then
25436 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
25437 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
25438 { (exit 1); exit 1; }; }
25440 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
25444 # For the awk script, D is an array of macro values keyed by name,
25445 # likewise P contains macro parameters if any. Preserve backslash
25446 # newline sequences.
25448 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25450 s/.\{148\}/&'"$ac_delim"'/g
25453 s/^[ ]*#[ ]*define[ ][ ]*/ /
25460 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
25462 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
25466 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
25467 D["\
1"]=" \
3\\\\\\n
"\\/p
25469 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
25474 s/.\{148\}/&'"$ac_delim"'/g
25479 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
25482 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
25484 ' <confdefs.h | sed '
25485 s/'"$ac_delim"'/"\\\
25486 "/g' >>$CONFIG_STATUS || ac_write_fail=1
25488 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25489 for (key in D) D_is_set[key] = 1
25492 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
25494 split(line, arg, " ")
25495 if (arg[1] == "#") {
25499 defundef
= substr
(arg
[1], 2)
25502 split(mac1
, mac2
, "(") #)
25504 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
25505 if (D_is_set
[macro
]) {
25506 # Preserve the white space surrounding the "#".
25507 print prefix
"define", macro P
[macro
] D
[macro
]
25510 # Replace #undef with comments. This is necessary, for example,
25511 # in the case of _POSIX_SOURCE, which is predefined and required
25512 # on some systems where configure will not decide to define it.
25513 if (defundef
== "undef") {
25514 print
"/*", prefix defundef
, macro
, "*/"
25522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25523 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
25524 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
25525 { (exit 1); exit 1; }; }
25526 fi # test -n "$CONFIG_HEADERS"
25529 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
25534 :[FHLC
]) ac_mode
=$ac_tag; continue;;
25536 case $ac_mode$ac_tag in
25538 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
25539 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
25540 { (exit 1); exit 1; }; };;
25541 :[FH
]-) ac_tag
=-:-;;
25542 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
25559 -) ac_f
="$tmp/stdin";;
25560 *) # Look for the file first in the build tree, then in the source tree
25561 # (if the path is not absolute). The absolute path cannot be DOS-style,
25562 # because $ac_f cannot contain `:'.
25566 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
25568 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25569 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25570 { (exit 1); exit 1; }; };;
25572 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
25573 ac_file_inputs
="$ac_file_inputs '$ac_f'"
25576 # Let's still pretend it is `configure' which instantiates (i.e., don't
25577 # use $as_me), people would be surprised to read:
25578 # /* config.h. Generated by config.status. */
25579 configure_input
='Generated from '`
25580 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
25582 if test x
"$ac_file" != x-
; then
25583 configure_input
="$ac_file. $configure_input"
25584 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
25585 $as_echo "$as_me: creating $ac_file" >&6;}
25587 # Neutralize special characters interpreted by sed in replacement strings.
25588 case $configure_input in #(
25589 *\
&* |
*\|
* |
*\\* )
25590 ac_sed_conf_input
=`$as_echo "$configure_input" |
25591 sed 's/[\\\\&|]/\\\\&/g'`;; #(
25592 *) ac_sed_conf_input
=$configure_input;;
25596 *:-:* |
*:-) cat >"$tmp/stdin" \
25597 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25598 $as_echo "$as_me: error: could not create $ac_file" >&2;}
25599 { (exit 1); exit 1; }; } ;;
25604 ac_dir
=`$as_dirname -- "$ac_file" ||
25605 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25606 X"$ac_file" : 'X\(//\)[^/]' \| \
25607 X"$ac_file" : 'X\(//\)$' \| \
25608 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25609 $as_echo X"$ac_file" |
25610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25614 /^X\(\/\/\)[^/].*/{
25629 -*) as_dir
=.
/$as_dir;;
25631 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25635 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25636 *) as_qdir
=$as_dir;;
25638 as_dirs
="'$as_qdir' $as_dirs"
25639 as_dir
=`$as_dirname -- "$as_dir" ||
25640 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25641 X"$as_dir" : 'X\(//\)[^/]' \| \
25642 X"$as_dir" : 'X\(//\)$' \| \
25643 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25644 $as_echo X"$as_dir" |
25645 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25649 /^X\(\/\/\)[^/].*/{
25662 test -d "$as_dir" && break
25664 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25665 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25666 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25667 { (exit 1); exit 1; }; }; }
25671 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25673 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
25674 # A ".." for each directory in $ac_dir_suffix.
25675 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
25676 case $ac_top_builddir_sub in
25677 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25678 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25681 ac_abs_top_builddir
=$ac_pwd
25682 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25683 # for backward compatibility:
25684 ac_top_builddir
=$ac_top_build_prefix
25687 .
) # We are building in place.
25689 ac_top_srcdir
=$ac_top_builddir_sub
25690 ac_abs_top_srcdir
=$ac_pwd ;;
25691 [\\/]* | ?
:[\\/]* ) # Absolute name.
25692 ac_srcdir
=$srcdir$ac_dir_suffix;
25693 ac_top_srcdir
=$srcdir
25694 ac_abs_top_srcdir
=$srcdir ;;
25695 *) # Relative name.
25696 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25697 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25698 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25700 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25710 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25711 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25713 ac_MKDIR_P
=$MKDIR_P
25715 [\\/$
]* | ?
:[\\/]* ) ;;
25716 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
25720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25721 # If the template does not know about datarootdir, expand it.
25722 # FIXME: This hack should be removed a few years after 2.60.
25723 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25736 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
25737 *datarootdir
*) ac_datarootdir_seen
=yes;;
25738 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25739 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25740 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25743 ac_datarootdir_hack='
25744 s&@datadir@&$datadir&g
25745 s&@docdir@&$docdir&g
25746 s&@infodir@&$infodir&g
25747 s&@localedir@&$localedir&g
25748 s&@mandir@&$mandir&g
25749 s&\\\${datarootdir}&$datarootdir&g' ;;
25753 # Neutralize VPATH when `$srcdir' = `.'.
25754 # Shell code in configure.ac might set extrasub.
25755 # FIXME: do we really want to maintain this feature?
25756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25757 ac_sed_extra="$ac_vpsub
25760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
25762 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25763 s|@configure_input@|
$ac_sed_conf_input|
;t t
25764 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25765 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
25766 s
&@srcdir@
&$ac_srcdir&;t t
25767 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25768 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25769 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25770 s
&@builddir@
&$ac_builddir&;t t
25771 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25772 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25773 s
&@INSTALL@
&$ac_INSTALL&;t t
25774 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
25775 $ac_datarootdir_hack
25777 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
25778 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
25779 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
25780 { (exit 1); exit 1; }; }
25782 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25783 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25784 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25785 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25786 which seems to be undefined. Please make sure it is defined." >&5
25787 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25788 which seems to be undefined. Please make sure it is defined." >&2;}
25792 -) cat "$tmp/out" && rm -f "$tmp/out";;
25793 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
25795 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25796 $as_echo "$as_me: error: could not create $ac_file" >&2;}
25797 { (exit 1); exit 1; }; }
25803 if test x"$ac_file" != x-; then
25805 $as_echo "/* $configure_input */" \
25806 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
25807 } >"$tmp/config.h" \
25808 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25809 $as_echo "$as_me: error: could not create $ac_file" >&2;}
25810 { (exit 1); exit 1; }; }
25811 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
25812 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25813 $as_echo "$as_me: $ac_file is unchanged" >&6;}
25816 mv "$tmp/config.h" "$ac_file" \
25817 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25818 $as_echo "$as_me: error: could not create $ac_file" >&2;}
25819 { (exit 1); exit 1; }; }
25822 $as_echo "/* $configure_input */" \
25823 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
25824 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
25825 $as_echo "$as_me: error: could not create -" >&2;}
25826 { (exit 1); exit 1; }; }
25828 # Compute "$ac_file"'s index
in $config_headers.
25831 for _am_header
in $config_headers :; do
25832 case $_am_header in
25833 $_am_arg |
$_am_arg:* )
25836 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
25839 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
25840 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25841 X"$_am_arg" : 'X\(//\)[^/]' \| \
25842 X"$_am_arg" : 'X\(//\)$' \| \
25843 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
25844 $as_echo X"$_am_arg" |
25845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25849 /^X\(\/\/\)[^/].*/{
25861 s/.*/./; q'`/stamp-h
$_am_stamp_count
25864 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
25865 $as_echo "$as_me: executing $ac_file commands" >&6;}
25870 case $ac_file$ac_mode in
25871 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
25872 # Strip MF so we end up with the name of the file.
25873 mf
=`echo "$mf" | sed -e 's/:.*$//'`
25874 # Check whether this is an Automake generated Makefile or not.
25875 # We used to match only the files named `Makefile.in', but
25876 # some people rename them; so instead we look at the file content.
25877 # Grep'ing the first line is not enough: some people post-process
25878 # each Makefile.in and add a new line on top of each file to say so.
25879 # Grep'ing the whole file is not good either: AIX grep has a line
25880 # limit of 2048, but all sed's we know have understand at least 4000.
25881 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
25882 dirpart
=`$as_dirname -- "$mf" ||
25883 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25884 X"$mf" : 'X\(//\)[^/]' \| \
25885 X"$mf" : 'X\(//\)$' \| \
25886 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
25888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25892 /^X\(\/\/\)[^/].*/{
25908 # Extract the definition of DEPDIR, am__include, and am__quote
25909 # from the Makefile without running `make'.
25910 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
25911 test -z "$DEPDIR" && continue
25912 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
25913 test -z "am__include" && continue
25914 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
25915 # When using ansi2knr, U may be empty or an underscore; expand it
25916 U
=`sed -n 's/^U = //p' < "$mf"`
25917 # Find all dependency output files, they are included files with
25918 # $(DEPDIR) in their names. We invoke sed twice because it is the
25919 # simplest approach to changing $(DEPDIR) to its actual value in the
25921 for file in `sed -n "
25922 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
25923 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
25924 # Make sure the directory exists.
25925 test -f "$dirpart/$file" && continue
25926 fdir
=`$as_dirname -- "$file" ||
25927 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25928 X"$file" : 'X\(//\)[^/]' \| \
25929 X"$file" : 'X\(//\)$' \| \
25930 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
25931 $as_echo X"$file" |
25932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25936 /^X\(\/\/\)[^/].*/{
25949 { as_dir
=$dirpart/$fdir
25951 -*) as_dir
=.
/$as_dir;;
25953 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25957 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25958 *) as_qdir
=$as_dir;;
25960 as_dirs
="'$as_qdir' $as_dirs"
25961 as_dir
=`$as_dirname -- "$as_dir" ||
25962 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25963 X"$as_dir" : 'X\(//\)[^/]' \| \
25964 X"$as_dir" : 'X\(//\)$' \| \
25965 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25966 $as_echo X"$as_dir" |
25967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25971 /^X\(\/\/\)[^/].*/{
25984 test -d "$as_dir" && break
25986 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25987 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25988 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
25989 { (exit 1); exit 1; }; }; }
25990 # echo "creating $dirpart/$file"
25991 echo '# dummy' > "$dirpart/$file"
26000 { (exit 0); exit 0; }
26002 chmod +x
$CONFIG_STATUS
26003 ac_clean_files
=$ac_clean_files_save
26005 test $ac_write_fail = 0 ||
26006 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
26007 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
26008 { (exit 1); exit 1; }; }
26011 # configure is writing to config.log, and then calls config.status.
26012 # config.status does its own redirection, appending to config.log.
26013 # Unfortunately, on DOS this fails, as config.log is still kept open
26014 # by configure, so config.status won't be able to write to it; its
26015 # output is simply discarded. So we exec the FD to /dev/null,
26016 # effectively closing config.log, so it can be properly (re)opened and
26017 # appended to by config.status. When coming back to configure, we
26018 # need to make the FD available again.
26019 if test "$no_create" != yes; then
26021 ac_config_status_args
=
26022 test "$silent" = yes &&
26023 ac_config_status_args
="$ac_config_status_args --quiet"
26025 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
26027 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
26028 # would make configure fail if this is the last instruction.
26029 $ac_cs_success ||
{ (exit 1); exit 1; }
26031 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
26032 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
26033 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
26036 ac_config_files
="$ac_config_files src/lib/Makefile"
26038 cat >confcache
<<\_ACEOF
26039 # This file is a shell script that caches the results of configure
26040 # tests run on this system so they can be shared between configure
26041 # scripts and configure runs, see configure's option --config-cache.
26042 # It is not useful on other systems. If it contains results you don't
26043 # want to keep, you may remove or edit it.
26045 # config.status only pays attention to the cache file if you give it
26046 # the --recheck option to rerun configure.
26048 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26049 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26050 # following values.
26054 # The following way of writing the cache mishandles newlines in values,
26055 # but we know of no workaround that is simple, portable, and efficient.
26056 # So, we kill variables containing newlines.
26057 # Ultrix sh set writes to stderr and can't be redirected directly,
26058 # and sets the high bit in the cache file unless we assign to the vars.
26060 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26061 eval ac_val
=\$
$ac_var
26065 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
26066 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26069 _ | IFS | as_nl
) ;; #(
26070 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
26071 *) $as_unset $ac_var ;;
26077 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26078 *${as_nl}ac_space
=\
*)
26079 # `set' does not quote correctly, so add quotes (double-quote
26080 # substitution turns \\\\ into \\, and sed turns \\ into \).
26083 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26086 # `set' quotes correctly as required by POSIX, so do not add quotes.
26087 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26096 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26098 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26100 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
26101 if test -w "$cache_file"; then
26102 test "x$cache_file" != "x/dev/null" &&
26103 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
26104 $as_echo "$as_me: updating cache $cache_file" >&6;}
26105 cat confcache
>$cache_file
26107 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
26108 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26113 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
26114 # Let make expand exec_prefix.
26115 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
26117 DEFS
=-DHAVE_CONFIG_H
26121 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
26122 # 1. Remove the extension, and $U if already installed.
26123 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
26124 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
26125 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26126 # will be set to the directory where LIBOBJS objects are built.
26127 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26128 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
26130 LIBOBJS
=$ac_libobjs
26132 LTLIBOBJS
=$ac_ltlibobjs
26135 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
26136 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
26137 Usually this means the macro was only invoked conditionally." >&5
26138 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
26139 Usually this means the macro was only invoked conditionally." >&2;}
26140 { (exit 1); exit 1; }; }
26142 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
26143 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
26144 Usually this means the macro was only invoked conditionally." >&5
26145 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
26146 Usually this means the macro was only invoked conditionally." >&2;}
26147 { (exit 1); exit 1; }; }
26149 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
26150 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
26151 Usually this means the macro was only invoked conditionally." >&5
26152 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
26153 Usually this means the macro was only invoked conditionally." >&2;}
26154 { (exit 1); exit 1; }; }
26156 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
26157 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
26158 Usually this means the macro was only invoked conditionally." >&5
26159 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
26160 Usually this means the macro was only invoked conditionally." >&2;}
26161 { (exit 1); exit 1; }; }
26164 : ${CONFIG_STATUS=./config.status}
26166 ac_clean_files_save
=$ac_clean_files
26167 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
26168 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
26169 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26170 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26172 # Generated by $as_me.
26173 # Run this file to recreate the current configuration.
26174 # Compiler output produced by configure, useful for debugging
26175 # configure, is in config.log if it exists.
26178 ac_cs_recheck=false
26180 SHELL=\${CONFIG_SHELL-$SHELL}
26183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26184 ## --------------------- ##
26185 ## M4sh Initialization. ##
26186 ## --------------------- ##
26188 # Be more Bourne compatible
26189 DUALCASE
=1; export DUALCASE
# for MKS sh
26190 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
26193 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26194 # is contrary to our usage. Disable this feature.
26195 alias -g '${1+"$@"}'='"$@"'
26196 setopt NO_GLOB_SUBST
26198 case `(set -o) 2>/dev/null` in
26199 *posix
*) set -o posix
;;
26208 # Avoid depending upon Character Ranges.
26209 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
26210 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26211 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
26212 as_cr_digits
='0123456789'
26213 as_cr_alnum
=$as_cr_Letters$as_cr_digits
26218 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26219 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26220 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26221 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26222 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26223 as_echo='printf %s
\n'
26224 as_echo_n='printf %s
'
26226 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26227 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
26228 as_echo_n='/usr
/ucb
/echo -n'
26230 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26231 as_echo_n_body='eval
26235 expr "X$arg" : "X\\(.*\\)$as_nl";
26236 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26238 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
26240 export as_echo_n_body
26241 as_echo_n='sh
-c $as_echo_n_body as_echo
'
26243 export as_echo_body
26244 as_echo='sh
-c $as_echo_body as_echo
'
26247 # The user is always right.
26248 if test "${PATH_SEPARATOR+set}" != set; then
26250 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26251 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26256 # Support unset when possible.
26257 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26265 # We need space, tab and new line, in precisely that order. Quoting is
26266 # there to prevent editors from complaining about space-tab.
26267 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26268 # splitting by setting IFS to empty value.)
26271 # Find who we are. Look in the path if we contain no directory separator.
26273 *[\\/]* ) as_myself=$0 ;;
26274 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26275 for as_dir in $PATH
26278 test -z "$as_dir" && as_dir=.
26279 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26285 # We did not find ourselves, most probably we were run as `sh COMMAND'
26286 # in which case we are not to be found in the path.
26287 if test "x$as_myself" = x
; then
26290 if test ! -f "$as_myself"; then
26291 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26292 { (exit 1); exit 1; }
26295 # Work around bugs in pre-3.0 UWIN ksh.
26296 for as_var
in ENV MAIL MAILPATH
26297 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
26309 # Required to use basename.
26310 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26311 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26317 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26318 as_basename
=basename
26324 # Name of the executable.
26325 as_me
=`$as_basename -- "$0" ||
26326 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26327 X"$0" : 'X\(//\)$' \| \
26328 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26330 sed '/^.*\/\([^/][^/]*\)\/*$/{
26349 as_lineno_1
=$LINENO
26350 as_lineno_2
=$LINENO
26351 test "x$as_lineno_1" != "x$as_lineno_2" &&
26352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
26354 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26355 # uniformly replaced by the line number. The first 'sed' inserts a
26356 # line-number line after each line using $LINENO; the second 'sed'
26357 # does the real work. The second script uses 'N' to pair each
26358 # line-number line with the line containing $LINENO, and appends
26359 # trailing '-' during substitution so that $LINENO is not a special
26360 # case at line end.
26361 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26362 # scripts with optimization help from Paolo Bonzini. Blame Lee
26363 # E. McMahon (1931-1989) for sed's syntax. :-)
26375 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26378 ' >$as_me.lineno
&&
26379 chmod +x
"$as_me.lineno" ||
26380 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26381 { (exit 1); exit 1; }; }
26383 # Don't try to exec as it changes $[0], causing all sort of problems
26384 # (the dirname of $[0] is not the place where we might find the
26385 # original and so on. Autoconf is especially sensitive to this).
26386 .
"./$as_me.lineno"
26387 # Exit status is that of the last command.
26392 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
26398 ECHO_C
= ECHO_N
= ECHO_T
=
26399 case `echo -n x` in
26401 case `echo 'x\c'` in
26402 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
26408 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
26409 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
26415 rm -f conf$$ conf$$.exe conf$$.
file
26416 if test -d conf$$.dir
; then
26417 rm -f conf$$.dir
/conf$$.
file
26420 mkdir conf$$.dir
2>/dev
/null
26422 if (echo >conf$$.
file) 2>/dev
/null
; then
26423 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
26425 # ... but there are two gotchas:
26426 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26427 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26428 # In both cases, we have to default to `cp -p'.
26429 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
26431 elif ln conf$$.
file conf$$
2>/dev
/null
; then
26439 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
26440 rmdir conf$$.dir
2>/dev
/null
26442 if mkdir
-p .
2>/dev
/null
; then
26445 test -d .
/-p && rmdir .
/-p
26449 if test -x / >/dev
/null
2>&1; then
26450 as_test_x
='test -x'
26452 if ls -dL / >/dev
/null
2>&1; then
26459 if test -d "$1"; then
26465 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
26466 ???[sx]*):;;*)false;;esac;fi
26470 as_executable_p
=$as_test_x
26472 # Sed expression to map a string onto a valid CPP name.
26473 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26475 # Sed expression to map a string onto a valid variable name.
26476 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26481 # Save the log message, to keep $[0] and so on meaningful, and to
26482 # report actual input values of CONFIG_FILES etc. instead of their
26483 # values after options handling.
26485 This file was extended by netbsd-iscsi $as_me 20090622, which was
26486 generated by GNU Autoconf 2.63. Invocation command line was
26488 CONFIG_FILES = $CONFIG_FILES
26489 CONFIG_HEADERS = $CONFIG_HEADERS
26490 CONFIG_LINKS = $CONFIG_LINKS
26491 CONFIG_COMMANDS = $CONFIG_COMMANDS
26494 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26499 case $ac_config_files in *"
26500 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
26503 case $ac_config_headers in *"
26504 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
26508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26509 # Files that config.status was made for.
26510 config_files="$ac_config_files"
26511 config_headers="$ac_config_headers"
26512 config_commands="$ac_config_commands"
26516 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26518 \`$as_me' instantiates files from templates according to the
26519 current configuration.
26521 Usage: $0 [OPTION]... [FILE]...
26523 -h, --help print this help, then exit
26524 -V, --version print version number and configuration settings, then exit
26525 -q, --quiet, --silent
26526 do not print progress messages
26527 -d, --debug don't remove temporary files
26528 --recheck update $as_me by reconfiguring in the same conditions
26529 --file=FILE[:TEMPLATE]
26530 instantiate the configuration file FILE
26531 --header=FILE[:TEMPLATE]
26532 instantiate the configuration header FILE
26534 Configuration files:
26537 Configuration headers:
26540 Configuration commands:
26543 Report bugs to <bug-autoconf@gnu.org>."
26546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26548 netbsd-iscsi config.status 20090622
26549 configured by $0, generated by GNU Autoconf 2.63,
26550 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
26552 Copyright (C) 2008 Free Software Foundation, Inc.
26553 This config.status script is free software; the Free Software Foundation
26554 gives unlimited permission to copy, distribute and modify it."
26561 test -n "\$AWK" || AWK=awk
26564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26565 # The default lists apply if the user does not specify any file.
26571 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
26572 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
26583 # Handling of the options.
26584 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
26586 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
26587 $as_echo "$ac_cs_version"; exit ;;
26588 --debug |
--debu |
--deb |
--de |
--d |
-d )
26590 --file |
--fil |
--fi |
--f )
26593 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26595 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
26596 ac_need_defaults
=false
;;
26597 --header |
--heade |
--head |
--hea )
26600 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26602 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
26603 ac_need_defaults
=false
;;
26605 # Conflict between --help and --header
26606 { $as_echo "$as_me: error: ambiguous option: $1
26607 Try \`$0 --help' for more information." >&2
26608 { (exit 1); exit 1; }; };;
26609 --help |
--hel |
-h )
26610 $as_echo "$ac_cs_usage"; exit ;;
26611 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
26612 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
26615 # This is an error.
26616 -*) { $as_echo "$as_me: error: unrecognized option: $1
26617 Try \`$0 --help' for more information." >&2
26618 { (exit 1); exit 1; }; } ;;
26620 *) ac_config_targets
="$ac_config_targets $1"
26621 ac_need_defaults
=false
;;
26627 ac_configure_extra_args
=
26629 if $ac_cs_silent; then
26631 ac_configure_extra_args
="$ac_configure_extra_args --silent"
26635 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26636 if \$ac_cs_recheck; then
26637 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26639 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26640 CONFIG_SHELL='$SHELL'
26641 export CONFIG_SHELL
26646 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26650 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26651 ## Running $as_me. ##
26657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26661 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
26665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26667 # Handling of arguments.
26668 for ac_config_target
in $ac_config_targets
26670 case $ac_config_target in
26671 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
26672 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
26673 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
26674 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
26675 "src/lib/Makefile") CONFIG_FILES
="$CONFIG_FILES src/lib/Makefile" ;;
26677 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
26678 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
26679 { (exit 1); exit 1; }; };;
26684 # If the user did not use the arguments to specify the items to instantiate,
26685 # then the envvar interface is used. Set only those that are not.
26686 # We use the long form for the default assignment because of an extremely
26687 # bizarre bug on SunOS 4.1.3.
26688 if $ac_need_defaults; then
26689 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
26690 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
26691 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
26694 # Have a temporary directory for convenience. Make it in the build tree
26695 # simply because there is no reason against having it here, and in addition,
26696 # creating and moving files from /tmp can sometimes cause problems.
26697 # Hook for its removal unless debugging.
26698 # Note that there is a small window in which the directory will not be cleaned:
26699 # after its creation but before its name has been assigned to `$tmp'.
26703 trap 'exit_status=$?
26704 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26706 trap '{ (exit 1); exit 1; }' 1 2 13 15
26708 # Create a (secure) tmp directory for tmp files.
26711 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26712 test -n "$tmp" && test -d "$tmp"
26715 tmp
=.
/conf$$
-$RANDOM
26716 (umask 077 && mkdir
"$tmp")
26719 $as_echo "$as_me: cannot create a temporary directory in ." >&2
26720 { (exit 1); exit 1; }
26723 # Set up the scripts for CONFIG_FILES section.
26724 # No need to generate them if there are no CONFIG_FILES.
26725 # This happens for instance with `./config.status config.h'.
26726 if test -n "$CONFIG_FILES"; then
26730 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26731 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26734 ac_cs_awk_cr
=$ac_cr
26737 echo 'BEGIN {' >"$tmp/subs1.awk" &&
26742 echo "cat >conf$$subs.awk <<_ACEOF" &&
26743 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26745 } >conf$$subs.sh ||
26746 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
26747 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
26748 { (exit 1); exit 1; }; }
26749 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
26751 for ac_last_try in false false false false false :; do
26752 . ./conf$$subs.sh ||
26753 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
26754 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
26755 { (exit 1); exit 1; }; }
26757 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
26758 if test $ac_delim_n = $ac_delim_num; then
26760 elif $ac_last_try; then
26761 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
26762 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
26763 { (exit 1); exit 1; }; }
26765 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26768 rm -f conf$$subs.sh
26770 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26771 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
26775 s/^/S["/; s
/!.
*/"]=/
26785 s/\(.\{148\}\).*/\1/
26787 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
26792 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26799 s/\(.\{148\}\).*/\1/
26801 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
26805 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
26810 ' <conf$$subs.awk | sed '
26815 ' >>$CONFIG_STATUS || ac_write_fail=1
26816 rm -f conf$$subs.awk
26817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26819 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
26820 for (key in S) S_is_set[key] = 1
26826 nfields = split(line, field, "@
")
26828 len = length(field[1])
26829 for (i = 2; i < nfields; i++) {
26831 keylen = length(key)
26832 if (S_is_set[key]) {
26834 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26835 len += length(value) + length(field[++i])
26846 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26847 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26848 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
26851 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
26852 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
26853 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
26854 { (exit 1); exit 1; }; }
26857 # VPATH may cause trouble with some makes, so we remove $(srcdir),
26858 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
26859 # trailing colons and then remove the whole line if VPATH becomes empty
26860 # (actually we leave an empty line to preserve line numbers).
26861 if test "x
$srcdir" = x.; then
26862 ac_vpsub='/^[ ]*VPATH[ ]*=/{
26863 s/:*\$(srcdir):*/:/
26864 s/:*\${srcdir}:*/:/
26866 s/^\([^=]*=[ ]*\):*/\1/
26872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26873 fi # test -n "$CONFIG_FILES"
26875 # Set up the scripts for CONFIG_HEADERS section.
26876 # No need to generate them if there are no CONFIG_HEADERS.
26877 # This happens for instance with `./config.status Makefile'.
26878 if test -n "$CONFIG_HEADERS"; then
26879 cat >"$tmp/defines.
awk" <<\_ACAWK ||
26883 # Transform confdefs.h into an awk script `defines.awk', embedded as
26884 # here-document in config.status, that substitutes the proper values into
26885 # config.h.in to produce config.h.
26887 # Create a delimiter string that does not exist in confdefs.h, to ease
26888 # handling of long lines.
26890 for ac_last_try in false false :; do
26891 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
26892 if test -z "$ac_t"; then
26894 elif $ac_last_try; then
26895 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
26896 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
26897 { (exit 1); exit 1; }; }
26899 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
26903 # For the awk script, D is an array of macro values keyed by name,
26904 # likewise P contains macro parameters if any. Preserve backslash
26905 # newline sequences.
26907 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26909 s/.\{148\}/&'"$ac_delim"'/g
26912 s/^[ ]*#[ ]*define[ ][ ]*/ /
26919 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
26921 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
26925 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
26926 D["\
1"]=" \
3\\\\\\n
"\\/p
26928 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
26933 s/.\{148\}/&'"$ac_delim"'/g
26938 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
26941 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
26943 ' <confdefs.h | sed '
26944 s/'"$ac_delim"'/"\\\
26945 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26948 for (key in D) D_is_set[key] = 1
26951 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26953 split(line, arg, " ")
26954 if (arg[1] == "#") {
26958 defundef
= substr
(arg
[1], 2)
26961 split(mac1
, mac2
, "(") #)
26963 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
26964 if (D_is_set
[macro
]) {
26965 # Preserve the white space surrounding the "#".
26966 print prefix
"define", macro P
[macro
] D
[macro
]
26969 # Replace #undef with comments. This is necessary, for example,
26970 # in the case of _POSIX_SOURCE, which is predefined and required
26971 # on some systems where configure will not decide to define it.
26972 if (defundef
== "undef") {
26973 print
"/*", prefix defundef
, macro
, "*/"
26981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
26982 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
26983 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
26984 { (exit 1); exit 1; }; }
26985 fi # test -n "$CONFIG_HEADERS"
26988 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26993 :[FHLC
]) ac_mode
=$ac_tag; continue;;
26995 case $ac_mode$ac_tag in
26997 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
26998 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
26999 { (exit 1); exit 1; }; };;
27000 :[FH
]-) ac_tag
=-:-;;
27001 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
27018 -) ac_f
="$tmp/stdin";;
27019 *) # Look for the file first in the build tree, then in the source tree
27020 # (if the path is not absolute). The absolute path cannot be DOS-style,
27021 # because $ac_f cannot contain `:'.
27025 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
27027 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27028 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27029 { (exit 1); exit 1; }; };;
27031 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27032 ac_file_inputs
="$ac_file_inputs '$ac_f'"
27035 # Let's still pretend it is `configure' which instantiates (i.e., don't
27036 # use $as_me), people would be surprised to read:
27037 # /* config.h. Generated by config.status. */
27038 configure_input
='Generated from '`
27039 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27041 if test x
"$ac_file" != x-
; then
27042 configure_input
="$ac_file. $configure_input"
27043 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
27044 $as_echo "$as_me: creating $ac_file" >&6;}
27046 # Neutralize special characters interpreted by sed in replacement strings.
27047 case $configure_input in #(
27048 *\
&* |
*\|
* |
*\\* )
27049 ac_sed_conf_input
=`$as_echo "$configure_input" |
27050 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27051 *) ac_sed_conf_input
=$configure_input;;
27055 *:-:* |
*:-) cat >"$tmp/stdin" \
27056 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27057 $as_echo "$as_me: error: could not create $ac_file" >&2;}
27058 { (exit 1); exit 1; }; } ;;
27063 ac_dir
=`$as_dirname -- "$ac_file" ||
27064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27065 X"$ac_file" : 'X\(//\)[^/]' \| \
27066 X"$ac_file" : 'X\(//\)$' \| \
27067 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27068 $as_echo X"$ac_file" |
27069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27073 /^X\(\/\/\)[^/].*/{
27088 -*) as_dir
=.
/$as_dir;;
27090 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
27094 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27095 *) as_qdir
=$as_dir;;
27097 as_dirs
="'$as_qdir' $as_dirs"
27098 as_dir
=`$as_dirname -- "$as_dir" ||
27099 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27100 X"$as_dir" : 'X\(//\)[^/]' \| \
27101 X"$as_dir" : 'X\(//\)$' \| \
27102 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27103 $as_echo X"$as_dir" |
27104 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27108 /^X\(\/\/\)[^/].*/{
27121 test -d "$as_dir" && break
27123 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27124 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27125 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
27126 { (exit 1); exit 1; }; }; }
27130 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27132 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27133 # A ".." for each directory in $ac_dir_suffix.
27134 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27135 case $ac_top_builddir_sub in
27136 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
27137 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
27140 ac_abs_top_builddir
=$ac_pwd
27141 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
27142 # for backward compatibility:
27143 ac_top_builddir
=$ac_top_build_prefix
27146 .
) # We are building in place.
27148 ac_top_srcdir
=$ac_top_builddir_sub
27149 ac_abs_top_srcdir
=$ac_pwd ;;
27150 [\\/]* | ?
:[\\/]* ) # Absolute name.
27151 ac_srcdir
=$srcdir$ac_dir_suffix;
27152 ac_top_srcdir
=$srcdir
27153 ac_abs_top_srcdir
=$srcdir ;;
27154 *) # Relative name.
27155 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
27156 ac_top_srcdir
=$ac_top_build_prefix$srcdir
27157 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
27159 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
27169 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
27170 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
27172 ac_MKDIR_P
=$MKDIR_P
27174 [\\/$
]* | ?
:[\\/]* ) ;;
27175 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
27179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27180 # If the template does not know about datarootdir, expand it.
27181 # FIXME: This hack should be removed a few years after 2.60.
27182 ac_datarootdir_hack
=; ac_datarootdir_seen
=
27195 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27196 *datarootdir
*) ac_datarootdir_seen
=yes;;
27197 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
27198 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27199 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27201 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27202 ac_datarootdir_hack='
27203 s&@datadir@&$datadir&g
27204 s&@docdir@&$docdir&g
27205 s&@infodir@&$infodir&g
27206 s&@localedir@&$localedir&g
27207 s&@mandir@&$mandir&g
27208 s&\\\${datarootdir}&$datarootdir&g' ;;
27212 # Neutralize VPATH when `$srcdir' = `.'.
27213 # Shell code in configure.ac might set extrasub.
27214 # FIXME: do we really want to maintain this feature?
27215 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27216 ac_sed_extra="$ac_vpsub
27219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27221 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
27222 s|@configure_input@|
$ac_sed_conf_input|
;t t
27223 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
27224 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
27225 s
&@srcdir@
&$ac_srcdir&;t t
27226 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
27227 s
&@top_srcdir@
&$ac_top_srcdir&;t t
27228 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
27229 s
&@builddir@
&$ac_builddir&;t t
27230 s
&@abs_builddir@
&$ac_abs_builddir&;t t
27231 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
27232 s
&@INSTALL@
&$ac_INSTALL&;t t
27233 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
27234 $ac_datarootdir_hack
27236 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
27237 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
27238 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
27239 { (exit 1); exit 1; }; }
27241 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27242 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
27243 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
27244 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
27245 which seems to be undefined. Please make sure it is defined." >&5
27246 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
27247 which seems to be undefined. Please make sure it is defined." >&2;}
27251 -) cat "$tmp/out" && rm -f "$tmp/out";;
27252 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
27254 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27255 $as_echo "$as_me: error: could not create $ac_file" >&2;}
27256 { (exit 1); exit 1; }; }
27262 if test x"$ac_file" != x-; then
27264 $as_echo "/* $configure_input */" \
27265 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
27266 } >"$tmp/config.h" \
27267 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27268 $as_echo "$as_me: error: could not create $ac_file" >&2;}
27269 { (exit 1); exit 1; }; }
27270 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
27271 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27272 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27275 mv "$tmp/config.h" "$ac_file" \
27276 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
27277 $as_echo "$as_me: error: could not create $ac_file" >&2;}
27278 { (exit 1); exit 1; }; }
27281 $as_echo "/* $configure_input */" \
27282 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
27283 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
27284 $as_echo "$as_me: error: could not create -" >&2;}
27285 { (exit 1); exit 1; }; }
27287 # Compute "$ac_file"'s index
in $config_headers.
27290 for _am_header
in $config_headers :; do
27291 case $_am_header in
27292 $_am_arg |
$_am_arg:* )
27295 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
27298 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
27299 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27300 X"$_am_arg" : 'X\(//\)[^/]' \| \
27301 X"$_am_arg" : 'X\(//\)$' \| \
27302 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
27303 $as_echo X"$_am_arg" |
27304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27308 /^X\(\/\/\)[^/].*/{
27320 s/.*/./; q'`/stamp-h
$_am_stamp_count
27323 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
27324 $as_echo "$as_me: executing $ac_file commands" >&6;}
27329 case $ac_file$ac_mode in
27330 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
27331 # Strip MF so we end up with the name of the file.
27332 mf
=`echo "$mf" | sed -e 's/:.*$//'`
27333 # Check whether this is an Automake generated Makefile or not.
27334 # We used to match only the files named `Makefile.in', but
27335 # some people rename them; so instead we look at the file content.
27336 # Grep'ing the first line is not enough: some people post-process
27337 # each Makefile.in and add a new line on top of each file to say so.
27338 # Grep'ing the whole file is not good either: AIX grep has a line
27339 # limit of 2048, but all sed's we know have understand at least 4000.
27340 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
27341 dirpart
=`$as_dirname -- "$mf" ||
27342 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27343 X"$mf" : 'X\(//\)[^/]' \| \
27344 X"$mf" : 'X\(//\)$' \| \
27345 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
27347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27351 /^X\(\/\/\)[^/].*/{
27367 # Extract the definition of DEPDIR, am__include, and am__quote
27368 # from the Makefile without running `make'.
27369 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
27370 test -z "$DEPDIR" && continue
27371 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
27372 test -z "am__include" && continue
27373 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
27374 # When using ansi2knr, U may be empty or an underscore; expand it
27375 U
=`sed -n 's/^U = //p' < "$mf"`
27376 # Find all dependency output files, they are included files with
27377 # $(DEPDIR) in their names. We invoke sed twice because it is the
27378 # simplest approach to changing $(DEPDIR) to its actual value in the
27380 for file in `sed -n "
27381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
27382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
27383 # Make sure the directory exists.
27384 test -f "$dirpart/$file" && continue
27385 fdir
=`$as_dirname -- "$file" ||
27386 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27387 X"$file" : 'X\(//\)[^/]' \| \
27388 X"$file" : 'X\(//\)$' \| \
27389 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
27390 $as_echo X"$file" |
27391 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27395 /^X\(\/\/\)[^/].*/{
27408 { as_dir
=$dirpart/$fdir
27410 -*) as_dir
=.
/$as_dir;;
27412 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
27416 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27417 *) as_qdir
=$as_dir;;
27419 as_dirs
="'$as_qdir' $as_dirs"
27420 as_dir
=`$as_dirname -- "$as_dir" ||
27421 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27422 X"$as_dir" : 'X\(//\)[^/]' \| \
27423 X"$as_dir" : 'X\(//\)$' \| \
27424 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27425 $as_echo X"$as_dir" |
27426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27430 /^X\(\/\/\)[^/].*/{
27443 test -d "$as_dir" && break
27445 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
27446 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27447 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
27448 { (exit 1); exit 1; }; }; }
27449 # echo "creating $dirpart/$file"
27450 echo '# dummy' > "$dirpart/$file"
27459 { (exit 0); exit 0; }
27461 chmod +x
$CONFIG_STATUS
27462 ac_clean_files
=$ac_clean_files_save
27464 test $ac_write_fail = 0 ||
27465 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
27466 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
27467 { (exit 1); exit 1; }; }
27470 # configure is writing to config.log, and then calls config.status.
27471 # config.status does its own redirection, appending to config.log.
27472 # Unfortunately, on DOS this fails, as config.log is still kept open
27473 # by configure, so config.status won't be able to write to it; its
27474 # output is simply discarded. So we exec the FD to /dev/null,
27475 # effectively closing config.log, so it can be properly (re)opened and
27476 # appended to by config.status. When coming back to configure, we
27477 # need to make the FD available again.
27478 if test "$no_create" != yes; then
27480 ac_config_status_args
=
27481 test "$silent" = yes &&
27482 ac_config_status_args
="$ac_config_status_args --quiet"
27484 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
27486 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27487 # would make configure fail if this is the last instruction.
27488 $ac_cs_success ||
{ (exit 1); exit 1; }
27490 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
27491 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27492 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27495 ac_config_files
="$ac_config_files src/target/Makefile"
27497 cat >confcache
<<\_ACEOF
27498 # This file is a shell script that caches the results of configure
27499 # tests run on this system so they can be shared between configure
27500 # scripts and configure runs, see configure's option --config-cache.
27501 # It is not useful on other systems. If it contains results you don't
27502 # want to keep, you may remove or edit it.
27504 # config.status only pays attention to the cache file if you give it
27505 # the --recheck option to rerun configure.
27507 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27508 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27509 # following values.
27513 # The following way of writing the cache mishandles newlines in values,
27514 # but we know of no workaround that is simple, portable, and efficient.
27515 # So, we kill variables containing newlines.
27516 # Ultrix sh set writes to stderr and can't be redirected directly,
27517 # and sets the high bit in the cache file unless we assign to the vars.
27519 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27520 eval ac_val
=\$
$ac_var
27524 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
27525 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
27528 _ | IFS | as_nl
) ;; #(
27529 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
27530 *) $as_unset $ac_var ;;
27536 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27537 *${as_nl}ac_space
=\
*)
27538 # `set' does not quote correctly, so add quotes (double-quote
27539 # substitution turns \\\\ into \\, and sed turns \\ into \).
27542 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27545 # `set' quotes correctly as required by POSIX, so do not add quotes.
27546 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27555 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27557 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27559 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27560 if test -w "$cache_file"; then
27561 test "x$cache_file" != "x/dev/null" &&
27562 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
27563 $as_echo "$as_me: updating cache $cache_file" >&6;}
27564 cat confcache
>$cache_file
27566 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27567 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27572 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
27573 # Let make expand exec_prefix.
27574 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
27576 DEFS
=-DHAVE_CONFIG_H
27580 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
27581 # 1. Remove the extension, and $U if already installed.
27582 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
27583 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
27584 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
27585 # will be set to the directory where LIBOBJS objects are built.
27586 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
27587 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
27589 LIBOBJS
=$ac_libobjs
27591 LTLIBOBJS
=$ac_ltlibobjs
27594 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
27595 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
27596 Usually this means the macro was only invoked conditionally." >&5
27597 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
27598 Usually this means the macro was only invoked conditionally." >&2;}
27599 { (exit 1); exit 1; }; }
27601 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
27602 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
27603 Usually this means the macro was only invoked conditionally." >&5
27604 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
27605 Usually this means the macro was only invoked conditionally." >&2;}
27606 { (exit 1); exit 1; }; }
27608 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
27609 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
27610 Usually this means the macro was only invoked conditionally." >&5
27611 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
27612 Usually this means the macro was only invoked conditionally." >&2;}
27613 { (exit 1); exit 1; }; }
27615 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
27616 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
27617 Usually this means the macro was only invoked conditionally." >&5
27618 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
27619 Usually this means the macro was only invoked conditionally." >&2;}
27620 { (exit 1); exit 1; }; }
27623 : ${CONFIG_STATUS=./config.status}
27625 ac_clean_files_save
=$ac_clean_files
27626 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
27627 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
27628 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27629 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27631 # Generated by $as_me.
27632 # Run this file to recreate the current configuration.
27633 # Compiler output produced by configure, useful for debugging
27634 # configure, is in config.log if it exists.
27637 ac_cs_recheck=false
27639 SHELL=\${CONFIG_SHELL-$SHELL}
27642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27643 ## --------------------- ##
27644 ## M4sh Initialization. ##
27645 ## --------------------- ##
27647 # Be more Bourne compatible
27648 DUALCASE
=1; export DUALCASE
# for MKS sh
27649 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
27652 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27653 # is contrary to our usage. Disable this feature.
27654 alias -g '${1+"$@"}'='"$@"'
27655 setopt NO_GLOB_SUBST
27657 case `(set -o) 2>/dev/null` in
27658 *posix
*) set -o posix
;;
27667 # Avoid depending upon Character Ranges.
27668 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
27669 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27670 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
27671 as_cr_digits
='0123456789'
27672 as_cr_alnum
=$as_cr_Letters$as_cr_digits
27677 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27678 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27679 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27680 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27681 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27682 as_echo='printf %s
\n'
27683 as_echo_n='printf %s
'
27685 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27686 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
27687 as_echo_n='/usr
/ucb
/echo -n'
27689 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27690 as_echo_n_body='eval
27694 expr "X$arg" : "X\\(.*\\)$as_nl";
27695 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27697 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
27699 export as_echo_n_body
27700 as_echo_n='sh
-c $as_echo_n_body as_echo
'
27702 export as_echo_body
27703 as_echo='sh
-c $as_echo_body as_echo
'
27706 # The user is always right.
27707 if test "${PATH_SEPARATOR+set}" != set; then
27709 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27710 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27715 # Support unset when possible.
27716 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
27724 # We need space, tab and new line, in precisely that order. Quoting is
27725 # there to prevent editors from complaining about space-tab.
27726 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27727 # splitting by setting IFS to empty value.)
27730 # Find who we are. Look in the path if we contain no directory separator.
27732 *[\\/]* ) as_myself=$0 ;;
27733 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27734 for as_dir in $PATH
27737 test -z "$as_dir" && as_dir=.
27738 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27744 # We did not find ourselves, most probably we were run as `sh COMMAND'
27745 # in which case we are not to be found in the path.
27746 if test "x$as_myself" = x
; then
27749 if test ! -f "$as_myself"; then
27750 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27751 { (exit 1); exit 1; }
27754 # Work around bugs in pre-3.0 UWIN ksh.
27755 for as_var
in ENV MAIL MAILPATH
27756 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
27768 # Required to use basename.
27769 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27770 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27776 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27777 as_basename
=basename
27783 # Name of the executable.
27784 as_me
=`$as_basename -- "$0" ||
27785 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27786 X"$0" : 'X\(//\)$' \| \
27787 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27789 sed '/^.*\/\([^/][^/]*\)\/*$/{
27808 as_lineno_1
=$LINENO
27809 as_lineno_2
=$LINENO
27810 test "x$as_lineno_1" != "x$as_lineno_2" &&
27811 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
27813 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
27814 # uniformly replaced by the line number. The first 'sed' inserts a
27815 # line-number line after each line using $LINENO; the second 'sed'
27816 # does the real work. The second script uses 'N' to pair each
27817 # line-number line with the line containing $LINENO, and appends
27818 # trailing '-' during substitution so that $LINENO is not a special
27819 # case at line end.
27820 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
27821 # scripts with optimization help from Paolo Bonzini. Blame Lee
27822 # E. McMahon (1931-1989) for sed's syntax. :-)
27834 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
27837 ' >$as_me.lineno
&&
27838 chmod +x
"$as_me.lineno" ||
27839 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
27840 { (exit 1); exit 1; }; }
27842 # Don't try to exec as it changes $[0], causing all sort of problems
27843 # (the dirname of $[0] is not the place where we might find the
27844 # original and so on. Autoconf is especially sensitive to this).
27845 .
"./$as_me.lineno"
27846 # Exit status is that of the last command.
27851 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
27857 ECHO_C
= ECHO_N
= ECHO_T
=
27858 case `echo -n x` in
27860 case `echo 'x\c'` in
27861 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
27867 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
27868 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
27874 rm -f conf$$ conf$$.exe conf$$.
file
27875 if test -d conf$$.dir
; then
27876 rm -f conf$$.dir
/conf$$.
file
27879 mkdir conf$$.dir
2>/dev
/null
27881 if (echo >conf$$.
file) 2>/dev
/null
; then
27882 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
27884 # ... but there are two gotchas:
27885 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27886 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27887 # In both cases, we have to default to `cp -p'.
27888 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
27890 elif ln conf$$.
file conf$$
2>/dev
/null
; then
27898 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
27899 rmdir conf$$.dir
2>/dev
/null
27901 if mkdir
-p .
2>/dev
/null
; then
27904 test -d .
/-p && rmdir .
/-p
27908 if test -x / >/dev
/null
2>&1; then
27909 as_test_x
='test -x'
27911 if ls -dL / >/dev
/null
2>&1; then
27918 if test -d "$1"; then
27924 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
27925 ???[sx]*):;;*)false;;esac;fi
27929 as_executable_p
=$as_test_x
27931 # Sed expression to map a string onto a valid CPP name.
27932 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27934 # Sed expression to map a string onto a valid variable name.
27935 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27940 # Save the log message, to keep $[0] and so on meaningful, and to
27941 # report actual input values of CONFIG_FILES etc. instead of their
27942 # values after options handling.
27944 This file was extended by netbsd-iscsi $as_me 20090622, which was
27945 generated by GNU Autoconf 2.63. Invocation command line was
27947 CONFIG_FILES = $CONFIG_FILES
27948 CONFIG_HEADERS = $CONFIG_HEADERS
27949 CONFIG_LINKS = $CONFIG_LINKS
27950 CONFIG_COMMANDS = $CONFIG_COMMANDS
27953 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27958 case $ac_config_files in *"
27959 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
27962 case $ac_config_headers in *"
27963 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
27967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27968 # Files that config.status was made for.
27969 config_files="$ac_config_files"
27970 config_headers="$ac_config_headers"
27971 config_commands="$ac_config_commands"
27975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
27977 \`$as_me' instantiates files from templates according to the
27978 current configuration.
27980 Usage: $0 [OPTION]... [FILE]...
27982 -h, --help print this help, then exit
27983 -V, --version print version number and configuration settings, then exit
27984 -q, --quiet, --silent
27985 do not print progress messages
27986 -d, --debug don't remove temporary files
27987 --recheck update $as_me by reconfiguring in the same conditions
27988 --file=FILE[:TEMPLATE]
27989 instantiate the configuration file FILE
27990 --header=FILE[:TEMPLATE]
27991 instantiate the configuration header FILE
27993 Configuration files:
27996 Configuration headers:
27999 Configuration commands:
28002 Report bugs to <bug-autoconf@gnu.org>."
28005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28007 netbsd-iscsi config.status 20090622
28008 configured by $0, generated by GNU Autoconf 2.63,
28009 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
28011 Copyright (C) 2008 Free Software Foundation, Inc.
28012 This config.status script is free software; the Free Software Foundation
28013 gives unlimited permission to copy, distribute and modify it."
28020 test -n "\$AWK" || AWK=awk
28023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28024 # The default lists apply if the user does not specify any file.
28030 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
28031 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
28042 # Handling of the options.
28043 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
28045 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
28046 $as_echo "$ac_cs_version"; exit ;;
28047 --debug |
--debu |
--deb |
--de |
--d |
-d )
28049 --file |
--fil |
--fi |
--f )
28052 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28054 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
28055 ac_need_defaults
=false
;;
28056 --header |
--heade |
--head |
--hea )
28059 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
28061 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
28062 ac_need_defaults
=false
;;
28064 # Conflict between --help and --header
28065 { $as_echo "$as_me: error: ambiguous option: $1
28066 Try \`$0 --help' for more information." >&2
28067 { (exit 1); exit 1; }; };;
28068 --help |
--hel |
-h )
28069 $as_echo "$ac_cs_usage"; exit ;;
28070 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
28071 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
28074 # This is an error.
28075 -*) { $as_echo "$as_me: error: unrecognized option: $1
28076 Try \`$0 --help' for more information." >&2
28077 { (exit 1); exit 1; }; } ;;
28079 *) ac_config_targets
="$ac_config_targets $1"
28080 ac_need_defaults
=false
;;
28086 ac_configure_extra_args
=
28088 if $ac_cs_silent; then
28090 ac_configure_extra_args
="$ac_configure_extra_args --silent"
28094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28095 if \$ac_cs_recheck; then
28096 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
28098 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
28099 CONFIG_SHELL='$SHELL'
28100 export CONFIG_SHELL
28105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28109 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
28110 ## Running $as_me. ##
28116 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28120 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
28124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28126 # Handling of arguments.
28127 for ac_config_target
in $ac_config_targets
28129 case $ac_config_target in
28130 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
28131 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
28132 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
28133 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
28134 "src/lib/Makefile") CONFIG_FILES
="$CONFIG_FILES src/lib/Makefile" ;;
28135 "src/target/Makefile") CONFIG_FILES
="$CONFIG_FILES src/target/Makefile" ;;
28137 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
28138 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
28139 { (exit 1); exit 1; }; };;
28144 # If the user did not use the arguments to specify the items to instantiate,
28145 # then the envvar interface is used. Set only those that are not.
28146 # We use the long form for the default assignment because of an extremely
28147 # bizarre bug on SunOS 4.1.3.
28148 if $ac_need_defaults; then
28149 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
28150 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
28151 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
28154 # Have a temporary directory for convenience. Make it in the build tree
28155 # simply because there is no reason against having it here, and in addition,
28156 # creating and moving files from /tmp can sometimes cause problems.
28157 # Hook for its removal unless debugging.
28158 # Note that there is a small window in which the directory will not be cleaned:
28159 # after its creation but before its name has been assigned to `$tmp'.
28163 trap 'exit_status=$?
28164 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
28166 trap '{ (exit 1); exit 1; }' 1 2 13 15
28168 # Create a (secure) tmp directory for tmp files.
28171 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28172 test -n "$tmp" && test -d "$tmp"
28175 tmp
=.
/conf$$
-$RANDOM
28176 (umask 077 && mkdir
"$tmp")
28179 $as_echo "$as_me: cannot create a temporary directory in ." >&2
28180 { (exit 1); exit 1; }
28183 # Set up the scripts for CONFIG_FILES section.
28184 # No need to generate them if there are no CONFIG_FILES.
28185 # This happens for instance with `./config.status config.h'.
28186 if test -n "$CONFIG_FILES"; then
28190 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28191 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28194 ac_cs_awk_cr
=$ac_cr
28197 echo 'BEGIN {' >"$tmp/subs1.awk" &&
28202 echo "cat >conf$$subs.awk <<_ACEOF" &&
28203 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28205 } >conf$$subs.sh ||
28206 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
28207 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
28208 { (exit 1); exit 1; }; }
28209 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
28211 for ac_last_try in false false false false false :; do
28212 . ./conf$$subs.sh ||
28213 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
28214 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
28215 { (exit 1); exit 1; }; }
28217 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
28218 if test $ac_delim_n = $ac_delim_num; then
28220 elif $ac_last_try; then
28221 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
28222 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
28223 { (exit 1); exit 1; }; }
28225 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28228 rm -f conf$$subs.sh
28230 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28231 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
28235 s/^/S["/; s
/!.
*/"]=/
28245 s/\(.\{148\}\).*/\1/
28247 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
28252 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28259 s/\(.\{148\}\).*/\1/
28261 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
28265 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
28270 ' <conf$$subs.awk | sed '
28275 ' >>$CONFIG_STATUS || ac_write_fail=1
28276 rm -f conf$$subs.awk
28277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28279 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
28280 for (key in S) S_is_set[key] = 1
28286 nfields = split(line, field, "@
")
28288 len = length(field[1])
28289 for (i = 2; i < nfields; i++) {
28291 keylen = length(key)
28292 if (S_is_set[key]) {
28294 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28295 len += length(value) + length(field[++i])
28306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28307 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28308 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
28311 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
28312 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
28313 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
28314 { (exit 1); exit 1; }; }
28317 # VPATH may cause trouble with some makes, so we remove $(srcdir),
28318 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
28319 # trailing colons and then remove the whole line if VPATH becomes empty
28320 # (actually we leave an empty line to preserve line numbers).
28321 if test "x
$srcdir" = x.; then
28322 ac_vpsub='/^[ ]*VPATH[ ]*=/{
28323 s/:*\$(srcdir):*/:/
28324 s/:*\${srcdir}:*/:/
28326 s/^\([^=]*=[ ]*\):*/\1/
28332 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28333 fi # test -n "$CONFIG_FILES"
28335 # Set up the scripts for CONFIG_HEADERS section.
28336 # No need to generate them if there are no CONFIG_HEADERS.
28337 # This happens for instance with `./config.status Makefile'.
28338 if test -n "$CONFIG_HEADERS"; then
28339 cat >"$tmp/defines.
awk" <<\_ACAWK ||
28343 # Transform confdefs.h into an awk script `defines.awk', embedded as
28344 # here-document in config.status, that substitutes the proper values into
28345 # config.h.in to produce config.h.
28347 # Create a delimiter string that does not exist in confdefs.h, to ease
28348 # handling of long lines.
28350 for ac_last_try in false false :; do
28351 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
28352 if test -z "$ac_t"; then
28354 elif $ac_last_try; then
28355 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
28356 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
28357 { (exit 1); exit 1; }; }
28359 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
28363 # For the awk script, D is an array of macro values keyed by name,
28364 # likewise P contains macro parameters if any. Preserve backslash
28365 # newline sequences.
28367 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28369 s/.\{148\}/&'"$ac_delim"'/g
28372 s/^[ ]*#[ ]*define[ ][ ]*/ /
28379 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
28381 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
28385 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
28386 D["\
1"]=" \
3\\\\\\n
"\\/p
28388 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
28393 s/.\{148\}/&'"$ac_delim"'/g
28398 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
28401 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
28403 ' <confdefs.h | sed '
28404 s/'"$ac_delim"'/"\\\
28405 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28408 for (key in D) D_is_set[key] = 1
28411 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28413 split(line, arg, " ")
28414 if (arg[1] == "#") {
28418 defundef
= substr
(arg
[1], 2)
28421 split(mac1
, mac2
, "(") #)
28423 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
28424 if (D_is_set
[macro
]) {
28425 # Preserve the white space surrounding the "#".
28426 print prefix
"define", macro P
[macro
] D
[macro
]
28429 # Replace #undef with comments. This is necessary, for example,
28430 # in the case of _POSIX_SOURCE, which is predefined and required
28431 # on some systems where configure will not decide to define it.
28432 if (defundef
== "undef") {
28433 print
"/*", prefix defundef
, macro
, "*/"
28441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28442 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
28443 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
28444 { (exit 1); exit 1; }; }
28445 fi # test -n "$CONFIG_HEADERS"
28448 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28453 :[FHLC
]) ac_mode
=$ac_tag; continue;;
28455 case $ac_mode$ac_tag in
28457 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
28458 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
28459 { (exit 1); exit 1; }; };;
28460 :[FH
]-) ac_tag
=-:-;;
28461 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
28478 -) ac_f
="$tmp/stdin";;
28479 *) # Look for the file first in the build tree, then in the source tree
28480 # (if the path is not absolute). The absolute path cannot be DOS-style,
28481 # because $ac_f cannot contain `:'.
28485 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
28487 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
28488 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
28489 { (exit 1); exit 1; }; };;
28491 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28492 ac_file_inputs
="$ac_file_inputs '$ac_f'"
28495 # Let's still pretend it is `configure' which instantiates (i.e., don't
28496 # use $as_me), people would be surprised to read:
28497 # /* config.h. Generated by config.status. */
28498 configure_input
='Generated from '`
28499 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28501 if test x
"$ac_file" != x-
; then
28502 configure_input
="$ac_file. $configure_input"
28503 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
28504 $as_echo "$as_me: creating $ac_file" >&6;}
28506 # Neutralize special characters interpreted by sed in replacement strings.
28507 case $configure_input in #(
28508 *\
&* |
*\|
* |
*\\* )
28509 ac_sed_conf_input
=`$as_echo "$configure_input" |
28510 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28511 *) ac_sed_conf_input
=$configure_input;;
28515 *:-:* |
*:-) cat >"$tmp/stdin" \
28516 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
28517 $as_echo "$as_me: error: could not create $ac_file" >&2;}
28518 { (exit 1); exit 1; }; } ;;
28523 ac_dir
=`$as_dirname -- "$ac_file" ||
28524 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28525 X"$ac_file" : 'X\(//\)[^/]' \| \
28526 X"$ac_file" : 'X\(//\)$' \| \
28527 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28528 $as_echo X"$ac_file" |
28529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28533 /^X\(\/\/\)[^/].*/{
28548 -*) as_dir
=.
/$as_dir;;
28550 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
28554 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28555 *) as_qdir
=$as_dir;;
28557 as_dirs
="'$as_qdir' $as_dirs"
28558 as_dir
=`$as_dirname -- "$as_dir" ||
28559 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28560 X"$as_dir" : 'X\(//\)[^/]' \| \
28561 X"$as_dir" : 'X\(//\)$' \| \
28562 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28563 $as_echo X"$as_dir" |
28564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28568 /^X\(\/\/\)[^/].*/{
28581 test -d "$as_dir" && break
28583 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
28584 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
28585 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
28586 { (exit 1); exit 1; }; }; }
28590 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28592 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28593 # A ".." for each directory in $ac_dir_suffix.
28594 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28595 case $ac_top_builddir_sub in
28596 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
28597 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
28600 ac_abs_top_builddir
=$ac_pwd
28601 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
28602 # for backward compatibility:
28603 ac_top_builddir
=$ac_top_build_prefix
28606 .
) # We are building in place.
28608 ac_top_srcdir
=$ac_top_builddir_sub
28609 ac_abs_top_srcdir
=$ac_pwd ;;
28610 [\\/]* | ?
:[\\/]* ) # Absolute name.
28611 ac_srcdir
=$srcdir$ac_dir_suffix;
28612 ac_top_srcdir
=$srcdir
28613 ac_abs_top_srcdir
=$srcdir ;;
28614 *) # Relative name.
28615 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
28616 ac_top_srcdir
=$ac_top_build_prefix$srcdir
28617 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
28619 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
28629 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
28630 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
28632 ac_MKDIR_P
=$MKDIR_P
28634 [\\/$
]* | ?
:[\\/]* ) ;;
28635 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
28639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28640 # If the template does not know about datarootdir, expand it.
28641 # FIXME: This hack should be removed a few years after 2.60.
28642 ac_datarootdir_hack
=; ac_datarootdir_seen
=
28655 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28656 *datarootdir
*) ac_datarootdir_seen
=yes;;
28657 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
28658 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28659 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28661 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28662 ac_datarootdir_hack='
28663 s&@datadir@&$datadir&g
28664 s&@docdir@&$docdir&g
28665 s&@infodir@&$infodir&g
28666 s&@localedir@&$localedir&g
28667 s&@mandir@&$mandir&g
28668 s&\\\${datarootdir}&$datarootdir&g' ;;
28672 # Neutralize VPATH when `$srcdir' = `.'.
28673 # Shell code in configure.ac might set extrasub.
28674 # FIXME: do we really want to maintain this feature?
28675 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28676 ac_sed_extra="$ac_vpsub
28679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
28681 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
28682 s|@configure_input@|
$ac_sed_conf_input|
;t t
28683 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
28684 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
28685 s
&@srcdir@
&$ac_srcdir&;t t
28686 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
28687 s
&@top_srcdir@
&$ac_top_srcdir&;t t
28688 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
28689 s
&@builddir@
&$ac_builddir&;t t
28690 s
&@abs_builddir@
&$ac_abs_builddir&;t t
28691 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
28692 s
&@INSTALL@
&$ac_INSTALL&;t t
28693 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
28694 $ac_datarootdir_hack
28696 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
28697 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
28698 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
28699 { (exit 1); exit 1; }; }
28701 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28702 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
28703 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
28704 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
28705 which seems to be undefined. Please make sure it is defined." >&5
28706 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
28707 which seems to be undefined. Please make sure it is defined." >&2;}
28711 -) cat "$tmp/out" && rm -f "$tmp/out";;
28712 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
28714 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
28715 $as_echo "$as_me: error: could not create $ac_file" >&2;}
28716 { (exit 1); exit 1; }; }
28722 if test x"$ac_file" != x-; then
28724 $as_echo "/* $configure_input */" \
28725 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
28726 } >"$tmp/config.h" \
28727 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
28728 $as_echo "$as_me: error: could not create $ac_file" >&2;}
28729 { (exit 1); exit 1; }; }
28730 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
28731 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
28732 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28735 mv "$tmp/config.h" "$ac_file" \
28736 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
28737 $as_echo "$as_me: error: could not create $ac_file" >&2;}
28738 { (exit 1); exit 1; }; }
28741 $as_echo "/* $configure_input */" \
28742 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
28743 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
28744 $as_echo "$as_me: error: could not create -" >&2;}
28745 { (exit 1); exit 1; }; }
28747 # Compute "$ac_file"'s index
in $config_headers.
28750 for _am_header
in $config_headers :; do
28751 case $_am_header in
28752 $_am_arg |
$_am_arg:* )
28755 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
28758 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
28759 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28760 X"$_am_arg" : 'X\(//\)[^/]' \| \
28761 X"$_am_arg" : 'X\(//\)$' \| \
28762 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
28763 $as_echo X"$_am_arg" |
28764 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28768 /^X\(\/\/\)[^/].*/{
28780 s/.*/./; q'`/stamp-h
$_am_stamp_count
28783 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
28784 $as_echo "$as_me: executing $ac_file commands" >&6;}
28789 case $ac_file$ac_mode in
28790 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
28791 # Strip MF so we end up with the name of the file.
28792 mf
=`echo "$mf" | sed -e 's/:.*$//'`
28793 # Check whether this is an Automake generated Makefile or not.
28794 # We used to match only the files named `Makefile.in', but
28795 # some people rename them; so instead we look at the file content.
28796 # Grep'ing the first line is not enough: some people post-process
28797 # each Makefile.in and add a new line on top of each file to say so.
28798 # Grep'ing the whole file is not good either: AIX grep has a line
28799 # limit of 2048, but all sed's we know have understand at least 4000.
28800 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
28801 dirpart
=`$as_dirname -- "$mf" ||
28802 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28803 X"$mf" : 'X\(//\)[^/]' \| \
28804 X"$mf" : 'X\(//\)$' \| \
28805 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
28807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28811 /^X\(\/\/\)[^/].*/{
28827 # Extract the definition of DEPDIR, am__include, and am__quote
28828 # from the Makefile without running `make'.
28829 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
28830 test -z "$DEPDIR" && continue
28831 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
28832 test -z "am__include" && continue
28833 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
28834 # When using ansi2knr, U may be empty or an underscore; expand it
28835 U
=`sed -n 's/^U = //p' < "$mf"`
28836 # Find all dependency output files, they are included files with
28837 # $(DEPDIR) in their names. We invoke sed twice because it is the
28838 # simplest approach to changing $(DEPDIR) to its actual value in the
28840 for file in `sed -n "
28841 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
28842 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
28843 # Make sure the directory exists.
28844 test -f "$dirpart/$file" && continue
28845 fdir
=`$as_dirname -- "$file" ||
28846 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28847 X"$file" : 'X\(//\)[^/]' \| \
28848 X"$file" : 'X\(//\)$' \| \
28849 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
28850 $as_echo X"$file" |
28851 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28855 /^X\(\/\/\)[^/].*/{
28868 { as_dir
=$dirpart/$fdir
28870 -*) as_dir
=.
/$as_dir;;
28872 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
28876 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
28877 *) as_qdir
=$as_dir;;
28879 as_dirs
="'$as_qdir' $as_dirs"
28880 as_dir
=`$as_dirname -- "$as_dir" ||
28881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28882 X"$as_dir" : 'X\(//\)[^/]' \| \
28883 X"$as_dir" : 'X\(//\)$' \| \
28884 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
28885 $as_echo X"$as_dir" |
28886 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28890 /^X\(\/\/\)[^/].*/{
28903 test -d "$as_dir" && break
28905 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
28906 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
28907 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
28908 { (exit 1); exit 1; }; }; }
28909 # echo "creating $dirpart/$file"
28910 echo '# dummy' > "$dirpart/$file"
28919 { (exit 0); exit 0; }
28921 chmod +x
$CONFIG_STATUS
28922 ac_clean_files
=$ac_clean_files_save
28924 test $ac_write_fail = 0 ||
28925 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
28926 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
28927 { (exit 1); exit 1; }; }
28930 # configure is writing to config.log, and then calls config.status.
28931 # config.status does its own redirection, appending to config.log.
28932 # Unfortunately, on DOS this fails, as config.log is still kept open
28933 # by configure, so config.status won't be able to write to it; its
28934 # output is simply discarded. So we exec the FD to /dev/null,
28935 # effectively closing config.log, so it can be properly (re)opened and
28936 # appended to by config.status. When coming back to configure, we
28937 # need to make the FD available again.
28938 if test "$no_create" != yes; then
28940 ac_config_status_args
=
28941 test "$silent" = yes &&
28942 ac_config_status_args
="$ac_config_status_args --quiet"
28944 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
28946 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28947 # would make configure fail if this is the last instruction.
28948 $ac_cs_success ||
{ (exit 1); exit 1; }
28950 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
28951 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28952 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28955 ac_config_files
="$ac_config_files src/initiator/Makefile"
28957 cat >confcache
<<\_ACEOF
28958 # This file is a shell script that caches the results of configure
28959 # tests run on this system so they can be shared between configure
28960 # scripts and configure runs, see configure's option --config-cache.
28961 # It is not useful on other systems. If it contains results you don't
28962 # want to keep, you may remove or edit it.
28964 # config.status only pays attention to the cache file if you give it
28965 # the --recheck option to rerun configure.
28967 # `ac_cv_env_foo' variables (set or unset) will be overridden when
28968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
28969 # following values.
28973 # The following way of writing the cache mishandles newlines in values,
28974 # but we know of no workaround that is simple, portable, and efficient.
28975 # So, we kill variables containing newlines.
28976 # Ultrix sh set writes to stderr and can't be redirected directly,
28977 # and sets the high bit in the cache file unless we assign to the vars.
28979 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
28980 eval ac_val
=\$
$ac_var
28984 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
28985 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
28988 _ | IFS | as_nl
) ;; #(
28989 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
28990 *) $as_unset $ac_var ;;
28996 case $as_nl`(ac_space=' '; set) 2>&1` in #(
28997 *${as_nl}ac_space
=\
*)
28998 # `set' does not quote correctly, so add quotes (double-quote
28999 # substitution turns \\\\ into \\, and sed turns \\ into \).
29002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
29005 # `set' quotes correctly as required by POSIX, so do not add quotes.
29006 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
29015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
29017 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
29019 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
29020 if test -w "$cache_file"; then
29021 test "x$cache_file" != "x/dev/null" &&
29022 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
29023 $as_echo "$as_me: updating cache $cache_file" >&6;}
29024 cat confcache
>$cache_file
29026 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
29027 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
29032 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
29033 # Let make expand exec_prefix.
29034 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
29036 DEFS
=-DHAVE_CONFIG_H
29040 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
29041 # 1. Remove the extension, and $U if already installed.
29042 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
29043 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
29044 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
29045 # will be set to the directory where LIBOBJS objects are built.
29046 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
29047 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
29049 LIBOBJS
=$ac_libobjs
29051 LTLIBOBJS
=$ac_ltlibobjs
29054 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
29055 { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
29056 Usually this means the macro was only invoked conditionally." >&5
29057 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
29058 Usually this means the macro was only invoked conditionally." >&2;}
29059 { (exit 1); exit 1; }; }
29061 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
29062 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
29063 Usually this means the macro was only invoked conditionally." >&5
29064 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
29065 Usually this means the macro was only invoked conditionally." >&2;}
29066 { (exit 1); exit 1; }; }
29068 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
29069 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
29070 Usually this means the macro was only invoked conditionally." >&5
29071 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
29072 Usually this means the macro was only invoked conditionally." >&2;}
29073 { (exit 1); exit 1; }; }
29075 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
29076 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
29077 Usually this means the macro was only invoked conditionally." >&5
29078 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
29079 Usually this means the macro was only invoked conditionally." >&2;}
29080 { (exit 1); exit 1; }; }
29083 : ${CONFIG_STATUS=./config.status}
29085 ac_clean_files_save
=$ac_clean_files
29086 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
29087 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
29088 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
29089 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29091 # Generated by $as_me.
29092 # Run this file to recreate the current configuration.
29093 # Compiler output produced by configure, useful for debugging
29094 # configure, is in config.log if it exists.
29097 ac_cs_recheck=false
29099 SHELL=\${CONFIG_SHELL-$SHELL}
29102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29103 ## --------------------- ##
29104 ## M4sh Initialization. ##
29105 ## --------------------- ##
29107 # Be more Bourne compatible
29108 DUALCASE
=1; export DUALCASE
# for MKS sh
29109 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
29112 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
29113 # is contrary to our usage. Disable this feature.
29114 alias -g '${1+"$@"}'='"$@"'
29115 setopt NO_GLOB_SUBST
29117 case `(set -o) 2>/dev/null` in
29118 *posix
*) set -o posix
;;
29127 # Avoid depending upon Character Ranges.
29128 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
29129 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
29130 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
29131 as_cr_digits
='0123456789'
29132 as_cr_alnum
=$as_cr_Letters$as_cr_digits
29137 # Printing a long string crashes Solaris 7 /usr/bin/printf.
29138 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
29139 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
29140 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
29141 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
29142 as_echo='printf %s
\n'
29143 as_echo_n='printf %s
'
29145 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
29146 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
29147 as_echo_n='/usr
/ucb
/echo -n'
29149 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
29150 as_echo_n_body='eval
29154 expr "X$arg" : "X\\(.*\\)$as_nl";
29155 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
29157 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
29159 export as_echo_n_body
29160 as_echo_n='sh
-c $as_echo_n_body as_echo
'
29162 export as_echo_body
29163 as_echo='sh
-c $as_echo_body as_echo
'
29166 # The user is always right.
29167 if test "${PATH_SEPARATOR+set}" != set; then
29169 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
29170 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
29175 # Support unset when possible.
29176 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29184 # We need space, tab and new line, in precisely that order. Quoting is
29185 # there to prevent editors from complaining about space-tab.
29186 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
29187 # splitting by setting IFS to empty value.)
29190 # Find who we are. Look in the path if we contain no directory separator.
29192 *[\\/]* ) as_myself=$0 ;;
29193 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29194 for as_dir in $PATH
29197 test -z "$as_dir" && as_dir=.
29198 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
29204 # We did not find ourselves, most probably we were run as `sh COMMAND'
29205 # in which case we are not to be found in the path.
29206 if test "x$as_myself" = x
; then
29209 if test ! -f "$as_myself"; then
29210 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
29211 { (exit 1); exit 1; }
29214 # Work around bugs in pre-3.0 UWIN ksh.
29215 for as_var
in ENV MAIL MAILPATH
29216 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
29228 # Required to use basename.
29229 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
29230 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
29236 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
29237 as_basename
=basename
29243 # Name of the executable.
29244 as_me
=`$as_basename -- "$0" ||
29245 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
29246 X"$0" : 'X\(//\)$' \| \
29247 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
29249 sed '/^.*\/\([^/][^/]*\)\/*$/{
29268 as_lineno_1
=$LINENO
29269 as_lineno_2
=$LINENO
29270 test "x$as_lineno_1" != "x$as_lineno_2" &&
29271 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
29273 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
29274 # uniformly replaced by the line number. The first 'sed' inserts a
29275 # line-number line after each line using $LINENO; the second 'sed'
29276 # does the real work. The second script uses 'N' to pair each
29277 # line-number line with the line containing $LINENO, and appends
29278 # trailing '-' during substitution so that $LINENO is not a special
29279 # case at line end.
29280 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
29281 # scripts with optimization help from Paolo Bonzini. Blame Lee
29282 # E. McMahon (1931-1989) for sed's syntax. :-)
29294 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
29297 ' >$as_me.lineno
&&
29298 chmod +x
"$as_me.lineno" ||
29299 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
29300 { (exit 1); exit 1; }; }
29302 # Don't try to exec as it changes $[0], causing all sort of problems
29303 # (the dirname of $[0] is not the place where we might find the
29304 # original and so on. Autoconf is especially sensitive to this).
29305 .
"./$as_me.lineno"
29306 # Exit status is that of the last command.
29311 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
29317 ECHO_C
= ECHO_N
= ECHO_T
=
29318 case `echo -n x` in
29320 case `echo 'x\c'` in
29321 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
29327 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
29328 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
29334 rm -f conf$$ conf$$.exe conf$$.
file
29335 if test -d conf$$.dir
; then
29336 rm -f conf$$.dir
/conf$$.
file
29339 mkdir conf$$.dir
2>/dev
/null
29341 if (echo >conf$$.
file) 2>/dev
/null
; then
29342 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
29344 # ... but there are two gotchas:
29345 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
29346 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
29347 # In both cases, we have to default to `cp -p'.
29348 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
29350 elif ln conf$$.
file conf$$
2>/dev
/null
; then
29358 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
29359 rmdir conf$$.dir
2>/dev
/null
29361 if mkdir
-p .
2>/dev
/null
; then
29364 test -d .
/-p && rmdir .
/-p
29368 if test -x / >/dev
/null
2>&1; then
29369 as_test_x
='test -x'
29371 if ls -dL / >/dev
/null
2>&1; then
29378 if test -d "$1"; then
29384 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
29385 ???[sx]*):;;*)false;;esac;fi
29389 as_executable_p
=$as_test_x
29391 # Sed expression to map a string onto a valid CPP name.
29392 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
29394 # Sed expression to map a string onto a valid variable name.
29395 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
29400 # Save the log message, to keep $[0] and so on meaningful, and to
29401 # report actual input values of CONFIG_FILES etc. instead of their
29402 # values after options handling.
29404 This file was extended by netbsd-iscsi $as_me 20090622, which was
29405 generated by GNU Autoconf 2.63. Invocation command line was
29407 CONFIG_FILES = $CONFIG_FILES
29408 CONFIG_HEADERS = $CONFIG_HEADERS
29409 CONFIG_LINKS = $CONFIG_LINKS
29410 CONFIG_COMMANDS = $CONFIG_COMMANDS
29413 on `(hostname || uname -n) 2>/dev/null | sed 1q`
29418 case $ac_config_files in *"
29419 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
29422 case $ac_config_headers in *"
29423 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
29427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29428 # Files that config.status was made for.
29429 config_files="$ac_config_files"
29430 config_headers="$ac_config_headers"
29431 config_commands="$ac_config_commands"
29435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29437 \`$as_me' instantiates files from templates according to the
29438 current configuration.
29440 Usage: $0 [OPTION]... [FILE]...
29442 -h, --help print this help, then exit
29443 -V, --version print version number and configuration settings, then exit
29444 -q, --quiet, --silent
29445 do not print progress messages
29446 -d, --debug don't remove temporary files
29447 --recheck update $as_me by reconfiguring in the same conditions
29448 --file=FILE[:TEMPLATE]
29449 instantiate the configuration file FILE
29450 --header=FILE[:TEMPLATE]
29451 instantiate the configuration header FILE
29453 Configuration files:
29456 Configuration headers:
29459 Configuration commands:
29462 Report bugs to <bug-autoconf@gnu.org>."
29465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29467 netbsd-iscsi config.status 20090622
29468 configured by $0, generated by GNU Autoconf 2.63,
29469 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
29471 Copyright (C) 2008 Free Software Foundation, Inc.
29472 This config.status script is free software; the Free Software Foundation
29473 gives unlimited permission to copy, distribute and modify it."
29480 test -n "\$AWK" || AWK=awk
29483 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29484 # The default lists apply if the user does not specify any file.
29490 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
29491 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
29502 # Handling of the options.
29503 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
29505 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
29506 $as_echo "$ac_cs_version"; exit ;;
29507 --debug |
--debu |
--deb |
--de |
--d |
-d )
29509 --file |
--fil |
--fi |
--f )
29512 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29514 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
29515 ac_need_defaults
=false
;;
29516 --header |
--heade |
--head |
--hea )
29519 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
29521 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
29522 ac_need_defaults
=false
;;
29524 # Conflict between --help and --header
29525 { $as_echo "$as_me: error: ambiguous option: $1
29526 Try \`$0 --help' for more information." >&2
29527 { (exit 1); exit 1; }; };;
29528 --help |
--hel |
-h )
29529 $as_echo "$ac_cs_usage"; exit ;;
29530 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
29531 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
29534 # This is an error.
29535 -*) { $as_echo "$as_me: error: unrecognized option: $1
29536 Try \`$0 --help' for more information." >&2
29537 { (exit 1); exit 1; }; } ;;
29539 *) ac_config_targets
="$ac_config_targets $1"
29540 ac_need_defaults
=false
;;
29546 ac_configure_extra_args
=
29548 if $ac_cs_silent; then
29550 ac_configure_extra_args
="$ac_configure_extra_args --silent"
29554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29555 if \$ac_cs_recheck; then
29556 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
29558 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
29559 CONFIG_SHELL='$SHELL'
29560 export CONFIG_SHELL
29565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29569 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
29570 ## Running $as_me. ##
29576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29580 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
29584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29586 # Handling of arguments.
29587 for ac_config_target
in $ac_config_targets
29589 case $ac_config_target in
29590 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
29591 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
29592 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
29593 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
29594 "src/lib/Makefile") CONFIG_FILES
="$CONFIG_FILES src/lib/Makefile" ;;
29595 "src/target/Makefile") CONFIG_FILES
="$CONFIG_FILES src/target/Makefile" ;;
29596 "src/initiator/Makefile") CONFIG_FILES
="$CONFIG_FILES src/initiator/Makefile" ;;
29598 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
29599 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
29600 { (exit 1); exit 1; }; };;
29605 # If the user did not use the arguments to specify the items to instantiate,
29606 # then the envvar interface is used. Set only those that are not.
29607 # We use the long form for the default assignment because of an extremely
29608 # bizarre bug on SunOS 4.1.3.
29609 if $ac_need_defaults; then
29610 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
29611 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
29612 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
29615 # Have a temporary directory for convenience. Make it in the build tree
29616 # simply because there is no reason against having it here, and in addition,
29617 # creating and moving files from /tmp can sometimes cause problems.
29618 # Hook for its removal unless debugging.
29619 # Note that there is a small window in which the directory will not be cleaned:
29620 # after its creation but before its name has been assigned to `$tmp'.
29624 trap 'exit_status=$?
29625 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
29627 trap '{ (exit 1); exit 1; }' 1 2 13 15
29629 # Create a (secure) tmp directory for tmp files.
29632 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
29633 test -n "$tmp" && test -d "$tmp"
29636 tmp
=.
/conf$$
-$RANDOM
29637 (umask 077 && mkdir
"$tmp")
29640 $as_echo "$as_me: cannot create a temporary directory in ." >&2
29641 { (exit 1); exit 1; }
29644 # Set up the scripts for CONFIG_FILES section.
29645 # No need to generate them if there are no CONFIG_FILES.
29646 # This happens for instance with `./config.status config.h'.
29647 if test -n "$CONFIG_FILES"; then
29651 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
29652 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
29655 ac_cs_awk_cr
=$ac_cr
29658 echo 'BEGIN {' >"$tmp/subs1.awk" &&
29663 echo "cat >conf$$subs.awk <<_ACEOF" &&
29664 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
29666 } >conf$$subs.sh ||
29667 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
29668 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
29669 { (exit 1); exit 1; }; }
29670 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
29672 for ac_last_try in false false false false false :; do
29673 . ./conf$$subs.sh ||
29674 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
29675 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
29676 { (exit 1); exit 1; }; }
29678 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
29679 if test $ac_delim_n = $ac_delim_num; then
29681 elif $ac_last_try; then
29682 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
29683 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
29684 { (exit 1); exit 1; }; }
29686 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
29689 rm -f conf$$subs.sh
29691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29692 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
29696 s/^/S["/; s
/!.
*/"]=/
29706 s/\(.\{148\}\).*/\1/
29708 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
29713 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
29720 s/\(.\{148\}\).*/\1/
29722 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
29726 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
29731 ' <conf$$subs.awk | sed '
29736 ' >>$CONFIG_STATUS || ac_write_fail=1
29737 rm -f conf$$subs.awk
29738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29740 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
29741 for (key in S) S_is_set[key] = 1
29747 nfields = split(line, field, "@
")
29749 len = length(field[1])
29750 for (i = 2; i < nfields; i++) {
29752 keylen = length(key)
29753 if (S_is_set[key]) {
29755 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
29756 len += length(value) + length(field[++i])
29767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29768 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
29769 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
29772 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
29773 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
29774 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
29775 { (exit 1); exit 1; }; }
29778 # VPATH may cause trouble with some makes, so we remove $(srcdir),
29779 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
29780 # trailing colons and then remove the whole line if VPATH becomes empty
29781 # (actually we leave an empty line to preserve line numbers).
29782 if test "x
$srcdir" = x.; then
29783 ac_vpsub='/^[ ]*VPATH[ ]*=/{
29784 s/:*\$(srcdir):*/:/
29785 s/:*\${srcdir}:*/:/
29787 s/^\([^=]*=[ ]*\):*/\1/
29793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
29794 fi # test -n "$CONFIG_FILES"
29796 # Set up the scripts for CONFIG_HEADERS section.
29797 # No need to generate them if there are no CONFIG_HEADERS.
29798 # This happens for instance with `./config.status Makefile'.
29799 if test -n "$CONFIG_HEADERS"; then
29800 cat >"$tmp/defines.
awk" <<\_ACAWK ||
29804 # Transform confdefs.h into an awk script `defines.awk', embedded as
29805 # here-document in config.status, that substitutes the proper values into
29806 # config.h.in to produce config.h.
29808 # Create a delimiter string that does not exist in confdefs.h, to ease
29809 # handling of long lines.
29811 for ac_last_try in false false :; do
29812 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
29813 if test -z "$ac_t"; then
29815 elif $ac_last_try; then
29816 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
29817 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
29818 { (exit 1); exit 1; }; }
29820 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
29824 # For the awk script, D is an array of macro values keyed by name,
29825 # likewise P contains macro parameters if any. Preserve backslash
29826 # newline sequences.
29828 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
29830 s/.\{148\}/&'"$ac_delim"'/g
29833 s/^[ ]*#[ ]*define[ ][ ]*/ /
29840 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
29842 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
29846 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
29847 D["\
1"]=" \
3\\\\\\n
"\\/p
29849 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
29854 s/.\{148\}/&'"$ac_delim"'/g
29859 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
29862 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
29864 ' <confdefs.h | sed '
29865 s/'"$ac_delim"'/"\\\
29866 "/g' >>$CONFIG_STATUS || ac_write_fail=1
29868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
29869 for (key in D) D_is_set[key] = 1
29872 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
29874 split(line, arg, " ")
29875 if (arg[1] == "#") {
29879 defundef
= substr
(arg
[1], 2)
29882 split(mac1
, mac2
, "(") #)
29884 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
29885 if (D_is_set
[macro
]) {
29886 # Preserve the white space surrounding the "#".
29887 print prefix
"define", macro P
[macro
] D
[macro
]
29890 # Replace #undef with comments. This is necessary, for example,
29891 # in the case of _POSIX_SOURCE, which is predefined and required
29892 # on some systems where configure will not decide to define it.
29893 if (defundef
== "undef") {
29894 print
"/*", prefix defundef
, macro
, "*/"
29902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
29903 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
29904 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
29905 { (exit 1); exit 1; }; }
29906 fi # test -n "$CONFIG_HEADERS"
29909 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
29914 :[FHLC
]) ac_mode
=$ac_tag; continue;;
29916 case $ac_mode$ac_tag in
29918 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
29919 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
29920 { (exit 1); exit 1; }; };;
29921 :[FH
]-) ac_tag
=-:-;;
29922 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
29939 -) ac_f
="$tmp/stdin";;
29940 *) # Look for the file first in the build tree, then in the source tree
29941 # (if the path is not absolute). The absolute path cannot be DOS-style,
29942 # because $ac_f cannot contain `:'.
29946 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
29948 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
29949 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
29950 { (exit 1); exit 1; }; };;
29952 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
29953 ac_file_inputs
="$ac_file_inputs '$ac_f'"
29956 # Let's still pretend it is `configure' which instantiates (i.e., don't
29957 # use $as_me), people would be surprised to read:
29958 # /* config.h. Generated by config.status. */
29959 configure_input
='Generated from '`
29960 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
29962 if test x
"$ac_file" != x-
; then
29963 configure_input
="$ac_file. $configure_input"
29964 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
29965 $as_echo "$as_me: creating $ac_file" >&6;}
29967 # Neutralize special characters interpreted by sed in replacement strings.
29968 case $configure_input in #(
29969 *\
&* |
*\|
* |
*\\* )
29970 ac_sed_conf_input
=`$as_echo "$configure_input" |
29971 sed 's/[\\\\&|]/\\\\&/g'`;; #(
29972 *) ac_sed_conf_input
=$configure_input;;
29976 *:-:* |
*:-) cat >"$tmp/stdin" \
29977 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
29978 $as_echo "$as_me: error: could not create $ac_file" >&2;}
29979 { (exit 1); exit 1; }; } ;;
29984 ac_dir
=`$as_dirname -- "$ac_file" ||
29985 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
29986 X"$ac_file" : 'X\(//\)[^/]' \| \
29987 X"$ac_file" : 'X\(//\)$' \| \
29988 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
29989 $as_echo X"$ac_file" |
29990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
29994 /^X\(\/\/\)[^/].*/{
30009 -*) as_dir
=.
/$as_dir;;
30011 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
30015 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
30016 *) as_qdir
=$as_dir;;
30018 as_dirs
="'$as_qdir' $as_dirs"
30019 as_dir
=`$as_dirname -- "$as_dir" ||
30020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30021 X"$as_dir" : 'X\(//\)[^/]' \| \
30022 X"$as_dir" : 'X\(//\)$' \| \
30023 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30024 $as_echo X"$as_dir" |
30025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30029 /^X\(\/\/\)[^/].*/{
30042 test -d "$as_dir" && break
30044 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
30045 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30046 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
30047 { (exit 1); exit 1; }; }; }
30051 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
30053 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
30054 # A ".." for each directory in $ac_dir_suffix.
30055 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
30056 case $ac_top_builddir_sub in
30057 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
30058 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
30061 ac_abs_top_builddir
=$ac_pwd
30062 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
30063 # for backward compatibility:
30064 ac_top_builddir
=$ac_top_build_prefix
30067 .
) # We are building in place.
30069 ac_top_srcdir
=$ac_top_builddir_sub
30070 ac_abs_top_srcdir
=$ac_pwd ;;
30071 [\\/]* | ?
:[\\/]* ) # Absolute name.
30072 ac_srcdir
=$srcdir$ac_dir_suffix;
30073 ac_top_srcdir
=$srcdir
30074 ac_abs_top_srcdir
=$srcdir ;;
30075 *) # Relative name.
30076 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
30077 ac_top_srcdir
=$ac_top_build_prefix$srcdir
30078 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
30080 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
30090 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
30091 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
30093 ac_MKDIR_P
=$MKDIR_P
30095 [\\/$
]* | ?
:[\\/]* ) ;;
30096 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
30100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
30101 # If the template does not know about datarootdir, expand it.
30102 # FIXME: This hack should be removed a few years after 2.60.
30103 ac_datarootdir_hack
=; ac_datarootdir_seen
=
30116 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
30117 *datarootdir
*) ac_datarootdir_seen
=yes;;
30118 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
30119 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
30120 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
30122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30123 ac_datarootdir_hack='
30124 s&@datadir@&$datadir&g
30125 s&@docdir@&$docdir&g
30126 s&@infodir@&$infodir&g
30127 s&@localedir@&$localedir&g
30128 s&@mandir@&$mandir&g
30129 s&\\\${datarootdir}&$datarootdir&g' ;;
30133 # Neutralize VPATH when `$srcdir' = `.'.
30134 # Shell code in configure.ac might set extrasub.
30135 # FIXME: do we really want to maintain this feature?
30136 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
30137 ac_sed_extra="$ac_vpsub
30140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
30142 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
30143 s|@configure_input@|
$ac_sed_conf_input|
;t t
30144 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
30145 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
30146 s
&@srcdir@
&$ac_srcdir&;t t
30147 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
30148 s
&@top_srcdir@
&$ac_top_srcdir&;t t
30149 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
30150 s
&@builddir@
&$ac_builddir&;t t
30151 s
&@abs_builddir@
&$ac_abs_builddir&;t t
30152 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
30153 s
&@INSTALL@
&$ac_INSTALL&;t t
30154 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
30155 $ac_datarootdir_hack
30157 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
30158 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
30159 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
30160 { (exit 1); exit 1; }; }
30162 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
30163 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
30164 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
30165 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
30166 which seems to be undefined. Please make sure it is defined." >&5
30167 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
30168 which seems to be undefined. Please make sure it is defined." >&2;}
30172 -) cat "$tmp/out" && rm -f "$tmp/out";;
30173 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
30175 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
30176 $as_echo "$as_me: error: could not create $ac_file" >&2;}
30177 { (exit 1); exit 1; }; }
30183 if test x"$ac_file" != x-; then
30185 $as_echo "/* $configure_input */" \
30186 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
30187 } >"$tmp/config.h" \
30188 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
30189 $as_echo "$as_me: error: could not create $ac_file" >&2;}
30190 { (exit 1); exit 1; }; }
30191 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
30192 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
30193 $as_echo "$as_me: $ac_file is unchanged" >&6;}
30196 mv "$tmp/config.h" "$ac_file" \
30197 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
30198 $as_echo "$as_me: error: could not create $ac_file" >&2;}
30199 { (exit 1); exit 1; }; }
30202 $as_echo "/* $configure_input */" \
30203 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
30204 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
30205 $as_echo "$as_me: error: could not create -" >&2;}
30206 { (exit 1); exit 1; }; }
30208 # Compute "$ac_file"'s index
in $config_headers.
30211 for _am_header
in $config_headers :; do
30212 case $_am_header in
30213 $_am_arg |
$_am_arg:* )
30216 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
30219 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
30220 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30221 X"$_am_arg" : 'X\(//\)[^/]' \| \
30222 X"$_am_arg" : 'X\(//\)$' \| \
30223 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
30224 $as_echo X"$_am_arg" |
30225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30229 /^X\(\/\/\)[^/].*/{
30241 s/.*/./; q'`/stamp-h
$_am_stamp_count
30244 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
30245 $as_echo "$as_me: executing $ac_file commands" >&6;}
30250 case $ac_file$ac_mode in
30251 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
30252 # Strip MF so we end up with the name of the file.
30253 mf
=`echo "$mf" | sed -e 's/:.*$//'`
30254 # Check whether this is an Automake generated Makefile or not.
30255 # We used to match only the files named `Makefile.in', but
30256 # some people rename them; so instead we look at the file content.
30257 # Grep'ing the first line is not enough: some people post-process
30258 # each Makefile.in and add a new line on top of each file to say so.
30259 # Grep'ing the whole file is not good either: AIX grep has a line
30260 # limit of 2048, but all sed's we know have understand at least 4000.
30261 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
30262 dirpart
=`$as_dirname -- "$mf" ||
30263 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30264 X"$mf" : 'X\(//\)[^/]' \| \
30265 X"$mf" : 'X\(//\)$' \| \
30266 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
30268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30272 /^X\(\/\/\)[^/].*/{
30288 # Extract the definition of DEPDIR, am__include, and am__quote
30289 # from the Makefile without running `make'.
30290 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
30291 test -z "$DEPDIR" && continue
30292 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
30293 test -z "am__include" && continue
30294 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
30295 # When using ansi2knr, U may be empty or an underscore; expand it
30296 U
=`sed -n 's/^U = //p' < "$mf"`
30297 # Find all dependency output files, they are included files with
30298 # $(DEPDIR) in their names. We invoke sed twice because it is the
30299 # simplest approach to changing $(DEPDIR) to its actual value in the
30301 for file in `sed -n "
30302 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
30303 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
30304 # Make sure the directory exists.
30305 test -f "$dirpart/$file" && continue
30306 fdir
=`$as_dirname -- "$file" ||
30307 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30308 X"$file" : 'X\(//\)[^/]' \| \
30309 X"$file" : 'X\(//\)$' \| \
30310 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
30311 $as_echo X"$file" |
30312 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30316 /^X\(\/\/\)[^/].*/{
30329 { as_dir
=$dirpart/$fdir
30331 -*) as_dir
=.
/$as_dir;;
30333 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
30337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
30338 *) as_qdir
=$as_dir;;
30340 as_dirs
="'$as_qdir' $as_dirs"
30341 as_dir
=`$as_dirname -- "$as_dir" ||
30342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
30343 X"$as_dir" : 'X\(//\)[^/]' \| \
30344 X"$as_dir" : 'X\(//\)$' \| \
30345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
30346 $as_echo X"$as_dir" |
30347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
30351 /^X\(\/\/\)[^/].*/{
30364 test -d "$as_dir" && break
30366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
30367 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
30368 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
30369 { (exit 1); exit 1; }; }; }
30370 # echo "creating $dirpart/$file"
30371 echo '# dummy' > "$dirpart/$file"
30380 { (exit 0); exit 0; }
30382 chmod +x
$CONFIG_STATUS
30383 ac_clean_files
=$ac_clean_files_save
30385 test $ac_write_fail = 0 ||
30386 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
30387 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
30388 { (exit 1); exit 1; }; }
30391 # configure is writing to config.log, and then calls config.status.
30392 # config.status does its own redirection, appending to config.log.
30393 # Unfortunately, on DOS this fails, as config.log is still kept open
30394 # by configure, so config.status won't be able to write to it; its
30395 # output is simply discarded. So we exec the FD to /dev/null,
30396 # effectively closing config.log, so it can be properly (re)opened and
30397 # appended to by config.status. When coming back to configure, we
30398 # need to make the FD available again.
30399 if test "$no_create" != yes; then
30401 ac_config_status_args
=
30402 test "$silent" = yes &&
30403 ac_config_status_args
="$ac_config_status_args --quiet"
30405 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
30407 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
30408 # would make configure fail if this is the last instruction.
30409 $ac_cs_success ||
{ (exit 1); exit 1; }
30411 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
30412 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
30413 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}