1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 342684_libtoolize.dpatch by Petr Salinger and
3 ## Ardo van Rangelrooij <ardo@debian.org>
5 ## All lines beginning with `## DP:' are a description of the patch.
6 ## DP: We need a newer libtool version to support GNU/kFreeBSD.
8 ## DP: <URL:http://bugs.debian.org/342684>
9 ## DP: <URL:http://bugs.debian.org/439127>
12 diff -urNad trunk~/configure trunk/configure
13 --- trunk~/configure 2007-06-05 20:19:38.000000000 +0200
14 +++ trunk/configure 2008-05-07 05:23:02.000000000 +0200
17 # Guess values for system-dependent variables and create Makefiles.
18 -# Generated by GNU Autoconf 2.59 for expat 2.0.1.
19 +# Generated by GNU Autoconf 2.61 for expat 2.0.1.
21 # Report bugs to <expat-bugs@libexpat.org>.
23 -# Copyright (C) 2003 Free Software Foundation, Inc.
24 +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
25 +# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
26 # This configure script is free software; the Free Software Foundation
27 # gives unlimited permission to copy, distribute and modify it.
28 ## --------------------- ##
29 ## M4sh Initialization. ##
30 ## --------------------- ##
32 -# Be Bourne compatible
33 +# Be more Bourne compatible
34 +DUALCASE=1; export DUALCASE # for MKS sh
35 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
38 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
39 # is contrary to our usage. Disable this feature.
40 alias -g '${1+"$@"}'='"$@"'
41 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
43 + setopt NO_GLOB_SUBST
45 + case `(set -o) 2>/dev/null` in
46 + *posix*) set -o posix ;;
55 +# Avoid depending upon Character Ranges.
56 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
57 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
58 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59 +as_cr_digits='0123456789'
60 +as_cr_alnum=$as_cr_Letters$as_cr_digits
62 +# The user is always right.
63 +if test "${PATH_SEPARATOR+set}" != set; then
64 + echo "#! /bin/sh" >conf$$.sh
65 + echo "exit 0" >>conf$$.sh
67 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
74 -DUALCASE=1; export DUALCASE # for MKS sh
76 # Support unset when possible.
77 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83 +# We need space, tab and new line, in precisely that order. Quoting is
84 +# there to prevent editors from complaining about space-tab.
85 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 +# splitting by setting IFS to empty value.)
91 +# Find who we are. Look in the path if we contain no directory separator.
93 + *[\\/]* ) as_myself=$0 ;;
94 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 + test -z "$as_dir" && as_dir=.
99 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 +# We did not find ourselves, most probably we were run as `sh COMMAND'
106 +# in which case we are not to be found in the path.
107 +if test "x$as_myself" = x; then
110 +if test ! -f "$as_myself"; then
111 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 + { (exit 1); exit 1; }
115 # Work around bugs in pre-3.0 UWIN ksh.
116 -$as_unset ENV MAIL MAILPATH
117 +for as_var in ENV MAIL MAILPATH
118 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
124 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
125 eval $as_var=C; export $as_var
128 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
132 # Required to use basename.
133 -if expr a : '\(a\)' >/dev/null 2>&1; then
134 +if expr a : '\(a\)' >/dev/null 2>&1 &&
135 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
141 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
142 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
146 @@ -65,157 +130,388 @@
149 # Name of the executable.
150 -as_me=`$as_basename "$0" ||
151 +as_me=`$as_basename -- "$0" ||
152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153 X"$0" : 'X\(//\)$' \| \
154 - X"$0" : 'X\(/\)$' \| \
155 - . : '\(.\)' 2>/dev/null ||
156 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
158 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
159 - /^X\/\(\/\/\)$/{ s//\1/; q; }
160 - /^X\/\(\/\).*/{ s//\1/; q; }
162 + sed '/^.*\/\([^/][^/]*\)\/*$/{
179 -# PATH needs CR, and LINENO needs CR and PATH.
180 -# Avoid depending upon Character Ranges.
181 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
182 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
183 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
184 -as_cr_digits='0123456789'
185 -as_cr_alnum=$as_cr_Letters$as_cr_digits
187 -# The user is always right.
188 -if test "${PATH_SEPARATOR+set}" != set; then
189 - echo "#! /bin/sh" >conf$$.sh
190 - echo "exit 0" >>conf$$.sh
192 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
198 +if test "x$CONFIG_SHELL" = x; then
199 + if (eval ":") 2>/dev/null; then
200 + as_have_required=yes
202 + as_have_required=no
205 + if test $as_have_required = yes && (eval ":
206 +(as_func_return () {
209 +as_func_success () {
212 +as_func_failure () {
215 +as_func_ret_success () {
218 +as_func_ret_failure () {
222 - as_lineno_1=$LINENO
223 - as_lineno_2=$LINENO
224 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
225 - test "x$as_lineno_1" != "x$as_lineno_2" &&
226 - test "x$as_lineno_3" = "x$as_lineno_2" || {
227 - # Find who we are. Look in the path if we contain no path at all
230 - *[\\/]* ) as_myself=$0 ;;
231 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
235 - test -z "$as_dir" && as_dir=.
236 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
239 +if as_func_success; then
243 + echo as_func_success failed.
248 - # We did not find ourselves, most probably we were run as `sh COMMAND'
249 - # in which case we are not to be found in the path.
250 - if test "x$as_myself" = x; then
253 - if test ! -f "$as_myself"; then
254 - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
255 - { (exit 1); exit 1; }; }
257 - case $CONFIG_SHELL in
259 +if as_func_failure; then
261 + echo as_func_failure succeeded.
264 +if as_func_ret_success; then
268 + echo as_func_ret_success failed.
271 +if as_func_ret_failure; then
273 + echo as_func_ret_failure succeeded.
276 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
280 + echo positional parameters were not saved.
283 +test \$exitcode = 0) || { (exit 1); exit 1; }
286 + as_lineno_1=\$LINENO
287 + as_lineno_2=\$LINENO
288 + test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
289 + test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
290 +") 2> /dev/null; then
293 + as_candidate_shells=
294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
295 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
298 test -z "$as_dir" && as_dir=.
299 - for as_base in sh bash ksh sh5; do
303 - if ("$as_dir/$as_base" -c '
304 + for as_base in sh bash ksh sh5; do
305 + as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
312 + for as_shell in $as_candidate_shells $SHELL; do
313 + # Try only shells that exist, to save several forks.
314 + if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
315 + { ("$as_shell") 2> /dev/null <<\_ASEOF
316 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
319 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
320 + # is contrary to our usage. Disable this feature.
321 + alias -g '${1+"$@"}'='"$@"'
322 + setopt NO_GLOB_SUBST
324 + case `(set -o) 2>/dev/null` in
325 + *posix*) set -o posix ;;
334 + CONFIG_SHELL=$as_shell
335 + as_have_required=yes
336 + if { "$as_shell" 2> /dev/null <<\_ASEOF
337 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
340 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
341 + # is contrary to our usage. Disable this feature.
342 + alias -g '${1+"$@"}'='"$@"'
343 + setopt NO_GLOB_SUBST
345 + case `(set -o) 2>/dev/null` in
346 + *posix*) set -o posix ;;
353 +(as_func_return () {
356 +as_func_success () {
359 +as_func_failure () {
362 +as_func_ret_success () {
365 +as_func_ret_failure () {
370 +if as_func_success; then
374 + echo as_func_success failed.
377 +if as_func_failure; then
379 + echo as_func_failure succeeded.
382 +if as_func_ret_success; then
386 + echo as_func_ret_success failed.
389 +if as_func_ret_failure; then
391 + echo as_func_ret_failure succeeded.
394 +if ( set x; as_func_ret_success y && test x = "$1" ); then
398 + echo positional parameters were not saved.
401 +test $exitcode = 0) || { (exit 1); exit 1; }
406 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
407 test "x$as_lineno_1" != "x$as_lineno_2" &&
408 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
409 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
410 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
411 - CONFIG_SHELL=$as_dir/$as_base
412 - export CONFIG_SHELL
413 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
420 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
431 + if test "x$CONFIG_SHELL" != x; then
432 + for as_var in BASH_ENV ENV
433 + do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
435 + export CONFIG_SHELL
436 + exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
440 + if test $as_have_required = no; then
441 + echo This script requires a shell more modern than all the
442 + echo shells that I found on your system. Please install a
443 + echo modern shell, or manually run the script under such a
444 + echo shell if you do have one.
445 + { (exit 1); exit 1; }
455 +(eval "as_func_return () {
458 +as_func_success () {
461 +as_func_failure () {
464 +as_func_ret_success () {
467 +as_func_ret_failure () {
472 +if as_func_success; then
476 + echo as_func_success failed.
479 +if as_func_failure; then
481 + echo as_func_failure succeeded.
484 +if as_func_ret_success; then
488 + echo as_func_ret_success failed.
491 +if as_func_ret_failure; then
493 + echo as_func_ret_failure succeeded.
496 +if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
500 + echo positional parameters were not saved.
503 +test \$exitcode = 0") || {
504 + echo No shell found that supports shell functions.
505 + echo Please tell autoconf@gnu.org about your system,
506 + echo including any error possibly output before this
512 + as_lineno_1=$LINENO
513 + as_lineno_2=$LINENO
514 + test "x$as_lineno_1" != "x$as_lineno_2" &&
515 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
517 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
518 # uniformly replaced by the line number. The first 'sed' inserts a
519 - # line-number line before each line; the second 'sed' does the real
520 - # work. The second script uses 'N' to pair each line-number line
521 - # with the numbered line, and appends trailing '-' during
522 - # substitution so that $LINENO is not a special case at line end.
523 + # line-number line after each line using $LINENO; the second 'sed'
524 + # does the real work. The second script uses 'N' to pair each
525 + # line-number line with the line containing $LINENO, and appends
526 + # trailing '-' during substitution so that $LINENO is not a special
527 + # case at line end.
528 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
529 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
530 - sed '=' <$as_myself |
531 + # scripts with optimization help from Paolo Bonzini. Blame Lee
532 + # E. McMahon (1931-1989) for sed's syntax. :-)
545 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
547 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
550 - s,^['$as_cr_digits']*\n,,
553 - chmod +x $as_me.lineno ||
554 + chmod +x "$as_me.lineno" ||
555 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
556 { (exit 1); exit 1; }; }
558 # Don't try to exec as it changes $[0], causing all sort of problems
559 # (the dirname of $[0] is not the place where we might find the
560 - # original and so on. Autoconf is especially sensible to this).
562 + # original and so on. Autoconf is especially sensitive to this).
563 + . "./$as_me.lineno"
564 # Exit status is that of the last command.
569 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
570 - *c*,-n*) ECHO_N= ECHO_C='
572 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
573 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
574 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
580 +ECHO_C= ECHO_N= ECHO_T=
583 + case `echo 'x\c'` in
584 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
591 -if expr a : '\(a\)' >/dev/null 2>&1; then
592 +if expr a : '\(a\)' >/dev/null 2>&1 &&
593 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
599 rm -f conf$$ conf$$.exe conf$$.file
600 +if test -d conf$$.dir; then
601 + rm -f conf$$.dir/conf$$.file
607 if ln -s conf$$.file conf$$ 2>/dev/null; then
608 - # We could just check for DJGPP; but this test a) works b) is more generic
609 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
610 - if test -f conf$$.exe; then
611 - # Don't use ln at all; we don't have any links
613 + # ... but there are two gotchas:
614 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
615 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
616 + # In both cases, we have to default to `cp -p'.
617 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
622 elif ln conf$$.file conf$$ 2>/dev/null; then
627 -rm -f conf$$ conf$$.exe conf$$.file
628 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
629 +rmdir conf$$.dir 2>/dev/null
631 if mkdir -p . 2>/dev/null; then
637 -as_executable_p="test -f"
638 +if test -x / >/dev/null 2>&1; then
639 + as_test_x='test -x'
641 + if ls -dL / >/dev/null 2>&1; then
648 + if test -d "$1"; then
654 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
655 + ???[sx]*):;;*)false;;esac;fi
659 +as_executable_p=$as_test_x
661 # Sed expression to map a string onto a valid CPP name.
662 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
664 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
668 -# We need space, tab and new line, in precisely that order.
678 # Check that we are running under the correct shell.
679 @@ -397,29 +705,26 @@
681 tagnames=${tagnames+${tagnames},}F77
683 +exec 7<&0 </dev/null 6>&1
686 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
687 # so uname gets run too.
688 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
695 ac_default_prefix=/usr/local
697 ac_config_libobj_dir=.
703 SHELL=${CONFIG_SHELL-/bin/sh}
705 -# Maximum number of lines to put in a shell here document.
706 -# This variable seems obsolete. It should probably be removed, and
707 -# only ac_max_sed_lines should be used.
708 -: ${ac_max_here_lines=38}
710 # Identity of this package.
712 PACKAGE_TARNAME='expat'
713 @@ -431,42 +736,139 @@
714 # Factoring default headers for most tests.
715 ac_includes_default="\
717 -#if HAVE_SYS_TYPES_H
718 +#ifdef HAVE_SYS_TYPES_H
719 # include <sys/types.h>
722 +#ifdef HAVE_SYS_STAT_H
723 # include <sys/stat.h>
731 +# ifdef HAVE_STDLIB_H
736 -# if !STDC_HEADERS && HAVE_MEMORY_H
737 +#ifdef HAVE_STRING_H
738 +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
744 +#ifdef HAVE_STRINGS_H
745 # include <strings.h>
748 +#ifdef HAVE_INTTYPES_H
749 # include <inttypes.h>
752 -# include <stdint.h>
756 +#ifdef HAVE_STDINT_H
757 +# include <stdint.h>
759 +#ifdef HAVE_UNISTD_H
763 -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL LIBCURRENT LIBREVISION LIBAGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA FILEMAP LIBOBJS LTLIBOBJS'
764 +ac_subst_vars='SHELL
773 +program_transform_name
848 + ac_precious_vars='build_alias
865 # Initialize some variables set by options.
867 @@ -493,34 +895,48 @@
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 +# (The list follows the same order as the GNU Coding Standards.)
872 bindir='${exec_prefix}/bin'
873 sbindir='${exec_prefix}/sbin'
874 libexecdir='${exec_prefix}/libexec'
875 -datadir='${prefix}/share'
876 +datarootdir='${prefix}/share'
877 +datadir='${datarootdir}'
878 sysconfdir='${prefix}/etc'
879 sharedstatedir='${prefix}/com'
880 localstatedir='${prefix}/var'
881 -libdir='${exec_prefix}/lib'
882 includedir='${prefix}/include'
883 oldincludedir='/usr/include'
884 -infodir='${prefix}/info'
885 -mandir='${prefix}/man'
886 +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
887 +infodir='${datarootdir}/info'
892 +libdir='${exec_prefix}/lib'
893 +localedir='${datarootdir}/locale'
894 +mandir='${datarootdir}/man'
900 # If the previous option needs an argument, assign it.
901 if test -n "$ac_prev"; then
902 - eval "$ac_prev=\$ac_option"
903 + eval $ac_prev=\$ac_option
908 - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
910 + *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 + *) ac_optarg=yes ;;
914 # Accept the important Cygnus configure options, so we can diagnose typos.
917 + case $ac_dashdash$ac_option in
921 -bindir | --bindir | --bindi | --bind | --bin | --bi)
923 @@ -542,33 +958,45 @@
925 cache_file=config.cache ;;
927 - -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
928 + -datadir | --datadir | --datadi | --datad)
930 - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
932 + -datadir=* | --datadir=* | --datadi=* | --datad=*)
933 datadir=$ac_optarg ;;
935 + -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
936 + | --dataroo | --dataro | --datar)
937 + ac_prev=datarootdir ;;
938 + -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
939 + | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
940 + datarootdir=$ac_optarg ;;
942 -disable-* | --disable-*)
943 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
946 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
947 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
948 { (exit 1); exit 1; }; }
949 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
950 - eval "enable_$ac_feature=no" ;;
951 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
952 + eval enable_$ac_feature=no ;;
954 + -docdir | --docdir | --docdi | --doc | --do)
956 + -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
957 + docdir=$ac_optarg ;;
959 + -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
961 + -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
962 + dvidir=$ac_optarg ;;
964 -enable-* | --enable-*)
965 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
966 # Reject names that are not valid shell variable names.
967 - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
968 + expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
969 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
970 { (exit 1); exit 1; }; }
971 - ac_feature=`echo $ac_feature | sed 's/-/_/g'`
973 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
974 - *) ac_optarg=yes ;;
976 - eval "enable_$ac_feature='$ac_optarg'" ;;
977 + ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
978 + eval enable_$ac_feature=\$ac_optarg ;;
980 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
981 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
982 @@ -595,6 +1023,12 @@
983 -host=* | --host=* | --hos=* | --ho=*)
984 host_alias=$ac_optarg ;;
986 + -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
988 + -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
990 + htmldir=$ac_optarg ;;
992 -includedir | --includedir | --includedi | --included | --include \
993 | --includ | --inclu | --incl | --inc)
994 ac_prev=includedir ;;
995 @@ -619,13 +1053,16 @@
996 | --libexe=* | --libex=* | --libe=*)
997 libexecdir=$ac_optarg ;;
999 + -localedir | --localedir | --localedi | --localed | --locale)
1000 + ac_prev=localedir ;;
1001 + -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1002 + localedir=$ac_optarg ;;
1004 -localstatedir | --localstatedir | --localstatedi | --localstated \
1005 - | --localstate | --localstat | --localsta | --localst \
1006 - | --locals | --local | --loca | --loc | --lo)
1007 + | --localstate | --localstat | --localsta | --localst | --locals)
1008 ac_prev=localstatedir ;;
1009 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1010 - | --localstate=* | --localstat=* | --localsta=* | --localst=* \
1011 - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1012 + | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1013 localstatedir=$ac_optarg ;;
1015 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1016 @@ -690,6 +1127,16 @@
1017 | --progr-tra=* | --program-tr=* | --program-t=*)
1018 program_transform_name=$ac_optarg ;;
1020 + -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1022 + -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1023 + pdfdir=$ac_optarg ;;
1025 + -psdir | --psdir | --psdi | --psd | --ps)
1027 + -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1028 + psdir=$ac_optarg ;;
1030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1031 | -silent | --silent | --silen | --sile | --sil)
1033 @@ -742,24 +1189,20 @@
1035 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1038 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1039 { echo "$as_me: error: invalid package name: $ac_package" >&2
1040 { (exit 1); exit 1; }; }
1041 - ac_package=`echo $ac_package| sed 's/-/_/g'`
1042 - case $ac_option in
1043 - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1044 - *) ac_optarg=yes ;;
1046 - eval "with_$ac_package='$ac_optarg'" ;;
1047 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1048 + eval with_$ac_package=\$ac_optarg ;;
1050 -without-* | --without-*)
1051 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1052 # Reject names that are not valid shell variable names.
1053 - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1054 + expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1055 { echo "$as_me: error: invalid package name: $ac_package" >&2
1056 { (exit 1); exit 1; }; }
1057 - ac_package=`echo $ac_package | sed 's/-/_/g'`
1058 - eval "with_$ac_package=no" ;;
1059 + ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1060 + eval with_$ac_package=no ;;
1063 # Obsolete; use --with-x.
1064 @@ -790,8 +1233,7 @@
1065 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1066 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1067 { (exit 1); exit 1; }; }
1068 - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
1069 - eval "$ac_envvar='$ac_optarg'"
1070 + eval $ac_envvar=\$ac_optarg
1071 export $ac_envvar ;;
1074 @@ -811,27 +1253,19 @@
1075 { (exit 1); exit 1; }; }
1078 -# Be sure to have absolute paths.
1079 -for ac_var in exec_prefix prefix
1081 - eval ac_val=$`echo $ac_var`
1083 - [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
1084 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1085 - { (exit 1); exit 1; }; };;
1089 -# Be sure to have absolute paths.
1090 -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1091 - localstatedir libdir includedir oldincludedir infodir mandir
1092 +# Be sure to have absolute directory names.
1093 +for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1094 + datadir sysconfdir sharedstatedir localstatedir includedir \
1095 + oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1096 + libdir localedir mandir
1098 - eval ac_val=$`echo $ac_var`
1099 + eval ac_val=\$$ac_var
1101 - [\\/$]* | ?:[\\/]* ) ;;
1102 - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1103 - { (exit 1); exit 1; }; };;
1104 + [\\/$]* | ?:[\\/]* ) continue;;
1105 + NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1107 + { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1108 + { (exit 1); exit 1; }; }
1111 # There might be people who depend on the old broken behavior: `$host'
1112 @@ -858,94 +1292,76 @@
1113 test "$silent" = yes && exec 6>/dev/null
1116 +ac_pwd=`pwd` && test -n "$ac_pwd" &&
1117 +ac_ls_di=`ls -di .` &&
1118 +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1119 + { echo "$as_me: error: Working directory cannot be determined" >&2
1120 + { (exit 1); exit 1; }; }
1121 +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1122 + { echo "$as_me: error: pwd does not report name of working directory" >&2
1123 + { (exit 1); exit 1; }; }
1126 # Find the source files, if location was not specified.
1127 if test -z "$srcdir"; then
1128 ac_srcdir_defaulted=yes
1129 - # Try the directory containing this script, then its parent.
1130 - ac_confdir=`(dirname "$0") 2>/dev/null ||
1131 + # Try the directory containing this script, then the parent directory.
1132 + ac_confdir=`$as_dirname -- "$0" ||
1133 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1134 X"$0" : 'X\(//\)[^/]' \| \
1135 X"$0" : 'X\(//\)$' \| \
1136 - X"$0" : 'X\(/\)' \| \
1137 - . : '\(.\)' 2>/dev/null ||
1138 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1140 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1141 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
1142 - /^X\(\/\/\)$/{ s//\1/; q; }
1143 - /^X\(\/\).*/{ s//\1/; q; }
1145 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1149 + /^X\(\/\/\)[^/].*/{
1163 - if test ! -r $srcdir/$ac_unique_file; then
1164 + if test ! -r "$srcdir/$ac_unique_file"; then
1168 ac_srcdir_defaulted=no
1170 -if test ! -r $srcdir/$ac_unique_file; then
1171 - if test "$ac_srcdir_defaulted" = yes; then
1172 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
1173 - { (exit 1); exit 1; }; }
1175 - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1176 +if test ! -r "$srcdir/$ac_unique_file"; then
1177 + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1178 + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1179 { (exit 1); exit 1; }; }
1182 -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
1183 - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
1184 +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1186 + cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1187 { (exit 1); exit 1; }; }
1188 -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
1189 -ac_env_build_alias_set=${build_alias+set}
1190 -ac_env_build_alias_value=$build_alias
1191 -ac_cv_env_build_alias_set=${build_alias+set}
1192 -ac_cv_env_build_alias_value=$build_alias
1193 -ac_env_host_alias_set=${host_alias+set}
1194 -ac_env_host_alias_value=$host_alias
1195 -ac_cv_env_host_alias_set=${host_alias+set}
1196 -ac_cv_env_host_alias_value=$host_alias
1197 -ac_env_target_alias_set=${target_alias+set}
1198 -ac_env_target_alias_value=$target_alias
1199 -ac_cv_env_target_alias_set=${target_alias+set}
1200 -ac_cv_env_target_alias_value=$target_alias
1201 -ac_env_CC_set=${CC+set}
1202 -ac_env_CC_value=$CC
1203 -ac_cv_env_CC_set=${CC+set}
1204 -ac_cv_env_CC_value=$CC
1205 -ac_env_CFLAGS_set=${CFLAGS+set}
1206 -ac_env_CFLAGS_value=$CFLAGS
1207 -ac_cv_env_CFLAGS_set=${CFLAGS+set}
1208 -ac_cv_env_CFLAGS_value=$CFLAGS
1209 -ac_env_LDFLAGS_set=${LDFLAGS+set}
1210 -ac_env_LDFLAGS_value=$LDFLAGS
1211 -ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
1212 -ac_cv_env_LDFLAGS_value=$LDFLAGS
1213 -ac_env_CPPFLAGS_set=${CPPFLAGS+set}
1214 -ac_env_CPPFLAGS_value=$CPPFLAGS
1215 -ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
1216 -ac_cv_env_CPPFLAGS_value=$CPPFLAGS
1217 -ac_env_CPP_set=${CPP+set}
1218 -ac_env_CPP_value=$CPP
1219 -ac_cv_env_CPP_set=${CPP+set}
1220 -ac_cv_env_CPP_value=$CPP
1221 -ac_env_CXX_set=${CXX+set}
1222 -ac_env_CXX_value=$CXX
1223 -ac_cv_env_CXX_set=${CXX+set}
1224 -ac_cv_env_CXX_value=$CXX
1225 -ac_env_CXXFLAGS_set=${CXXFLAGS+set}
1226 -ac_env_CXXFLAGS_value=$CXXFLAGS
1227 -ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
1228 -ac_cv_env_CXXFLAGS_value=$CXXFLAGS
1229 -ac_env_CXXCPP_set=${CXXCPP+set}
1230 -ac_env_CXXCPP_value=$CXXCPP
1231 -ac_cv_env_CXXCPP_set=${CXXCPP+set}
1232 -ac_cv_env_CXXCPP_value=$CXXCPP
1233 -ac_env_F77_set=${F77+set}
1234 -ac_env_F77_value=$F77
1235 -ac_cv_env_F77_set=${F77+set}
1236 -ac_cv_env_F77_value=$F77
1237 -ac_env_FFLAGS_set=${FFLAGS+set}
1238 -ac_env_FFLAGS_value=$FFLAGS
1239 -ac_cv_env_FFLAGS_set=${FFLAGS+set}
1240 -ac_cv_env_FFLAGS_value=$FFLAGS
1242 +# When building in place, set srcdir=.
1243 +if test "$ac_abs_confdir" = "$ac_pwd"; then
1246 +# Remove unnecessary trailing slashes from srcdir.
1247 +# Double slashes in file names in object file debugging info
1248 +# mess up M-x gdb in Emacs.
1250 +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1252 +for ac_var in $ac_precious_vars; do
1253 + eval ac_env_${ac_var}_set=\${${ac_var}+set}
1254 + eval ac_env_${ac_var}_value=\$${ac_var}
1255 + eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1256 + eval ac_cv_env_${ac_var}_value=\$${ac_var}
1260 # Report the --help message.
1261 @@ -974,9 +1390,6 @@
1262 -n, --no-create do not create output files
1263 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1268 Installation directories:
1269 --prefix=PREFIX install architecture-independent files in PREFIX
1270 [$ac_default_prefix]
1271 @@ -994,15 +1407,22 @@
1272 --bindir=DIR user executables [EPREFIX/bin]
1273 --sbindir=DIR system admin executables [EPREFIX/sbin]
1274 --libexecdir=DIR program executables [EPREFIX/libexec]
1275 - --datadir=DIR read-only architecture-independent data [PREFIX/share]
1276 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1277 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1278 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1279 --libdir=DIR object code libraries [EPREFIX/lib]
1280 --includedir=DIR C header files [PREFIX/include]
1281 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1282 - --infodir=DIR info documentation [PREFIX/info]
1283 - --mandir=DIR man documentation [PREFIX/man]
1284 + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1285 + --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1286 + --infodir=DIR info documentation [DATAROOTDIR/info]
1287 + --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1288 + --mandir=DIR man documentation [DATAROOTDIR/man]
1289 + --docdir=DIR documentation root [DATAROOTDIR/doc/expat]
1290 + --htmldir=DIR html documentation [DOCDIR]
1291 + --dvidir=DIR dvi documentation [DOCDIR]
1292 + --pdfdir=DIR pdf documentation [DOCDIR]
1293 + --psdir=DIR ps documentation [DOCDIR]
1297 @@ -1022,10 +1442,8 @@
1299 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1300 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1301 - --enable-shared[=PKGS]
1302 - build shared libraries [default=yes]
1303 - --enable-static[=PKGS]
1304 - build static libraries [default=yes]
1305 + --enable-shared[=PKGS] build shared libraries [default=yes]
1306 + --enable-static[=PKGS] build static libraries [default=yes]
1307 --enable-fast-install[=PKGS]
1308 optimize for fast installation [default=yes]
1309 --disable-libtool-lock avoid locking (might break parallel builds)
1310 @@ -1036,16 +1454,16 @@
1311 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1312 --with-pic try to use only PIC/non-PIC objects [default=use
1314 - --with-tags[=TAGS]
1315 - include additional configurations [automatic]
1316 + --with-tags[=TAGS] include additional configurations [automatic]
1318 Some influential environment variables:
1319 CC C compiler command
1320 CFLAGS C compiler flags
1321 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1322 nonstandard directory <lib dir>
1323 - CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1324 - headers in a nonstandard directory <include dir>
1325 + LIBS libraries to pass to the linker, e.g. -l<library>
1326 + CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1327 + you have headers in a nonstandard directory <include dir>
1329 CXX C++ compiler command
1330 CXXFLAGS C++ compiler flags
1331 @@ -1058,120 +1476,86 @@
1333 Report bugs to <expat-bugs@libexpat.org>.
1338 if test "$ac_init_help" = "recursive"; then
1339 # If there are subdirs, report their specific --help.
1341 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1342 - test -d $ac_dir || continue
1343 + test -d "$ac_dir" || continue
1346 -if test "$ac_dir" != .; then
1348 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1351 - # A "../" for each directory in $ac_dir_suffix.
1352 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1354 - ac_dir_suffix= ac_top_builddir=
1356 + # A ".." for each directory in $ac_dir_suffix.
1357 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1358 + case $ac_top_builddir_sub in
1359 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1360 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1363 +ac_abs_top_builddir=$ac_pwd
1364 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
1365 +# for backward compatibility:
1366 +ac_top_builddir=$ac_top_build_prefix
1369 - .) # No --srcdir option. We are building in place.
1370 + .) # We are building in place.
1372 - if test -z "$ac_top_builddir"; then
1375 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1377 - [\\/]* | ?:[\\/]* ) # Absolute path.
1378 + ac_top_srcdir=$ac_top_builddir_sub
1379 + ac_abs_top_srcdir=$ac_pwd ;;
1380 + [\\/]* | ?:[\\/]* ) # Absolute name.
1381 ac_srcdir=$srcdir$ac_dir_suffix;
1382 - ac_top_srcdir=$srcdir ;;
1383 - *) # Relative path.
1384 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1385 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
1388 -# Do not use `cd foo && pwd` to compute absolute paths, because
1389 -# the directories may not exist.
1391 -.) ac_abs_builddir="$ac_dir";;
1394 - .) ac_abs_builddir=`pwd`;;
1395 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1396 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
1399 -case $ac_abs_builddir in
1400 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
1402 - case ${ac_top_builddir}. in
1403 - .) ac_abs_top_builddir=$ac_abs_builddir;;
1404 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1405 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1408 -case $ac_abs_builddir in
1409 -.) ac_abs_srcdir=$ac_srcdir;;
1411 - case $ac_srcdir in
1412 - .) ac_abs_srcdir=$ac_abs_builddir;;
1413 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1414 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1417 -case $ac_abs_builddir in
1418 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
1420 - case $ac_top_srcdir in
1421 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
1422 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1423 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1425 + ac_top_srcdir=$srcdir
1426 + ac_abs_top_srcdir=$srcdir ;;
1427 + *) # Relative name.
1428 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1429 + ac_top_srcdir=$ac_top_build_prefix$srcdir
1430 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1432 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1435 - # Check for guested configure; otherwise get Cygnus style configure.
1436 - if test -f $ac_srcdir/configure.gnu; then
1438 - $SHELL $ac_srcdir/configure.gnu --help=recursive
1439 - elif test -f $ac_srcdir/configure; then
1441 - $SHELL $ac_srcdir/configure --help=recursive
1442 - elif test -f $ac_srcdir/configure.ac ||
1443 - test -f $ac_srcdir/configure.in; then
1445 - $ac_configure --help
1446 + cd "$ac_dir" || { ac_status=$?; continue; }
1447 + # Check for guested configure.
1448 + if test -f "$ac_srcdir/configure.gnu"; then
1450 + $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1451 + elif test -f "$ac_srcdir/configure"; then
1453 + $SHELL "$ac_srcdir/configure" --help=recursive
1455 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458 + fi || ac_status=$?
1459 + cd "$ac_pwd" || { ac_status=$?; break; }
1463 -test -n "$ac_init_help" && exit 0
1464 +test -n "$ac_init_help" && exit $ac_status
1465 if $ac_init_version; then
1467 expat configure 2.0.1
1468 -generated by GNU Autoconf 2.59
1469 +generated by GNU Autoconf 2.61
1471 -Copyright (C) 2003 Free Software Foundation, Inc.
1472 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1473 +2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1474 This configure script is free software; the Free Software Foundation
1475 gives unlimited permission to copy, distribute and modify it.
1482 +cat >config.log <<_ACEOF
1483 This file contains any messages produced by compilers while
1484 running configure, to aid debugging if configure makes a mistake.
1486 It was created by expat $as_me 2.0.1, which was
1487 -generated by GNU Autoconf 2.59. Invocation command line was
1488 +generated by GNU Autoconf 2.61. Invocation command line was
1497 @@ -1190,7 +1574,7 @@
1498 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1499 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1500 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1501 -hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1502 +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1503 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1504 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1505 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1506 @@ -1204,6 +1588,7 @@
1507 test -z "$as_dir" && as_dir=.
1508 echo "PATH: $as_dir"
1514 @@ -1225,7 +1610,6 @@
1519 ac_must_keep_next=false
1522 @@ -1236,7 +1620,7 @@
1523 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1524 | -silent | --silent | --silen | --sile | --sil)
1526 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1528 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1531 @@ -1258,9 +1642,7 @@
1532 -* ) ac_must_keep_next=true ;;
1535 - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1536 - # Get rid of the leading space.
1538 + ac_configure_args="$ac_configure_args '$ac_arg'"
1542 @@ -1271,8 +1653,8 @@
1543 # When interrupted or exit'd, cleanup temporary files, and complete
1544 # config.log. We remove comments because anyway the quotes in there
1545 # would cause problems or look ugly.
1546 -# WARNING: Be sure not to use single quotes in there, as some shells,
1547 -# such as our DU 5.0 friend, will then `close' the trap.
1548 +# WARNING: Use '\'' to represent an apostrophe within the trap.
1549 +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1550 trap 'exit_status=$?
1551 # Save into config.log some information that might help in debugging.
1553 @@ -1285,20 +1667,34 @@
1556 # The following way of writing the cache mishandles newlines in values,
1559 + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1560 + eval ac_val=\$$ac_var
1561 + case $ac_val in #(
1563 + case $ac_var in #(
1564 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1565 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1567 + case $ac_var in #(
1568 + _ | IFS | as_nl) ;; #(
1569 + *) $as_unset $ac_var ;;
1574 - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1576 + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1577 + *${as_nl}ac_space=\ *)
1579 - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1580 - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1582 + "s/'\''/'\''\\\\'\'''\''/g;
1583 + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1587 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1588 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1598 @@ -1309,22 +1705,28 @@
1600 for ac_var in $ac_subst_vars
1602 - eval ac_val=$`echo $ac_var`
1603 - echo "$ac_var='"'"'$ac_val'"'"'"
1604 + eval ac_val=\$$ac_var
1606 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1608 + echo "$ac_var='\''$ac_val'\''"
1612 if test -n "$ac_subst_files"; then
1614 -## ------------- ##
1615 -## Output files. ##
1616 -## ------------- ##
1617 +## ------------------- ##
1618 +## File substitutions. ##
1619 +## ------------------- ##
1622 for ac_var in $ac_subst_files
1624 - eval ac_val=$`echo $ac_var`
1625 - echo "$ac_var='"'"'$ac_val'"'"'"
1626 + eval ac_val=\$$ac_var
1628 + *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1630 + echo "$ac_var='\''$ac_val'\''"
1634 @@ -1336,26 +1738,24 @@
1638 - sed "/^$/d" confdefs.h | sort
1642 test "$ac_signal" != 0 &&
1643 echo "$as_me: caught signal $ac_signal"
1644 echo "$as_me: exit $exit_status"
1646 - rm -f core *.core &&
1647 - rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1648 + rm -f core *.core core.conftest.* &&
1649 + rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1653 for ac_signal in 1 2 13 15; do
1654 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1658 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1659 -rm -rf conftest* confdefs.h
1660 -# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1662 +rm -f -r conftest* confdefs.h
1664 # Predefined preprocessor variables.
1666 @@ -1386,14 +1786,17 @@
1668 # Let the site file select an alternate cache file if it wants to.
1669 # Prefer explicitly selected file to automatically selected ones.
1670 -if test -z "$CONFIG_SITE"; then
1671 - if test "x$prefix" != xNONE; then
1672 - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1674 - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1676 +if test -n "$CONFIG_SITE"; then
1677 + set x "$CONFIG_SITE"
1678 +elif test "x$prefix" != xNONE; then
1679 + set x "$prefix/share/config.site" "$prefix/etc/config.site"
1681 + set x "$ac_default_prefix/share/config.site" \
1682 + "$ac_default_prefix/etc/config.site"
1684 -for ac_site_file in $CONFIG_SITE; do
1688 if test -r "$ac_site_file"; then
1689 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1690 echo "$as_me: loading site script $ac_site_file" >&6;}
1691 @@ -1409,8 +1812,8 @@
1692 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1693 echo "$as_me: loading cache $cache_file" >&6;}
1695 - [\\/]* | ?:[\\/]* ) . $cache_file;;
1696 - *) . ./$cache_file;;
1697 + [\\/]* | ?:[\\/]* ) . "$cache_file";;
1698 + *) . "./$cache_file";;
1702 @@ -1422,12 +1825,11 @@
1703 # Check that the precious variables saved in the cache have kept the same
1705 ac_cache_corrupted=false
1706 -for ac_var in `(set) 2>&1 |
1707 - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1708 +for ac_var in $ac_precious_vars; do
1709 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1710 eval ac_new_set=\$ac_env_${ac_var}_set
1711 - eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1712 - eval ac_new_val="\$ac_env_${ac_var}_value"
1713 + eval ac_old_val=\$ac_cv_env_${ac_var}_value
1714 + eval ac_new_val=\$ac_env_${ac_var}_value
1715 case $ac_old_set,$ac_new_set in
1717 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1718 @@ -1452,8 +1854,7 @@
1719 # Pass precious variables to config.status.
1720 if test "$ac_new_set" = set; then
1722 - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1723 - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1724 + *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1725 *) ac_arg=$ac_var=$ac_new_val ;;
1727 case " $ac_configure_args " in
1728 @@ -1470,12 +1871,6 @@
1729 { (exit 1); exit 1; }; }
1733 -ac_cpp='$CPP $CPPFLAGS'
1734 -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1735 -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1736 -ac_compiler_gnu=$ac_cv_c_compiler_gnu
1741 @@ -1500,35 +1895,46 @@
1746 +ac_cpp='$CPP $CPPFLAGS'
1747 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1748 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1749 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1756 -for ac_dir in conftools $srcdir/conftools; do
1757 - if test -f $ac_dir/install-sh; then
1758 +for ac_dir in conftools "$srcdir"/conftools; do
1759 + if test -f "$ac_dir/install-sh"; then
1761 ac_install_sh="$ac_aux_dir/install-sh -c"
1763 - elif test -f $ac_dir/install.sh; then
1764 + elif test -f "$ac_dir/install.sh"; then
1766 ac_install_sh="$ac_aux_dir/install.sh -c"
1768 - elif test -f $ac_dir/shtool; then
1769 + elif test -f "$ac_dir/shtool"; then
1771 ac_install_sh="$ac_aux_dir/shtool install -c"
1775 if test -z "$ac_aux_dir"; then
1776 - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in conftools $srcdir/conftools" >&5
1777 -echo "$as_me: error: cannot find install-sh or install.sh in conftools $srcdir/conftools" >&2;}
1778 + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in conftools \"$srcdir\"/conftools" >&5
1779 +echo "$as_me: error: cannot find install-sh or install.sh in conftools \"$srcdir\"/conftools" >&2;}
1780 { (exit 1); exit 1; }; }
1782 -ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1783 -ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1784 -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1786 +# These three variables are undocumented and unsupported,
1787 +# and are intended to be withdrawn in a future Autoconf release.
1788 +# They can cause serious problems if a builder's source tree is in a directory
1789 +# whose full name contains unusual characters.
1790 +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1791 +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1792 +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1797 @@ -1537,19 +1943,19 @@
1801 - ac_config_headers="$ac_config_headers expat_config.h"
1802 +ac_config_headers="$ac_config_headers expat_config.h"
1805 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1806 -## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
1807 -## Free Software Foundation, Inc.
1808 +## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007,
1809 +## 2008 Free Software Foundation, Inc.
1810 ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
1812 ## This file is free software; the Free Software Foundation gives
1813 ## unlimited permission to copy and/or distribute it, with or without
1814 ## modifications, as long as this notice is preserved.
1816 -# serial 48 AC_PROG_LIBTOOL
1817 +# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
1820 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
1821 @@ -1597,6 +2003,10 @@
1822 # the simple link test code.
1823 # _LT_LINKER_BOILERPLATE
1825 +# _LT_REQUIRED_DARWIN_CHECKS
1826 +# --------------------------
1827 +# Check for some things on darwin
1830 # _LT_AC_SYS_LIBPATH_AIX
1831 # ----------------------
1832 @@ -1767,13 +2177,13 @@
1834 # AC_PATH_TOOL_PREFIX
1835 # -------------------
1836 -# find a file program which can recognise shared library
1837 +# find a file program which can recognize shared library
1838 # AC_PATH_TOOL_PREFIX
1843 -# find a file program which can recognise a shared library
1844 +# find a file program which can recognize a shared library
1848 @@ -1994,6 +2404,19 @@
1853 +# Cheap backport of AS_EXECUTABLE_P and required macros
1854 +# from Autoconf 2.59; we should not use $as_executable_p directly.
1862 +# Check whether a file is executable.
1865 ############################################################
1866 # NOTE: This macro has been submitted for inclusion into #
1867 # GNU Autoconf as AC_PROG_SED. When it is available in #
1868 @@ -2011,10 +2434,9 @@
1872 -# Check whether --enable-shared or --disable-shared was given.
1873 +# Check whether --enable-shared was given.
1874 if test "${enable_shared+set}" = set; then
1875 - enableval="$enable_shared"
1876 - p=${PACKAGE-default}
1877 + enableval=$enable_shared; p=${PACKAGE-default}
1879 yes) enable_shared=yes ;;
1880 no) enable_shared=no ;;
1881 @@ -2033,12 +2455,12 @@
1888 -# Check whether --enable-static or --disable-static was given.
1890 +# Check whether --enable-static was given.
1891 if test "${enable_static+set}" = set; then
1892 - enableval="$enable_static"
1893 - p=${PACKAGE-default}
1894 + enableval=$enable_static; p=${PACKAGE-default}
1896 yes) enable_static=yes ;;
1897 no) enable_static=no ;;
1898 @@ -2057,12 +2479,12 @@
1905 -# Check whether --enable-fast-install or --disable-fast-install was given.
1907 +# Check whether --enable-fast-install was given.
1908 if test "${enable_fast_install+set}" = set; then
1909 - enableval="$enable_fast_install"
1910 - p=${PACKAGE-default}
1911 + enableval=$enable_fast_install; p=${PACKAGE-default}
1913 yes) enable_fast_install=yes ;;
1914 no) enable_fast_install=no ;;
1915 @@ -2081,60 +2503,90 @@
1918 enable_fast_install=yes
1923 # Make sure we can run config.sub.
1924 -$ac_config_sub sun4 >/dev/null 2>&1 ||
1925 - { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1926 -echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1927 +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1928 + { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1929 +echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1930 { (exit 1); exit 1; }; }
1932 -echo "$as_me:$LINENO: checking build system type" >&5
1933 -echo $ECHO_N "checking build system type... $ECHO_C" >&6
1934 +{ echo "$as_me:$LINENO: checking build system type" >&5
1935 +echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1936 if test "${ac_cv_build+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 - ac_cv_build_alias=$build_alias
1940 -test -z "$ac_cv_build_alias" &&
1941 - ac_cv_build_alias=`$ac_config_guess`
1942 -test -z "$ac_cv_build_alias" &&
1943 + ac_build_alias=$build_alias
1944 +test "x$ac_build_alias" = x &&
1945 + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1946 +test "x$ac_build_alias" = x &&
1947 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1948 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1949 { (exit 1); exit 1; }; }
1950 -ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1951 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1952 -echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1953 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1954 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1955 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1956 { (exit 1); exit 1; }; }
1959 -echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1960 -echo "${ECHO_T}$ac_cv_build" >&6
1961 +{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1962 +echo "${ECHO_T}$ac_cv_build" >&6; }
1963 +case $ac_cv_build in
1965 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1966 +echo "$as_me: error: invalid value of canonical build" >&2;}
1967 + { (exit 1); exit 1; }; };;
1970 -build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1971 -build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1972 -build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1973 +ac_save_IFS=$IFS; IFS='-'
1979 +# Remember, the first character of IFS is used to create $*,
1980 +# except with old shells:
1983 +case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1986 -echo "$as_me:$LINENO: checking host system type" >&5
1987 -echo $ECHO_N "checking host system type... $ECHO_C" >&6
1988 +{ echo "$as_me:$LINENO: checking host system type" >&5
1989 +echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1990 if test "${ac_cv_host+set}" = set; then
1991 echo $ECHO_N "(cached) $ECHO_C" >&6
1993 - ac_cv_host_alias=$host_alias
1994 -test -z "$ac_cv_host_alias" &&
1995 - ac_cv_host_alias=$ac_cv_build_alias
1996 -ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1997 - { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1998 -echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1999 + if test "x$host_alias" = x; then
2000 + ac_cv_host=$ac_cv_build
2002 + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2003 + { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2004 +echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2005 { (exit 1); exit 1; }; }
2009 -echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2010 -echo "${ECHO_T}$ac_cv_host" >&6
2011 +{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2012 +echo "${ECHO_T}$ac_cv_host" >&6; }
2013 +case $ac_cv_host in
2015 +*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2016 +echo "$as_me: error: invalid value of canonical host" >&2;}
2017 + { (exit 1); exit 1; }; };;
2020 -host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2021 -host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2022 -host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2023 +ac_save_IFS=$IFS; IFS='-'
2029 +# Remember, the first character of IFS is used to create $*,
2030 +# except with old shells:
2033 +case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2037 @@ -2145,8 +2597,8 @@
2038 if test -n "$ac_tool_prefix"; then
2039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2040 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2041 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2042 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2043 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2045 if test "${ac_cv_prog_CC+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 @@ -2159,32 +2611,34 @@
2050 test -z "$as_dir" && as_dir=.
2051 for ac_exec_ext in '' $ac_executable_extensions; do
2052 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2053 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2054 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2065 if test -n "$CC"; then
2066 - echo "$as_me:$LINENO: result: $CC" >&5
2067 -echo "${ECHO_T}$CC" >&6
2068 + { echo "$as_me:$LINENO: result: $CC" >&5
2069 +echo "${ECHO_T}$CC" >&6; }
2071 - echo "$as_me:$LINENO: result: no" >&5
2072 -echo "${ECHO_T}no" >&6
2073 + { echo "$as_me:$LINENO: result: no" >&5
2074 +echo "${ECHO_T}no" >&6; }
2079 if test -z "$ac_cv_prog_CC"; then
2081 # Extract the first word of "gcc", so it can be a program name with args.
2082 set dummy gcc; ac_word=$2
2083 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2084 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2085 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2087 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 @@ -2197,36 +2651,51 @@
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2095 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2096 ac_cv_prog_ac_ct_CC="gcc"
2097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2107 if test -n "$ac_ct_CC"; then
2108 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2109 -echo "${ECHO_T}$ac_ct_CC" >&6
2110 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2111 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2113 - echo "$as_me:$LINENO: result: no" >&5
2114 -echo "${ECHO_T}no" >&6
2115 + { echo "$as_me:$LINENO: result: no" >&5
2116 +echo "${ECHO_T}no" >&6; }
2120 + if test "x$ac_ct_CC" = x; then
2123 + case $cross_compiling:$ac_tool_warned in
2125 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 +whose name does not start with the host triplet. If you think this
2127 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2129 +whose name does not start with the host triplet. If you think this
2130 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2131 +ac_tool_warned=yes ;;
2139 if test -z "$CC"; then
2140 - if test -n "$ac_tool_prefix"; then
2141 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 + if test -n "$ac_tool_prefix"; then
2143 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2144 set dummy ${ac_tool_prefix}cc; ac_word=$2
2145 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2147 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2149 if test "${ac_cv_prog_CC+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 @@ -2239,74 +2708,34 @@
2154 test -z "$as_dir" && as_dir=.
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2157 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 if test -n "$CC"; then
2170 - echo "$as_me:$LINENO: result: $CC" >&5
2171 -echo "${ECHO_T}$CC" >&6
2173 - echo "$as_me:$LINENO: result: no" >&5
2174 -echo "${ECHO_T}no" >&6
2178 -if test -z "$ac_cv_prog_CC"; then
2180 - # Extract the first word of "cc", so it can be a program name with args.
2181 -set dummy cc; ac_word=$2
2182 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2184 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2185 - echo $ECHO_N "(cached) $ECHO_C" >&6
2187 - if test -n "$ac_ct_CC"; then
2188 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2190 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2191 -for as_dir in $PATH
2194 - test -z "$as_dir" && as_dir=.
2195 - for ac_exec_ext in '' $ac_executable_extensions; do
2196 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2197 - ac_cv_prog_ac_ct_CC="cc"
2198 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
2207 -if test -n "$ac_ct_CC"; then
2208 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2209 -echo "${ECHO_T}$ac_ct_CC" >&6
2210 + { echo "$as_me:$LINENO: result: $CC" >&5
2211 +echo "${ECHO_T}$CC" >&6; }
2213 - echo "$as_me:$LINENO: result: no" >&5
2214 -echo "${ECHO_T}no" >&6
2215 + { echo "$as_me:$LINENO: result: no" >&5
2216 +echo "${ECHO_T}no" >&6; }
2221 - CC="$ac_cv_prog_CC"
2226 if test -z "$CC"; then
2227 # Extract the first word of "cc", so it can be a program name with args.
2228 set dummy cc; ac_word=$2
2229 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2230 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2231 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2232 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2233 if test "${ac_cv_prog_CC+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 @@ -2320,7 +2749,7 @@
2238 test -z "$as_dir" && as_dir=.
2239 for ac_exec_ext in '' $ac_executable_extensions; do
2240 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2243 ac_prog_rejected=yes
2245 @@ -2331,6 +2760,7 @@
2251 if test $ac_prog_rejected = yes; then
2252 # We found a bogon in the path, so make sure we never use it.
2253 @@ -2348,22 +2778,23 @@
2256 if test -n "$CC"; then
2257 - echo "$as_me:$LINENO: result: $CC" >&5
2258 -echo "${ECHO_T}$CC" >&6
2259 + { echo "$as_me:$LINENO: result: $CC" >&5
2260 +echo "${ECHO_T}$CC" >&6; }
2262 - echo "$as_me:$LINENO: result: no" >&5
2263 -echo "${ECHO_T}no" >&6
2264 + { echo "$as_me:$LINENO: result: no" >&5
2265 +echo "${ECHO_T}no" >&6; }
2270 if test -z "$CC"; then
2271 if test -n "$ac_tool_prefix"; then
2273 + for ac_prog in cl.exe
2275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2276 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2277 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2278 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2279 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2280 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2281 if test "${ac_cv_prog_CC+set}" = set; then
2282 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 @@ -2376,36 +2807,38 @@
2286 test -z "$as_dir" && as_dir=.
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2289 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 if test -n "$CC"; then
2302 - echo "$as_me:$LINENO: result: $CC" >&5
2303 -echo "${ECHO_T}$CC" >&6
2304 + { echo "$as_me:$LINENO: result: $CC" >&5
2305 +echo "${ECHO_T}$CC" >&6; }
2307 - echo "$as_me:$LINENO: result: no" >&5
2308 -echo "${ECHO_T}no" >&6
2309 + { echo "$as_me:$LINENO: result: no" >&5
2310 +echo "${ECHO_T}no" >&6; }
2314 test -n "$CC" && break
2317 if test -z "$CC"; then
2320 + for ac_prog in cl.exe
2322 # Extract the first word of "$ac_prog", so it can be a program name with args.
2323 set dummy $ac_prog; ac_word=$2
2324 -echo "$as_me:$LINENO: checking for $ac_word" >&5
2325 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2326 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2327 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2328 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2329 echo $ECHO_N "(cached) $ECHO_C" >&6
2331 @@ -2418,29 +2851,45 @@
2333 test -z "$as_dir" && as_dir=.
2334 for ac_exec_ext in '' $ac_executable_extensions; do
2335 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2336 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 ac_cv_prog_ac_ct_CC="$ac_prog"
2338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2348 if test -n "$ac_ct_CC"; then
2349 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2350 -echo "${ECHO_T}$ac_ct_CC" >&6
2351 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2352 +echo "${ECHO_T}$ac_ct_CC" >&6; }
2354 - echo "$as_me:$LINENO: result: no" >&5
2355 -echo "${ECHO_T}no" >&6
2356 + { echo "$as_me:$LINENO: result: no" >&5
2357 +echo "${ECHO_T}no" >&6; }
2361 test -n "$ac_ct_CC" && break
2365 + if test "x$ac_ct_CC" = x; then
2368 + case $cross_compiling:$ac_tool_warned in
2370 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2371 +whose name does not start with the host triplet. If you think this
2372 +configuration is useful to you, please write to autoconf@gnu.org." >&5
2373 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2374 +whose name does not start with the host triplet. If you think this
2375 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2376 +ac_tool_warned=yes ;;
2383 @@ -2453,21 +2902,35 @@
2384 { (exit 1); exit 1; }; }
2386 # Provide some information about the compiler.
2387 -echo "$as_me:$LINENO:" \
2388 - "checking for C compiler version" >&5
2389 +echo "$as_me:$LINENO: checking for C compiler version" >&5
2390 ac_compiler=`set X $ac_compile; echo $2`
2391 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2392 - (eval $ac_compiler --version </dev/null >&5) 2>&5
2393 +{ (ac_try="$ac_compiler --version >&5"
2394 +case "(($ac_try" in
2395 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396 + *) ac_try_echo=$ac_try;;
2398 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2399 + (eval "$ac_compiler --version >&5") 2>&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }
2403 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2404 - (eval $ac_compiler -v </dev/null >&5) 2>&5
2405 +{ (ac_try="$ac_compiler -v >&5"
2406 +case "(($ac_try" in
2407 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2408 + *) ac_try_echo=$ac_try;;
2410 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2411 + (eval "$ac_compiler -v >&5") 2>&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); }
2415 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2416 - (eval $ac_compiler -V </dev/null >&5) 2>&5
2417 +{ (ac_try="$ac_compiler -V >&5"
2418 +case "(($ac_try" in
2419 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420 + *) ac_try_echo=$ac_try;;
2422 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2423 + (eval "$ac_compiler -V >&5") 2>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }
2427 @@ -2492,47 +2955,77 @@
2428 # Try to create an executable without -o first, disregard a.out.
2429 # It will help us diagnose broken compilers, and finding out an intuition
2431 -echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2432 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2433 +{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2434 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2435 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2436 -if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2437 - (eval $ac_link_default) 2>&5
2439 +# List of possible output files, starting from the most likely.
2440 +# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2441 +# only as a last resort. b.out is created by i960 compilers.
2442 +ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2444 +# The IRIX 6 linker writes into existing files which may not be
2445 +# executable, retaining their permissions. Remove them first so a
2446 +# subsequent execution test works.
2448 +for ac_file in $ac_files
2451 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2452 + * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2457 +if { (ac_try="$ac_link_default"
2458 +case "(($ac_try" in
2459 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2460 + *) ac_try_echo=$ac_try;;
2462 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2463 + (eval "$ac_link_default") 2>&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; then
2467 - # Find the output, starting from the most likely. This scheme is
2468 -# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2471 -# Be careful to initialize this variable, since it used to be cached.
2472 -# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2474 -# b.out is created by i960 compilers.
2475 -for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2476 + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2477 +# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2478 +# in a Makefile. We should not override ac_cv_exeext if it was cached,
2479 +# so that the user can short-circuit this test for compilers unknown to
2481 +for ac_file in $ac_files ''
2483 test -f "$ac_file" || continue
2485 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2487 - conftest.$ac_ext )
2488 - # This is the source file.
2489 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2492 # We found the default executable, but exeext='' is most
2496 - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2497 - # FIXME: I believe we export ac_cv_exeext for Libtool,
2498 - # but it would be cool to find out if it's true. Does anybody
2499 - # maintain Libtool? --akim.
2500 - export ac_cv_exeext
2501 + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2503 + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2505 + # We set ac_cv_exeext here because the later test for it is not
2506 + # safe: cross compilers may not add the suffix if given an `-o'
2507 + # argument, so we may need to know it at that point already.
2508 + # Even if this section looks crufty: it has the advantage of
2509 + # actually working.
2515 +test "$ac_cv_exeext" = no && ac_cv_exeext=
2521 +{ echo "$as_me:$LINENO: result: $ac_file" >&5
2522 +echo "${ECHO_T}$ac_file" >&6; }
2523 +if test -z "$ac_file"; then
2524 echo "$as_me: failed program was:" >&5
2525 sed 's/^/| /' conftest.$ac_ext >&5
2527 @@ -2544,19 +3037,21 @@
2530 ac_exeext=$ac_cv_exeext
2531 -echo "$as_me:$LINENO: result: $ac_file" >&5
2532 -echo "${ECHO_T}$ac_file" >&6
2534 -# Check the compiler produces executables we can run. If not, either
2535 +# Check that the compiler produces executables we can run. If not, either
2536 # the compiler is broken, or we cross compile.
2537 -echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2538 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2539 +{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2540 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2541 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2542 # If not cross compiling, check that we can run a simple program.
2543 if test "$cross_compiling" != yes; then
2544 if { ac_try='./$ac_file'
2545 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 - (eval $ac_try) 2>&5
2547 + { (case "(($ac_try" in
2548 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2549 + *) ac_try_echo=$ac_try;;
2551 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2552 + (eval "$ac_try") 2>&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); }; }; then
2556 @@ -2575,22 +3070,27 @@
2560 -echo "$as_me:$LINENO: result: yes" >&5
2561 -echo "${ECHO_T}yes" >&6
2562 +{ echo "$as_me:$LINENO: result: yes" >&5
2563 +echo "${ECHO_T}yes" >&6; }
2565 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2566 ac_clean_files=$ac_clean_files_save
2567 -# Check the compiler produces executables we can run. If not, either
2568 +# Check that the compiler produces executables we can run. If not, either
2569 # the compiler is broken, or we cross compile.
2570 -echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2571 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2572 -echo "$as_me:$LINENO: result: $cross_compiling" >&5
2573 -echo "${ECHO_T}$cross_compiling" >&6
2574 +{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2575 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2576 +{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2577 +echo "${ECHO_T}$cross_compiling" >&6; }
2579 -echo "$as_me:$LINENO: checking for suffix of executables" >&5
2580 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2581 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2582 - (eval $ac_link) 2>&5
2583 +{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2584 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2585 +if { (ac_try="$ac_link"
2586 +case "(($ac_try" in
2587 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2588 + *) ac_try_echo=$ac_try;;
2590 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2591 + (eval "$ac_link") 2>&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; then
2595 @@ -2601,9 +3101,8 @@
2596 for ac_file in conftest.exe conftest conftest.*; do
2597 test -f "$ac_file" || continue
2599 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2600 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2601 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2602 - export ac_cv_exeext
2606 @@ -2617,14 +3116,14 @@
2609 rm -f conftest$ac_cv_exeext
2610 -echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2611 -echo "${ECHO_T}$ac_cv_exeext" >&6
2612 +{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2613 +echo "${ECHO_T}$ac_cv_exeext" >&6; }
2615 rm -f conftest.$ac_ext
2616 EXEEXT=$ac_cv_exeext
2618 -echo "$as_me:$LINENO: checking for suffix of object files" >&5
2619 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2620 +{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2621 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2622 if test "${ac_cv_objext+set}" = set; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 @@ -2644,14 +3143,20 @@
2628 rm -f conftest.o conftest.obj
2629 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 - (eval $ac_compile) 2>&5
2631 +if { (ac_try="$ac_compile"
2632 +case "(($ac_try" in
2633 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 + *) ac_try_echo=$ac_try;;
2636 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 + (eval "$ac_compile") 2>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; then
2641 - for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2642 + for ac_file in conftest.o conftest.obj conftest.*; do
2643 + test -f "$ac_file" || continue;
2645 - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2646 + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2647 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2650 @@ -2669,12 +3174,12 @@
2652 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2654 -echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2655 -echo "${ECHO_T}$ac_cv_objext" >&6
2656 +{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2657 +echo "${ECHO_T}$ac_cv_objext" >&6; }
2658 OBJEXT=$ac_cv_objext
2660 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2661 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2662 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2663 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2664 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2665 echo $ECHO_N "(cached) $ECHO_C" >&6
2667 @@ -2697,50 +3202,49 @@
2670 rm -f conftest.$ac_objext
2671 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2672 - (eval $ac_compile) 2>conftest.er1
2673 +if { (ac_try="$ac_compile"
2674 +case "(($ac_try" in
2675 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676 + *) ac_try_echo=$ac_try;;
2678 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 + (eval "$ac_compile") 2>conftest.er1
2681 grep -v '^ *+' conftest.er1 >conftest.err
2683 cat conftest.err >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 - (exit $ac_status); } &&
2686 - { ac_try='test -z "$ac_c_werror_flag"
2687 - || test ! -s conftest.err'
2688 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2689 - (eval $ac_try) 2>&5
2691 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 - (exit $ac_status); }; } &&
2693 - { ac_try='test -s conftest.$ac_objext'
2694 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2695 - (eval $ac_try) 2>&5
2697 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 - (exit $ac_status); }; }; then
2699 + (exit $ac_status); } && {
2700 + test -z "$ac_c_werror_flag" ||
2701 + test ! -s conftest.err
2702 + } && test -s conftest.$ac_objext; then
2705 echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2709 + ac_compiler_gnu=no
2711 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2713 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2714 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2717 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2718 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2719 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2720 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2721 GCC=`test $ac_compiler_gnu = yes && echo yes`
2722 ac_test_CFLAGS=${CFLAGS+set}
2723 ac_save_CFLAGS=$CFLAGS
2725 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2726 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2727 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2728 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2729 if test "${ac_cv_prog_cc_g+set}" = set; then
2730 echo $ECHO_N "(cached) $ECHO_C" >&6
2732 - cat >conftest.$ac_ext <<_ACEOF
2733 + ac_save_c_werror_flag=$ac_c_werror_flag
2734 + ac_c_werror_flag=yes
2735 + ac_cv_prog_cc_g=no
2737 + cat >conftest.$ac_ext <<_ACEOF
2740 cat confdefs.h >>conftest.$ac_ext
2741 @@ -2756,38 +3260,118 @@
2744 rm -f conftest.$ac_objext
2745 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2746 - (eval $ac_compile) 2>conftest.er1
2747 +if { (ac_try="$ac_compile"
2748 +case "(($ac_try" in
2749 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 + *) ac_try_echo=$ac_try;;
2752 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 + (eval "$ac_compile") 2>conftest.er1
2755 grep -v '^ *+' conftest.er1 >conftest.err
2757 cat conftest.err >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 - (exit $ac_status); } &&
2760 - { ac_try='test -z "$ac_c_werror_flag"
2761 - || test ! -s conftest.err'
2762 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2763 - (eval $ac_try) 2>&5
2764 + (exit $ac_status); } && {
2765 + test -z "$ac_c_werror_flag" ||
2766 + test ! -s conftest.err
2767 + } && test -s conftest.$ac_objext; then
2768 + ac_cv_prog_cc_g=yes
2770 + echo "$as_me: failed program was:" >&5
2771 +sed 's/^/| /' conftest.$ac_ext >&5
2774 + cat >conftest.$ac_ext <<_ACEOF
2777 +cat confdefs.h >>conftest.$ac_ext
2778 +cat >>conftest.$ac_ext <<_ACEOF
2779 +/* end confdefs.h. */
2789 +rm -f conftest.$ac_objext
2790 +if { (ac_try="$ac_compile"
2791 +case "(($ac_try" in
2792 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 + *) ac_try_echo=$ac_try;;
2795 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2796 + (eval "$ac_compile") 2>conftest.er1
2798 + grep -v '^ *+' conftest.er1 >conftest.err
2799 + rm -f conftest.er1
2800 + cat conftest.err >&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 - (exit $ac_status); }; } &&
2803 - { ac_try='test -s conftest.$ac_objext'
2804 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2805 - (eval $ac_try) 2>&5
2806 + (exit $ac_status); } && {
2807 + test -z "$ac_c_werror_flag" ||
2808 + test ! -s conftest.err
2809 + } && test -s conftest.$ac_objext; then
2812 + echo "$as_me: failed program was:" >&5
2813 +sed 's/^/| /' conftest.$ac_ext >&5
2815 + ac_c_werror_flag=$ac_save_c_werror_flag
2817 + cat >conftest.$ac_ext <<_ACEOF
2820 +cat confdefs.h >>conftest.$ac_ext
2821 +cat >>conftest.$ac_ext <<_ACEOF
2822 +/* end confdefs.h. */
2832 +rm -f conftest.$ac_objext
2833 +if { (ac_try="$ac_compile"
2834 +case "(($ac_try" in
2835 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836 + *) ac_try_echo=$ac_try;;
2838 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839 + (eval "$ac_compile") 2>conftest.er1
2841 + grep -v '^ *+' conftest.er1 >conftest.err
2842 + rm -f conftest.er1
2843 + cat conftest.err >&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 - (exit $ac_status); }; }; then
2846 + (exit $ac_status); } && {
2847 + test -z "$ac_c_werror_flag" ||
2848 + test ! -s conftest.err
2849 + } && test -s conftest.$ac_objext; then
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2858 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2860 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2863 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2865 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 + ac_c_werror_flag=$ac_save_c_werror_flag
2871 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2872 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2873 if test "$ac_test_CFLAGS" = set; then
2874 CFLAGS=$ac_save_CFLAGS
2875 elif test $ac_cv_prog_cc_g = yes; then
2876 @@ -2803,12 +3387,12 @@
2880 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2881 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2882 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
2883 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2884 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2885 +if test "${ac_cv_prog_cc_c89+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 - ac_cv_prog_cc_stdc=no
2889 + ac_cv_prog_cc_c89=no
2891 cat >conftest.$ac_ext <<_ACEOF
2893 @@ -2842,12 +3426,17 @@
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 - as 'x'. The following induces an error, until -std1 is added to get
2898 + as 'x'. The following induces an error, until -std is added to get
2899 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2900 array size at least. It's necessary to write '\x00'==0 to get something
2901 - that's true only with -std1. */
2902 + that's true only with -std. */
2903 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2905 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2906 + inside strings and character constants. */
2908 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2910 int test (int i, double x);
2911 struct s1 {int (*f) (int a);};
2912 struct s2 {int (*f) (double a);};
2913 @@ -2862,213 +3451,65 @@
2917 -# Don't try gcc -ansi; that turns off useful extensions and
2918 -# breaks some systems' header files.
2919 -# AIX -qlanglvl=ansi
2920 -# Ultrix and OSF/1 -std1
2921 -# HP-UX 10.20 and later -Ae
2922 -# HP-UX older versions -Aa -D_HPUX_SOURCE
2923 -# SVR4 -Xc -D__EXTENSIONS__
2924 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2926 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2928 CC="$ac_save_CC $ac_arg"
2929 rm -f conftest.$ac_objext
2930 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2931 - (eval $ac_compile) 2>conftest.er1
2932 +if { (ac_try="$ac_compile"
2933 +case "(($ac_try" in
2934 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2935 + *) ac_try_echo=$ac_try;;
2937 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2938 + (eval "$ac_compile") 2>conftest.er1
2940 grep -v '^ *+' conftest.er1 >conftest.err
2942 cat conftest.err >&5
2943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944 - (exit $ac_status); } &&
2945 - { ac_try='test -z "$ac_c_werror_flag"
2946 - || test ! -s conftest.err'
2947 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 - (eval $ac_try) 2>&5
2950 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 - (exit $ac_status); }; } &&
2952 - { ac_try='test -s conftest.$ac_objext'
2953 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954 - (eval $ac_try) 2>&5
2956 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 - (exit $ac_status); }; }; then
2958 - ac_cv_prog_cc_stdc=$ac_arg
2960 + (exit $ac_status); } && {
2961 + test -z "$ac_c_werror_flag" ||
2962 + test ! -s conftest.err
2963 + } && test -s conftest.$ac_objext; then
2964 + ac_cv_prog_cc_c89=$ac_arg
2966 echo "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.$ac_ext >&5
2971 -rm -f conftest.err conftest.$ac_objext
2973 +rm -f core conftest.err conftest.$ac_objext
2974 + test "x$ac_cv_prog_cc_c89" != "xno" && break
2976 -rm -f conftest.$ac_ext conftest.$ac_objext
2977 +rm -f conftest.$ac_ext
2982 -case "x$ac_cv_prog_cc_stdc" in
2984 - echo "$as_me:$LINENO: result: none needed" >&5
2985 -echo "${ECHO_T}none needed" >&6 ;;
2987 +case "x$ac_cv_prog_cc_c89" in
2989 + { echo "$as_me:$LINENO: result: none needed" >&5
2990 +echo "${ECHO_T}none needed" >&6; } ;;
2992 + { echo "$as_me:$LINENO: result: unsupported" >&5
2993 +echo "${ECHO_T}unsupported" >&6; } ;;
2995 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2996 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2997 - CC="$CC $ac_cv_prog_cc_stdc" ;;
2998 + CC="$CC $ac_cv_prog_cc_c89"
2999 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3000 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3003 -# Some people use a C++ compiler to compile C. Since we use `exit',
3004 -# in C++ we need to declare it. In case someone uses the same compiler
3005 -# for both compiling C and C++ we need to have the C++ compiler decide
3006 -# the declaration of exit, since it's the most demanding environment.
3007 -cat >conftest.$ac_ext <<_ACEOF
3008 -#ifndef __cplusplus
3012 -rm -f conftest.$ac_objext
3013 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3014 - (eval $ac_compile) 2>conftest.er1
3016 - grep -v '^ *+' conftest.er1 >conftest.err
3017 - rm -f conftest.er1
3018 - cat conftest.err >&5
3019 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020 - (exit $ac_status); } &&
3021 - { ac_try='test -z "$ac_c_werror_flag"
3022 - || test ! -s conftest.err'
3023 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3024 - (eval $ac_try) 2>&5
3026 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3027 - (exit $ac_status); }; } &&
3028 - { ac_try='test -s conftest.$ac_objext'
3029 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3030 - (eval $ac_try) 2>&5
3032 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 - (exit $ac_status); }; }; then
3034 - for ac_declaration in \
3036 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
3037 - 'extern "C" void std::exit (int); using std::exit;' \
3038 - 'extern "C" void exit (int) throw ();' \
3039 - 'extern "C" void exit (int);' \
3040 - 'void exit (int);'
3042 - cat >conftest.$ac_ext <<_ACEOF
3045 -cat confdefs.h >>conftest.$ac_ext
3046 -cat >>conftest.$ac_ext <<_ACEOF
3047 -/* end confdefs.h. */
3049 -#include <stdlib.h>
3058 -rm -f conftest.$ac_objext
3059 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3060 - (eval $ac_compile) 2>conftest.er1
3062 - grep -v '^ *+' conftest.er1 >conftest.err
3063 - rm -f conftest.er1
3064 - cat conftest.err >&5
3065 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 - (exit $ac_status); } &&
3067 - { ac_try='test -z "$ac_c_werror_flag"
3068 - || test ! -s conftest.err'
3069 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 - (eval $ac_try) 2>&5
3072 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 - (exit $ac_status); }; } &&
3074 - { ac_try='test -s conftest.$ac_objext'
3075 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 - (eval $ac_try) 2>&5
3078 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3079 - (exit $ac_status); }; }; then
3082 - echo "$as_me: failed program was:" >&5
3083 -sed 's/^/| /' conftest.$ac_ext >&5
3087 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3088 - cat >conftest.$ac_ext <<_ACEOF
3091 -cat confdefs.h >>conftest.$ac_ext
3092 -cat >>conftest.$ac_ext <<_ACEOF
3093 -/* end confdefs.h. */
3103 -rm -f conftest.$ac_objext
3104 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3105 - (eval $ac_compile) 2>conftest.er1
3107 - grep -v '^ *+' conftest.er1 >conftest.err
3108 - rm -f conftest.er1
3109 - cat conftest.err >&5
3110 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 - (exit $ac_status); } &&
3112 - { ac_try='test -z "$ac_c_werror_flag"
3113 - || test ! -s conftest.err'
3114 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 - (eval $ac_try) 2>&5
3117 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 - (exit $ac_status); }; } &&
3119 - { ac_try='test -s conftest.$ac_objext'
3120 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121 - (eval $ac_try) 2>&5
3123 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 - (exit $ac_status); }; }; then
3127 - echo "$as_me: failed program was:" >&5
3128 -sed 's/^/| /' conftest.$ac_ext >&5
3131 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3134 -if test -n "$ac_declaration"; then
3135 - echo '#ifdef __cplusplus' >>confdefs.h
3136 - echo $ac_declaration >>confdefs.h
3137 - echo '#endif' >>confdefs.h
3141 - echo "$as_me: failed program was:" >&5
3142 -sed 's/^/| /' conftest.$ac_ext >&5
3145 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3147 ac_cpp='$CPP $CPPFLAGS'
3148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3152 -echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3153 -echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3154 +{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3155 +echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3156 if test "${lt_cv_path_SED+set}" = set; then
3157 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 @@ -3081,12 +3522,13 @@
3160 test -z "$as_dir" && as_dir=.
3161 for lt_ac_prog in sed gsed; do
3162 for ac_exec_ext in '' $ac_executable_extensions; do
3163 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3164 + if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3165 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3173 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3174 @@ -3121,37 +3563,185 @@
3178 -echo "$as_me:$LINENO: result: $SED" >&5
3179 -echo "${ECHO_T}$SED" >&6
3181 -echo "$as_me:$LINENO: checking for egrep" >&5
3182 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3183 -if test "${ac_cv_prog_egrep+set}" = set; then
3184 +{ echo "$as_me:$LINENO: result: $SED" >&5
3185 +echo "${ECHO_T}$SED" >&6; }
3187 +{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3188 +echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3189 +if test "${ac_cv_path_GREP+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 - if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3193 - then ac_cv_prog_egrep='grep -E'
3194 - else ac_cv_prog_egrep='egrep'
3195 + # Extract the first word of "grep ggrep" to use in msg output
3196 +if test -z "$GREP"; then
3197 +set dummy grep ggrep; ac_prog_name=$2
3198 +if test "${ac_cv_path_GREP+set}" = set; then
3199 + echo $ECHO_N "(cached) $ECHO_C" >&6
3201 + ac_path_GREP_found=false
3202 +# Loop through the user's path and test for each of PROGNAME-LIST
3203 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3207 + test -z "$as_dir" && as_dir=.
3208 + for ac_prog in grep ggrep; do
3209 + for ac_exec_ext in '' $ac_executable_extensions; do
3210 + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3211 + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3212 + # Check for GNU ac_path_GREP and select it if it is found.
3213 + # Check for GNU $ac_path_GREP
3214 +case `"$ac_path_GREP" --version 2>&1` in
3216 + ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3219 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3222 + cat "conftest.in" "conftest.in" >"conftest.tmp"
3223 + mv "conftest.tmp" "conftest.in"
3224 + cp "conftest.in" "conftest.nl"
3225 + echo 'GREP' >> "conftest.nl"
3226 + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3227 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3228 + ac_count=`expr $ac_count + 1`
3229 + if test $ac_count -gt ${ac_path_GREP_max-0}; then
3230 + # Best one so far, save it but keep looking for a better one
3231 + ac_cv_path_GREP="$ac_path_GREP"
3232 + ac_path_GREP_max=$ac_count
3234 + # 10*(2^10) chars as input seems more than enough
3235 + test $ac_count -gt 10 && break
3237 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3241 + $ac_path_GREP_found && break 3
3250 -echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3251 -echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3252 - EGREP=$ac_cv_prog_egrep
3254 +GREP="$ac_cv_path_GREP"
3255 +if test -z "$GREP"; then
3256 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3257 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3258 + { (exit 1); exit 1; }; }
3262 + ac_cv_path_GREP=$GREP
3267 +{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3268 +echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3269 + GREP="$ac_cv_path_GREP"
3272 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
3273 +{ echo "$as_me:$LINENO: checking for egrep" >&5
3274 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3275 +if test "${ac_cv_path_EGREP+set}" = set; then
3276 + echo $ECHO_N "(cached) $ECHO_C" >&6
3278 + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3279 + then ac_cv_path_EGREP="$GREP -E"
3281 + # Extract the first word of "egrep" to use in msg output
3282 +if test -z "$EGREP"; then
3283 +set dummy egrep; ac_prog_name=$2
3284 +if test "${ac_cv_path_EGREP+set}" = set; then
3285 + echo $ECHO_N "(cached) $ECHO_C" >&6
3287 + ac_path_EGREP_found=false
3288 +# Loop through the user's path and test for each of PROGNAME-LIST
3289 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290 +for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3293 + test -z "$as_dir" && as_dir=.
3294 + for ac_prog in egrep; do
3295 + for ac_exec_ext in '' $ac_executable_extensions; do
3296 + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3297 + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3298 + # Check for GNU ac_path_EGREP and select it if it is found.
3299 + # Check for GNU $ac_path_EGREP
3300 +case `"$ac_path_EGREP" --version 2>&1` in
3302 + ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3305 + echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3308 + cat "conftest.in" "conftest.in" >"conftest.tmp"
3309 + mv "conftest.tmp" "conftest.in"
3310 + cp "conftest.in" "conftest.nl"
3311 + echo 'EGREP' >> "conftest.nl"
3312 + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3313 + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3314 + ac_count=`expr $ac_count + 1`
3315 + if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3316 + # Best one so far, save it but keep looking for a better one
3317 + ac_cv_path_EGREP="$ac_path_EGREP"
3318 + ac_path_EGREP_max=$ac_count
3320 + # 10*(2^10) chars as input seems more than enough
3321 + test $ac_count -gt 10 && break
3323 + rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3327 + $ac_path_EGREP_found && break 3
3337 +EGREP="$ac_cv_path_EGREP"
3338 +if test -z "$EGREP"; then
3339 + { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3340 +echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3341 + { (exit 1); exit 1; }; }
3345 + ac_cv_path_EGREP=$EGREP
3351 +{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3352 +echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3353 + EGREP="$ac_cv_path_EGREP"
3357 +# Check whether --with-gnu-ld was given.
3358 if test "${with_gnu_ld+set}" = set; then
3359 - withval="$with_gnu_ld"
3360 - test "$withval" = no || with_gnu_ld=yes
3361 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3368 if test "$GCC" = yes; then
3369 # Check if gcc -print-prog-name=ld gives a path.
3370 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3371 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3372 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3373 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3376 # gcc leaves a trailing carriage return which upsets mingw
3377 @@ -3180,11 +3770,11 @@
3380 elif test "$with_gnu_ld" = yes; then
3381 - echo "$as_me:$LINENO: checking for GNU ld" >&5
3382 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3383 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
3384 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
3386 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3387 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3388 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3389 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
3391 if test "${lt_cv_path_LD+set}" = set; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3393 @@ -3217,17 +3807,17 @@
3396 if test -n "$LD"; then
3397 - echo "$as_me:$LINENO: result: $LD" >&5
3398 -echo "${ECHO_T}$LD" >&6
3399 + { echo "$as_me:$LINENO: result: $LD" >&5
3400 +echo "${ECHO_T}$LD" >&6; }
3402 - echo "$as_me:$LINENO: result: no" >&5
3403 -echo "${ECHO_T}no" >&6
3404 + { echo "$as_me:$LINENO: result: no" >&5
3405 +echo "${ECHO_T}no" >&6; }
3407 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3408 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3409 { (exit 1); exit 1; }; }
3410 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3411 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3412 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3413 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
3414 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 @@ -3241,20 +3831,20 @@
3421 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3422 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3423 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3424 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
3425 with_gnu_ld=$lt_cv_prog_gnu_ld
3428 -echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3429 -echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3430 +{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3431 +echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
3432 if test "${lt_cv_ld_reload_flag+set}" = set; then
3433 echo $ECHO_N "(cached) $ECHO_C" >&6
3435 lt_cv_ld_reload_flag='-r'
3437 -echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3438 -echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3439 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3440 +echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
3441 reload_flag=$lt_cv_ld_reload_flag
3442 case $reload_flag in
3444 @@ -3271,8 +3861,8 @@
3448 -echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3449 -echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3450 +{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3451 +echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
3452 if test "${lt_cv_path_NM+set}" = set; then
3453 echo $ECHO_N "(cached) $ECHO_C" >&6
3455 @@ -3320,23 +3910,23 @@
3456 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3459 -echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3460 -echo "${ECHO_T}$lt_cv_path_NM" >&6
3461 +{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
3462 +echo "${ECHO_T}$lt_cv_path_NM" >&6; }
3465 -echo "$as_me:$LINENO: checking whether ln -s works" >&5
3466 -echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3467 +{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3468 +echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3470 if test "$LN_S" = "ln -s"; then
3471 - echo "$as_me:$LINENO: result: yes" >&5
3472 -echo "${ECHO_T}yes" >&6
3473 + { echo "$as_me:$LINENO: result: yes" >&5
3474 +echo "${ECHO_T}yes" >&6; }
3476 - echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3477 -echo "${ECHO_T}no, using $LN_S" >&6
3478 + { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3479 +echo "${ECHO_T}no, using $LN_S" >&6; }
3482 -echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
3483 -echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
3484 +{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
3485 +echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
3486 if test "${lt_cv_deplibs_check_method+set}" = set; then
3487 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 @@ -3355,7 +3945,7 @@
3490 # whether `pass_all' will *always* work, you probably want this one.
3495 lt_cv_deplibs_check_method=pass_all
3498 @@ -3377,16 +3967,22 @@
3501 # Base MSYS/MinGW do not provide the 'file' command needed by
3502 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
3503 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3504 - lt_cv_file_magic_cmd='$OBJDUMP -f'
3505 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
3506 + # unless we find 'file', for example because we are cross-compiling.
3507 + if ( file / ) >/dev/null 2>&1; then
3508 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3509 + lt_cv_file_magic_cmd='func_win32_libid'
3511 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3512 + lt_cv_file_magic_cmd='$OBJDUMP -f'
3516 darwin* | rhapsody*)
3517 lt_cv_deplibs_check_method=pass_all
3520 -freebsd* | kfreebsd*-gnu | dragonfly*)
3521 +freebsd* | dragonfly*)
3522 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3525 @@ -3424,7 +4020,7 @@
3531 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
3532 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
3534 @@ -3440,11 +4036,11 @@
3537 # This must be Linux ELF.
3539 +linux* | k*bsd*-gnu)
3540 lt_cv_deplibs_check_method=pass_all
3544 +netbsd* | netbsdelf*-gnu)
3545 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3546 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
3548 @@ -3474,6 +4070,10 @@
3549 lt_cv_deplibs_check_method=pass_all
3553 + lt_cv_deplibs_check_method=pass_all
3557 lt_cv_deplibs_check_method=pass_all
3559 @@ -3511,8 +4111,8 @@
3563 -echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3564 -echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
3565 +{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
3566 +echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
3567 file_magic_cmd=$lt_cv_file_magic_cmd
3568 deplibs_check_method=$lt_cv_deplibs_check_method
3569 test -z "$deplibs_check_method" && deplibs_check_method=unknown
3570 @@ -3530,11 +4130,11 @@
3574 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3575 +# Check whether --enable-libtool-lock was given.
3576 if test "${enable_libtool_lock+set}" = set; then
3577 - enableval="$enable_libtool_lock"
3578 + enableval=$enable_libtool_lock;
3582 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
3584 # Some flags need to be propagated to the compiler or linker for good
3585 @@ -3561,7 +4161,7 @@
3588 # Find out which ABI we are using.
3589 - echo '#line 3564 "configure"' > conftest.$ac_ext
3590 + echo '#line 4164 "configure"' > conftest.$ac_ext
3591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3592 (eval $ac_compile) 2>&5
3594 @@ -3596,7 +4196,8 @@
3598 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
3599 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
3600 +s390*-*linux*|sparc*-*linux*)
3601 # Find out which ABI we are using.
3602 echo 'int i;' > conftest.$ac_ext
3603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3604 @@ -3607,6 +4208,9 @@
3605 case `/usr/bin/file conftest.o` in
3608 + x86_64-*kfreebsd*-gnu)
3609 + LD="${LD-ld} -m elf_i386_fbsd"
3612 LD="${LD-ld} -m elf_i386"
3614 @@ -3623,6 +4227,9 @@
3618 + x86_64-*kfreebsd*-gnu)
3619 + LD="${LD-ld} -m elf_x86_64_fbsd"
3622 LD="${LD-ld} -m elf_x86_64"
3624 @@ -3646,8 +4253,8 @@
3625 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3626 SAVE_CFLAGS="$CFLAGS"
3627 CFLAGS="$CFLAGS -belf"
3628 - echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3629 -echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
3630 + { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
3631 +echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
3632 if test "${lt_cv_cc_needs_belf+set}" = set; then
3633 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 @@ -3673,35 +4280,32 @@
3638 rm -f conftest.$ac_objext conftest$ac_exeext
3639 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3640 - (eval $ac_link) 2>conftest.er1
3641 +if { (ac_try="$ac_link"
3642 +case "(($ac_try" in
3643 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3644 + *) ac_try_echo=$ac_try;;
3646 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3647 + (eval "$ac_link") 2>conftest.er1
3649 grep -v '^ *+' conftest.er1 >conftest.err
3651 cat conftest.err >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 - (exit $ac_status); } &&
3654 - { ac_try='test -z "$ac_c_werror_flag"
3655 - || test ! -s conftest.err'
3656 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657 - (eval $ac_try) 2>&5
3659 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 - (exit $ac_status); }; } &&
3661 - { ac_try='test -s conftest$ac_exeext'
3662 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3663 - (eval $ac_try) 2>&5
3665 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 - (exit $ac_status); }; }; then
3667 + (exit $ac_status); } && {
3668 + test -z "$ac_c_werror_flag" ||
3669 + test ! -s conftest.err
3670 + } && test -s conftest$ac_exeext &&
3671 + $as_test_x conftest$ac_exeext; then
3672 lt_cv_cc_needs_belf=yes
3674 echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.$ac_ext >&5
3677 -lt_cv_cc_needs_belf=no
3678 + lt_cv_cc_needs_belf=no
3680 -rm -f conftest.err conftest.$ac_objext \
3682 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3683 conftest$ac_exeext conftest.$ac_ext
3685 ac_cpp='$CPP $CPPFLAGS'
3686 @@ -3710,8 +4314,8 @@
3687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3690 -echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3691 -echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
3692 +{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
3693 +echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
3694 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3695 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3696 CFLAGS="$SAVE_CFLAGS"
3697 @@ -3729,7 +4333,11 @@
3699 case $lt_cv_prog_gnu_ld in
3700 yes*) LD="${LD-ld} -m elf64_sparc" ;;
3701 - *) LD="${LD-ld} -64" ;;
3703 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
3710 @@ -3741,8 +4349,8 @@
3711 if test -n "$ac_tool_prefix"; then
3712 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3713 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3714 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3715 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3716 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3717 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3718 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
3719 echo $ECHO_N "(cached) $ECHO_C" >&6
3721 @@ -3755,32 +4363,34 @@
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3726 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3727 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3737 DLLTOOL=$ac_cv_prog_DLLTOOL
3738 if test -n "$DLLTOOL"; then
3739 - echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3740 -echo "${ECHO_T}$DLLTOOL" >&6
3741 + { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
3742 +echo "${ECHO_T}$DLLTOOL" >&6; }
3744 - echo "$as_me:$LINENO: result: no" >&5
3745 -echo "${ECHO_T}no" >&6
3746 + { echo "$as_me:$LINENO: result: no" >&5
3747 +echo "${ECHO_T}no" >&6; }
3752 if test -z "$ac_cv_prog_DLLTOOL"; then
3753 ac_ct_DLLTOOL=$DLLTOOL
3754 # Extract the first word of "dlltool", so it can be a program name with args.
3755 set dummy dlltool; ac_word=$2
3756 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3757 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3758 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3759 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3760 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
3761 echo $ECHO_N "(cached) $ECHO_C" >&6
3763 @@ -3793,27 +4403,41 @@
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3768 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3777 - test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
3780 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3781 if test -n "$ac_ct_DLLTOOL"; then
3782 - echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3783 -echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
3784 + { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
3785 +echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
3787 - echo "$as_me:$LINENO: result: no" >&5
3788 -echo "${ECHO_T}no" >&6
3789 + { echo "$as_me:$LINENO: result: no" >&5
3790 +echo "${ECHO_T}no" >&6; }
3793 - DLLTOOL=$ac_ct_DLLTOOL
3794 + if test "x$ac_ct_DLLTOOL" = x; then
3797 + case $cross_compiling:$ac_tool_warned in
3799 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3800 +whose name does not start with the host triplet. If you think this
3801 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3802 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3803 +whose name does not start with the host triplet. If you think this
3804 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3805 +ac_tool_warned=yes ;;
3807 + DLLTOOL=$ac_ct_DLLTOOL
3810 DLLTOOL="$ac_cv_prog_DLLTOOL"
3812 @@ -3821,8 +4445,8 @@
3813 if test -n "$ac_tool_prefix"; then
3814 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3815 set dummy ${ac_tool_prefix}as; ac_word=$2
3816 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3817 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3818 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3819 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3820 if test "${ac_cv_prog_AS+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 @@ -3835,32 +4459,34 @@
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3828 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3829 ac_cv_prog_AS="${ac_tool_prefix}as"
3830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 if test -n "$AS"; then
3841 - echo "$as_me:$LINENO: result: $AS" >&5
3842 -echo "${ECHO_T}$AS" >&6
3843 + { echo "$as_me:$LINENO: result: $AS" >&5
3844 +echo "${ECHO_T}$AS" >&6; }
3846 - echo "$as_me:$LINENO: result: no" >&5
3847 -echo "${ECHO_T}no" >&6
3848 + { echo "$as_me:$LINENO: result: no" >&5
3849 +echo "${ECHO_T}no" >&6; }
3854 if test -z "$ac_cv_prog_AS"; then
3856 # Extract the first word of "as", so it can be a program name with args.
3857 set dummy as; ac_word=$2
3858 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3859 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3860 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3861 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3862 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 @@ -3873,27 +4499,41 @@
3867 test -z "$as_dir" && as_dir=.
3868 for ac_exec_ext in '' $ac_executable_extensions; do
3869 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3870 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3871 ac_cv_prog_ac_ct_AS="as"
3872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 - test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
3882 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3883 if test -n "$ac_ct_AS"; then
3884 - echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3885 -echo "${ECHO_T}$ac_ct_AS" >&6
3886 + { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3887 +echo "${ECHO_T}$ac_ct_AS" >&6; }
3889 - echo "$as_me:$LINENO: result: no" >&5
3890 -echo "${ECHO_T}no" >&6
3891 + { echo "$as_me:$LINENO: result: no" >&5
3892 +echo "${ECHO_T}no" >&6; }
3896 + if test "x$ac_ct_AS" = x; then
3899 + case $cross_compiling:$ac_tool_warned in
3901 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3902 +whose name does not start with the host triplet. If you think this
3903 +configuration is useful to you, please write to autoconf@gnu.org." >&5
3904 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3905 +whose name does not start with the host triplet. If you think this
3906 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3907 +ac_tool_warned=yes ;;
3914 @@ -3901,8 +4541,8 @@
3915 if test -n "$ac_tool_prefix"; then
3916 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3917 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3918 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3919 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3920 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3921 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3922 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
3923 echo $ECHO_N "(cached) $ECHO_C" >&6
3925 @@ -3915,32 +4555,34 @@
3927 test -z "$as_dir" && as_dir=.
3928 for ac_exec_ext in '' $ac_executable_extensions; do
3929 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3930 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3931 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 OBJDUMP=$ac_cv_prog_OBJDUMP
3942 if test -n "$OBJDUMP"; then
3943 - echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3944 -echo "${ECHO_T}$OBJDUMP" >&6
3945 + { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
3946 +echo "${ECHO_T}$OBJDUMP" >&6; }
3948 - echo "$as_me:$LINENO: result: no" >&5
3949 -echo "${ECHO_T}no" >&6
3950 + { echo "$as_me:$LINENO: result: no" >&5
3951 +echo "${ECHO_T}no" >&6; }
3956 if test -z "$ac_cv_prog_OBJDUMP"; then
3957 ac_ct_OBJDUMP=$OBJDUMP
3958 # Extract the first word of "objdump", so it can be a program name with args.
3959 set dummy objdump; ac_word=$2
3960 -echo "$as_me:$LINENO: checking for $ac_word" >&5
3961 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3962 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3963 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3964 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
3965 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 @@ -3953,27 +4595,41 @@
3969 test -z "$as_dir" && as_dir=.
3970 for ac_exec_ext in '' $ac_executable_extensions; do
3971 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3972 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3973 ac_cv_prog_ac_ct_OBJDUMP="objdump"
3974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3981 - test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
3984 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3985 if test -n "$ac_ct_OBJDUMP"; then
3986 - echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3987 -echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
3988 + { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
3989 +echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
3991 - echo "$as_me:$LINENO: result: no" >&5
3992 -echo "${ECHO_T}no" >&6
3993 + { echo "$as_me:$LINENO: result: no" >&5
3994 +echo "${ECHO_T}no" >&6; }
3997 - OBJDUMP=$ac_ct_OBJDUMP
3998 + if test "x$ac_ct_OBJDUMP" = x; then
4001 + case $cross_compiling:$ac_tool_warned in
4003 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4004 +whose name does not start with the host triplet. If you think this
4005 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4006 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4007 +whose name does not start with the host triplet. If you think this
4008 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4009 +ac_tool_warned=yes ;;
4011 + OBJDUMP=$ac_ct_OBJDUMP
4014 OBJDUMP="$ac_cv_prog_OBJDUMP"
4016 @@ -3990,8 +4646,8 @@
4017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4020 -echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4021 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4022 +{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4023 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4024 # On Suns, sometimes $CPP names a directory.
4025 if test -n "$CPP" && test -d "$CPP"; then
4027 @@ -4025,24 +4681,22 @@
4031 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4032 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4033 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4034 +case "(($ac_try" in
4035 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4036 + *) ac_try_echo=$ac_try;;
4038 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4039 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4041 grep -v '^ *+' conftest.er1 >conftest.err
4043 cat conftest.err >&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 - (exit $ac_status); } >/dev/null; then
4046 - if test -s conftest.err; then
4047 - ac_cpp_err=$ac_c_preproc_warn_flag
4048 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4055 -if test -z "$ac_cpp_err"; then
4056 + (exit $ac_status); } >/dev/null && {
4057 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4058 + test ! -s conftest.err
4062 echo "$as_me: failed program was:" >&5
4063 @@ -4051,9 +4705,10 @@
4064 # Broken: fails on valid input.
4068 rm -f conftest.err conftest.$ac_ext
4070 - # OK, works on sane cases. Now check whether non-existent headers
4071 + # OK, works on sane cases. Now check whether nonexistent headers
4072 # can be detected and how.
4073 cat >conftest.$ac_ext <<_ACEOF
4075 @@ -4063,24 +4718,22 @@
4076 /* end confdefs.h. */
4077 #include <ac_nonexistent.h>
4079 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4080 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4081 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4082 +case "(($ac_try" in
4083 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 + *) ac_try_echo=$ac_try;;
4086 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4087 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4089 grep -v '^ *+' conftest.er1 >conftest.err
4091 cat conftest.err >&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 - (exit $ac_status); } >/dev/null; then
4094 - if test -s conftest.err; then
4095 - ac_cpp_err=$ac_c_preproc_warn_flag
4096 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4103 -if test -z "$ac_cpp_err"; then
4104 + (exit $ac_status); } >/dev/null && {
4105 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4106 + test ! -s conftest.err
4108 # Broken: success on invalid input.
4111 @@ -4091,6 +4744,7 @@
4116 rm -f conftest.err conftest.$ac_ext
4119 @@ -4108,8 +4762,8 @@
4123 -echo "$as_me:$LINENO: result: $CPP" >&5
4124 -echo "${ECHO_T}$CPP" >&6
4125 +{ echo "$as_me:$LINENO: result: $CPP" >&5
4126 +echo "${ECHO_T}$CPP" >&6; }
4128 for ac_c_preproc_warn_flag in '' yes
4130 @@ -4132,24 +4786,22 @@
4134 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4135 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4136 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4137 +case "(($ac_try" in
4138 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4139 + *) ac_try_echo=$ac_try;;
4141 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4142 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4144 grep -v '^ *+' conftest.er1 >conftest.err
4146 cat conftest.err >&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 - (exit $ac_status); } >/dev/null; then
4149 - if test -s conftest.err; then
4150 - ac_cpp_err=$ac_c_preproc_warn_flag
4151 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4158 -if test -z "$ac_cpp_err"; then
4159 + (exit $ac_status); } >/dev/null && {
4160 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4161 + test ! -s conftest.err
4165 echo "$as_me: failed program was:" >&5
4166 @@ -4158,9 +4810,10 @@
4167 # Broken: fails on valid input.
4171 rm -f conftest.err conftest.$ac_ext
4173 - # OK, works on sane cases. Now check whether non-existent headers
4174 + # OK, works on sane cases. Now check whether nonexistent headers
4175 # can be detected and how.
4176 cat >conftest.$ac_ext <<_ACEOF
4178 @@ -4170,24 +4823,22 @@
4179 /* end confdefs.h. */
4180 #include <ac_nonexistent.h>
4182 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4183 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4184 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4185 +case "(($ac_try" in
4186 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 + *) ac_try_echo=$ac_try;;
4189 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4192 grep -v '^ *+' conftest.er1 >conftest.err
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 - (exit $ac_status); } >/dev/null; then
4197 - if test -s conftest.err; then
4198 - ac_cpp_err=$ac_c_preproc_warn_flag
4199 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4206 -if test -z "$ac_cpp_err"; then
4207 + (exit $ac_status); } >/dev/null && {
4208 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4209 + test ! -s conftest.err
4211 # Broken: success on invalid input.
4214 @@ -4198,6 +4849,7 @@
4219 rm -f conftest.err conftest.$ac_ext
4222 @@ -4220,8 +4872,8 @@
4223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4226 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4227 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4228 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4229 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4230 if test "${ac_cv_header_stdc+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 @@ -4245,35 +4897,31 @@
4236 rm -f conftest.$ac_objext
4237 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4238 - (eval $ac_compile) 2>conftest.er1
4239 +if { (ac_try="$ac_compile"
4240 +case "(($ac_try" in
4241 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242 + *) ac_try_echo=$ac_try;;
4244 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245 + (eval "$ac_compile") 2>conftest.er1
4247 grep -v '^ *+' conftest.er1 >conftest.err
4249 cat conftest.err >&5
4250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251 - (exit $ac_status); } &&
4252 - { ac_try='test -z "$ac_c_werror_flag"
4253 - || test ! -s conftest.err'
4254 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4255 - (eval $ac_try) 2>&5
4257 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 - (exit $ac_status); }; } &&
4259 - { ac_try='test -s conftest.$ac_objext'
4260 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4261 - (eval $ac_try) 2>&5
4263 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 - (exit $ac_status); }; }; then
4265 + (exit $ac_status); } && {
4266 + test -z "$ac_c_werror_flag" ||
4267 + test ! -s conftest.err
4268 + } && test -s conftest.$ac_objext; then
4269 ac_cv_header_stdc=yes
4271 echo "$as_me: failed program was:" >&5
4272 sed 's/^/| /' conftest.$ac_ext >&5
4274 -ac_cv_header_stdc=no
4275 + ac_cv_header_stdc=no
4277 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4279 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4281 if test $ac_cv_header_stdc = yes; then
4282 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4283 @@ -4329,6 +4977,7 @@
4284 cat >>conftest.$ac_ext <<_ACEOF
4285 /* end confdefs.h. */
4287 +#include <stdlib.h>
4288 #if ((' ' & 0x0FF) == 0x020)
4289 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4290 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4291 @@ -4348,18 +4997,27 @@
4292 for (i = 0; i < 256; i++)
4293 if (XOR (islower (i), ISLOWER (i))
4294 || toupper (i) != TOUPPER (i))
4301 rm -f conftest$ac_exeext
4302 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4303 - (eval $ac_link) 2>&5
4304 +if { (ac_try="$ac_link"
4305 +case "(($ac_try" in
4306 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 + *) ac_try_echo=$ac_try;;
4309 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 + (eval "$ac_link") 2>&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4314 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4315 - (eval $ac_try) 2>&5
4316 + { (case "(($ac_try" in
4317 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4318 + *) ac_try_echo=$ac_try;;
4320 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4321 + (eval "$ac_try") 2>&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4325 @@ -4372,12 +5030,14 @@
4327 ac_cv_header_stdc=no
4329 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4330 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4336 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4337 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
4338 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4339 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4340 if test $ac_cv_header_stdc = yes; then
4342 cat >>confdefs.h <<\_ACEOF
4343 @@ -4400,9 +5060,9 @@
4344 inttypes.h stdint.h unistd.h
4346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4347 -echo "$as_me:$LINENO: checking for $ac_header" >&5
4348 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4349 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
4350 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4351 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4352 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 cat >conftest.$ac_ext <<_ACEOF
4356 @@ -4416,38 +5076,35 @@
4357 #include <$ac_header>
4359 rm -f conftest.$ac_objext
4360 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4361 - (eval $ac_compile) 2>conftest.er1
4362 +if { (ac_try="$ac_compile"
4363 +case "(($ac_try" in
4364 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4365 + *) ac_try_echo=$ac_try;;
4367 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4368 + (eval "$ac_compile") 2>conftest.er1
4370 grep -v '^ *+' conftest.er1 >conftest.err
4372 cat conftest.err >&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 - (exit $ac_status); } &&
4375 - { ac_try='test -z "$ac_c_werror_flag"
4376 - || test ! -s conftest.err'
4377 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378 - (eval $ac_try) 2>&5
4380 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 - (exit $ac_status); }; } &&
4382 - { ac_try='test -s conftest.$ac_objext'
4383 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4384 - (eval $ac_try) 2>&5
4386 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 - (exit $ac_status); }; }; then
4388 + (exit $ac_status); } && {
4389 + test -z "$ac_c_werror_flag" ||
4390 + test ! -s conftest.err
4391 + } && test -s conftest.$ac_objext; then
4392 eval "$as_ac_Header=yes"
4394 echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.$ac_ext >&5
4397 -eval "$as_ac_Header=no"
4398 + eval "$as_ac_Header=no"
4400 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4402 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4404 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4405 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4406 +ac_res=`eval echo '${'$as_ac_Header'}'`
4407 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4408 +echo "${ECHO_T}$ac_res" >&6; }
4409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4410 cat >>confdefs.h <<_ACEOF
4411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4412 @@ -4462,18 +5119,19 @@
4413 for ac_header in dlfcn.h
4415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4416 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
4417 - echo "$as_me:$LINENO: checking for $ac_header" >&5
4418 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4419 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
4420 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4421 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
4422 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4423 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4426 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4427 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4428 +ac_res=`eval echo '${'$as_ac_Header'}'`
4429 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4430 +echo "${ECHO_T}$ac_res" >&6; }
4432 # Is the header compilable?
4433 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
4434 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4435 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4436 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4437 cat >conftest.$ac_ext <<_ACEOF
4440 @@ -4484,41 +5142,37 @@
4441 #include <$ac_header>
4443 rm -f conftest.$ac_objext
4444 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4445 - (eval $ac_compile) 2>conftest.er1
4446 +if { (ac_try="$ac_compile"
4447 +case "(($ac_try" in
4448 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4449 + *) ac_try_echo=$ac_try;;
4451 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4452 + (eval "$ac_compile") 2>conftest.er1
4454 grep -v '^ *+' conftest.er1 >conftest.err
4456 cat conftest.err >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 - (exit $ac_status); } &&
4459 - { ac_try='test -z "$ac_c_werror_flag"
4460 - || test ! -s conftest.err'
4461 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4462 - (eval $ac_try) 2>&5
4464 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 - (exit $ac_status); }; } &&
4466 - { ac_try='test -s conftest.$ac_objext'
4467 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4468 - (eval $ac_try) 2>&5
4470 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 - (exit $ac_status); }; }; then
4472 + (exit $ac_status); } && {
4473 + test -z "$ac_c_werror_flag" ||
4474 + test ! -s conftest.err
4475 + } && test -s conftest.$ac_objext; then
4476 ac_header_compiler=yes
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.$ac_ext >&5
4481 -ac_header_compiler=no
4482 + ac_header_compiler=no
4484 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4485 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4486 -echo "${ECHO_T}$ac_header_compiler" >&6
4488 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4490 +echo "${ECHO_T}$ac_header_compiler" >&6; }
4492 # Is the header present?
4493 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
4494 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4495 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4496 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4497 cat >conftest.$ac_ext <<_ACEOF
4500 @@ -4527,24 +5181,22 @@
4501 /* end confdefs.h. */
4502 #include <$ac_header>
4504 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4505 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4506 +if { (ac_try="$ac_cpp conftest.$ac_ext"
4507 +case "(($ac_try" in
4508 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509 + *) ac_try_echo=$ac_try;;
4511 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4512 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4514 grep -v '^ *+' conftest.er1 >conftest.err
4516 cat conftest.err >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 - (exit $ac_status); } >/dev/null; then
4519 - if test -s conftest.err; then
4520 - ac_cpp_err=$ac_c_preproc_warn_flag
4521 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4528 -if test -z "$ac_cpp_err"; then
4529 + (exit $ac_status); } >/dev/null && {
4530 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4531 + test ! -s conftest.err
4533 ac_header_preproc=yes
4535 echo "$as_me: failed program was:" >&5
4536 @@ -4552,9 +5204,10 @@
4538 ac_header_preproc=no
4541 rm -f conftest.err conftest.$ac_ext
4542 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4543 -echo "${ECHO_T}$ac_header_preproc" >&6
4544 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4545 +echo "${ECHO_T}$ac_header_preproc" >&6; }
4547 # So? What about this header?
4548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4549 @@ -4578,25 +5231,24 @@
4550 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4551 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4552 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4556 ## -------------------------------------- ##
4557 ## Report this to expat-bugs@libexpat.org ##
4558 ## -------------------------------------- ##
4561 - sed "s/^/$as_me: WARNING: /" >&2
4562 + ) | sed "s/^/$as_me: WARNING: /" >&2
4565 -echo "$as_me:$LINENO: checking for $ac_header" >&5
4566 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4567 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
4568 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4569 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4570 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 eval "$as_ac_Header=\$ac_header_preproc"
4575 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4576 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4577 +ac_res=`eval echo '${'$as_ac_Header'}'`
4578 + { echo "$as_me:$LINENO: result: $ac_res" >&5
4579 +echo "${ECHO_T}$ac_res" >&6; }
4582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4583 @@ -4608,18 +5260,22 @@
4589 ac_cpp='$CXXCPP $CPPFLAGS'
4590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4593 -if test -n "$ac_tool_prefix"; then
4594 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4595 +if test -z "$CXX"; then
4596 + if test -n "$CCC"; then
4599 + if test -n "$ac_tool_prefix"; then
4600 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4604 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4605 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4606 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4607 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4608 if test "${ac_cv_prog_CXX+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 @@ -4632,36 +5288,38 @@
4613 test -z "$as_dir" && as_dir=.
4614 for ac_exec_ext in '' $ac_executable_extensions; do
4615 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4617 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4628 if test -n "$CXX"; then
4629 - echo "$as_me:$LINENO: result: $CXX" >&5
4630 -echo "${ECHO_T}$CXX" >&6
4631 + { echo "$as_me:$LINENO: result: $CXX" >&5
4632 +echo "${ECHO_T}$CXX" >&6; }
4634 - echo "$as_me:$LINENO: result: no" >&5
4635 -echo "${ECHO_T}no" >&6
4636 + { echo "$as_me:$LINENO: result: no" >&5
4637 +echo "${ECHO_T}no" >&6; }
4641 test -n "$CXX" && break
4644 if test -z "$CXX"; then
4646 - for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
4647 + for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy $ac_prog; ac_word=$2
4651 -echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4654 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4655 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 @@ -4674,55 +5332,85 @@
4660 test -z "$as_dir" && as_dir=.
4661 for ac_exec_ext in '' $ac_executable_extensions; do
4662 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4663 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4664 ac_cv_prog_ac_ct_CXX="$ac_prog"
4665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4675 if test -n "$ac_ct_CXX"; then
4676 - echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4677 -echo "${ECHO_T}$ac_ct_CXX" >&6
4678 + { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4679 +echo "${ECHO_T}$ac_ct_CXX" >&6; }
4681 - echo "$as_me:$LINENO: result: no" >&5
4682 -echo "${ECHO_T}no" >&6
4683 + { echo "$as_me:$LINENO: result: no" >&5
4684 +echo "${ECHO_T}no" >&6; }
4688 test -n "$ac_ct_CXX" && break
4690 -test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
4693 + if test "x$ac_ct_CXX" = x; then
4696 + case $cross_compiling:$ac_tool_warned in
4698 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4699 +whose name does not start with the host triplet. If you think this
4700 +configuration is useful to you, please write to autoconf@gnu.org." >&5
4701 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4702 +whose name does not start with the host triplet. If you think this
4703 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4704 +ac_tool_warned=yes ;;
4713 # Provide some information about the compiler.
4714 -echo "$as_me:$LINENO:" \
4715 - "checking for C++ compiler version" >&5
4716 +echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4717 ac_compiler=`set X $ac_compile; echo $2`
4718 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
4719 - (eval $ac_compiler --version </dev/null >&5) 2>&5
4720 +{ (ac_try="$ac_compiler --version >&5"
4721 +case "(($ac_try" in
4722 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 + *) ac_try_echo=$ac_try;;
4725 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 + (eval "$ac_compiler --version >&5") 2>&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); }
4730 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
4731 - (eval $ac_compiler -v </dev/null >&5) 2>&5
4732 +{ (ac_try="$ac_compiler -v >&5"
4733 +case "(($ac_try" in
4734 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4735 + *) ac_try_echo=$ac_try;;
4737 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4738 + (eval "$ac_compiler -v >&5") 2>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }
4742 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
4743 - (eval $ac_compiler -V </dev/null >&5) 2>&5
4744 +{ (ac_try="$ac_compiler -V >&5"
4745 +case "(($ac_try" in
4746 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4747 + *) ac_try_echo=$ac_try;;
4749 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4750 + (eval "$ac_compiler -V >&5") 2>&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }
4755 -echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4756 -echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
4757 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4758 +echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
4759 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 @@ -4745,50 +5433,49 @@
4765 rm -f conftest.$ac_objext
4766 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4767 - (eval $ac_compile) 2>conftest.er1
4768 +if { (ac_try="$ac_compile"
4769 +case "(($ac_try" in
4770 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4771 + *) ac_try_echo=$ac_try;;
4773 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4774 + (eval "$ac_compile") 2>conftest.er1
4776 grep -v '^ *+' conftest.er1 >conftest.err
4778 cat conftest.err >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 - (exit $ac_status); } &&
4781 - { ac_try='test -z "$ac_cxx_werror_flag"
4782 - || test ! -s conftest.err'
4783 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784 - (eval $ac_try) 2>&5
4786 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 - (exit $ac_status); }; } &&
4788 - { ac_try='test -s conftest.$ac_objext'
4789 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4790 - (eval $ac_try) 2>&5
4792 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 - (exit $ac_status); }; }; then
4794 + (exit $ac_status); } && {
4795 + test -z "$ac_cxx_werror_flag" ||
4796 + test ! -s conftest.err
4797 + } && test -s conftest.$ac_objext; then
4800 echo "$as_me: failed program was:" >&5
4801 sed 's/^/| /' conftest.$ac_ext >&5
4804 + ac_compiler_gnu=no
4806 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4808 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4812 -echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4813 -echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
4814 +{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4815 +echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4816 GXX=`test $ac_compiler_gnu = yes && echo yes`
4817 ac_test_CXXFLAGS=${CXXFLAGS+set}
4818 ac_save_CXXFLAGS=$CXXFLAGS
4820 -echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4821 -echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
4822 +{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4823 +echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4824 if test "${ac_cv_prog_cxx_g+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 - cat >conftest.$ac_ext <<_ACEOF
4828 + ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4829 + ac_cxx_werror_flag=yes
4830 + ac_cv_prog_cxx_g=no
4832 + cat >conftest.$ac_ext <<_ACEOF
4835 cat confdefs.h >>conftest.$ac_ext
4836 @@ -4804,160 +5491,134 @@
4839 rm -f conftest.$ac_objext
4840 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4841 - (eval $ac_compile) 2>conftest.er1
4842 +if { (ac_try="$ac_compile"
4843 +case "(($ac_try" in
4844 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4845 + *) ac_try_echo=$ac_try;;
4847 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4848 + (eval "$ac_compile") 2>conftest.er1
4850 grep -v '^ *+' conftest.er1 >conftest.err
4852 cat conftest.err >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 - (exit $ac_status); } &&
4855 - { ac_try='test -z "$ac_cxx_werror_flag"
4856 - || test ! -s conftest.err'
4857 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4858 - (eval $ac_try) 2>&5
4860 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 - (exit $ac_status); }; } &&
4862 - { ac_try='test -s conftest.$ac_objext'
4863 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4864 - (eval $ac_try) 2>&5
4866 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4867 - (exit $ac_status); }; }; then
4868 + (exit $ac_status); } && {
4869 + test -z "$ac_cxx_werror_flag" ||
4870 + test ! -s conftest.err
4871 + } && test -s conftest.$ac_objext; then
4872 ac_cv_prog_cxx_g=yes
4874 echo "$as_me: failed program was:" >&5
4875 sed 's/^/| /' conftest.$ac_ext >&5
4877 -ac_cv_prog_cxx_g=no
4879 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4881 -echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4882 -echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
4883 -if test "$ac_test_CXXFLAGS" = set; then
4884 - CXXFLAGS=$ac_save_CXXFLAGS
4885 -elif test $ac_cv_prog_cxx_g = yes; then
4886 - if test "$GXX" = yes; then
4892 - if test "$GXX" = yes; then
4898 -for ac_declaration in \
4900 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
4901 - 'extern "C" void std::exit (int); using std::exit;' \
4902 - 'extern "C" void exit (int) throw ();' \
4903 - 'extern "C" void exit (int);' \
4904 - 'void exit (int);'
4906 - cat >conftest.$ac_ext <<_ACEOF
4908 + cat >conftest.$ac_ext <<_ACEOF
4911 cat confdefs.h >>conftest.$ac_ext
4912 cat >>conftest.$ac_ext <<_ACEOF
4913 /* end confdefs.h. */
4915 -#include <stdlib.h>
4926 rm -f conftest.$ac_objext
4927 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4928 - (eval $ac_compile) 2>conftest.er1
4929 +if { (ac_try="$ac_compile"
4930 +case "(($ac_try" in
4931 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932 + *) ac_try_echo=$ac_try;;
4934 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4935 + (eval "$ac_compile") 2>conftest.er1
4937 grep -v '^ *+' conftest.er1 >conftest.err
4939 cat conftest.err >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 - (exit $ac_status); } &&
4942 - { ac_try='test -z "$ac_cxx_werror_flag"
4943 - || test ! -s conftest.err'
4944 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945 - (eval $ac_try) 2>&5
4947 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948 - (exit $ac_status); }; } &&
4949 - { ac_try='test -s conftest.$ac_objext'
4950 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 - (eval $ac_try) 2>&5
4953 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 - (exit $ac_status); }; }; then
4955 + (exit $ac_status); } && {
4956 + test -z "$ac_cxx_werror_flag" ||
4957 + test ! -s conftest.err
4958 + } && test -s conftest.$ac_objext; then
4961 echo "$as_me: failed program was:" >&5
4962 sed 's/^/| /' conftest.$ac_ext >&5
4966 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4967 - cat >conftest.$ac_ext <<_ACEOF
4968 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4970 + cat >conftest.$ac_ext <<_ACEOF
4973 cat confdefs.h >>conftest.$ac_ext
4974 cat >>conftest.$ac_ext <<_ACEOF
4975 /* end confdefs.h. */
4987 rm -f conftest.$ac_objext
4988 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4989 - (eval $ac_compile) 2>conftest.er1
4990 +if { (ac_try="$ac_compile"
4991 +case "(($ac_try" in
4992 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4993 + *) ac_try_echo=$ac_try;;
4995 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4996 + (eval "$ac_compile") 2>conftest.er1
4998 grep -v '^ *+' conftest.er1 >conftest.err
5000 cat conftest.err >&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 - (exit $ac_status); } &&
5003 - { ac_try='test -z "$ac_cxx_werror_flag"
5004 - || test ! -s conftest.err'
5005 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5006 - (eval $ac_try) 2>&5
5008 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 - (exit $ac_status); }; } &&
5010 - { ac_try='test -s conftest.$ac_objext'
5011 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 - (eval $ac_try) 2>&5
5014 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 - (exit $ac_status); }; }; then
5017 + (exit $ac_status); } && {
5018 + test -z "$ac_cxx_werror_flag" ||
5019 + test ! -s conftest.err
5020 + } && test -s conftest.$ac_objext; then
5021 + ac_cv_prog_cxx_g=yes
5023 echo "$as_me: failed program was:" >&5
5024 sed 's/^/| /' conftest.$ac_ext >&5
5028 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5031 -if test -n "$ac_declaration"; then
5032 - echo '#ifdef __cplusplus' >>confdefs.h
5033 - echo $ac_declaration >>confdefs.h
5034 - echo '#endif' >>confdefs.h
5036 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5040 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 + ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5046 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5047 +echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5048 +if test "$ac_test_CXXFLAGS" = set; then
5049 + CXXFLAGS=$ac_save_CXXFLAGS
5050 +elif test $ac_cv_prog_cxx_g = yes; then
5051 + if test "$GXX" = yes; then
5057 + if test "$GXX" = yes; then
5064 ac_cpp='$CXXCPP $CPPFLAGS'
5065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5067 @@ -4968,13 +5629,13 @@
5068 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5069 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5070 (test "X$CXX" != "Xg++"))) ; then
5073 ac_cpp='$CXXCPP $CPPFLAGS'
5074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5077 -echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5078 -echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5079 +{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5080 +echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5081 if test -z "$CXXCPP"; then
5082 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 @@ -5004,24 +5665,22 @@
5088 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5089 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5090 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5091 +case "(($ac_try" in
5092 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5093 + *) ac_try_echo=$ac_try;;
5095 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5096 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5098 grep -v '^ *+' conftest.er1 >conftest.err
5100 cat conftest.err >&5
5101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5102 - (exit $ac_status); } >/dev/null; then
5103 - if test -s conftest.err; then
5104 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5105 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5112 -if test -z "$ac_cpp_err"; then
5113 + (exit $ac_status); } >/dev/null && {
5114 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5115 + test ! -s conftest.err
5119 echo "$as_me: failed program was:" >&5
5120 @@ -5030,9 +5689,10 @@
5121 # Broken: fails on valid input.
5125 rm -f conftest.err conftest.$ac_ext
5127 - # OK, works on sane cases. Now check whether non-existent headers
5128 + # OK, works on sane cases. Now check whether nonexistent headers
5129 # can be detected and how.
5130 cat >conftest.$ac_ext <<_ACEOF
5132 @@ -5042,24 +5702,22 @@
5133 /* end confdefs.h. */
5134 #include <ac_nonexistent.h>
5136 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5137 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5138 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5139 +case "(($ac_try" in
5140 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5141 + *) ac_try_echo=$ac_try;;
5143 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5144 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5146 grep -v '^ *+' conftest.er1 >conftest.err
5148 cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 - (exit $ac_status); } >/dev/null; then
5151 - if test -s conftest.err; then
5152 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5153 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5160 -if test -z "$ac_cpp_err"; then
5161 + (exit $ac_status); } >/dev/null && {
5162 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5163 + test ! -s conftest.err
5165 # Broken: success on invalid input.
5168 @@ -5070,6 +5728,7 @@
5173 rm -f conftest.err conftest.$ac_ext
5176 @@ -5087,8 +5746,8 @@
5178 ac_cv_prog_CXXCPP=$CXXCPP
5180 -echo "$as_me:$LINENO: result: $CXXCPP" >&5
5181 -echo "${ECHO_T}$CXXCPP" >&6
5182 +{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
5183 +echo "${ECHO_T}$CXXCPP" >&6; }
5185 for ac_cxx_preproc_warn_flag in '' yes
5187 @@ -5111,24 +5770,22 @@
5191 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5192 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5193 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5194 +case "(($ac_try" in
5195 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5196 + *) ac_try_echo=$ac_try;;
5198 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5199 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5201 grep -v '^ *+' conftest.er1 >conftest.err
5203 cat conftest.err >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 - (exit $ac_status); } >/dev/null; then
5206 - if test -s conftest.err; then
5207 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5208 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5215 -if test -z "$ac_cpp_err"; then
5216 + (exit $ac_status); } >/dev/null && {
5217 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5218 + test ! -s conftest.err
5222 echo "$as_me: failed program was:" >&5
5223 @@ -5137,9 +5794,10 @@
5224 # Broken: fails on valid input.
5228 rm -f conftest.err conftest.$ac_ext
5230 - # OK, works on sane cases. Now check whether non-existent headers
5231 + # OK, works on sane cases. Now check whether nonexistent headers
5232 # can be detected and how.
5233 cat >conftest.$ac_ext <<_ACEOF
5235 @@ -5149,24 +5807,22 @@
5236 /* end confdefs.h. */
5237 #include <ac_nonexistent.h>
5239 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5240 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5241 +if { (ac_try="$ac_cpp conftest.$ac_ext"
5242 +case "(($ac_try" in
5243 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5244 + *) ac_try_echo=$ac_try;;
5246 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5247 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5249 grep -v '^ *+' conftest.er1 >conftest.err
5251 cat conftest.err >&5
5252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5253 - (exit $ac_status); } >/dev/null; then
5254 - if test -s conftest.err; then
5255 - ac_cpp_err=$ac_cxx_preproc_warn_flag
5256 - ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5263 -if test -z "$ac_cpp_err"; then
5264 + (exit $ac_status); } >/dev/null && {
5265 + test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5266 + test ! -s conftest.err
5268 # Broken: success on invalid input.
5271 @@ -5177,6 +5833,7 @@
5276 rm -f conftest.err conftest.$ac_ext
5279 @@ -5192,7 +5849,7 @@
5280 { (exit 1); exit 1; }; }
5285 ac_cpp='$CXXCPP $CPPFLAGS'
5286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5288 @@ -5206,12 +5863,12 @@
5289 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5290 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5291 if test -n "$ac_tool_prefix"; then
5292 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5293 + 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
5295 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5296 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5297 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5299 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5300 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5301 if test "${ac_cv_prog_F77+set}" = set; then
5302 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 @@ -5224,36 +5881,38 @@
5306 test -z "$as_dir" && as_dir=.
5307 for ac_exec_ext in '' $ac_executable_extensions; do
5308 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5309 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5310 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5321 if test -n "$F77"; then
5322 - echo "$as_me:$LINENO: result: $F77" >&5
5323 -echo "${ECHO_T}$F77" >&6
5324 + { echo "$as_me:$LINENO: result: $F77" >&5
5325 +echo "${ECHO_T}$F77" >&6; }
5327 - echo "$as_me:$LINENO: result: no" >&5
5328 -echo "${ECHO_T}no" >&6
5329 + { echo "$as_me:$LINENO: result: no" >&5
5330 +echo "${ECHO_T}no" >&6; }
5334 test -n "$F77" && break
5337 if test -z "$F77"; then
5339 - for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
5340 + 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
5342 # Extract the first word of "$ac_prog", so it can be a program name with args.
5343 set dummy $ac_prog; ac_word=$2
5344 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5345 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5346 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5347 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5348 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 @@ -5266,48 +5925,78 @@
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5356 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5357 ac_cv_prog_ac_ct_F77="$ac_prog"
5358 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5368 if test -n "$ac_ct_F77"; then
5369 - echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5370 -echo "${ECHO_T}$ac_ct_F77" >&6
5371 + { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5372 +echo "${ECHO_T}$ac_ct_F77" >&6; }
5374 - echo "$as_me:$LINENO: result: no" >&5
5375 -echo "${ECHO_T}no" >&6
5376 + { echo "$as_me:$LINENO: result: no" >&5
5377 +echo "${ECHO_T}no" >&6; }
5381 test -n "$ac_ct_F77" && break
5385 + if test "x$ac_ct_F77" = x; then
5388 + case $cross_compiling:$ac_tool_warned in
5390 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5391 +whose name does not start with the host triplet. If you think this
5392 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5393 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5394 +whose name does not start with the host triplet. If you think this
5395 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5396 +ac_tool_warned=yes ;;
5403 # Provide some information about the compiler.
5404 -echo "$as_me:5296:" \
5405 - "checking for Fortran 77 compiler version" >&5
5406 +echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
5407 ac_compiler=`set X $ac_compile; echo $2`
5408 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5409 - (eval $ac_compiler --version </dev/null >&5) 2>&5
5410 +{ (ac_try="$ac_compiler --version >&5"
5411 +case "(($ac_try" in
5412 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5413 + *) ac_try_echo=$ac_try;;
5415 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5416 + (eval "$ac_compiler --version >&5") 2>&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }
5420 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5421 - (eval $ac_compiler -v </dev/null >&5) 2>&5
5422 +{ (ac_try="$ac_compiler -v >&5"
5423 +case "(($ac_try" in
5424 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5425 + *) ac_try_echo=$ac_try;;
5427 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5428 + (eval "$ac_compiler -v >&5") 2>&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); }
5432 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5433 - (eval $ac_compiler -V </dev/null >&5) 2>&5
5434 +{ (ac_try="$ac_compiler -V >&5"
5435 +case "(($ac_try" in
5436 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5437 + *) ac_try_echo=$ac_try;;
5439 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5440 + (eval "$ac_compiler -V >&5") 2>&5
5442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443 (exit $ac_status); }
5444 @@ -5317,8 +6006,8 @@
5445 # input file. (Note that this only needs to work for GNU compilers.)
5448 -echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5449 -echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5450 +{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5451 +echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
5452 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5453 echo $ECHO_N "(cached) $ECHO_C" >&6
5455 @@ -5331,46 +6020,42 @@
5458 rm -f conftest.$ac_objext
5459 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5460 - (eval $ac_compile) 2>conftest.er1
5461 +if { (ac_try="$ac_compile"
5462 +case "(($ac_try" in
5463 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5464 + *) ac_try_echo=$ac_try;;
5466 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5467 + (eval "$ac_compile") 2>conftest.er1
5469 grep -v '^ *+' conftest.er1 >conftest.err
5471 cat conftest.err >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 - (exit $ac_status); } &&
5474 - { ac_try='test -z "$ac_f77_werror_flag"
5475 - || test ! -s conftest.err'
5476 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5477 - (eval $ac_try) 2>&5
5479 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 - (exit $ac_status); }; } &&
5481 - { ac_try='test -s conftest.$ac_objext'
5482 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5483 - (eval $ac_try) 2>&5
5485 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 - (exit $ac_status); }; }; then
5487 + (exit $ac_status); } && {
5488 + test -z "$ac_f77_werror_flag" ||
5489 + test ! -s conftest.err
5490 + } && test -s conftest.$ac_objext; then
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5497 + ac_compiler_gnu=no
5499 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5501 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5502 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5505 -echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5506 -echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5507 +{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5508 +echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
5510 ac_test_FFLAGS=${FFLAGS+set}
5511 ac_save_FFLAGS=$FFLAGS
5513 -echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5514 -echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5515 +{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5516 +echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
5517 if test "${ac_cv_prog_f77_g+set}" = set; then
5518 echo $ECHO_N "(cached) $ECHO_C" >&6
5520 @@ -5381,39 +6066,35 @@
5523 rm -f conftest.$ac_objext
5524 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5525 - (eval $ac_compile) 2>conftest.er1
5526 +if { (ac_try="$ac_compile"
5527 +case "(($ac_try" in
5528 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5529 + *) ac_try_echo=$ac_try;;
5531 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5532 + (eval "$ac_compile") 2>conftest.er1
5534 grep -v '^ *+' conftest.er1 >conftest.err
5536 cat conftest.err >&5
5537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5538 - (exit $ac_status); } &&
5539 - { ac_try='test -z "$ac_f77_werror_flag"
5540 - || test ! -s conftest.err'
5541 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5542 - (eval $ac_try) 2>&5
5544 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 - (exit $ac_status); }; } &&
5546 - { ac_try='test -s conftest.$ac_objext'
5547 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5548 - (eval $ac_try) 2>&5
5550 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
5551 - (exit $ac_status); }; }; then
5552 + (exit $ac_status); } && {
5553 + test -z "$ac_f77_werror_flag" ||
5554 + test ! -s conftest.err
5555 + } && test -s conftest.$ac_objext; then
5556 ac_cv_prog_f77_g=yes
5558 echo "$as_me: failed program was:" >&5
5559 sed 's/^/| /' conftest.$ac_ext >&5
5561 -ac_cv_prog_f77_g=no
5562 + ac_cv_prog_f77_g=no
5564 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5566 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5569 -echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5570 -echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5571 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5572 +echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
5573 if test "$ac_test_FFLAGS" = set; then
5574 FFLAGS=$ac_save_FFLAGS
5575 elif test $ac_cv_prog_f77_g = yes; then
5576 @@ -5440,10 +6121,9 @@
5579 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5581 # find the maximum length of command line arguments
5582 -echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5583 -echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5584 +{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5585 +echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5586 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5587 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 @@ -5527,43 +6207,47 @@
5593 - # If test is not a shell built-in, we'll probably end up computing a
5594 - # maximum length that is only half of the actual maximum length, but
5596 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5597 - while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5598 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5599 + if test -n "$lt_cv_sys_max_cmd_len"; then
5600 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5601 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5603 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5604 + while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5605 = "XX$teststring") >/dev/null 2>&1 &&
5606 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
5607 - lt_cv_sys_max_cmd_len=$new_result &&
5608 - test $i != 17 # 1/2 MB should be enough
5611 - teststring=$teststring$teststring
5614 - # Add a significant safety factor because C++ compilers can tack on massive
5615 - # amounts of additional arguments before passing them to the linker.
5616 - # It appears as though 1/2 is a usable value.
5617 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5618 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
5619 + lt_cv_sys_max_cmd_len=$new_result &&
5620 + test $i != 17 # 1/2 MB should be enough
5623 + teststring=$teststring$teststring
5626 + # Add a significant safety factor because C++ compilers can tack on massive
5627 + # amounts of additional arguments before passing them to the linker.
5628 + # It appears as though 1/2 is a usable value.
5629 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5636 if test -n $lt_cv_sys_max_cmd_len ; then
5637 - echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5638 -echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5639 + { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5640 +echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5642 - echo "$as_me:$LINENO: result: none" >&5
5643 -echo "${ECHO_T}none" >&6
5644 + { echo "$as_me:$LINENO: result: none" >&5
5645 +echo "${ECHO_T}none" >&6; }
5652 # Check for command to grab the raw symbol name followed by C symbol from nm.
5653 -echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5654 -echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5655 +{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5656 +echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5657 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 @@ -5598,7 +6282,7 @@
5661 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5662 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'"
5665 +linux* | k*bsd*-gnu)
5666 if test "$host_cpu" = ia64; then
5667 symcode='[ABCDGIRSTW]'
5668 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5669 @@ -5751,7 +6435,7 @@
5670 echo "$progname: failed program was:" >&5
5671 cat conftest.$ac_ext >&5
5673 - rm -f conftest* conftst*
5674 + rm -rf conftest* conftst*
5676 # Do not use the global_symbol_pipe unless it works.
5677 if test "$pipe_works" = yes; then
5678 @@ -5767,15 +6451,15 @@
5679 lt_cv_sys_global_symbol_to_cdecl=
5681 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5682 - echo "$as_me:$LINENO: result: failed" >&5
5683 -echo "${ECHO_T}failed" >&6
5684 + { echo "$as_me:$LINENO: result: failed" >&5
5685 +echo "${ECHO_T}failed" >&6; }
5687 - echo "$as_me:$LINENO: result: ok" >&5
5688 -echo "${ECHO_T}ok" >&6
5689 + { echo "$as_me:$LINENO: result: ok" >&5
5690 +echo "${ECHO_T}ok" >&6; }
5693 -echo "$as_me:$LINENO: checking for objdir" >&5
5694 -echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5695 +{ echo "$as_me:$LINENO: checking for objdir" >&5
5696 +echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5697 if test "${lt_cv_objdir+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5700 @@ -5789,8 +6473,8 @@
5702 rmdir .libs 2>/dev/null
5704 -echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5705 -echo "${ECHO_T}$lt_cv_objdir" >&6
5706 +{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5707 +echo "${ECHO_T}$lt_cv_objdir" >&6; }
5708 objdir=$lt_cv_objdir
5711 @@ -5841,8 +6525,8 @@
5712 if test -n "$ac_tool_prefix"; then
5713 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5714 set dummy ${ac_tool_prefix}ar; ac_word=$2
5715 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5716 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5717 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5718 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5719 if test "${ac_cv_prog_AR+set}" = set; then
5720 echo $ECHO_N "(cached) $ECHO_C" >&6
5722 @@ -5855,32 +6539,34 @@
5724 test -z "$as_dir" && as_dir=.
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5727 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5728 ac_cv_prog_AR="${ac_tool_prefix}ar"
5729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 if test -n "$AR"; then
5740 - echo "$as_me:$LINENO: result: $AR" >&5
5741 -echo "${ECHO_T}$AR" >&6
5742 + { echo "$as_me:$LINENO: result: $AR" >&5
5743 +echo "${ECHO_T}$AR" >&6; }
5745 - echo "$as_me:$LINENO: result: no" >&5
5746 -echo "${ECHO_T}no" >&6
5747 + { echo "$as_me:$LINENO: result: no" >&5
5748 +echo "${ECHO_T}no" >&6; }
5753 if test -z "$ac_cv_prog_AR"; then
5755 # Extract the first word of "ar", so it can be a program name with args.
5756 set dummy ar; ac_word=$2
5757 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5758 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5759 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5760 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5761 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 @@ -5893,27 +6579,41 @@
5766 test -z "$as_dir" && as_dir=.
5767 for ac_exec_ext in '' $ac_executable_extensions; do
5768 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5769 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5770 ac_cv_prog_ac_ct_AR="ar"
5771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 - test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5781 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5782 if test -n "$ac_ct_AR"; then
5783 - echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5784 -echo "${ECHO_T}$ac_ct_AR" >&6
5785 + { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5786 +echo "${ECHO_T}$ac_ct_AR" >&6; }
5788 - echo "$as_me:$LINENO: result: no" >&5
5789 -echo "${ECHO_T}no" >&6
5790 + { echo "$as_me:$LINENO: result: no" >&5
5791 +echo "${ECHO_T}no" >&6; }
5795 + if test "x$ac_ct_AR" = x; then
5798 + case $cross_compiling:$ac_tool_warned in
5800 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5801 +whose name does not start with the host triplet. If you think this
5802 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5803 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5804 +whose name does not start with the host triplet. If you think this
5805 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5806 +ac_tool_warned=yes ;;
5813 @@ -5921,8 +6621,8 @@
5814 if test -n "$ac_tool_prefix"; then
5815 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5816 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5817 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5818 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5819 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5820 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5821 if test "${ac_cv_prog_RANLIB+set}" = set; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 @@ -5935,32 +6635,34 @@
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5830 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 RANLIB=$ac_cv_prog_RANLIB
5841 if test -n "$RANLIB"; then
5842 - echo "$as_me:$LINENO: result: $RANLIB" >&5
5843 -echo "${ECHO_T}$RANLIB" >&6
5844 + { echo "$as_me:$LINENO: result: $RANLIB" >&5
5845 +echo "${ECHO_T}$RANLIB" >&6; }
5847 - echo "$as_me:$LINENO: result: no" >&5
5848 -echo "${ECHO_T}no" >&6
5849 + { echo "$as_me:$LINENO: result: no" >&5
5850 +echo "${ECHO_T}no" >&6; }
5855 if test -z "$ac_cv_prog_RANLIB"; then
5856 ac_ct_RANLIB=$RANLIB
5857 # Extract the first word of "ranlib", so it can be a program name with args.
5858 set dummy ranlib; ac_word=$2
5859 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5860 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5861 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5862 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5863 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5864 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 @@ -5973,27 +6675,41 @@
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_prog_ac_ct_RANLIB="ranlib"
5873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5880 - test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5883 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5884 if test -n "$ac_ct_RANLIB"; then
5885 - echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5886 -echo "${ECHO_T}$ac_ct_RANLIB" >&6
5887 + { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5888 +echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5890 - echo "$as_me:$LINENO: result: no" >&5
5891 -echo "${ECHO_T}no" >&6
5892 + { echo "$as_me:$LINENO: result: no" >&5
5893 +echo "${ECHO_T}no" >&6; }
5896 - RANLIB=$ac_ct_RANLIB
5897 + if test "x$ac_ct_RANLIB" = x; then
5900 + case $cross_compiling:$ac_tool_warned in
5902 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5903 +whose name does not start with the host triplet. If you think this
5904 +configuration is useful to you, please write to autoconf@gnu.org." >&5
5905 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5906 +whose name does not start with the host triplet. If you think this
5907 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5908 +ac_tool_warned=yes ;;
5910 + RANLIB=$ac_ct_RANLIB
5913 RANLIB="$ac_cv_prog_RANLIB"
5915 @@ -6001,8 +6717,8 @@
5916 if test -n "$ac_tool_prefix"; then
5917 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5918 set dummy ${ac_tool_prefix}strip; ac_word=$2
5919 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5920 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5921 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5922 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5923 if test "${ac_cv_prog_STRIP+set}" = set; then
5924 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 @@ -6015,32 +6731,34 @@
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5932 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5942 STRIP=$ac_cv_prog_STRIP
5943 if test -n "$STRIP"; then
5944 - echo "$as_me:$LINENO: result: $STRIP" >&5
5945 -echo "${ECHO_T}$STRIP" >&6
5946 + { echo "$as_me:$LINENO: result: $STRIP" >&5
5947 +echo "${ECHO_T}$STRIP" >&6; }
5949 - echo "$as_me:$LINENO: result: no" >&5
5950 -echo "${ECHO_T}no" >&6
5951 + { echo "$as_me:$LINENO: result: no" >&5
5952 +echo "${ECHO_T}no" >&6; }
5957 if test -z "$ac_cv_prog_STRIP"; then
5959 # Extract the first word of "strip", so it can be a program name with args.
5960 set dummy strip; ac_word=$2
5961 -echo "$as_me:$LINENO: checking for $ac_word" >&5
5962 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5963 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5964 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5965 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5966 echo $ECHO_N "(cached) $ECHO_C" >&6
5968 @@ -6053,27 +6771,41 @@
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5974 ac_cv_prog_ac_ct_STRIP="strip"
5975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5982 - test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5985 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5986 if test -n "$ac_ct_STRIP"; then
5987 - echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5988 -echo "${ECHO_T}$ac_ct_STRIP" >&6
5989 + { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5990 +echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5992 - echo "$as_me:$LINENO: result: no" >&5
5993 -echo "${ECHO_T}no" >&6
5994 + { echo "$as_me:$LINENO: result: no" >&5
5995 +echo "${ECHO_T}no" >&6; }
5998 - STRIP=$ac_ct_STRIP
5999 + if test "x$ac_ct_STRIP" = x; then
6002 + case $cross_compiling:$ac_tool_warned in
6004 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6005 +whose name does not start with the host triplet. If you think this
6006 +configuration is useful to you, please write to autoconf@gnu.org." >&5
6007 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6008 +whose name does not start with the host triplet. If you think this
6009 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6010 +ac_tool_warned=yes ;;
6012 + STRIP=$ac_ct_STRIP
6015 STRIP="$ac_cv_prog_STRIP"
6017 @@ -6101,7 +6833,7 @@
6018 test -z "$ac_objext" && ac_objext=o
6020 # Determine commands to create old-style static archives.
6021 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6022 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6023 old_postinstall_cmds='chmod 644 $oldlib'
6024 old_postuninstall_cmds=
6026 @@ -6132,8 +6864,8 @@
6027 case $deplibs_check_method in
6029 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6030 - echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6031 -echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6032 + { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6033 +echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6034 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6035 echo $ECHO_N "(cached) $ECHO_C" >&6
6037 @@ -6185,17 +6917,17 @@
6039 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6040 if test -n "$MAGIC_CMD"; then
6041 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6042 -echo "${ECHO_T}$MAGIC_CMD" >&6
6043 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6044 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
6046 - echo "$as_me:$LINENO: result: no" >&5
6047 -echo "${ECHO_T}no" >&6
6048 + { echo "$as_me:$LINENO: result: no" >&5
6049 +echo "${ECHO_T}no" >&6; }
6052 if test -z "$lt_cv_path_MAGIC_CMD"; then
6053 if test -n "$ac_tool_prefix"; then
6054 - echo "$as_me:$LINENO: checking for file" >&5
6055 -echo $ECHO_N "checking for file... $ECHO_C" >&6
6056 + { echo "$as_me:$LINENO: checking for file" >&5
6057 +echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6058 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6059 echo $ECHO_N "(cached) $ECHO_C" >&6
6061 @@ -6247,11 +6979,11 @@
6063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6064 if test -n "$MAGIC_CMD"; then
6065 - echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6066 -echo "${ECHO_T}$MAGIC_CMD" >&6
6067 + { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6068 +echo "${ECHO_T}$MAGIC_CMD" >&6; }
6070 - echo "$as_me:$LINENO: result: no" >&5
6071 -echo "${ECHO_T}no" >&6
6072 + { echo "$as_me:$LINENO: result: no" >&5
6073 +echo "${ECHO_T}no" >&6; }
6077 @@ -6263,24 +6995,336 @@
6083 + rhapsody* | darwin*)
6084 + if test -n "$ac_tool_prefix"; then
6085 + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6086 +set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6087 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6088 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6089 +if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6090 + echo $ECHO_N "(cached) $ECHO_C" >&6
6092 + if test -n "$DSYMUTIL"; then
6093 + ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6095 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 +for as_dir in $PATH
6099 + test -z "$as_dir" && as_dir=.
6100 + for ac_exec_ext in '' $ac_executable_extensions; do
6101 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6103 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6112 +DSYMUTIL=$ac_cv_prog_DSYMUTIL
6113 +if test -n "$DSYMUTIL"; then
6114 + { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6115 +echo "${ECHO_T}$DSYMUTIL" >&6; }
6117 + { echo "$as_me:$LINENO: result: no" >&5
6118 +echo "${ECHO_T}no" >&6; }
6123 +if test -z "$ac_cv_prog_DSYMUTIL"; then
6124 + ac_ct_DSYMUTIL=$DSYMUTIL
6125 + # Extract the first word of "dsymutil", so it can be a program name with args.
6126 +set dummy dsymutil; ac_word=$2
6127 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6128 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6129 +if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6130 + echo $ECHO_N "(cached) $ECHO_C" >&6
6132 + if test -n "$ac_ct_DSYMUTIL"; then
6133 + ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6135 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 +for as_dir in $PATH
6139 + test -z "$as_dir" && as_dir=.
6140 + for ac_exec_ext in '' $ac_executable_extensions; do
6141 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6143 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 +ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6153 +if test -n "$ac_ct_DSYMUTIL"; then
6154 + { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6155 +echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
6157 + { echo "$as_me:$LINENO: result: no" >&5
6158 +echo "${ECHO_T}no" >&6; }
6161 + if test "x$ac_ct_DSYMUTIL" = x; then
6164 + case $cross_compiling:$ac_tool_warned in
6166 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6167 +whose name does not start with the host triplet. If you think this
6168 +configuration is useful to you, please write to autoconf@gnu.org." >&5
6169 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6170 +whose name does not start with the host triplet. If you think this
6171 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6172 +ac_tool_warned=yes ;;
6174 + DSYMUTIL=$ac_ct_DSYMUTIL
6177 + DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6180 + if test -n "$ac_tool_prefix"; then
6181 + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6182 +set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6183 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6184 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6185 +if test "${ac_cv_prog_NMEDIT+set}" = set; then
6186 + echo $ECHO_N "(cached) $ECHO_C" >&6
6188 + if test -n "$NMEDIT"; then
6189 + ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6191 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6192 +for as_dir in $PATH
6195 + test -z "$as_dir" && as_dir=.
6196 + for ac_exec_ext in '' $ac_executable_extensions; do
6197 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6198 + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6199 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 +NMEDIT=$ac_cv_prog_NMEDIT
6209 +if test -n "$NMEDIT"; then
6210 + { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6211 +echo "${ECHO_T}$NMEDIT" >&6; }
6213 + { echo "$as_me:$LINENO: result: no" >&5
6214 +echo "${ECHO_T}no" >&6; }
6219 +if test -z "$ac_cv_prog_NMEDIT"; then
6220 + ac_ct_NMEDIT=$NMEDIT
6221 + # Extract the first word of "nmedit", so it can be a program name with args.
6222 +set dummy nmedit; ac_word=$2
6223 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6224 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6225 +if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6226 + echo $ECHO_N "(cached) $ECHO_C" >&6
6228 + if test -n "$ac_ct_NMEDIT"; then
6229 + ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6231 +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6232 +for as_dir in $PATH
6235 + test -z "$as_dir" && as_dir=.
6236 + for ac_exec_ext in '' $ac_executable_extensions; do
6237 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6238 + ac_cv_prog_ac_ct_NMEDIT="nmedit"
6239 + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6248 +ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6249 +if test -n "$ac_ct_NMEDIT"; then
6250 + { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6251 +echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6253 + { echo "$as_me:$LINENO: result: no" >&5
6254 +echo "${ECHO_T}no" >&6; }
6257 + if test "x$ac_ct_NMEDIT" = x; then
6260 + case $cross_compiling:$ac_tool_warned in
6262 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6263 +whose name does not start with the host triplet. If you think this
6264 +configuration is useful to you, please write to autoconf@gnu.org." >&5
6265 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6266 +whose name does not start with the host triplet. If you think this
6267 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6268 +ac_tool_warned=yes ;;
6270 + NMEDIT=$ac_ct_NMEDIT
6273 + NMEDIT="$ac_cv_prog_NMEDIT"
6277 + { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6278 +echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6279 +if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6280 + echo $ECHO_N "(cached) $ECHO_C" >&6
6282 + lt_cv_apple_cc_single_mod=no
6283 + if test -z "${LT_MULTI_MODULE}"; then
6284 + # By default we will add the -single_module flag. You can override
6285 + # by either setting the environment variable LT_MULTI_MODULE
6286 + # non-empty at configure time, or by adding -multi_module to the
6288 + echo "int foo(void){return 1;}" > conftest.c
6289 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6290 + -dynamiclib ${wl}-single_module conftest.c
6291 + if test -f libconftest.dylib; then
6292 + lt_cv_apple_cc_single_mod=yes
6293 + rm -rf libconftest.dylib*
6298 +{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6299 +echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6300 + { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6301 +echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6302 +if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6303 + echo $ECHO_N "(cached) $ECHO_C" >&6
6305 + lt_cv_ld_exported_symbols_list=no
6306 + save_LDFLAGS=$LDFLAGS
6307 + echo "_main" > conftest.sym
6308 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6309 + cat >conftest.$ac_ext <<_ACEOF
6312 +cat confdefs.h >>conftest.$ac_ext
6313 +cat >>conftest.$ac_ext <<_ACEOF
6314 +/* end confdefs.h. */
6324 +rm -f conftest.$ac_objext conftest$ac_exeext
6325 +if { (ac_try="$ac_link"
6326 +case "(($ac_try" in
6327 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6328 + *) ac_try_echo=$ac_try;;
6330 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6331 + (eval "$ac_link") 2>conftest.er1
6333 + grep -v '^ *+' conftest.er1 >conftest.err
6334 + rm -f conftest.er1
6335 + cat conftest.err >&5
6336 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 + (exit $ac_status); } && {
6338 + test -z "$ac_c_werror_flag" ||
6339 + test ! -s conftest.err
6340 + } && test -s conftest$ac_exeext &&
6341 + $as_test_x conftest$ac_exeext; then
6342 + lt_cv_ld_exported_symbols_list=yes
6344 + echo "$as_me: failed program was:" >&5
6345 +sed 's/^/| /' conftest.$ac_ext >&5
6347 + lt_cv_ld_exported_symbols_list=no
6350 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6351 + conftest$ac_exeext conftest.$ac_ext
6352 + LDFLAGS="$save_LDFLAGS"
6355 +{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6356 +echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
6358 + rhapsody* | darwin1.[0123])
6359 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6361 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6363 + # if running on 10.5 or later, the deployment target defaults
6364 + # to the OS version, if on x86, and 10.4, the deployment
6365 + # target defaults to 10.4. Don't you love it?
6366 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6367 + 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6368 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6370 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6372 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6376 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6377 + _lt_dar_single_mod='$single_module'
6379 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6380 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6382 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
6384 + if test "$DSYMUTIL" != ":"; then
6385 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
6394 enable_win32_dll=yes
6396 -# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6397 +# Check whether --enable-libtool-lock was given.
6398 if test "${enable_libtool_lock+set}" = set; then
6399 - enableval="$enable_libtool_lock"
6400 + enableval=$enable_libtool_lock;
6404 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6407 -# Check whether --with-pic or --without-pic was given.
6408 +# Check whether --with-pic was given.
6409 if test "${with_pic+set}" = set; then
6410 - withval="$with_pic"
6411 - pic_mode="$withval"
6412 + withval=$with_pic; pic_mode="$withval"
6418 test -z "$pic_mode" && pic_mode=default
6420 # Use C for the default configuration in the libtool script
6421 @@ -6301,10 +7345,10 @@
6424 # Code to be used in simple compile tests
6425 -lt_simple_compile_test_code="int some_variable = 0;\n"
6426 +lt_simple_compile_test_code="int some_variable = 0;"
6428 # Code to be used in simple link tests
6429 -lt_simple_link_test_code='int main(){return(0);}\n'
6430 +lt_simple_link_test_code='int main(){return(0);}'
6433 # If no C compiler was specified, use CC.
6434 @@ -6319,16 +7363,16 @@
6436 # save warnings/boilerplate of simple test code
6437 ac_outfile=conftest.$ac_objext
6438 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
6439 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6440 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6441 _lt_compiler_boilerplate=`cat conftest.err`
6444 ac_outfile=conftest.$ac_objext
6445 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
6446 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
6447 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6448 _lt_linker_boilerplate=`cat conftest.err`
6454 @@ -6342,14 +7386,14 @@
6455 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6458 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6459 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6460 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6461 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6462 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 lt_cv_prog_compiler_rtti_exceptions=no
6466 ac_outfile=conftest.$ac_objext
6467 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6468 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6469 lt_compiler_flag="-fno-rtti -fno-exceptions"
6470 # Insert the option either (1) after the last *FLAGS variable, or
6471 # (2) before a word containing "conftest.", or (3) at the end.
6472 @@ -6360,11 +7404,11 @@
6473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6475 -e 's:$: $lt_compiler_flag:'`
6476 - (eval echo "\"\$as_me:6363: $lt_compile\"" >&5)
6477 + (eval echo "\"\$as_me:7407: $lt_compile\"" >&5)
6478 (eval "$lt_compile" 2>conftest.err)
6480 cat conftest.err >&5
6481 - echo "$as_me:6367: \$? = $ac_status" >&5
6482 + echo "$as_me:7411: \$? = $ac_status" >&5
6483 if (exit $ac_status) && test -s "$ac_outfile"; then
6484 # The compiler can only warn and ignore the option if not recognized
6485 # So say no if there are warnings other than the usual output.
6486 @@ -6377,8 +7421,8 @@
6490 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6491 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6492 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6493 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6495 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6496 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6497 @@ -6392,8 +7436,8 @@
6498 lt_prog_compiler_pic=
6499 lt_prog_compiler_static=
6501 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6502 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6503 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6504 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6506 if test "$GCC" = yes; then
6507 lt_prog_compiler_wl='-Wl,'
6508 @@ -6415,13 +7459,15 @@
6509 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6512 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6513 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6514 # PIC is the default for these OSes.
6517 - mingw* | pw32* | os2*)
6518 + mingw* | cygwin* | pw32* | os2*)
6519 # This hack is so that the source file can tell whether it is being
6520 # built for inclusion in a dll (and should export symbols for example).
6521 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
6522 + # (--disable-auto-import) libraries
6523 lt_prog_compiler_pic='-DDLL_EXPORT'
6526 @@ -6431,7 +7477,7 @@
6527 lt_prog_compiler_pic='-fno-common'
6532 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6533 # Instead, we relocate shared libraries at runtime.
6535 @@ -6489,7 +7535,7 @@
6539 - mingw* | pw32* | os2*)
6540 + mingw* | cygwin* | pw32* | os2*)
6541 # This hack is so that the source file can tell whether it is being
6542 # built for inclusion in a dll (and should export symbols for example).
6543 lt_prog_compiler_pic='-DDLL_EXPORT'
6544 @@ -6522,7 +7568,7 @@
6545 lt_prog_compiler_static='-Bstatic'
6549 + linux* | k*bsd*-gnu)
6550 case $cc_basename in
6552 lt_prog_compiler_wl='-Wl,'
6553 @@ -6541,6 +7587,22 @@
6554 # All Alpha code is PIC.
6555 lt_prog_compiler_static='-non_shared'
6558 + case `$CC -V 2>&1 | sed 5q` in
6561 + lt_prog_compiler_pic='-KPIC'
6562 + lt_prog_compiler_static='-Bstatic'
6563 + lt_prog_compiler_wl='-Wl,'
6566 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
6567 + lt_prog_compiler_pic='-KPIC'
6568 + lt_prog_compiler_static='-Bstatic'
6569 + lt_prog_compiler_wl=''
6576 @@ -6550,6 +7612,10 @@
6577 lt_prog_compiler_static='-non_shared'
6581 + lt_prog_compiler_static='-non_shared'
6585 lt_prog_compiler_pic='-KPIC'
6586 lt_prog_compiler_static='-Bstatic'
6587 @@ -6602,22 +7668,22 @@
6591 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6592 -echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6593 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6594 +echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6597 # Check to make sure the PIC flag actually works.
6599 if test -n "$lt_prog_compiler_pic"; then
6601 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6602 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6603 -if test "${lt_prog_compiler_pic_works+set}" = set; then
6604 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6605 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6606 +if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
6607 echo $ECHO_N "(cached) $ECHO_C" >&6
6609 - lt_prog_compiler_pic_works=no
6610 + lt_cv_prog_compiler_pic_works=no
6611 ac_outfile=conftest.$ac_objext
6612 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6613 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6614 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6615 # Insert the option either (1) after the last *FLAGS variable, or
6616 # (2) before a word containing "conftest.", or (3) at the end.
6617 @@ -6628,27 +7694,27 @@
6618 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6619 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6620 -e 's:$: $lt_compiler_flag:'`
6621 - (eval echo "\"\$as_me:6631: $lt_compile\"" >&5)
6622 + (eval echo "\"\$as_me:7697: $lt_compile\"" >&5)
6623 (eval "$lt_compile" 2>conftest.err)
6625 cat conftest.err >&5
6626 - echo "$as_me:6635: \$? = $ac_status" >&5
6627 + echo "$as_me:7701: \$? = $ac_status" >&5
6628 if (exit $ac_status) && test -s "$ac_outfile"; then
6629 # The compiler can only warn and ignore the option if not recognized
6630 # So say no if there are warnings other than the usual output.
6631 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6632 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6633 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6634 - lt_prog_compiler_pic_works=yes
6635 + lt_cv_prog_compiler_pic_works=yes
6641 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6642 -echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6643 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
6644 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
6646 -if test x"$lt_prog_compiler_pic_works" = xyes; then
6647 +if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
6648 case $lt_prog_compiler_pic in
6650 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6651 @@ -6673,15 +7739,15 @@
6652 # Check to make sure the static flag actually works.
6654 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6655 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6656 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6657 -if test "${lt_prog_compiler_static_works+set}" = set; then
6658 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6659 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6660 +if test "${lt_cv_prog_compiler_static_works+set}" = set; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 - lt_prog_compiler_static_works=no
6664 + lt_cv_prog_compiler_static_works=no
6665 save_LDFLAGS="$LDFLAGS"
6666 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6667 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
6668 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
6669 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6670 # The linker can only warn and ignore the option if not recognized
6671 # So say no if there are warnings
6672 @@ -6691,28 +7757,28 @@
6673 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6674 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6675 if diff conftest.exp conftest.er2 >/dev/null; then
6676 - lt_prog_compiler_static_works=yes
6677 + lt_cv_prog_compiler_static_works=yes
6680 - lt_prog_compiler_static_works=yes
6681 + lt_cv_prog_compiler_static_works=yes
6686 LDFLAGS="$save_LDFLAGS"
6689 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6690 -echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6691 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
6692 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
6694 -if test x"$lt_prog_compiler_static_works" = xyes; then
6695 +if test x"$lt_cv_prog_compiler_static_works" = xyes; then
6698 lt_prog_compiler_static=
6702 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6703 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6704 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6705 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6706 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6707 echo $ECHO_N "(cached) $ECHO_C" >&6
6709 @@ -6721,7 +7787,7 @@
6713 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6714 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6716 lt_compiler_flag="-o out/conftest2.$ac_objext"
6717 # Insert the option either (1) after the last *FLAGS variable, or
6718 @@ -6732,11 +7798,11 @@
6719 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6720 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6721 -e 's:$: $lt_compiler_flag:'`
6722 - (eval echo "\"\$as_me:6735: $lt_compile\"" >&5)
6723 + (eval echo "\"\$as_me:7801: $lt_compile\"" >&5)
6724 (eval "$lt_compile" 2>out/conftest.err)
6726 cat out/conftest.err >&5
6727 - echo "$as_me:6739: \$? = $ac_status" >&5
6728 + echo "$as_me:7805: \$? = $ac_status" >&5
6729 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6731 # The compiler can only warn and ignore the option if not recognized
6732 @@ -6758,23 +7824,23 @@
6736 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6737 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6738 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6739 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6742 hard_links="nottested"
6743 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6744 # do not overwrite the value of need_locks provided by the user
6745 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6746 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6747 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6748 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6751 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6753 ln conftest.a conftest.b 2>&5 || hard_links=no
6754 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6755 - echo "$as_me:$LINENO: result: $hard_links" >&5
6756 -echo "${ECHO_T}$hard_links" >&6
6757 + { echo "$as_me:$LINENO: result: $hard_links" >&5
6758 +echo "${ECHO_T}$hard_links" >&6; }
6759 if test "$hard_links" = no; then
6760 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6761 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6762 @@ -6784,8 +7850,8 @@
6766 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6767 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6768 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6769 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6772 allow_undefined_flag=
6773 @@ -6816,12 +7882,13 @@
6774 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6775 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6776 # as well as any symbol that contains `d'.
6777 - exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6778 + exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
6779 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6780 # platforms (ab)use it in PIC code, but their linkers get confused if
6781 # the symbol is explicitly referenced. Since portable code cannot
6782 # rely on this symbol name, it's probably fine to never include it in
6783 # preloaded symbol tables.
6784 + # Exclude shared library initialization/finalization symbols.
6785 extract_expsyms_cmds=
6786 # Just being paranoid about ensuring that cc_basename is set.
6787 for cc_temp in $compiler""; do
6788 @@ -6880,7 +7947,7 @@
6790 # See if GNU ld supports shared libraries.
6792 - aix3* | aix4* | aix5*)
6794 # On AIX/PPC, the GNU linker is very broken
6795 if test "$host_cpu" != ia64; then
6797 @@ -6928,7 +7995,7 @@
6798 allow_undefined_flag=unsupported
6799 always_export_symbols=no
6800 enable_shared_with_static_runtimes=yes
6801 - export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6802 + export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6804 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6805 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6806 @@ -6946,7 +8013,7 @@
6813 hardcode_shlibpath_var=no
6814 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6815 @@ -6961,7 +8028,7 @@
6816 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'
6820 + gnu* | linux* | k*bsd*-gnu)
6821 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6823 case $cc_basename,$host_cpu in
6824 @@ -6979,20 +8046,30 @@
6825 ifc* | ifort*) # Intel Fortran compiler
6826 tmp_addflag=' -nofor_main' ;;
6828 - archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6829 + case `$CC -V 2>&1 | sed 5q` in
6830 + *Sun\ C*) # Sun C 5.9
6831 + 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'
6832 + tmp_sharedflag='-G' ;;
6833 + *Sun\ F*) # Sun Fortran 8.3
6834 + tmp_sharedflag='-G' ;;
6836 + tmp_sharedflag='-shared' ;;
6838 + archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6840 if test $supports_anon_versioning = yes; then
6841 archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6842 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6843 $echo "local: *; };" >> $output_objdir/$libname.ver~
6844 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6845 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6847 + link_all_deplibs=no
6854 + netbsd* | netbsdelf*-gnu)
6855 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6856 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6858 @@ -7090,7 +8167,7 @@
6864 if test "$host_cpu" = ia64; then
6865 # On IA64, the linker does run time linking by default, so we don't
6866 # have to do anything special.
6867 @@ -7110,7 +8187,7 @@
6868 # Test if we are trying to use run time linking or normal
6869 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6870 # need to do runtime linking.
6871 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6872 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
6873 for ld_flag in $LDFLAGS; do
6874 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6875 aix_use_runtimelinking=yes
6876 @@ -7144,7 +8221,7 @@
6877 strings "$collect2name" | grep resolve_lib_name >/dev/null
6879 # We have reworked collect2
6880 - hardcode_direct=yes
6883 # We have old collect2
6884 hardcode_direct=unsupported
6885 @@ -7200,39 +8277,44 @@
6888 rm -f conftest.$ac_objext conftest$ac_exeext
6889 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6890 - (eval $ac_link) 2>conftest.er1
6891 +if { (ac_try="$ac_link"
6892 +case "(($ac_try" in
6893 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6894 + *) ac_try_echo=$ac_try;;
6896 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6897 + (eval "$ac_link") 2>conftest.er1
6899 grep -v '^ *+' conftest.er1 >conftest.err
6901 cat conftest.err >&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 - (exit $ac_status); } &&
6904 - { ac_try='test -z "$ac_c_werror_flag"
6905 - || test ! -s conftest.err'
6906 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 - (eval $ac_try) 2>&5
6909 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 - (exit $ac_status); }; } &&
6911 - { ac_try='test -s conftest$ac_exeext'
6912 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 - (eval $ac_try) 2>&5
6915 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 - (exit $ac_status); }; }; then
6917 + (exit $ac_status); } && {
6918 + test -z "$ac_c_werror_flag" ||
6919 + test ! -s conftest.err
6920 + } && test -s conftest$ac_exeext &&
6921 + $as_test_x conftest$ac_exeext; then
6923 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6925 +lt_aix_libpath_sed='
6926 + /Import File Strings/,/^$/ {
6932 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6933 # Check for a 64-bit object if we didn't find anything.
6934 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6936 +if test -z "$aix_libpath"; then
6937 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6940 echo "$as_me: failed program was:" >&5
6941 sed 's/^/| /' conftest.$ac_ext >&5
6945 -rm -f conftest.err conftest.$ac_objext \
6947 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6948 conftest$ac_exeext conftest.$ac_ext
6949 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6951 @@ -7261,39 +8343,44 @@
6954 rm -f conftest.$ac_objext conftest$ac_exeext
6955 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6956 - (eval $ac_link) 2>conftest.er1
6957 +if { (ac_try="$ac_link"
6958 +case "(($ac_try" in
6959 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6960 + *) ac_try_echo=$ac_try;;
6962 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6963 + (eval "$ac_link") 2>conftest.er1
6965 grep -v '^ *+' conftest.er1 >conftest.err
6967 cat conftest.err >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 - (exit $ac_status); } &&
6970 - { ac_try='test -z "$ac_c_werror_flag"
6971 - || test ! -s conftest.err'
6972 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6973 - (eval $ac_try) 2>&5
6975 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976 - (exit $ac_status); }; } &&
6977 - { ac_try='test -s conftest$ac_exeext'
6978 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 - (eval $ac_try) 2>&5
6981 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 - (exit $ac_status); }; }; then
6983 + (exit $ac_status); } && {
6984 + test -z "$ac_c_werror_flag" ||
6985 + test ! -s conftest.err
6986 + } && test -s conftest$ac_exeext &&
6987 + $as_test_x conftest$ac_exeext; then
6989 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6991 +lt_aix_libpath_sed='
6992 + /Import File Strings/,/^$/ {
6998 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
6999 # Check for a 64-bit object if we didn't find anything.
7000 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7002 +if test -z "$aix_libpath"; then
7003 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7006 echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.$ac_ext >&5
7011 -rm -f conftest.err conftest.$ac_objext \
7013 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7014 conftest$ac_exeext conftest.$ac_ext
7015 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7017 @@ -7339,7 +8426,7 @@
7018 # The linker will automatically build a .lib file if we build a DLL.
7019 old_archive_From_new_cmds='true'
7020 # FIXME: Should let the user specify the lib program.
7021 - old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7022 + old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7023 fix_srcfile_path='`cygpath -w "$srcfile"`'
7024 enable_shared_with_static_runtimes=yes
7026 @@ -7372,19 +8459,18 @@
7027 link_all_deplibs=yes
7028 if test "$GCC" = yes ; then
7029 output_verbose_link_cmd='echo'
7030 - archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7031 - module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7032 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7033 - 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}'
7034 - 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}'
7035 + archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
7036 + module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
7037 + archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
7038 + module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
7040 case $cc_basename in
7042 output_verbose_link_cmd='echo'
7043 - archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
7044 + archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7045 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7046 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7047 - 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7048 + 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}'
7049 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}'
7052 @@ -7424,7 +8510,7 @@
7055 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7056 - freebsd* | kfreebsd*-gnu | dragonfly*)
7057 + freebsd* | dragonfly*)
7058 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7059 hardcode_libdir_flag_spec='-R$libdir'
7061 @@ -7526,7 +8612,7 @@
7062 link_all_deplibs=yes
7066 + netbsd* | netbsdelf*-gnu)
7067 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7068 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7070 @@ -7546,24 +8632,28 @@
7074 - hardcode_direct=yes
7075 - hardcode_shlibpath_var=no
7076 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7077 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7078 - archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7079 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7080 - export_dynamic_flag_spec='${wl}-E'
7081 + if test -f /usr/libexec/ld.so; then
7082 + hardcode_direct=yes
7083 + hardcode_shlibpath_var=no
7084 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7085 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7086 + archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7087 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7088 + export_dynamic_flag_spec='${wl}-E'
7091 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7092 + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7093 + hardcode_libdir_flag_spec='-R$libdir'
7096 + archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7097 + hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7103 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7104 - archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7105 - hardcode_libdir_flag_spec='-R$libdir'
7108 - archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7109 - hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7116 @@ -7622,17 +8712,16 @@
7118 solaris2.[0-5] | solaris2.[0-5].*) ;;
7120 - # The compiler driver will combine linker options so we
7121 - # cannot just pass the convience library names through
7122 - # without $wl, iff we do not link with $LD.
7123 - # Luckily, gcc supports the same syntax we need for Sun Studio.
7124 + # The compiler driver will combine and reorder linker options,
7125 + # but understands `-z linker_flag'. GCC discards it without `$wl',
7126 + # but is careful enough not to reorder.
7127 # Supported since Solaris 2.6 (maybe 2.5.1?)
7130 - whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7132 - whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
7134 + if test "$GCC" = yes; then
7135 + whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7137 + whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
7141 link_all_deplibs=yes
7143 @@ -7689,7 +8778,7 @@
7147 - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
7148 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7149 no_undefined_flag='${wl}-z,text'
7150 archive_cmds_need_lc=no
7151 hardcode_shlibpath_var=no
7152 @@ -7742,8 +8831,8 @@
7156 -echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7157 -echo "${ECHO_T}$ld_shlibs" >&6
7158 +{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7159 +echo "${ECHO_T}$ld_shlibs" >&6; }
7160 test "$ld_shlibs" = no && can_build_shared=no
7163 @@ -7763,10 +8852,10 @@
7164 # Test whether the compiler implicitly links with -lc since on some
7165 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7166 # to ld, don't add -lc before -lgcc.
7167 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7168 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7169 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7170 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7172 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7173 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7176 (eval $ac_compile) 2>&5
7177 @@ -7801,16 +8890,16 @@
7178 cat conftest.err 1>&5
7181 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7182 -echo "${ECHO_T}$archive_cmds_need_lc" >&6
7183 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7184 +echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7191 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7192 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7193 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7194 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7196 libname_spec='lib$name'
7198 @@ -7824,17 +8913,55 @@
7200 dynamic_linker="$host_os ld.so"
7201 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7203 if test "$GCC" = yes; then
7204 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7205 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7207 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
7208 + *) lt_awk_arg="/^libraries:/" ;;
7210 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7211 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7212 # if the path contains ";" then we assume it to be the separator
7213 # otherwise default to the standard path separator (i.e. ":") - it is
7214 # assumed that no part of a normal pathname contains ";" but that should
7215 # okay in the real world where ";" in dirpaths is itself problematic.
7216 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7217 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7219 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7220 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7222 + # Ok, now we have the path, separated by spaces, we can step through it
7223 + # and add multilib dir if necessary.
7224 + lt_tmp_lt_search_path_spec=
7225 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
7226 + for lt_sys_path in $lt_search_path_spec; do
7227 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
7228 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
7230 + test -d "$lt_sys_path" && \
7231 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
7234 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
7235 +BEGIN {RS=" "; FS="/|\n";} {
7238 + for (lt_i = NF; lt_i > 0; lt_i--) {
7239 + if ($lt_i != "" && $lt_i != ".") {
7240 + if ($lt_i == "..") {
7243 + if (lt_count == 0) {
7244 + lt_foo="/" $lt_i lt_foo;
7251 + if (lt_foo != "") { lt_freq[lt_foo]++; }
7252 + if (lt_freq[lt_foo] == 1) { print lt_foo; }
7254 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
7256 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7258 @@ -7855,7 +8982,7 @@
7259 soname_spec='${libname}${release}${shared_ext}$major'
7267 @@ -7994,12 +9121,8 @@
7268 shlibpath_overrides_runpath=yes
7269 shlibpath_var=DYLD_LIBRARY_PATH
7270 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7271 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7272 - if test "$GCC" = yes; then
7273 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7275 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
7278 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
7279 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7282 @@ -8016,18 +9139,6 @@
7287 - version_type=linux
7288 - need_lib_prefix=no
7290 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7291 - soname_spec='${libname}${release}${shared_ext}$major'
7292 - shlibpath_var=LD_LIBRARY_PATH
7293 - shlibpath_overrides_runpath=no
7294 - hardcode_into_libs=yes
7295 - dynamic_linker='GNU ld.so'
7298 freebsd* | dragonfly*)
7299 # DragonFly does not have aout. When/if they implement a new
7300 # versioning mechanism, adjust this.
7301 @@ -8065,7 +9176,7 @@
7302 shlibpath_overrides_runpath=no
7303 hardcode_into_libs=yes
7305 - freebsd*) # from 4.6 on
7306 + *) # from 4.6 on, and DragonFly
7307 shlibpath_overrides_runpath=yes
7308 hardcode_into_libs=yes
7310 @@ -8128,7 +9239,7 @@
7311 postinstall_cmds='chmod 555 $lib'
7319 @@ -8183,7 +9294,7 @@
7322 # This must be Linux ELF.
7324 +linux* | k*bsd*-gnu)
7328 @@ -8199,7 +9310,7 @@
7330 # Append ld.so.conf contents to the search path
7331 if test -f /etc/ld.so.conf; then
7332 - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
7333 + 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' ' '`
7334 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
7337 @@ -8212,7 +9323,7 @@
7338 dynamic_linker='GNU/Linux ld.so'
7346 @@ -8221,7 +9332,7 @@
7347 shlibpath_var=LD_LIBRARY_PATH
7348 shlibpath_overrides_runpath=no
7349 hardcode_into_libs=yes
7350 - dynamic_linker='GNU ld.so'
7351 + dynamic_linker='NetBSD ld.elf_so'
7355 @@ -8305,6 +9416,10 @@
7356 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7366 @@ -8397,17 +9512,32 @@
7370 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7371 -echo "${ECHO_T}$dynamic_linker" >&6
7372 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
7373 +echo "${ECHO_T}$dynamic_linker" >&6; }
7374 test "$dynamic_linker" = no && can_build_shared=no
7376 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
7377 + echo $ECHO_N "(cached) $ECHO_C" >&6
7379 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
7382 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
7383 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
7384 + echo $ECHO_N "(cached) $ECHO_C" >&6
7386 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
7389 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
7391 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7392 if test "$GCC" = yes; then
7393 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7396 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7397 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7398 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7399 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
7401 if test -n "$hardcode_libdir_flag_spec" || \
7402 test -n "$runpath_var" || \
7403 @@ -8431,8 +9561,8 @@
7405 hardcode_action=unsupported
7407 -echo "$as_me:$LINENO: result: $hardcode_action" >&5
7408 -echo "${ECHO_T}$hardcode_action" >&6
7409 +{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
7410 +echo "${ECHO_T}$hardcode_action" >&6; }
7412 if test "$hardcode_action" = relink; then
7413 # Fast installation is not supported
7414 @@ -8445,29 +9575,30 @@
7418 -echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7419 -echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7420 +{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7421 +echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
7422 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7423 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7424 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7425 - echo "$as_me:$LINENO: result: yes" >&5
7426 -echo "${ECHO_T}yes" >&6
7427 + { echo "$as_me:$LINENO: result: yes" >&5
7428 +echo "${ECHO_T}yes" >&6; }
7430 # FIXME - insert some real tests, host_os isn't really good enough
7433 if test -n "$STRIP" ; then
7434 striplib="$STRIP -x"
7435 - echo "$as_me:$LINENO: result: yes" >&5
7436 -echo "${ECHO_T}yes" >&6
7437 + old_striplib="$STRIP -S"
7438 + { echo "$as_me:$LINENO: result: yes" >&5
7439 +echo "${ECHO_T}yes" >&6; }
7441 - echo "$as_me:$LINENO: result: no" >&5
7442 -echo "${ECHO_T}no" >&6
7443 + { echo "$as_me:$LINENO: result: no" >&5
7444 +echo "${ECHO_T}no" >&6; }
7448 - echo "$as_me:$LINENO: result: no" >&5
7449 -echo "${ECHO_T}no" >&6
7450 + { echo "$as_me:$LINENO: result: no" >&5
7451 +echo "${ECHO_T}no" >&6; }
7455 @@ -8499,8 +9630,8 @@
7458 # if libdl is installed we need to link against it
7459 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7460 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7461 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7462 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
7463 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7464 echo $ECHO_N "(cached) $ECHO_C" >&6
7466 @@ -8513,56 +9644,53 @@
7467 cat >>conftest.$ac_ext <<_ACEOF
7468 /* end confdefs.h. */
7470 -/* Override any gcc2 internal prototype to avoid an error. */
7471 +/* Override any GCC internal prototype to avoid an error.
7472 + Use char because int might match the return type of a GCC
7473 + builtin and then its argument prototype would still apply. */
7477 -/* We use char because int might match the return type of a gcc2
7478 - builtin and then its argument prototype would still apply. */
7489 rm -f conftest.$ac_objext conftest$ac_exeext
7490 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7491 - (eval $ac_link) 2>conftest.er1
7492 +if { (ac_try="$ac_link"
7493 +case "(($ac_try" in
7494 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7495 + *) ac_try_echo=$ac_try;;
7497 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7498 + (eval "$ac_link") 2>conftest.er1
7500 grep -v '^ *+' conftest.er1 >conftest.err
7502 cat conftest.err >&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 - (exit $ac_status); } &&
7505 - { ac_try='test -z "$ac_c_werror_flag"
7506 - || test ! -s conftest.err'
7507 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7508 - (eval $ac_try) 2>&5
7510 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 - (exit $ac_status); }; } &&
7512 - { ac_try='test -s conftest$ac_exeext'
7513 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7514 - (eval $ac_try) 2>&5
7516 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 - (exit $ac_status); }; }; then
7518 + (exit $ac_status); } && {
7519 + test -z "$ac_c_werror_flag" ||
7520 + test ! -s conftest.err
7521 + } && test -s conftest$ac_exeext &&
7522 + $as_test_x conftest$ac_exeext; then
7523 ac_cv_lib_dl_dlopen=yes
7525 echo "$as_me: failed program was:" >&5
7526 sed 's/^/| /' conftest.$ac_ext >&5
7528 -ac_cv_lib_dl_dlopen=no
7529 + ac_cv_lib_dl_dlopen=no
7531 -rm -f conftest.err conftest.$ac_objext \
7533 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7534 conftest$ac_exeext conftest.$ac_ext
7535 LIBS=$ac_check_lib_save_LIBS
7537 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7538 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7539 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7540 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
7541 if test $ac_cv_lib_dl_dlopen = yes; then
7542 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7544 @@ -8576,8 +9704,8 @@
7548 - echo "$as_me:$LINENO: checking for shl_load" >&5
7549 -echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
7550 + { echo "$as_me:$LINENO: checking for shl_load" >&5
7551 +echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
7552 if test "${ac_cv_func_shl_load+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 @@ -8604,73 +9732,64 @@
7559 -/* Override any gcc2 internal prototype to avoid an error. */
7560 +/* Override any GCC internal prototype to avoid an error.
7561 + Use char because int might match the return type of a GCC
7562 + builtin and then its argument prototype would still apply. */
7567 -/* We use char because int might match the return type of a gcc2
7568 - builtin and then its argument prototype would still apply. */
7570 /* The GNU C library defines this for functions which it implements
7571 to always fail with ENOSYS. Some functions are actually named
7572 something starting with __ and the normal name is an alias. */
7573 -#if defined (__stub_shl_load) || defined (__stub___shl_load)
7574 +#if defined __stub_shl_load || defined __stub___shl_load
7577 -char (*f) () = shl_load;
7586 -return f != shl_load;
7587 +return shl_load ();
7592 rm -f conftest.$ac_objext conftest$ac_exeext
7593 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7594 - (eval $ac_link) 2>conftest.er1
7595 +if { (ac_try="$ac_link"
7596 +case "(($ac_try" in
7597 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7598 + *) ac_try_echo=$ac_try;;
7600 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7601 + (eval "$ac_link") 2>conftest.er1
7603 grep -v '^ *+' conftest.er1 >conftest.err
7605 cat conftest.err >&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 - (exit $ac_status); } &&
7608 - { ac_try='test -z "$ac_c_werror_flag"
7609 - || test ! -s conftest.err'
7610 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7611 - (eval $ac_try) 2>&5
7613 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 - (exit $ac_status); }; } &&
7615 - { ac_try='test -s conftest$ac_exeext'
7616 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7617 - (eval $ac_try) 2>&5
7619 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 - (exit $ac_status); }; }; then
7621 + (exit $ac_status); } && {
7622 + test -z "$ac_c_werror_flag" ||
7623 + test ! -s conftest.err
7624 + } && test -s conftest$ac_exeext &&
7625 + $as_test_x conftest$ac_exeext; then
7626 ac_cv_func_shl_load=yes
7628 echo "$as_me: failed program was:" >&5
7629 sed 's/^/| /' conftest.$ac_ext >&5
7631 -ac_cv_func_shl_load=no
7632 + ac_cv_func_shl_load=no
7634 -rm -f conftest.err conftest.$ac_objext \
7636 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7637 conftest$ac_exeext conftest.$ac_ext
7639 -echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7640 -echo "${ECHO_T}$ac_cv_func_shl_load" >&6
7641 +{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
7642 +echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
7643 if test $ac_cv_func_shl_load = yes; then
7644 lt_cv_dlopen="shl_load"
7646 - echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7647 -echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
7648 + { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
7649 +echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
7650 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
7651 echo $ECHO_N "(cached) $ECHO_C" >&6
7653 @@ -8683,61 +9802,58 @@
7654 cat >>conftest.$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7657 -/* Override any gcc2 internal prototype to avoid an error. */
7658 +/* Override any GCC internal prototype to avoid an error.
7659 + Use char because int might match the return type of a GCC
7660 + builtin and then its argument prototype would still apply. */
7664 -/* We use char because int might match the return type of a gcc2
7665 - builtin and then its argument prototype would still apply. */
7671 +return shl_load ();
7676 rm -f conftest.$ac_objext conftest$ac_exeext
7677 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7678 - (eval $ac_link) 2>conftest.er1
7679 +if { (ac_try="$ac_link"
7680 +case "(($ac_try" in
7681 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7682 + *) ac_try_echo=$ac_try;;
7684 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7685 + (eval "$ac_link") 2>conftest.er1
7687 grep -v '^ *+' conftest.er1 >conftest.err
7689 cat conftest.err >&5
7690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7691 - (exit $ac_status); } &&
7692 - { ac_try='test -z "$ac_c_werror_flag"
7693 - || test ! -s conftest.err'
7694 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7695 - (eval $ac_try) 2>&5
7697 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 - (exit $ac_status); }; } &&
7699 - { ac_try='test -s conftest$ac_exeext'
7700 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7701 - (eval $ac_try) 2>&5
7703 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7704 - (exit $ac_status); }; }; then
7705 + (exit $ac_status); } && {
7706 + test -z "$ac_c_werror_flag" ||
7707 + test ! -s conftest.err
7708 + } && test -s conftest$ac_exeext &&
7709 + $as_test_x conftest$ac_exeext; then
7710 ac_cv_lib_dld_shl_load=yes
7712 echo "$as_me: failed program was:" >&5
7713 sed 's/^/| /' conftest.$ac_ext >&5
7715 -ac_cv_lib_dld_shl_load=no
7716 + ac_cv_lib_dld_shl_load=no
7718 -rm -f conftest.err conftest.$ac_objext \
7720 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7721 conftest$ac_exeext conftest.$ac_ext
7722 LIBS=$ac_check_lib_save_LIBS
7724 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7725 -echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
7726 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
7727 +echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
7728 if test $ac_cv_lib_dld_shl_load = yes; then
7729 - lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
7730 + lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
7732 - echo "$as_me:$LINENO: checking for dlopen" >&5
7733 -echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
7734 + { echo "$as_me:$LINENO: checking for dlopen" >&5
7735 +echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
7736 if test "${ac_cv_func_dlopen+set}" = set; then
7737 echo $ECHO_N "(cached) $ECHO_C" >&6
7739 @@ -8764,73 +9880,64 @@
7743 -/* Override any gcc2 internal prototype to avoid an error. */
7744 +/* Override any GCC internal prototype to avoid an error.
7745 + Use char because int might match the return type of a GCC
7746 + builtin and then its argument prototype would still apply. */
7751 -/* We use char because int might match the return type of a gcc2
7752 - builtin and then its argument prototype would still apply. */
7754 /* The GNU C library defines this for functions which it implements
7755 to always fail with ENOSYS. Some functions are actually named
7756 something starting with __ and the normal name is an alias. */
7757 -#if defined (__stub_dlopen) || defined (__stub___dlopen)
7758 +#if defined __stub_dlopen || defined __stub___dlopen
7761 -char (*f) () = dlopen;
7770 -return f != dlopen;
7776 rm -f conftest.$ac_objext conftest$ac_exeext
7777 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7778 - (eval $ac_link) 2>conftest.er1
7779 +if { (ac_try="$ac_link"
7780 +case "(($ac_try" in
7781 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7782 + *) ac_try_echo=$ac_try;;
7784 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7785 + (eval "$ac_link") 2>conftest.er1
7787 grep -v '^ *+' conftest.er1 >conftest.err
7789 cat conftest.err >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 - (exit $ac_status); } &&
7792 - { ac_try='test -z "$ac_c_werror_flag"
7793 - || test ! -s conftest.err'
7794 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7795 - (eval $ac_try) 2>&5
7797 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 - (exit $ac_status); }; } &&
7799 - { ac_try='test -s conftest$ac_exeext'
7800 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7801 - (eval $ac_try) 2>&5
7803 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7804 - (exit $ac_status); }; }; then
7805 + (exit $ac_status); } && {
7806 + test -z "$ac_c_werror_flag" ||
7807 + test ! -s conftest.err
7808 + } && test -s conftest$ac_exeext &&
7809 + $as_test_x conftest$ac_exeext; then
7810 ac_cv_func_dlopen=yes
7812 echo "$as_me: failed program was:" >&5
7813 sed 's/^/| /' conftest.$ac_ext >&5
7815 -ac_cv_func_dlopen=no
7816 + ac_cv_func_dlopen=no
7818 -rm -f conftest.err conftest.$ac_objext \
7820 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7821 conftest$ac_exeext conftest.$ac_ext
7823 -echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7824 -echo "${ECHO_T}$ac_cv_func_dlopen" >&6
7825 +{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
7826 +echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
7827 if test $ac_cv_func_dlopen = yes; then
7828 lt_cv_dlopen="dlopen"
7830 - echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7831 -echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
7832 + { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
7833 +echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
7834 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
7837 @@ -8843,61 +9950,58 @@
7838 cat >>conftest.$ac_ext <<_ACEOF
7839 /* end confdefs.h. */
7841 -/* Override any gcc2 internal prototype to avoid an error. */
7842 +/* Override any GCC internal prototype to avoid an error.
7843 + Use char because int might match the return type of a GCC
7844 + builtin and then its argument prototype would still apply. */
7848 -/* We use char because int might match the return type of a gcc2
7849 - builtin and then its argument prototype would still apply. */
7860 rm -f conftest.$ac_objext conftest$ac_exeext
7861 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7862 - (eval $ac_link) 2>conftest.er1
7863 +if { (ac_try="$ac_link"
7864 +case "(($ac_try" in
7865 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7866 + *) ac_try_echo=$ac_try;;
7868 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7869 + (eval "$ac_link") 2>conftest.er1
7871 grep -v '^ *+' conftest.er1 >conftest.err
7873 cat conftest.err >&5
7874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7875 - (exit $ac_status); } &&
7876 - { ac_try='test -z "$ac_c_werror_flag"
7877 - || test ! -s conftest.err'
7878 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7879 - (eval $ac_try) 2>&5
7881 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 - (exit $ac_status); }; } &&
7883 - { ac_try='test -s conftest$ac_exeext'
7884 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7885 - (eval $ac_try) 2>&5
7887 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 - (exit $ac_status); }; }; then
7889 + (exit $ac_status); } && {
7890 + test -z "$ac_c_werror_flag" ||
7891 + test ! -s conftest.err
7892 + } && test -s conftest$ac_exeext &&
7893 + $as_test_x conftest$ac_exeext; then
7894 ac_cv_lib_dl_dlopen=yes
7896 echo "$as_me: failed program was:" >&5
7897 sed 's/^/| /' conftest.$ac_ext >&5
7899 -ac_cv_lib_dl_dlopen=no
7900 + ac_cv_lib_dl_dlopen=no
7902 -rm -f conftest.err conftest.$ac_objext \
7904 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7905 conftest$ac_exeext conftest.$ac_ext
7906 LIBS=$ac_check_lib_save_LIBS
7908 -echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7909 -echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
7910 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
7911 +echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
7912 if test $ac_cv_lib_dl_dlopen = yes; then
7913 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
7915 - echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7916 -echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
7917 + { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
7918 +echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
7919 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
7920 echo $ECHO_N "(cached) $ECHO_C" >&6
7922 @@ -8910,61 +10014,58 @@
7923 cat >>conftest.$ac_ext <<_ACEOF
7924 /* end confdefs.h. */
7926 -/* Override any gcc2 internal prototype to avoid an error. */
7927 +/* Override any GCC internal prototype to avoid an error.
7928 + Use char because int might match the return type of a GCC
7929 + builtin and then its argument prototype would still apply. */
7933 -/* We use char because int might match the return type of a gcc2
7934 - builtin and then its argument prototype would still apply. */
7945 rm -f conftest.$ac_objext conftest$ac_exeext
7946 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7947 - (eval $ac_link) 2>conftest.er1
7948 +if { (ac_try="$ac_link"
7949 +case "(($ac_try" in
7950 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7951 + *) ac_try_echo=$ac_try;;
7953 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7954 + (eval "$ac_link") 2>conftest.er1
7956 grep -v '^ *+' conftest.er1 >conftest.err
7958 cat conftest.err >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 - (exit $ac_status); } &&
7961 - { ac_try='test -z "$ac_c_werror_flag"
7962 - || test ! -s conftest.err'
7963 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7964 - (eval $ac_try) 2>&5
7966 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 - (exit $ac_status); }; } &&
7968 - { ac_try='test -s conftest$ac_exeext'
7969 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7970 - (eval $ac_try) 2>&5
7972 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973 - (exit $ac_status); }; }; then
7974 + (exit $ac_status); } && {
7975 + test -z "$ac_c_werror_flag" ||
7976 + test ! -s conftest.err
7977 + } && test -s conftest$ac_exeext &&
7978 + $as_test_x conftest$ac_exeext; then
7979 ac_cv_lib_svld_dlopen=yes
7981 echo "$as_me: failed program was:" >&5
7982 sed 's/^/| /' conftest.$ac_ext >&5
7984 -ac_cv_lib_svld_dlopen=no
7985 + ac_cv_lib_svld_dlopen=no
7987 -rm -f conftest.err conftest.$ac_objext \
7989 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7990 conftest$ac_exeext conftest.$ac_ext
7991 LIBS=$ac_check_lib_save_LIBS
7993 -echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7994 -echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
7995 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
7996 +echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
7997 if test $ac_cv_lib_svld_dlopen = yes; then
7998 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8000 - echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8001 -echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8002 + { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8003 +echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
8004 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8005 echo $ECHO_N "(cached) $ECHO_C" >&6
8007 @@ -8977,58 +10078,55 @@
8008 cat >>conftest.$ac_ext <<_ACEOF
8009 /* end confdefs.h. */
8011 -/* Override any gcc2 internal prototype to avoid an error. */
8012 +/* Override any GCC internal prototype to avoid an error.
8013 + Use char because int might match the return type of a GCC
8014 + builtin and then its argument prototype would still apply. */
8018 -/* We use char because int might match the return type of a gcc2
8019 - builtin and then its argument prototype would still apply. */
8025 +return dld_link ();
8030 rm -f conftest.$ac_objext conftest$ac_exeext
8031 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8032 - (eval $ac_link) 2>conftest.er1
8033 +if { (ac_try="$ac_link"
8034 +case "(($ac_try" in
8035 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8036 + *) ac_try_echo=$ac_try;;
8038 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8039 + (eval "$ac_link") 2>conftest.er1
8041 grep -v '^ *+' conftest.er1 >conftest.err
8043 cat conftest.err >&5
8044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8045 - (exit $ac_status); } &&
8046 - { ac_try='test -z "$ac_c_werror_flag"
8047 - || test ! -s conftest.err'
8048 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8049 - (eval $ac_try) 2>&5
8051 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8052 - (exit $ac_status); }; } &&
8053 - { ac_try='test -s conftest$ac_exeext'
8054 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8055 - (eval $ac_try) 2>&5
8057 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8058 - (exit $ac_status); }; }; then
8059 + (exit $ac_status); } && {
8060 + test -z "$ac_c_werror_flag" ||
8061 + test ! -s conftest.err
8062 + } && test -s conftest$ac_exeext &&
8063 + $as_test_x conftest$ac_exeext; then
8064 ac_cv_lib_dld_dld_link=yes
8066 echo "$as_me: failed program was:" >&5
8067 sed 's/^/| /' conftest.$ac_ext >&5
8069 -ac_cv_lib_dld_dld_link=no
8070 + ac_cv_lib_dld_dld_link=no
8072 -rm -f conftest.err conftest.$ac_objext \
8074 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8075 conftest$ac_exeext conftest.$ac_ext
8076 LIBS=$ac_check_lib_save_LIBS
8078 -echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8079 -echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8080 +{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8081 +echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
8082 if test $ac_cv_lib_dld_dld_link = yes; then
8083 - lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8084 + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
8088 @@ -9066,8 +10164,8 @@
8090 LIBS="$lt_cv_dlopen_libs $LIBS"
8092 - echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8093 -echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8094 + { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8095 +echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
8096 if test "${lt_cv_dlopen_self+set}" = set; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8099 @@ -9077,7 +10175,7 @@
8100 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8101 lt_status=$lt_dlunknown
8102 cat > conftest.$ac_ext <<EOF
8103 -#line 9080 "configure"
8104 +#line 10178 "configure"
8105 #include "confdefs.h"
8108 @@ -9161,13 +10259,13 @@
8112 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8113 -echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8114 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8115 +echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
8117 if test "x$lt_cv_dlopen_self" = xyes; then
8118 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
8119 - echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8120 -echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8121 + { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8122 +echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
8123 if test "${lt_cv_dlopen_self_static+set}" = set; then
8124 echo $ECHO_N "(cached) $ECHO_C" >&6
8126 @@ -9177,7 +10275,7 @@
8127 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8128 lt_status=$lt_dlunknown
8129 cat > conftest.$ac_ext <<EOF
8130 -#line 9180 "configure"
8131 +#line 10278 "configure"
8132 #include "confdefs.h"
8135 @@ -9261,8 +10359,8 @@
8139 -echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8140 -echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8141 +{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8142 +echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
8145 CPPFLAGS="$save_CPPFLAGS"
8146 @@ -9284,13 +10382,13 @@
8149 # Report which library types will actually be built
8150 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8151 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8152 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
8153 -echo "${ECHO_T}$can_build_shared" >&6
8154 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8155 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
8156 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
8157 +echo "${ECHO_T}$can_build_shared" >&6; }
8159 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8160 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8161 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8162 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
8163 test "$can_build_shared" = "no" && enable_shared=no
8165 # On AIX, shared libraries and static libraries use the same namespace, and
8166 @@ -9304,21 +10402,21 @@
8172 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8173 test "$enable_shared" = yes && enable_static=no
8177 -echo "$as_me:$LINENO: result: $enable_shared" >&5
8178 -echo "${ECHO_T}$enable_shared" >&6
8179 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
8180 +echo "${ECHO_T}$enable_shared" >&6; }
8182 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8183 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8184 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8185 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
8186 # Make sure either enable_shared or enable_static is yes.
8187 test "$enable_shared" = yes || enable_static=yes
8188 -echo "$as_me:$LINENO: result: $enable_static" >&5
8189 -echo "${ECHO_T}$enable_static" >&6
8190 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
8191 +echo "${ECHO_T}$enable_static" >&6; }
8193 # The else clause should only fire when bootstrapping the
8194 # libtool distribution, otherwise you forgot to ship ltmain.sh
8195 @@ -9360,6 +10458,7 @@
8198 compiler_lib_search_path \
8199 + compiler_lib_search_dirs \
8201 archive_expsym_cmds \
8203 @@ -9375,6 +10474,7 @@
8205 module_expsym_cmds \
8206 lt_cv_prog_compiler_c_o \
8207 + fix_srcfile_path \
8211 @@ -9419,7 +10519,7 @@
8212 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8213 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8215 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8216 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
8217 # Free Software Foundation, Inc.
8219 # This file is part of GNU Libtool:
8220 @@ -9655,6 +10755,10 @@
8222 postdeps=$lt_postdeps
8224 +# The directories searched by this compiler when creating a shared
8226 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
8228 # The library search path used internally by the compiler when linking
8230 compiler_lib_search_path=$lt_compiler_lib_search_path
8231 @@ -9743,7 +10847,7 @@
8232 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
8234 # Fix the shell variable \$srcfile for the compiler.
8235 -fix_srcfile_path="$fix_srcfile_path"
8236 +fix_srcfile_path=$lt_fix_srcfile_path
8238 # Set to yes if exported symbols are required.
8239 always_export_symbols=$always_export_symbols
8240 @@ -9810,11 +10914,11 @@
8244 -# Check whether --with-tags or --without-tags was given.
8245 +# Check whether --with-tags was given.
8246 if test "${with_tags+set}" = set; then
8247 - withval="$with_tags"
8248 - tagnames="$withval"
8250 + withval=$with_tags; tagnames="$withval"
8254 if test -f "$ltmain" && test -n "$tagnames"; then
8255 if test ! -f "${ofile}"; then
8256 @@ -9868,7 +10972,7 @@
8257 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8258 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8259 (test "X$CXX" != "Xg++"))) ; then
8262 ac_cpp='$CXXCPP $CPPFLAGS'
8263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8265 @@ -9903,6 +11007,7 @@
8268 compiler_lib_search_path_CXX=
8269 +compiler_lib_search_dirs_CXX=
8271 # Source file extension for C++ test sources.
8273 @@ -9912,10 +11017,10 @@
8276 # Code to be used in simple compile tests
8277 -lt_simple_compile_test_code="int some_variable = 0;\n"
8278 +lt_simple_compile_test_code="int some_variable = 0;"
8280 # Code to be used in simple link tests
8281 -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
8282 +lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
8284 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
8286 @@ -9931,16 +11036,16 @@
8288 # save warnings/boilerplate of simple test code
8289 ac_outfile=conftest.$ac_objext
8290 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
8291 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8292 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8293 _lt_compiler_boilerplate=`cat conftest.err`
8296 ac_outfile=conftest.$ac_objext
8297 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
8298 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
8299 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8300 _lt_linker_boilerplate=`cat conftest.err`
8305 # Allow CC to be a program name with arguments.
8306 @@ -9987,18 +11092,18 @@
8307 # Set up default GNU C++ configuration
8310 -# Check whether --with-gnu-ld or --without-gnu-ld was given.
8311 +# Check whether --with-gnu-ld was given.
8312 if test "${with_gnu_ld+set}" = set; then
8313 - withval="$with_gnu_ld"
8314 - test "$withval" = no || with_gnu_ld=yes
8315 + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
8322 if test "$GCC" = yes; then
8323 # Check if gcc -print-prog-name=ld gives a path.
8324 - echo "$as_me:$LINENO: checking for ld used by $CC" >&5
8325 -echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
8326 + { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
8327 +echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
8330 # gcc leaves a trailing carriage return which upsets mingw
8331 @@ -10027,11 +11132,11 @@
8334 elif test "$with_gnu_ld" = yes; then
8335 - echo "$as_me:$LINENO: checking for GNU ld" >&5
8336 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
8337 + { echo "$as_me:$LINENO: checking for GNU ld" >&5
8338 +echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
8340 - echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8341 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
8342 + { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
8343 +echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
8345 if test "${lt_cv_path_LD+set}" = set; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 @@ -10064,17 +11169,17 @@
8350 if test -n "$LD"; then
8351 - echo "$as_me:$LINENO: result: $LD" >&5
8352 -echo "${ECHO_T}$LD" >&6
8353 + { echo "$as_me:$LINENO: result: $LD" >&5
8354 +echo "${ECHO_T}$LD" >&6; }
8356 - echo "$as_me:$LINENO: result: no" >&5
8357 -echo "${ECHO_T}no" >&6
8358 + { echo "$as_me:$LINENO: result: no" >&5
8359 +echo "${ECHO_T}no" >&6; }
8361 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
8362 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
8363 { (exit 1); exit 1; }; }
8364 -echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8365 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
8366 +{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
8367 +echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
8368 if test "${lt_cv_prog_gnu_ld+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 @@ -10088,8 +11193,8 @@
8375 -echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8376 -echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
8377 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
8378 +echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
8379 with_gnu_ld=$lt_cv_prog_gnu_ld
8382 @@ -10139,15 +11244,15 @@
8385 # PORTME: fill in a description of your system's C++ link characteristics
8386 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8387 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8388 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8389 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8393 # FIXME: insert proper C++ library support
8398 if test "$host_cpu" = ia64; then
8399 # On IA64, the linker does run time linking by default, so we don't
8400 # have to do anything special.
8401 @@ -10160,7 +11265,7 @@
8402 # Test if we are trying to use run time linking or normal
8403 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8404 # need to do runtime linking.
8405 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8406 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8407 for ld_flag in $LDFLAGS; do
8410 @@ -10196,7 +11301,7 @@
8411 strings "$collect2name" | grep resolve_lib_name >/dev/null
8413 # We have reworked collect2
8414 - hardcode_direct_CXX=yes
8417 # We have old collect2
8418 hardcode_direct_CXX=unsupported
8419 @@ -10252,39 +11357,44 @@
8422 rm -f conftest.$ac_objext conftest$ac_exeext
8423 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8424 - (eval $ac_link) 2>conftest.er1
8425 +if { (ac_try="$ac_link"
8426 +case "(($ac_try" in
8427 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8428 + *) ac_try_echo=$ac_try;;
8430 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8431 + (eval "$ac_link") 2>conftest.er1
8433 grep -v '^ *+' conftest.er1 >conftest.err
8435 cat conftest.err >&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 - (exit $ac_status); } &&
8438 - { ac_try='test -z "$ac_cxx_werror_flag"
8439 - || test ! -s conftest.err'
8440 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8441 - (eval $ac_try) 2>&5
8443 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8444 - (exit $ac_status); }; } &&
8445 - { ac_try='test -s conftest$ac_exeext'
8446 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8447 - (eval $ac_try) 2>&5
8449 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450 - (exit $ac_status); }; }; then
8451 + (exit $ac_status); } && {
8452 + test -z "$ac_cxx_werror_flag" ||
8453 + test ! -s conftest.err
8454 + } && test -s conftest$ac_exeext &&
8455 + $as_test_x conftest$ac_exeext; then
8457 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8459 +lt_aix_libpath_sed='
8460 + /Import File Strings/,/^$/ {
8466 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8467 # Check for a 64-bit object if we didn't find anything.
8468 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
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 echo "$as_me: failed program was:" >&5
8475 sed 's/^/| /' conftest.$ac_ext >&5
8479 -rm -f conftest.err conftest.$ac_objext \
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 @@ -10314,39 +11424,44 @@
8488 rm -f conftest.$ac_objext conftest$ac_exeext
8489 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8490 - (eval $ac_link) 2>conftest.er1
8491 +if { (ac_try="$ac_link"
8492 +case "(($ac_try" in
8493 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8494 + *) ac_try_echo=$ac_try;;
8496 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8497 + (eval "$ac_link") 2>conftest.er1
8499 grep -v '^ *+' conftest.er1 >conftest.err
8501 cat conftest.err >&5
8502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8503 - (exit $ac_status); } &&
8504 - { ac_try='test -z "$ac_cxx_werror_flag"
8505 - || test ! -s conftest.err'
8506 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8507 - (eval $ac_try) 2>&5
8509 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 - (exit $ac_status); }; } &&
8511 - { ac_try='test -s conftest$ac_exeext'
8512 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8513 - (eval $ac_try) 2>&5
8515 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516 - (exit $ac_status); }; }; then
8517 + (exit $ac_status); } && {
8518 + test -z "$ac_cxx_werror_flag" ||
8519 + test ! -s conftest.err
8520 + } && test -s conftest$ac_exeext &&
8521 + $as_test_x conftest$ac_exeext; then
8523 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8525 +lt_aix_libpath_sed='
8526 + /Import File Strings/,/^$/ {
8532 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8533 # Check for a 64-bit object if we didn't find anything.
8534 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8536 +if test -z "$aix_libpath"; then
8537 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8540 echo "$as_me: failed program was:" >&5
8541 sed 's/^/| /' conftest.$ac_ext >&5
8545 -rm -f conftest.err conftest.$ac_objext \
8547 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8548 conftest$ac_exeext conftest.$ac_ext
8549 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8551 @@ -10408,59 +11523,31 @@
8554 darwin* | rhapsody*)
8556 - rhapsody* | darwin1.[012])
8557 - allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
8559 - *) # Darwin 1.3 on
8560 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8561 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8563 - case ${MACOSX_DEPLOYMENT_TARGET} in
8565 - allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8568 - allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
8574 archive_cmds_need_lc_CXX=no
8575 hardcode_direct_CXX=no
8576 hardcode_automatic_CXX=yes
8577 hardcode_shlibpath_var_CXX=unsupported
8578 whole_archive_flag_spec_CXX=''
8579 link_all_deplibs_CXX=yes
8581 - if test "$GXX" = yes ; then
8582 - lt_int_apple_cc_single_mod=no
8583 + allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
8584 + if test "$GXX" = yes ; then
8585 output_verbose_link_cmd='echo'
8586 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
8587 - lt_int_apple_cc_single_mod=yes
8588 + archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8589 + module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8590 + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8591 + module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8592 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
8593 + archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
8594 + archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
8596 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8597 - archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8599 - 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'
8601 - module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8602 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8603 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
8604 - 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}'
8606 - 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}'
8608 - 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}'
8610 case $cc_basename in
8612 output_verbose_link_cmd='echo'
8613 - archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8614 + 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'
8615 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8616 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8617 - 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8618 + 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}'
8619 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}'
8622 @@ -10494,7 +11581,7 @@
8624 archive_cmds_need_lc_CXX=no
8626 - freebsd* | kfreebsd*-gnu | dragonfly*)
8627 + freebsd* | dragonfly*)
8628 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
8631 @@ -10543,9 +11630,7 @@
8632 hardcode_libdir_separator_CXX=:
8636 - hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
8638 + hppa*64*|ia64*) ;;
8640 export_dynamic_flag_spec_CXX='${wl}-E'
8642 @@ -10613,7 +11698,7 @@
8648 hardcode_direct_CXX=no
8649 hardcode_shlibpath_var_CXX=no
8650 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
8651 @@ -10653,7 +11738,7 @@
8652 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
8653 hardcode_libdir_separator_CXX=:
8656 + linux* | k*bsd*-gnu)
8657 case $cc_basename in
8659 # Kuck and Associates, Inc. (KAI) C++ Compiler
8660 @@ -10705,7 +11790,7 @@
8661 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
8662 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
8666 # Portland Group C++ compiler
8667 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
8668 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'
8669 @@ -10733,6 +11818,29 @@
8671 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'
8674 + case `$CC -V 2>&1 | sed 5q` in
8677 + no_undefined_flag_CXX=' -zdefs'
8678 + archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8679 + 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'
8680 + hardcode_libdir_flag_spec_CXX='-R$libdir'
8681 + 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'
8683 + # Not sure whether something based on
8684 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
8685 + # would be better.
8686 + output_verbose_link_cmd='echo'
8688 + # Archives containing C++ object files must be created using
8689 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
8690 + # necessary to make sure instantiated templates are included
8692 + old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
8699 @@ -10755,7 +11863,7 @@
8704 + netbsd* | netbsdelf*-gnu)
8705 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8706 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
8708 @@ -10771,16 +11879,20 @@
8712 - hardcode_direct_CXX=yes
8713 - hardcode_shlibpath_var_CXX=no
8714 - archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
8715 - hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
8716 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8717 - archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
8718 - export_dynamic_flag_spec_CXX='${wl}-E'
8719 - whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8720 + if test -f /usr/libexec/ld.so; then
8721 + hardcode_direct_CXX=yes
8722 + hardcode_shlibpath_var_CXX=no
8723 + archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
8724 + hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
8725 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8726 + archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
8727 + export_dynamic_flag_spec_CXX='${wl}-E'
8728 + whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8730 + output_verbose_link_cmd='echo'
8734 - output_verbose_link_cmd='echo'
8737 case $cc_basename in
8738 @@ -10942,15 +12054,10 @@
8740 solaris2.[0-5] | solaris2.[0-5].*) ;;
8742 - # The C++ compiler is used as linker so we must use $wl
8743 - # flag to pass the commands to the underlying system
8744 - # linker. We must also pass each convience library through
8745 - # to the system linker between allextract/defaultextract.
8746 - # The C++ compiler will combine linker options so we
8747 - # cannot just pass the convience library names through
8749 + # The compiler driver will combine and reorder linker options,
8750 + # but understands `-z linker_flag'.
8751 # Supported since Solaris 2.6 (maybe 2.5.1?)
8752 - whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
8753 + whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
8756 link_all_deplibs_CXX=yes
8757 @@ -10997,6 +12104,12 @@
8760 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
8762 + solaris2.[0-5] | solaris2.[0-5].*) ;;
8764 + whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8770 @@ -11077,8 +12190,8 @@
8774 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
8775 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
8776 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
8777 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
8778 test "$ld_shlibs_CXX" = no && can_build_shared=no
8781 @@ -11088,7 +12201,6 @@
8782 ## There is no encapsulation within the following macros, do not change
8783 ## the running order or otherwise move them around unless you know exactly
8784 ## what you are doing...
8786 cat > conftest.$ac_ext <<EOF
8789 @@ -11190,9 +12302,14 @@
8791 $rm -f confest.$objext
8793 +compiler_lib_search_dirs_CXX=
8794 +if test -n "$compiler_lib_search_path_CXX"; then
8795 + compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
8798 # PORTME: override above test on systems where it is broken
8802 # Interix 3.5 installs completely hosed .la files for C++, so rather than
8803 # hack all around it, let's just trust "g++" to DTRT.
8805 @@ -11200,19 +12317,51 @@
8810 + case `$CC -V 2>&1 | sed 5q` in
8814 + # The more standards-conforming stlport4 library is
8815 + # incompatible with the Cstd library. Avoid specifying
8816 + # it if it's in CXXFLAGS. Ignore libCrun as
8817 + # -library=stlport4 depends on it.
8818 + case " $CXX $CXXFLAGS " in
8819 + *" -library=stlport4 "*)
8820 + solaris_use_stlport4=yes
8823 + if test "$solaris_use_stlport4" != yes; then
8824 + postdeps_CXX='-library=Cstd -library=Crun'
8831 case $cc_basename in
8833 + # The more standards-conforming stlport4 library is
8834 + # incompatible with the Cstd library. Avoid specifying
8835 + # it if it's in CXXFLAGS. Ignore libCrun as
8836 + # -library=stlport4 depends on it.
8837 + case " $CXX $CXXFLAGS " in
8838 + *" -library=stlport4 "*)
8839 + solaris_use_stlport4=yes
8843 # Adding this requires a known-good setup of shared libraries for
8844 # Sun compiler versions before 5.6, else PIC objects from an old
8845 # archive will be linked into the output, leading to subtle bugs.
8846 - postdeps_CXX='-lCstd -lCrun'
8847 + if test "$solaris_use_stlport4" != yes; then
8848 + postdeps_CXX='-library=Cstd -library=Crun'
8856 case " $postdeps_CXX " in
8857 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
8859 @@ -11221,8 +12370,8 @@
8860 lt_prog_compiler_pic_CXX=
8861 lt_prog_compiler_static_CXX=
8863 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8864 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
8865 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8866 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
8868 # C++ specific cases for pic, static, wl, etc.
8869 if test "$GXX" = yes; then
8870 @@ -11243,12 +12392,14 @@
8872 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
8874 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8875 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8876 # PIC is the default for these OSes.
8878 - mingw* | os2* | pw32*)
8879 + mingw* | cygwin* | os2* | pw32*)
8880 # This hack is so that the source file can tell whether it is being
8881 # built for inclusion in a dll (and should export symbols for example).
8882 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
8883 + # (--disable-auto-import) libraries
8884 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
8886 darwin* | rhapsody*)
8887 @@ -11260,7 +12411,7 @@
8888 # DJGPP does not support shared libraries at all
8889 lt_prog_compiler_pic_CXX=
8893 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8894 # Instead, we relocate shared libraries at runtime.
8896 @@ -11286,7 +12437,7 @@
8902 # All AIX code is PIC.
8903 if test "$host_cpu" = ia64; then
8904 # AIX 5 now supports IA64 processor
8905 @@ -11326,7 +12477,7 @@
8909 - freebsd* | kfreebsd*-gnu | dragonfly*)
8910 + freebsd* | dragonfly*)
8911 # FreeBSD uses GNU C++
8913 hpux9* | hpux10* | hpux11*)
8914 @@ -11369,7 +12520,7 @@
8919 + linux* | k*bsd*-gnu)
8920 case $cc_basename in
8923 @@ -11382,7 +12533,7 @@
8924 lt_prog_compiler_pic_CXX='-KPIC'
8925 lt_prog_compiler_static_CXX='-static'
8929 # Portland Group C++ compiler.
8930 lt_prog_compiler_wl_CXX='-Wl,'
8931 lt_prog_compiler_pic_CXX='-fpic'
8932 @@ -11396,6 +12547,14 @@
8933 lt_prog_compiler_static_CXX='-non_shared'
8936 + case `$CC -V 2>&1 | sed 5q` in
8939 + lt_prog_compiler_pic_CXX='-KPIC'
8940 + lt_prog_compiler_static_CXX='-Bstatic'
8941 + lt_prog_compiler_wl_CXX='-Qoption ld '
8947 @@ -11412,7 +12571,7 @@
8952 + netbsd* | netbsdelf*-gnu)
8954 osf3* | osf4* | osf5*)
8955 case $cc_basename in
8956 @@ -11495,22 +12654,22 @@
8960 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
8961 -echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
8962 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
8963 +echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
8966 # Check to make sure the PIC flag actually works.
8968 if test -n "$lt_prog_compiler_pic_CXX"; then
8970 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
8971 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
8972 -if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
8973 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
8974 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
8975 +if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8978 - lt_prog_compiler_pic_works_CXX=no
8979 + lt_cv_prog_compiler_pic_works_CXX=no
8980 ac_outfile=conftest.$ac_objext
8981 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8982 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8983 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
8984 # Insert the option either (1) after the last *FLAGS variable, or
8985 # (2) before a word containing "conftest.", or (3) at the end.
8986 @@ -11521,27 +12680,27 @@
8987 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8988 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8989 -e 's:$: $lt_compiler_flag:'`
8990 - (eval echo "\"\$as_me:11524: $lt_compile\"" >&5)
8991 + (eval echo "\"\$as_me:12683: $lt_compile\"" >&5)
8992 (eval "$lt_compile" 2>conftest.err)
8994 cat conftest.err >&5
8995 - echo "$as_me:11528: \$? = $ac_status" >&5
8996 + echo "$as_me:12687: \$? = $ac_status" >&5
8997 if (exit $ac_status) && test -s "$ac_outfile"; then
8998 # The compiler can only warn and ignore the option if not recognized
8999 # So say no if there are warnings other than the usual output.
9000 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9001 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9002 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9003 - lt_prog_compiler_pic_works_CXX=yes
9004 + lt_cv_prog_compiler_pic_works_CXX=yes
9010 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
9011 -echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
9012 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
9013 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6; }
9015 -if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
9016 +if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
9017 case $lt_prog_compiler_pic_CXX in
9019 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
9020 @@ -11566,15 +12725,15 @@
9021 # Check to make sure the static flag actually works.
9023 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
9024 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9025 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9026 -if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
9027 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9028 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9029 +if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
9030 echo $ECHO_N "(cached) $ECHO_C" >&6
9032 - lt_prog_compiler_static_works_CXX=no
9033 + lt_cv_prog_compiler_static_works_CXX=no
9034 save_LDFLAGS="$LDFLAGS"
9035 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9036 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
9037 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
9038 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9039 # The linker can only warn and ignore the option if not recognized
9040 # So say no if there are warnings
9041 @@ -11584,28 +12743,28 @@
9042 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9043 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9044 if diff conftest.exp conftest.er2 >/dev/null; then
9045 - lt_prog_compiler_static_works_CXX=yes
9046 + lt_cv_prog_compiler_static_works_CXX=yes
9049 - lt_prog_compiler_static_works_CXX=yes
9050 + lt_cv_prog_compiler_static_works_CXX=yes
9055 LDFLAGS="$save_LDFLAGS"
9058 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
9059 -echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
9060 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
9061 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6; }
9063 -if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
9064 +if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
9067 lt_prog_compiler_static_CXX=
9071 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9072 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9073 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9074 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9075 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
9076 echo $ECHO_N "(cached) $ECHO_C" >&6
9078 @@ -11614,7 +12773,7 @@
9082 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9083 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9085 lt_compiler_flag="-o out/conftest2.$ac_objext"
9086 # Insert the option either (1) after the last *FLAGS variable, or
9087 @@ -11625,11 +12784,11 @@
9088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9090 -e 's:$: $lt_compiler_flag:'`
9091 - (eval echo "\"\$as_me:11628: $lt_compile\"" >&5)
9092 + (eval echo "\"\$as_me:12787: $lt_compile\"" >&5)
9093 (eval "$lt_compile" 2>out/conftest.err)
9095 cat out/conftest.err >&5
9096 - echo "$as_me:11632: \$? = $ac_status" >&5
9097 + echo "$as_me:12791: \$? = $ac_status" >&5
9098 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9100 # The compiler can only warn and ignore the option if not recognized
9101 @@ -11651,23 +12810,23 @@
9105 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
9106 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
9107 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
9108 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
9111 hard_links="nottested"
9112 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
9113 # do not overwrite the value of need_locks provided by the user
9114 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9115 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9116 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9117 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9120 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9122 ln conftest.a conftest.b 2>&5 || hard_links=no
9123 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9124 - echo "$as_me:$LINENO: result: $hard_links" >&5
9125 -echo "${ECHO_T}$hard_links" >&6
9126 + { echo "$as_me:$LINENO: result: $hard_links" >&5
9127 +echo "${ECHO_T}$hard_links" >&6; }
9128 if test "$hard_links" = no; then
9129 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9130 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9131 @@ -11677,12 +12836,12 @@
9135 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9136 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9137 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9138 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9140 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9144 # If we're using GNU nm, then we don't want the "-C" option.
9145 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9146 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
9147 @@ -11695,15 +12854,19 @@
9148 export_symbols_cmds_CXX="$ltdll_cmds"
9151 - 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'
9152 + 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'
9154 + linux* | k*bsd*-gnu)
9155 + link_all_deplibs_CXX=no
9158 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9161 + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9163 -echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
9164 -echo "${ECHO_T}$ld_shlibs_CXX" >&6
9165 +{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
9166 +echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
9167 test "$ld_shlibs_CXX" = no && can_build_shared=no
9170 @@ -11723,10 +12886,10 @@
9171 # Test whether the compiler implicitly links with -lc since on some
9172 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9173 # to ld, don't add -lc before -lgcc.
9174 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9175 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9176 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9177 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9179 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9180 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9183 (eval $ac_compile) 2>&5
9184 @@ -11761,16 +12924,16 @@
9185 cat conftest.err 1>&5
9188 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
9189 -echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
9190 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
9191 +echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
9198 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9199 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9200 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9201 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9203 libname_spec='lib$name'
9205 @@ -11784,20 +12947,7 @@
9207 dynamic_linker="$host_os ld.so"
9208 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9209 -if test "$GCC" = yes; then
9210 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9211 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
9212 - # if the path contains ";" then we assume it to be the separator
9213 - # otherwise default to the standard path separator (i.e. ":") - it is
9214 - # assumed that no part of a normal pathname contains ";" but that should
9215 - # okay in the real world where ";" in dirpaths is itself problematic.
9216 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9218 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9221 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9224 need_lib_prefix=unknown
9225 hardcode_into_libs=no
9227 @@ -11815,7 +12965,7 @@
9228 soname_spec='${libname}${release}${shared_ext}$major'
9236 @@ -11954,12 +13104,7 @@
9237 shlibpath_overrides_runpath=yes
9238 shlibpath_var=DYLD_LIBRARY_PATH
9239 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9240 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9241 - if test "$GCC" = yes; then
9242 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9244 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9247 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9250 @@ -11976,18 +13121,6 @@
9255 - version_type=linux
9256 - need_lib_prefix=no
9258 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9259 - soname_spec='${libname}${release}${shared_ext}$major'
9260 - shlibpath_var=LD_LIBRARY_PATH
9261 - shlibpath_overrides_runpath=no
9262 - hardcode_into_libs=yes
9263 - dynamic_linker='GNU ld.so'
9266 freebsd* | dragonfly*)
9267 # DragonFly does not have aout. When/if they implement a new
9268 # versioning mechanism, adjust this.
9269 @@ -12025,7 +13158,7 @@
9270 shlibpath_overrides_runpath=no
9271 hardcode_into_libs=yes
9273 - freebsd*) # from 4.6 on
9274 + *) # from 4.6 on, and DragonFly
9275 shlibpath_overrides_runpath=yes
9276 hardcode_into_libs=yes
9278 @@ -12088,7 +13221,7 @@
9279 postinstall_cmds='chmod 555 $lib'
9287 @@ -12143,7 +13276,7 @@
9290 # This must be Linux ELF.
9292 +linux* | k*bsd*-gnu)
9296 @@ -12159,7 +13292,7 @@
9298 # Append ld.so.conf contents to the search path
9299 if test -f /etc/ld.so.conf; then
9300 - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9301 + 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' ' '`
9302 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9305 @@ -12172,7 +13305,7 @@
9306 dynamic_linker='GNU/Linux ld.so'
9314 @@ -12181,7 +13314,7 @@
9315 shlibpath_var=LD_LIBRARY_PATH
9316 shlibpath_overrides_runpath=no
9317 hardcode_into_libs=yes
9318 - dynamic_linker='GNU ld.so'
9319 + dynamic_linker='NetBSD ld.elf_so'
9323 @@ -12265,6 +13398,10 @@
9324 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9334 @@ -12357,17 +13494,32 @@
9338 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9339 -echo "${ECHO_T}$dynamic_linker" >&6
9340 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9341 +echo "${ECHO_T}$dynamic_linker" >&6; }
9342 test "$dynamic_linker" = no && can_build_shared=no
9344 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9345 + echo $ECHO_N "(cached) $ECHO_C" >&6
9347 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
9350 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9351 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9352 + echo $ECHO_N "(cached) $ECHO_C" >&6
9354 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
9357 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9359 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9360 if test "$GCC" = yes; then
9361 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9364 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9365 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9366 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9367 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9368 hardcode_action_CXX=
9369 if test -n "$hardcode_libdir_flag_spec_CXX" || \
9370 test -n "$runpath_var_CXX" || \
9371 @@ -12391,8 +13543,8 @@
9373 hardcode_action_CXX=unsupported
9375 -echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
9376 -echo "${ECHO_T}$hardcode_action_CXX" >&6
9377 +{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
9378 +echo "${ECHO_T}$hardcode_action_CXX" >&6; }
9380 if test "$hardcode_action_CXX" = relink; then
9381 # Fast installation is not supported
9382 @@ -12444,6 +13596,7 @@
9385 compiler_lib_search_path_CXX \
9386 + compiler_lib_search_dirs_CXX \
9388 archive_expsym_cmds_CXX \
9389 postinstall_cmds_CXX \
9390 @@ -12459,6 +13612,7 @@
9392 module_expsym_cmds_CXX \
9393 lt_cv_prog_compiler_c_o_CXX \
9394 + fix_srcfile_path_CXX \
9395 exclude_expsyms_CXX \
9396 include_expsyms_CXX; do
9398 @@ -12691,6 +13845,10 @@
9400 postdeps=$lt_postdeps_CXX
9402 +# The directories searched by this compiler when creating a shared
9404 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
9406 # The library search path used internally by the compiler when linking
9408 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
9409 @@ -12779,7 +13937,7 @@
9410 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9412 # Fix the shell variable \$srcfile for the compiler.
9413 -fix_srcfile_path="$fix_srcfile_path_CXX"
9414 +fix_srcfile_path=$lt_fix_srcfile_path
9416 # Set to yes if exported symbols are required.
9417 always_export_symbols=$always_export_symbols_CXX
9418 @@ -12870,10 +14028,17 @@
9421 # Code to be used in simple compile tests
9422 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
9423 +lt_simple_compile_test_code="\
9429 # Code to be used in simple link tests
9430 -lt_simple_link_test_code=" program t\n end\n"
9431 +lt_simple_link_test_code="\
9436 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9438 @@ -12889,16 +14054,16 @@
9440 # save warnings/boilerplate of simple test code
9441 ac_outfile=conftest.$ac_objext
9442 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
9443 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9444 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9445 _lt_compiler_boilerplate=`cat conftest.err`
9448 ac_outfile=conftest.$ac_objext
9449 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
9450 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
9451 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9452 _lt_linker_boilerplate=`cat conftest.err`
9457 # Allow CC to be a program name with arguments.
9458 @@ -12917,13 +14082,13 @@
9459 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9462 -echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9463 -echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
9464 -echo "$as_me:$LINENO: result: $can_build_shared" >&5
9465 -echo "${ECHO_T}$can_build_shared" >&6
9466 +{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9467 +echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9468 +{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
9469 +echo "${ECHO_T}$can_build_shared" >&6; }
9471 -echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9472 -echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
9473 +{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9474 +echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9475 test "$can_build_shared" = "no" && enable_shared=no
9477 # On AIX, shared libraries and static libraries use the same namespace, and
9478 @@ -12936,21 +14101,21 @@
9479 postinstall_cmds='$RANLIB $lib'
9484 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9485 test "$enable_shared" = yes && enable_static=no
9489 -echo "$as_me:$LINENO: result: $enable_shared" >&5
9490 -echo "${ECHO_T}$enable_shared" >&6
9491 +{ echo "$as_me:$LINENO: result: $enable_shared" >&5
9492 +echo "${ECHO_T}$enable_shared" >&6; }
9494 -echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9495 -echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
9496 +{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9497 +echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9498 # Make sure either enable_shared or enable_static is yes.
9499 test "$enable_shared" = yes || enable_static=yes
9500 -echo "$as_me:$LINENO: result: $enable_static" >&5
9501 -echo "${ECHO_T}$enable_static" >&6
9502 +{ echo "$as_me:$LINENO: result: $enable_static" >&5
9503 +echo "${ECHO_T}$enable_static" >&6; }
9507 @@ -12959,8 +14124,8 @@
9508 lt_prog_compiler_pic_F77=
9509 lt_prog_compiler_static_F77=
9511 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9512 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
9513 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
9514 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
9516 if test "$GCC" = yes; then
9517 lt_prog_compiler_wl_F77='-Wl,'
9518 @@ -12982,13 +14147,15 @@
9519 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
9522 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9523 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9524 # PIC is the default for these OSes.
9527 - mingw* | pw32* | os2*)
9528 + mingw* | cygwin* | pw32* | os2*)
9529 # This hack is so that the source file can tell whether it is being
9530 # built for inclusion in a dll (and should export symbols for example).
9531 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
9532 + # (--disable-auto-import) libraries
9533 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
9536 @@ -12998,7 +14165,7 @@
9537 lt_prog_compiler_pic_F77='-fno-common'
9542 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9543 # Instead, we relocate shared libraries at runtime.
9545 @@ -13056,7 +14223,7 @@
9549 - mingw* | pw32* | os2*)
9550 + mingw* | cygwin* | pw32* | os2*)
9551 # This hack is so that the source file can tell whether it is being
9552 # built for inclusion in a dll (and should export symbols for example).
9553 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
9554 @@ -13089,7 +14256,7 @@
9555 lt_prog_compiler_static_F77='-Bstatic'
9559 + linux* | k*bsd*-gnu)
9560 case $cc_basename in
9562 lt_prog_compiler_wl_F77='-Wl,'
9563 @@ -13108,6 +14275,22 @@
9564 # All Alpha code is PIC.
9565 lt_prog_compiler_static_F77='-non_shared'
9568 + case `$CC -V 2>&1 | sed 5q` in
9571 + lt_prog_compiler_pic_F77='-KPIC'
9572 + lt_prog_compiler_static_F77='-Bstatic'
9573 + lt_prog_compiler_wl_F77='-Wl,'
9576 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
9577 + lt_prog_compiler_pic_F77='-KPIC'
9578 + lt_prog_compiler_static_F77='-Bstatic'
9579 + lt_prog_compiler_wl_F77=''
9586 @@ -13117,6 +14300,10 @@
9587 lt_prog_compiler_static_F77='-non_shared'
9591 + lt_prog_compiler_static_F77='-non_shared'
9595 lt_prog_compiler_pic_F77='-KPIC'
9596 lt_prog_compiler_static_F77='-Bstatic'
9597 @@ -13169,22 +14356,22 @@
9601 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
9602 -echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
9603 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
9604 +echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
9607 # Check to make sure the PIC flag actually works.
9609 if test -n "$lt_prog_compiler_pic_F77"; then
9611 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
9612 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
9613 -if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
9614 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
9615 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
9616 +if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9619 - lt_prog_compiler_pic_works_F77=no
9620 + lt_cv_prog_compiler_pic_works_F77=no
9621 ac_outfile=conftest.$ac_objext
9622 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9623 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9624 lt_compiler_flag="$lt_prog_compiler_pic_F77"
9625 # Insert the option either (1) after the last *FLAGS variable, or
9626 # (2) before a word containing "conftest.", or (3) at the end.
9627 @@ -13195,27 +14382,27 @@
9628 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9629 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9630 -e 's:$: $lt_compiler_flag:'`
9631 - (eval echo "\"\$as_me:13198: $lt_compile\"" >&5)
9632 + (eval echo "\"\$as_me:14385: $lt_compile\"" >&5)
9633 (eval "$lt_compile" 2>conftest.err)
9635 cat conftest.err >&5
9636 - echo "$as_me:13202: \$? = $ac_status" >&5
9637 + echo "$as_me:14389: \$? = $ac_status" >&5
9638 if (exit $ac_status) && test -s "$ac_outfile"; then
9639 # The compiler can only warn and ignore the option if not recognized
9640 # So say no if there are warnings other than the usual output.
9641 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9642 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9643 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9644 - lt_prog_compiler_pic_works_F77=yes
9645 + lt_cv_prog_compiler_pic_works_F77=yes
9651 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
9652 -echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
9653 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
9654 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_F77" >&6; }
9656 -if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
9657 +if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
9658 case $lt_prog_compiler_pic_F77 in
9660 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
9661 @@ -13240,15 +14427,15 @@
9662 # Check to make sure the static flag actually works.
9664 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
9665 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9666 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
9667 -if test "${lt_prog_compiler_static_works_F77+set}" = set; then
9668 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9669 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
9670 +if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
9671 echo $ECHO_N "(cached) $ECHO_C" >&6
9673 - lt_prog_compiler_static_works_F77=no
9674 + lt_cv_prog_compiler_static_works_F77=no
9675 save_LDFLAGS="$LDFLAGS"
9676 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9677 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
9678 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
9679 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9680 # The linker can only warn and ignore the option if not recognized
9681 # So say no if there are warnings
9682 @@ -13258,28 +14445,28 @@
9683 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9685 if diff conftest.exp conftest.er2 >/dev/null; then
9686 - lt_prog_compiler_static_works_F77=yes
9687 + lt_cv_prog_compiler_static_works_F77=yes
9690 - lt_prog_compiler_static_works_F77=yes
9691 + lt_cv_prog_compiler_static_works_F77=yes
9696 LDFLAGS="$save_LDFLAGS"
9699 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
9700 -echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6
9701 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
9702 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works_F77" >&6; }
9704 -if test x"$lt_prog_compiler_static_works_F77" = xyes; then
9705 +if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
9708 lt_prog_compiler_static_F77=
9712 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9713 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
9714 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9715 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9716 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
9717 echo $ECHO_N "(cached) $ECHO_C" >&6
9719 @@ -13288,7 +14475,7 @@
9723 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
9724 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9726 lt_compiler_flag="-o out/conftest2.$ac_objext"
9727 # Insert the option either (1) after the last *FLAGS variable, or
9728 @@ -13299,11 +14486,11 @@
9729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9731 -e 's:$: $lt_compiler_flag:'`
9732 - (eval echo "\"\$as_me:13302: $lt_compile\"" >&5)
9733 + (eval echo "\"\$as_me:14489: $lt_compile\"" >&5)
9734 (eval "$lt_compile" 2>out/conftest.err)
9736 cat out/conftest.err >&5
9737 - echo "$as_me:13306: \$? = $ac_status" >&5
9738 + echo "$as_me:14493: \$? = $ac_status" >&5
9739 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9741 # The compiler can only warn and ignore the option if not recognized
9742 @@ -13325,23 +14512,23 @@
9746 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
9747 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
9748 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
9749 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
9752 hard_links="nottested"
9753 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
9754 # do not overwrite the value of need_locks provided by the user
9755 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9756 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
9757 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9758 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
9761 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9763 ln conftest.a conftest.b 2>&5 || hard_links=no
9764 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9765 - echo "$as_me:$LINENO: result: $hard_links" >&5
9766 -echo "${ECHO_T}$hard_links" >&6
9767 + { echo "$as_me:$LINENO: result: $hard_links" >&5
9768 +echo "${ECHO_T}$hard_links" >&6; }
9769 if test "$hard_links" = no; then
9770 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9771 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9772 @@ -13351,8 +14538,8 @@
9776 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9777 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9778 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9779 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
9782 allow_undefined_flag_F77=
9783 @@ -13383,12 +14570,13 @@
9784 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9785 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9786 # as well as any symbol that contains `d'.
9787 - exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
9788 + exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9789 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9790 # platforms (ab)use it in PIC code, but their linkers get confused if
9791 # the symbol is explicitly referenced. Since portable code cannot
9792 # rely on this symbol name, it's probably fine to never include it in
9793 # preloaded symbol tables.
9794 + # Exclude shared library initialization/finalization symbols.
9795 extract_expsyms_cmds=
9796 # Just being paranoid about ensuring that cc_basename is set.
9797 for cc_temp in $compiler""; do
9798 @@ -13447,7 +14635,7 @@
9800 # See if GNU ld supports shared libraries.
9802 - aix3* | aix4* | aix5*)
9804 # On AIX/PPC, the GNU linker is very broken
9805 if test "$host_cpu" != ia64; then
9807 @@ -13495,7 +14683,7 @@
9808 allow_undefined_flag_F77=unsupported
9809 always_export_symbols_F77=no
9810 enable_shared_with_static_runtimes_F77=yes
9811 - export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
9812 + export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9814 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9815 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9816 @@ -13513,7 +14701,7 @@
9822 hardcode_direct_F77=no
9823 hardcode_shlibpath_var_F77=no
9824 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
9825 @@ -13528,7 +14716,7 @@
9826 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'
9830 + gnu* | linux* | k*bsd*-gnu)
9831 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
9833 case $cc_basename,$host_cpu in
9834 @@ -13546,20 +14734,30 @@
9835 ifc* | ifort*) # Intel Fortran compiler
9836 tmp_addflag=' -nofor_main' ;;
9838 - archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9839 + case `$CC -V 2>&1 | sed 5q` in
9840 + *Sun\ C*) # Sun C 5.9
9841 + 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'
9842 + tmp_sharedflag='-G' ;;
9843 + *Sun\ F*) # Sun Fortran 8.3
9844 + tmp_sharedflag='-G' ;;
9846 + tmp_sharedflag='-shared' ;;
9848 + archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9850 if test $supports_anon_versioning = yes; then
9851 archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
9852 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9853 $echo "local: *; };" >> $output_objdir/$libname.ver~
9854 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9855 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9857 + link_all_deplibs_F77=no
9864 + netbsd* | netbsdelf*-gnu)
9865 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9866 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9868 @@ -13657,7 +14855,7 @@
9874 if test "$host_cpu" = ia64; then
9875 # On IA64, the linker does run time linking by default, so we don't
9876 # have to do anything special.
9877 @@ -13677,7 +14875,7 @@
9878 # Test if we are trying to use run time linking or normal
9879 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9880 # need to do runtime linking.
9881 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9882 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9883 for ld_flag in $LDFLAGS; do
9884 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9885 aix_use_runtimelinking=yes
9886 @@ -13711,7 +14909,7 @@
9887 strings "$collect2name" | grep resolve_lib_name >/dev/null
9889 # We have reworked collect2
9890 - hardcode_direct_F77=yes
9893 # We have old collect2
9894 hardcode_direct_F77=unsupported
9895 @@ -13757,39 +14955,44 @@
9898 rm -f conftest.$ac_objext conftest$ac_exeext
9899 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9900 - (eval $ac_link) 2>conftest.er1
9901 +if { (ac_try="$ac_link"
9902 +case "(($ac_try" in
9903 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9904 + *) ac_try_echo=$ac_try;;
9906 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9907 + (eval "$ac_link") 2>conftest.er1
9909 grep -v '^ *+' conftest.er1 >conftest.err
9911 cat conftest.err >&5
9912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9913 - (exit $ac_status); } &&
9914 - { ac_try='test -z "$ac_f77_werror_flag"
9915 - || test ! -s conftest.err'
9916 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9917 - (eval $ac_try) 2>&5
9919 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9920 - (exit $ac_status); }; } &&
9921 - { ac_try='test -s conftest$ac_exeext'
9922 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9923 - (eval $ac_try) 2>&5
9925 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 - (exit $ac_status); }; }; then
9927 + (exit $ac_status); } && {
9928 + test -z "$ac_f77_werror_flag" ||
9929 + test ! -s conftest.err
9930 + } && test -s conftest$ac_exeext &&
9931 + $as_test_x conftest$ac_exeext; then
9933 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9935 +lt_aix_libpath_sed='
9936 + /Import File Strings/,/^$/ {
9942 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9943 # Check for a 64-bit object if we didn't find anything.
9944 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9946 +if test -z "$aix_libpath"; then
9947 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9950 echo "$as_me: failed program was:" >&5
9951 sed 's/^/| /' conftest.$ac_ext >&5
9955 -rm -f conftest.err conftest.$ac_objext \
9957 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9958 conftest$ac_exeext conftest.$ac_ext
9959 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9961 @@ -13808,39 +15011,44 @@
9964 rm -f conftest.$ac_objext conftest$ac_exeext
9965 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9966 - (eval $ac_link) 2>conftest.er1
9967 +if { (ac_try="$ac_link"
9968 +case "(($ac_try" in
9969 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9970 + *) ac_try_echo=$ac_try;;
9972 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9973 + (eval "$ac_link") 2>conftest.er1
9975 grep -v '^ *+' conftest.er1 >conftest.err
9977 cat conftest.err >&5
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 - (exit $ac_status); } &&
9980 - { ac_try='test -z "$ac_f77_werror_flag"
9981 - || test ! -s conftest.err'
9982 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9983 - (eval $ac_try) 2>&5
9985 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 - (exit $ac_status); }; } &&
9987 - { ac_try='test -s conftest$ac_exeext'
9988 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9989 - (eval $ac_try) 2>&5
9991 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
9992 - (exit $ac_status); }; }; then
9993 + (exit $ac_status); } && {
9994 + test -z "$ac_f77_werror_flag" ||
9995 + test ! -s conftest.err
9996 + } && test -s conftest$ac_exeext &&
9997 + $as_test_x conftest$ac_exeext; then
9999 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10001 +lt_aix_libpath_sed='
10002 + /Import File Strings/,/^$/ {
10004 + s/^0 *\(.*\)$/\1/
10008 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10009 # Check for a 64-bit object if we didn't find anything.
10010 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10012 +if test -z "$aix_libpath"; then
10013 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10016 echo "$as_me: failed program was:" >&5
10017 sed 's/^/| /' conftest.$ac_ext >&5
10021 -rm -f conftest.err conftest.$ac_objext \
10023 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10024 conftest$ac_exeext conftest.$ac_ext
10025 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10027 @@ -13886,7 +15094,7 @@
10028 # The linker will automatically build a .lib file if we build a DLL.
10029 old_archive_From_new_cmds_F77='true'
10030 # FIXME: Should let the user specify the lib program.
10031 - old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
10032 + old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
10033 fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
10034 enable_shared_with_static_runtimes_F77=yes
10036 @@ -13919,19 +15127,18 @@
10037 link_all_deplibs_F77=yes
10038 if test "$GCC" = yes ; then
10039 output_verbose_link_cmd='echo'
10040 - archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
10041 - module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10042 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10043 - 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}'
10044 - 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}'
10045 + archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10046 + module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10047 + archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10048 + module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10050 case $cc_basename in
10052 output_verbose_link_cmd='echo'
10053 - archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
10054 + archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
10055 module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
10056 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
10057 - 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
10058 + 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}'
10059 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}'
10062 @@ -13971,7 +15178,7 @@
10065 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10066 - freebsd* | kfreebsd*-gnu | dragonfly*)
10067 + freebsd* | dragonfly*)
10068 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10069 hardcode_libdir_flag_spec_F77='-R$libdir'
10070 hardcode_direct_F77=yes
10071 @@ -14073,7 +15280,7 @@
10072 link_all_deplibs_F77=yes
10076 + netbsd* | netbsdelf*-gnu)
10077 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10078 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10080 @@ -14093,24 +15300,28 @@
10084 - hardcode_direct_F77=yes
10085 - hardcode_shlibpath_var_F77=no
10086 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10087 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10088 - archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10089 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
10090 - export_dynamic_flag_spec_F77='${wl}-E'
10091 + if test -f /usr/libexec/ld.so; then
10092 + hardcode_direct_F77=yes
10093 + hardcode_shlibpath_var_F77=no
10094 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10095 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10096 + archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10097 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
10098 + export_dynamic_flag_spec_F77='${wl}-E'
10101 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10102 + archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10103 + hardcode_libdir_flag_spec_F77='-R$libdir'
10106 + archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10107 + hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
10113 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10114 - archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10115 - hardcode_libdir_flag_spec_F77='-R$libdir'
10118 - archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10119 - hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
10126 @@ -14169,17 +15380,16 @@
10128 solaris2.[0-5] | solaris2.[0-5].*) ;;
10130 - # The compiler driver will combine linker options so we
10131 - # cannot just pass the convience library names through
10132 - # without $wl, iff we do not link with $LD.
10133 - # Luckily, gcc supports the same syntax we need for Sun Studio.
10134 + # The compiler driver will combine and reorder linker options,
10135 + # but understands `-z linker_flag'. GCC discards it without `$wl',
10136 + # but is careful enough not to reorder.
10137 # Supported since Solaris 2.6 (maybe 2.5.1?)
10140 - whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
10142 - whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
10144 + if test "$GCC" = yes; then
10145 + whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10147 + whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
10151 link_all_deplibs_F77=yes
10153 @@ -14236,7 +15446,7 @@
10157 - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
10158 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10159 no_undefined_flag_F77='${wl}-z,text'
10160 archive_cmds_need_lc_F77=no
10161 hardcode_shlibpath_var_F77=no
10162 @@ -14289,8 +15499,8 @@
10166 -echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
10167 -echo "${ECHO_T}$ld_shlibs_F77" >&6
10168 +{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
10169 +echo "${ECHO_T}$ld_shlibs_F77" >&6; }
10170 test "$ld_shlibs_F77" = no && can_build_shared=no
10173 @@ -14310,10 +15520,10 @@
10174 # Test whether the compiler implicitly links with -lc since on some
10175 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10176 # to ld, don't add -lc before -lgcc.
10177 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10178 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10179 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10180 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
10182 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10183 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10186 (eval $ac_compile) 2>&5
10187 @@ -14348,16 +15558,16 @@
10188 cat conftest.err 1>&5
10191 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
10192 -echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
10193 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
10194 +echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
10201 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10202 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
10203 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10204 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
10205 library_names_spec=
10206 libname_spec='lib$name'
10208 @@ -14371,20 +15581,7 @@
10210 dynamic_linker="$host_os ld.so"
10211 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10212 -if test "$GCC" = yes; then
10213 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10214 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
10215 - # if the path contains ";" then we assume it to be the separator
10216 - # otherwise default to the standard path separator (i.e. ":") - it is
10217 - # assumed that no part of a normal pathname contains ";" but that should
10218 - # okay in the real world where ";" in dirpaths is itself problematic.
10219 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10221 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10224 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10227 need_lib_prefix=unknown
10228 hardcode_into_libs=no
10230 @@ -14402,7 +15599,7 @@
10231 soname_spec='${libname}${release}${shared_ext}$major'
10239 @@ -14541,12 +15738,7 @@
10240 shlibpath_overrides_runpath=yes
10241 shlibpath_var=DYLD_LIBRARY_PATH
10242 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10243 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
10244 - if test "$GCC" = yes; then
10245 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
10247 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
10250 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10253 @@ -14563,18 +15755,6 @@
10258 - version_type=linux
10259 - need_lib_prefix=no
10261 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10262 - soname_spec='${libname}${release}${shared_ext}$major'
10263 - shlibpath_var=LD_LIBRARY_PATH
10264 - shlibpath_overrides_runpath=no
10265 - hardcode_into_libs=yes
10266 - dynamic_linker='GNU ld.so'
10269 freebsd* | dragonfly*)
10270 # DragonFly does not have aout. When/if they implement a new
10271 # versioning mechanism, adjust this.
10272 @@ -14612,7 +15792,7 @@
10273 shlibpath_overrides_runpath=no
10274 hardcode_into_libs=yes
10276 - freebsd*) # from 4.6 on
10277 + *) # from 4.6 on, and DragonFly
10278 shlibpath_overrides_runpath=yes
10279 hardcode_into_libs=yes
10281 @@ -14675,7 +15855,7 @@
10282 postinstall_cmds='chmod 555 $lib'
10290 @@ -14730,7 +15910,7 @@
10293 # This must be Linux ELF.
10295 +linux* | k*bsd*-gnu)
10299 @@ -14746,7 +15926,7 @@
10301 # Append ld.so.conf contents to the search path
10302 if test -f /etc/ld.so.conf; then
10303 - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10304 + 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' ' '`
10305 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10308 @@ -14759,7 +15939,7 @@
10309 dynamic_linker='GNU/Linux ld.so'
10317 @@ -14768,7 +15948,7 @@
10318 shlibpath_var=LD_LIBRARY_PATH
10319 shlibpath_overrides_runpath=no
10320 hardcode_into_libs=yes
10321 - dynamic_linker='GNU ld.so'
10322 + dynamic_linker='NetBSD ld.elf_so'
10326 @@ -14852,6 +16032,10 @@
10327 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10331 + dynamic_linker=no
10337 @@ -14944,17 +16128,32 @@
10341 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10342 -echo "${ECHO_T}$dynamic_linker" >&6
10343 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10344 +echo "${ECHO_T}$dynamic_linker" >&6; }
10345 test "$dynamic_linker" = no && can_build_shared=no
10347 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10348 + echo $ECHO_N "(cached) $ECHO_C" >&6
10350 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
10353 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10354 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10355 + echo $ECHO_N "(cached) $ECHO_C" >&6
10357 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
10360 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10362 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10363 if test "$GCC" = yes; then
10364 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10367 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10368 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10369 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10370 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10371 hardcode_action_F77=
10372 if test -n "$hardcode_libdir_flag_spec_F77" || \
10373 test -n "$runpath_var_F77" || \
10374 @@ -14978,8 +16177,8 @@
10376 hardcode_action_F77=unsupported
10378 -echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
10379 -echo "${ECHO_T}$hardcode_action_F77" >&6
10380 +{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
10381 +echo "${ECHO_T}$hardcode_action_F77" >&6; }
10383 if test "$hardcode_action_F77" = relink; then
10384 # Fast installation is not supported
10385 @@ -15031,6 +16230,7 @@
10388 compiler_lib_search_path_F77 \
10389 + compiler_lib_search_dirs_F77 \
10391 archive_expsym_cmds_F77 \
10392 postinstall_cmds_F77 \
10393 @@ -15046,6 +16246,7 @@
10395 module_expsym_cmds_F77 \
10396 lt_cv_prog_compiler_c_o_F77 \
10397 + fix_srcfile_path_F77 \
10398 exclude_expsyms_F77 \
10399 include_expsyms_F77; do
10401 @@ -15278,6 +16479,10 @@
10403 postdeps=$lt_postdeps_F77
10405 +# The directories searched by this compiler when creating a shared
10407 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
10409 # The library search path used internally by the compiler when linking
10410 # a shared library.
10411 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
10412 @@ -15366,7 +16571,7 @@
10413 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10415 # Fix the shell variable \$srcfile for the compiler.
10416 -fix_srcfile_path="$fix_srcfile_path_F77"
10417 +fix_srcfile_path=$lt_fix_srcfile_path
10419 # Set to yes if exported symbols are required.
10420 always_export_symbols=$always_export_symbols_F77
10421 @@ -15416,7 +16621,6 @@
10422 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
10426 # Source file extension for Java test sources.
10429 @@ -15425,10 +16629,10 @@
10432 # Code to be used in simple compile tests
10433 -lt_simple_compile_test_code="class foo {}\n"
10434 +lt_simple_compile_test_code="class foo {}"
10436 # Code to be used in simple link tests
10437 -lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
10438 +lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
10440 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10442 @@ -15444,16 +16648,16 @@
10444 # save warnings/boilerplate of simple test code
10445 ac_outfile=conftest.$ac_objext
10446 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10447 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10448 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10449 _lt_compiler_boilerplate=`cat conftest.err`
10452 ac_outfile=conftest.$ac_objext
10453 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
10454 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
10455 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10456 _lt_linker_boilerplate=`cat conftest.err`
10461 # Allow CC to be a program name with arguments.
10462 @@ -15488,14 +16692,14 @@
10463 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
10466 -echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10467 -echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
10468 +{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10469 +echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
10470 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 lt_cv_prog_compiler_rtti_exceptions=no
10474 ac_outfile=conftest.$ac_objext
10475 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10476 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10477 lt_compiler_flag="-fno-rtti -fno-exceptions"
10478 # Insert the option either (1) after the last *FLAGS variable, or
10479 # (2) before a word containing "conftest.", or (3) at the end.
10480 @@ -15506,11 +16710,11 @@
10481 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10482 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10483 -e 's:$: $lt_compiler_flag:'`
10484 - (eval echo "\"\$as_me:15509: $lt_compile\"" >&5)
10485 + (eval echo "\"\$as_me:16713: $lt_compile\"" >&5)
10486 (eval "$lt_compile" 2>conftest.err)
10488 cat conftest.err >&5
10489 - echo "$as_me:15513: \$? = $ac_status" >&5
10490 + echo "$as_me:16717: \$? = $ac_status" >&5
10491 if (exit $ac_status) && test -s "$ac_outfile"; then
10492 # The compiler can only warn and ignore the option if not recognized
10493 # So say no if there are warnings other than the usual output.
10494 @@ -15523,8 +16727,8 @@
10498 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10499 -echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
10500 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10501 +echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10503 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10504 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
10505 @@ -15538,8 +16742,8 @@
10506 lt_prog_compiler_pic_GCJ=
10507 lt_prog_compiler_static_GCJ=
10509 -echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10510 -echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10511 +{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10512 +echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
10514 if test "$GCC" = yes; then
10515 lt_prog_compiler_wl_GCJ='-Wl,'
10516 @@ -15561,14 +16765,16 @@
10517 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
10520 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10521 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10522 # PIC is the default for these OSes.
10525 - mingw* | pw32* | os2*)
10526 + mingw* | cygwin* | pw32* | os2*)
10527 # This hack is so that the source file can tell whether it is being
10528 # built for inclusion in a dll (and should export symbols for example).
10529 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
10530 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
10531 + # (--disable-auto-import) libraries
10535 darwin* | rhapsody*)
10536 @@ -15577,7 +16783,7 @@
10537 lt_prog_compiler_pic_GCJ='-fno-common'
10542 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10543 # Instead, we relocate shared libraries at runtime.
10545 @@ -15635,10 +16841,10 @@
10549 - mingw* | pw32* | os2*)
10550 + mingw* | cygwin* | pw32* | os2*)
10551 # This hack is so that the source file can tell whether it is being
10552 # built for inclusion in a dll (and should export symbols for example).
10553 - lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
10557 hpux9* | hpux10* | hpux11*)
10558 @@ -15668,7 +16874,7 @@
10559 lt_prog_compiler_static_GCJ='-Bstatic'
10563 + linux* | k*bsd*-gnu)
10564 case $cc_basename in
10566 lt_prog_compiler_wl_GCJ='-Wl,'
10567 @@ -15687,6 +16893,22 @@
10568 # All Alpha code is PIC.
10569 lt_prog_compiler_static_GCJ='-non_shared'
10572 + case `$CC -V 2>&1 | sed 5q` in
10575 + lt_prog_compiler_pic_GCJ='-KPIC'
10576 + lt_prog_compiler_static_GCJ='-Bstatic'
10577 + lt_prog_compiler_wl_GCJ='-Wl,'
10580 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
10581 + lt_prog_compiler_pic_GCJ='-KPIC'
10582 + lt_prog_compiler_static_GCJ='-Bstatic'
10583 + lt_prog_compiler_wl_GCJ=''
10590 @@ -15696,6 +16918,10 @@
10591 lt_prog_compiler_static_GCJ='-non_shared'
10595 + lt_prog_compiler_static_GCJ='-non_shared'
10599 lt_prog_compiler_pic_GCJ='-KPIC'
10600 lt_prog_compiler_static_GCJ='-Bstatic'
10601 @@ -15748,22 +16974,22 @@
10605 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
10606 -echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
10607 +{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
10608 +echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
10611 # Check to make sure the PIC flag actually works.
10613 if test -n "$lt_prog_compiler_pic_GCJ"; then
10615 -echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
10616 -echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
10617 -if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
10618 +{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
10619 +echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
10620 +if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
10621 echo $ECHO_N "(cached) $ECHO_C" >&6
10623 - lt_prog_compiler_pic_works_GCJ=no
10624 + lt_cv_prog_compiler_pic_works_GCJ=no
10625 ac_outfile=conftest.$ac_objext
10626 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10627 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10628 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
10629 # Insert the option either (1) after the last *FLAGS variable, or
10630 # (2) before a word containing "conftest.", or (3) at the end.
10631 @@ -15774,27 +17000,27 @@
10632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10634 -e 's:$: $lt_compiler_flag:'`
10635 - (eval echo "\"\$as_me:15777: $lt_compile\"" >&5)
10636 + (eval echo "\"\$as_me:17003: $lt_compile\"" >&5)
10637 (eval "$lt_compile" 2>conftest.err)
10639 cat conftest.err >&5
10640 - echo "$as_me:15781: \$? = $ac_status" >&5
10641 + echo "$as_me:17007: \$? = $ac_status" >&5
10642 if (exit $ac_status) && test -s "$ac_outfile"; then
10643 # The compiler can only warn and ignore the option if not recognized
10644 # So say no if there are warnings other than the usual output.
10645 $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
10646 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10647 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10648 - lt_prog_compiler_pic_works_GCJ=yes
10649 + lt_cv_prog_compiler_pic_works_GCJ=yes
10655 -echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
10656 -echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
10657 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
10658 +echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
10660 -if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
10661 +if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
10662 case $lt_prog_compiler_pic_GCJ in
10664 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
10665 @@ -15819,15 +17045,15 @@
10666 # Check to make sure the static flag actually works.
10668 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
10669 -echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10670 -echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
10671 -if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
10672 +{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10673 +echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
10674 +if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
10675 echo $ECHO_N "(cached) $ECHO_C" >&6
10677 - lt_prog_compiler_static_works_GCJ=no
10678 + lt_cv_prog_compiler_static_works_GCJ=no
10679 save_LDFLAGS="$LDFLAGS"
10680 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10681 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
10682 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
10683 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10684 # The linker can only warn and ignore the option if not recognized
10685 # So say no if there are warnings
10686 @@ -15837,28 +17063,28 @@
10687 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
10688 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10689 if diff conftest.exp conftest.er2 >/dev/null; then
10690 - lt_prog_compiler_static_works_GCJ=yes
10691 + lt_cv_prog_compiler_static_works_GCJ=yes
10694 - lt_prog_compiler_static_works_GCJ=yes
10695 + lt_cv_prog_compiler_static_works_GCJ=yes
10700 LDFLAGS="$save_LDFLAGS"
10703 -echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
10704 -echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6
10705 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
10706 +echo "${ECHO_T}$lt_cv_prog_compiler_static_works_GCJ" >&6; }
10708 -if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
10709 +if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
10712 lt_prog_compiler_static_GCJ=
10716 -echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10717 -echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10718 +{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10719 +echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
10720 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
10721 echo $ECHO_N "(cached) $ECHO_C" >&6
10723 @@ -15867,7 +17093,7 @@
10727 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10728 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10730 lt_compiler_flag="-o out/conftest2.$ac_objext"
10731 # Insert the option either (1) after the last *FLAGS variable, or
10732 @@ -15878,11 +17104,11 @@
10733 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10734 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10735 -e 's:$: $lt_compiler_flag:'`
10736 - (eval echo "\"\$as_me:15881: $lt_compile\"" >&5)
10737 + (eval echo "\"\$as_me:17107: $lt_compile\"" >&5)
10738 (eval "$lt_compile" 2>out/conftest.err)
10740 cat out/conftest.err >&5
10741 - echo "$as_me:15885: \$? = $ac_status" >&5
10742 + echo "$as_me:17111: \$? = $ac_status" >&5
10743 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10745 # The compiler can only warn and ignore the option if not recognized
10746 @@ -15904,23 +17130,23 @@
10750 -echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
10751 -echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
10752 +{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
10753 +echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
10756 hard_links="nottested"
10757 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
10758 # do not overwrite the value of need_locks provided by the user
10759 - echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10760 -echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10761 + { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10762 +echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
10765 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10767 ln conftest.a conftest.b 2>&5 || hard_links=no
10768 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10769 - echo "$as_me:$LINENO: result: $hard_links" >&5
10770 -echo "${ECHO_T}$hard_links" >&6
10771 + { echo "$as_me:$LINENO: result: $hard_links" >&5
10772 +echo "${ECHO_T}$hard_links" >&6; }
10773 if test "$hard_links" = no; then
10774 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10775 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10776 @@ -15930,8 +17156,8 @@
10780 -echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10781 -echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10782 +{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10783 +echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
10786 allow_undefined_flag_GCJ=
10787 @@ -15962,12 +17188,13 @@
10788 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10789 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10790 # as well as any symbol that contains `d'.
10791 - exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
10792 + exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10793 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10794 # platforms (ab)use it in PIC code, but their linkers get confused if
10795 # the symbol is explicitly referenced. Since portable code cannot
10796 # rely on this symbol name, it's probably fine to never include it in
10797 # preloaded symbol tables.
10798 + # Exclude shared library initialization/finalization symbols.
10799 extract_expsyms_cmds=
10800 # Just being paranoid about ensuring that cc_basename is set.
10801 for cc_temp in $compiler""; do
10802 @@ -16026,7 +17253,7 @@
10804 # See if GNU ld supports shared libraries.
10806 - aix3* | aix4* | aix5*)
10808 # On AIX/PPC, the GNU linker is very broken
10809 if test "$host_cpu" != ia64; then
10811 @@ -16074,7 +17301,7 @@
10812 allow_undefined_flag_GCJ=unsupported
10813 always_export_symbols_GCJ=no
10814 enable_shared_with_static_runtimes_GCJ=yes
10815 - export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10816 + export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10818 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
10819 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10820 @@ -16092,7 +17319,7 @@
10826 hardcode_direct_GCJ=no
10827 hardcode_shlibpath_var_GCJ=no
10828 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
10829 @@ -16107,7 +17334,7 @@
10830 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'
10834 + gnu* | linux* | k*bsd*-gnu)
10835 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
10837 case $cc_basename,$host_cpu in
10838 @@ -16125,20 +17352,30 @@
10839 ifc* | ifort*) # Intel Fortran compiler
10840 tmp_addflag=' -nofor_main' ;;
10842 - archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10843 + case `$CC -V 2>&1 | sed 5q` in
10844 + *Sun\ C*) # Sun C 5.9
10845 + 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'
10846 + tmp_sharedflag='-G' ;;
10847 + *Sun\ F*) # Sun Fortran 8.3
10848 + tmp_sharedflag='-G' ;;
10850 + tmp_sharedflag='-shared' ;;
10852 + archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10854 if test $supports_anon_versioning = yes; then
10855 archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
10856 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10857 $echo "local: *; };" >> $output_objdir/$libname.ver~
10858 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10859 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10861 + link_all_deplibs_GCJ=no
10868 + netbsd* | netbsdelf*-gnu)
10869 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10870 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10872 @@ -16236,7 +17473,7 @@
10878 if test "$host_cpu" = ia64; then
10879 # On IA64, the linker does run time linking by default, so we don't
10880 # have to do anything special.
10881 @@ -16256,7 +17493,7 @@
10882 # Test if we are trying to use run time linking or normal
10883 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10884 # need to do runtime linking.
10885 - case $host_os in aix4.[23]|aix4.[23].*|aix5*)
10886 + case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10887 for ld_flag in $LDFLAGS; do
10888 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10889 aix_use_runtimelinking=yes
10890 @@ -16290,7 +17527,7 @@
10891 strings "$collect2name" | grep resolve_lib_name >/dev/null
10893 # We have reworked collect2
10894 - hardcode_direct_GCJ=yes
10897 # We have old collect2
10898 hardcode_direct_GCJ=unsupported
10899 @@ -16346,39 +17583,44 @@
10902 rm -f conftest.$ac_objext conftest$ac_exeext
10903 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10904 - (eval $ac_link) 2>conftest.er1
10905 +if { (ac_try="$ac_link"
10906 +case "(($ac_try" in
10907 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10908 + *) ac_try_echo=$ac_try;;
10910 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10911 + (eval "$ac_link") 2>conftest.er1
10913 grep -v '^ *+' conftest.er1 >conftest.err
10915 cat conftest.err >&5
10916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10917 - (exit $ac_status); } &&
10918 - { ac_try='test -z "$ac_c_werror_flag"
10919 - || test ! -s conftest.err'
10920 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10921 - (eval $ac_try) 2>&5
10923 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10924 - (exit $ac_status); }; } &&
10925 - { ac_try='test -s conftest$ac_exeext'
10926 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10927 - (eval $ac_try) 2>&5
10929 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 - (exit $ac_status); }; }; then
10931 + (exit $ac_status); } && {
10932 + test -z "$ac_c_werror_flag" ||
10933 + test ! -s conftest.err
10934 + } && test -s conftest$ac_exeext &&
10935 + $as_test_x conftest$ac_exeext; then
10937 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10939 +lt_aix_libpath_sed='
10940 + /Import File Strings/,/^$/ {
10942 + s/^0 *\(.*\)$/\1/
10946 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10947 # Check for a 64-bit object if we didn't find anything.
10948 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
10950 +if test -z "$aix_libpath"; then
10951 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.$ac_ext >&5
10959 -rm -f conftest.err conftest.$ac_objext \
10961 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10962 conftest$ac_exeext conftest.$ac_ext
10963 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10965 @@ -16407,39 +17649,44 @@
10968 rm -f conftest.$ac_objext conftest$ac_exeext
10969 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10970 - (eval $ac_link) 2>conftest.er1
10971 +if { (ac_try="$ac_link"
10972 +case "(($ac_try" in
10973 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10974 + *) ac_try_echo=$ac_try;;
10976 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10977 + (eval "$ac_link") 2>conftest.er1
10979 grep -v '^ *+' conftest.er1 >conftest.err
10981 cat conftest.err >&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 - (exit $ac_status); } &&
10984 - { ac_try='test -z "$ac_c_werror_flag"
10985 - || test ! -s conftest.err'
10986 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 - (eval $ac_try) 2>&5
10989 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 - (exit $ac_status); }; } &&
10991 - { ac_try='test -s conftest$ac_exeext'
10992 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10993 - (eval $ac_try) 2>&5
10995 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 - (exit $ac_status); }; }; then
10997 + (exit $ac_status); } && {
10998 + test -z "$ac_c_werror_flag" ||
10999 + test ! -s conftest.err
11000 + } && test -s conftest$ac_exeext &&
11001 + $as_test_x conftest$ac_exeext; then
11003 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11005 +lt_aix_libpath_sed='
11006 + /Import File Strings/,/^$/ {
11008 + s/^0 *\(.*\)$/\1/
11012 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11013 # Check for a 64-bit object if we didn't find anything.
11014 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11016 +if test -z "$aix_libpath"; then
11017 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11020 echo "$as_me: failed program was:" >&5
11021 sed 's/^/| /' conftest.$ac_ext >&5
11025 -rm -f conftest.err conftest.$ac_objext \
11027 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11028 conftest$ac_exeext conftest.$ac_ext
11029 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11031 @@ -16485,7 +17732,7 @@
11032 # The linker will automatically build a .lib file if we build a DLL.
11033 old_archive_From_new_cmds_GCJ='true'
11034 # FIXME: Should let the user specify the lib program.
11035 - old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
11036 + old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
11037 fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
11038 enable_shared_with_static_runtimes_GCJ=yes
11040 @@ -16518,19 +17765,18 @@
11041 link_all_deplibs_GCJ=yes
11042 if test "$GCC" = yes ; then
11043 output_verbose_link_cmd='echo'
11044 - archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11045 - module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11046 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11047 - 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}'
11048 - 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}'
11049 + archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11050 + module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11051 + archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11052 + module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11054 case $cc_basename in
11056 output_verbose_link_cmd='echo'
11057 - archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11058 + archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11059 module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11060 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11061 - 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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11062 + 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}'
11063 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}'
11066 @@ -16570,7 +17816,7 @@
11069 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11070 - freebsd* | kfreebsd*-gnu | dragonfly*)
11071 + freebsd* | dragonfly*)
11072 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11073 hardcode_libdir_flag_spec_GCJ='-R$libdir'
11074 hardcode_direct_GCJ=yes
11075 @@ -16672,7 +17918,7 @@
11076 link_all_deplibs_GCJ=yes
11080 + netbsd* | netbsdelf*-gnu)
11081 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11082 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11084 @@ -16692,24 +17938,28 @@
11088 - hardcode_direct_GCJ=yes
11089 - hardcode_shlibpath_var_GCJ=no
11090 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11091 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11092 - archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11093 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
11094 - export_dynamic_flag_spec_GCJ='${wl}-E'
11095 + if test -f /usr/libexec/ld.so; then
11096 + hardcode_direct_GCJ=yes
11097 + hardcode_shlibpath_var_GCJ=no
11098 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11099 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11100 + archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11101 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
11102 + export_dynamic_flag_spec_GCJ='${wl}-E'
11105 + openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11106 + archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11107 + hardcode_libdir_flag_spec_GCJ='-R$libdir'
11110 + archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11111 + hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
11117 - openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11118 - archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11119 - hardcode_libdir_flag_spec_GCJ='-R$libdir'
11122 - archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11123 - hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
11130 @@ -16768,17 +18018,16 @@
11132 solaris2.[0-5] | solaris2.[0-5].*) ;;
11134 - # The compiler driver will combine linker options so we
11135 - # cannot just pass the convience library names through
11136 - # without $wl, iff we do not link with $LD.
11137 - # Luckily, gcc supports the same syntax we need for Sun Studio.
11138 + # The compiler driver will combine and reorder linker options,
11139 + # but understands `-z linker_flag'. GCC discards it without `$wl',
11140 + # but is careful enough not to reorder.
11141 # Supported since Solaris 2.6 (maybe 2.5.1?)
11144 - whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
11146 - whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
11148 + if test "$GCC" = yes; then
11149 + whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11151 + whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
11155 link_all_deplibs_GCJ=yes
11157 @@ -16835,7 +18084,7 @@
11161 - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
11162 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11163 no_undefined_flag_GCJ='${wl}-z,text'
11164 archive_cmds_need_lc_GCJ=no
11165 hardcode_shlibpath_var_GCJ=no
11166 @@ -16888,8 +18137,8 @@
11170 -echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
11171 -echo "${ECHO_T}$ld_shlibs_GCJ" >&6
11172 +{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
11173 +echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
11174 test "$ld_shlibs_GCJ" = no && can_build_shared=no
11177 @@ -16909,10 +18158,10 @@
11178 # Test whether the compiler implicitly links with -lc since on some
11179 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11180 # to ld, don't add -lc before -lgcc.
11181 - echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11182 -echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11183 + { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11184 +echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
11186 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11187 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11190 (eval $ac_compile) 2>&5
11191 @@ -16947,16 +18196,16 @@
11192 cat conftest.err 1>&5
11195 - echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
11196 -echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
11197 + { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
11198 +echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
11205 -echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11206 -echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11207 +{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11208 +echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
11209 library_names_spec=
11210 libname_spec='lib$name'
11212 @@ -16970,20 +18219,7 @@
11214 dynamic_linker="$host_os ld.so"
11215 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11216 -if test "$GCC" = yes; then
11217 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11218 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11219 - # if the path contains ";" then we assume it to be the separator
11220 - # otherwise default to the standard path separator (i.e. ":") - it is
11221 - # assumed that no part of a normal pathname contains ";" but that should
11222 - # okay in the real world where ";" in dirpaths is itself problematic.
11223 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11225 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11228 - sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11231 need_lib_prefix=unknown
11232 hardcode_into_libs=no
11234 @@ -17001,7 +18237,7 @@
11235 soname_spec='${libname}${release}${shared_ext}$major'
11243 @@ -17140,12 +18376,7 @@
11244 shlibpath_overrides_runpath=yes
11245 shlibpath_var=DYLD_LIBRARY_PATH
11246 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11247 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11248 - if test "$GCC" = yes; then
11249 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11251 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
11254 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11257 @@ -17162,18 +18393,6 @@
11262 - version_type=linux
11263 - need_lib_prefix=no
11265 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11266 - soname_spec='${libname}${release}${shared_ext}$major'
11267 - shlibpath_var=LD_LIBRARY_PATH
11268 - shlibpath_overrides_runpath=no
11269 - hardcode_into_libs=yes
11270 - dynamic_linker='GNU ld.so'
11273 freebsd* | dragonfly*)
11274 # DragonFly does not have aout. When/if they implement a new
11275 # versioning mechanism, adjust this.
11276 @@ -17211,7 +18430,7 @@
11277 shlibpath_overrides_runpath=no
11278 hardcode_into_libs=yes
11280 - freebsd*) # from 4.6 on
11281 + *) # from 4.6 on, and DragonFly
11282 shlibpath_overrides_runpath=yes
11283 hardcode_into_libs=yes
11285 @@ -17274,7 +18493,7 @@
11286 postinstall_cmds='chmod 555 $lib'
11294 @@ -17329,7 +18548,7 @@
11297 # This must be Linux ELF.
11299 +linux* | k*bsd*-gnu)
11303 @@ -17345,7 +18564,7 @@
11305 # Append ld.so.conf contents to the search path
11306 if test -f /etc/ld.so.conf; then
11307 - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11308 + 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' ' '`
11309 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11312 @@ -17358,7 +18577,7 @@
11313 dynamic_linker='GNU/Linux ld.so'
11321 @@ -17367,7 +18586,7 @@
11322 shlibpath_var=LD_LIBRARY_PATH
11323 shlibpath_overrides_runpath=no
11324 hardcode_into_libs=yes
11325 - dynamic_linker='GNU ld.so'
11326 + dynamic_linker='NetBSD ld.elf_so'
11330 @@ -17451,6 +18670,10 @@
11331 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11335 + dynamic_linker=no
11341 @@ -17543,17 +18766,32 @@
11345 -echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11346 -echo "${ECHO_T}$dynamic_linker" >&6
11347 +{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11348 +echo "${ECHO_T}$dynamic_linker" >&6; }
11349 test "$dynamic_linker" = no && can_build_shared=no
11351 +if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11352 + echo $ECHO_N "(cached) $ECHO_C" >&6
11354 + lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
11357 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11358 +if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11359 + echo $ECHO_N "(cached) $ECHO_C" >&6
11361 + lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
11364 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11366 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11367 if test "$GCC" = yes; then
11368 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11371 -echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11372 -echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11373 +{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11374 +echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
11375 hardcode_action_GCJ=
11376 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
11377 test -n "$runpath_var_GCJ" || \
11378 @@ -17577,8 +18815,8 @@
11380 hardcode_action_GCJ=unsupported
11382 -echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
11383 -echo "${ECHO_T}$hardcode_action_GCJ" >&6
11384 +{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
11385 +echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
11387 if test "$hardcode_action_GCJ" = relink; then
11388 # Fast installation is not supported
11389 @@ -17630,6 +18868,7 @@
11392 compiler_lib_search_path_GCJ \
11393 + compiler_lib_search_dirs_GCJ \
11395 archive_expsym_cmds_GCJ \
11396 postinstall_cmds_GCJ \
11397 @@ -17645,6 +18884,7 @@
11399 module_expsym_cmds_GCJ \
11400 lt_cv_prog_compiler_c_o_GCJ \
11401 + fix_srcfile_path_GCJ \
11402 exclude_expsyms_GCJ \
11403 include_expsyms_GCJ; do
11405 @@ -17877,6 +19117,10 @@
11407 postdeps=$lt_postdeps_GCJ
11409 +# The directories searched by this compiler when creating a shared
11411 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
11413 # The library search path used internally by the compiler when linking
11414 # a shared library.
11415 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
11416 @@ -17965,7 +19209,7 @@
11417 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11419 # Fix the shell variable \$srcfile for the compiler.
11420 -fix_srcfile_path="$fix_srcfile_path_GCJ"
11421 +fix_srcfile_path=$lt_fix_srcfile_path
11423 # Set to yes if exported symbols are required.
11424 always_export_symbols=$always_export_symbols_GCJ
11425 @@ -18014,7 +19258,6 @@
11430 # Source file extension for RC test sources.
11433 @@ -18023,7 +19266,7 @@
11436 # Code to be used in simple compile tests
11437 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
11438 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
11440 # Code to be used in simple link tests
11441 lt_simple_link_test_code="$lt_simple_compile_test_code"
11442 @@ -18042,16 +19285,16 @@
11444 # save warnings/boilerplate of simple test code
11445 ac_outfile=conftest.$ac_objext
11446 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
11447 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11448 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11449 _lt_compiler_boilerplate=`cat conftest.err`
11452 ac_outfile=conftest.$ac_objext
11453 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
11454 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
11455 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11456 _lt_linker_boilerplate=`cat conftest.err`
11461 # Allow CC to be a program name with arguments.
11462 @@ -18111,6 +19354,7 @@
11465 compiler_lib_search_path_RC \
11466 + compiler_lib_search_dirs_RC \
11468 archive_expsym_cmds_RC \
11469 postinstall_cmds_RC \
11470 @@ -18126,6 +19370,7 @@
11472 module_expsym_cmds_RC \
11473 lt_cv_prog_compiler_c_o_RC \
11474 + fix_srcfile_path_RC \
11475 exclude_expsyms_RC \
11476 include_expsyms_RC; do
11478 @@ -18358,6 +19603,10 @@
11480 postdeps=$lt_postdeps_RC
11482 +# The directories searched by this compiler when creating a shared
11484 +compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
11486 # The library search path used internally by the compiler when linking
11487 # a shared library.
11488 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
11489 @@ -18446,7 +19695,7 @@
11490 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
11492 # Fix the shell variable \$srcfile for the compiler.
11493 -fix_srcfile_path="$fix_srcfile_path_RC"
11494 +fix_srcfile_path=$lt_fix_srcfile_path
11496 # Set to yes if exported symbols are required.
11497 always_export_symbols=$always_export_symbols_RC
11498 @@ -18558,8 +19807,8 @@
11499 if test -n "$ac_tool_prefix"; then
11500 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11501 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11502 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11503 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11504 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11505 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11506 if test "${ac_cv_prog_CC+set}" = set; then
11507 echo $ECHO_N "(cached) $ECHO_C" >&6
11509 @@ -18572,32 +19821,34 @@
11511 test -z "$as_dir" && as_dir=.
11512 for ac_exec_ext in '' $ac_executable_extensions; do
11513 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11514 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11515 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11526 if test -n "$CC"; then
11527 - echo "$as_me:$LINENO: result: $CC" >&5
11528 -echo "${ECHO_T}$CC" >&6
11529 + { echo "$as_me:$LINENO: result: $CC" >&5
11530 +echo "${ECHO_T}$CC" >&6; }
11532 - echo "$as_me:$LINENO: result: no" >&5
11533 -echo "${ECHO_T}no" >&6
11534 + { echo "$as_me:$LINENO: result: no" >&5
11535 +echo "${ECHO_T}no" >&6; }
11540 if test -z "$ac_cv_prog_CC"; then
11542 # Extract the first word of "gcc", so it can be a program name with args.
11543 set dummy gcc; ac_word=$2
11544 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11545 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11546 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11547 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11548 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11549 echo $ECHO_N "(cached) $ECHO_C" >&6
11551 @@ -18610,36 +19861,51 @@
11553 test -z "$as_dir" && as_dir=.
11554 for ac_exec_ext in '' $ac_executable_extensions; do
11555 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11556 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11557 ac_cv_prog_ac_ct_CC="gcc"
11558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11567 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11568 if test -n "$ac_ct_CC"; then
11569 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11570 -echo "${ECHO_T}$ac_ct_CC" >&6
11571 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11572 +echo "${ECHO_T}$ac_ct_CC" >&6; }
11574 - echo "$as_me:$LINENO: result: no" >&5
11575 -echo "${ECHO_T}no" >&6
11576 + { echo "$as_me:$LINENO: result: no" >&5
11577 +echo "${ECHO_T}no" >&6; }
11581 + if test "x$ac_ct_CC" = x; then
11584 + case $cross_compiling:$ac_tool_warned in
11586 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11587 +whose name does not start with the host triplet. If you think this
11588 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11589 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11590 +whose name does not start with the host triplet. If you think this
11591 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11592 +ac_tool_warned=yes ;;
11597 CC="$ac_cv_prog_CC"
11600 if test -z "$CC"; then
11601 - if test -n "$ac_tool_prefix"; then
11602 - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11603 + if test -n "$ac_tool_prefix"; then
11604 + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11605 set dummy ${ac_tool_prefix}cc; ac_word=$2
11606 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11607 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11608 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11609 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11610 if test "${ac_cv_prog_CC+set}" = set; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11613 @@ -18652,74 +19918,34 @@
11615 test -z "$as_dir" && as_dir=.
11616 for ac_exec_ext in '' $ac_executable_extensions; do
11617 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11618 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11619 ac_cv_prog_CC="${ac_tool_prefix}cc"
11620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11630 if test -n "$CC"; then
11631 - echo "$as_me:$LINENO: result: $CC" >&5
11632 -echo "${ECHO_T}$CC" >&6
11634 - echo "$as_me:$LINENO: result: no" >&5
11635 -echo "${ECHO_T}no" >&6
11639 -if test -z "$ac_cv_prog_CC"; then
11641 - # Extract the first word of "cc", so it can be a program name with args.
11642 -set dummy cc; ac_word=$2
11643 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11644 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11645 -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11646 - echo $ECHO_N "(cached) $ECHO_C" >&6
11648 - if test -n "$ac_ct_CC"; then
11649 - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11651 -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11652 -for as_dir in $PATH
11655 - test -z "$as_dir" && as_dir=.
11656 - for ac_exec_ext in '' $ac_executable_extensions; do
11657 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11658 - ac_cv_prog_ac_ct_CC="cc"
11659 - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11667 -ac_ct_CC=$ac_cv_prog_ac_ct_CC
11668 -if test -n "$ac_ct_CC"; then
11669 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11670 -echo "${ECHO_T}$ac_ct_CC" >&6
11671 + { echo "$as_me:$LINENO: result: $CC" >&5
11672 +echo "${ECHO_T}$CC" >&6; }
11674 - echo "$as_me:$LINENO: result: no" >&5
11675 -echo "${ECHO_T}no" >&6
11676 + { echo "$as_me:$LINENO: result: no" >&5
11677 +echo "${ECHO_T}no" >&6; }
11682 - CC="$ac_cv_prog_CC"
11687 if test -z "$CC"; then
11688 # Extract the first word of "cc", so it can be a program name with args.
11689 set dummy cc; ac_word=$2
11690 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11691 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11692 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11693 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11694 if test "${ac_cv_prog_CC+set}" = set; then
11695 echo $ECHO_N "(cached) $ECHO_C" >&6
11697 @@ -18733,7 +19959,7 @@
11699 test -z "$as_dir" && as_dir=.
11700 for ac_exec_ext in '' $ac_executable_extensions; do
11701 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11702 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11703 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11704 ac_prog_rejected=yes
11706 @@ -18744,6 +19970,7 @@
11712 if test $ac_prog_rejected = yes; then
11713 # We found a bogon in the path, so make sure we never use it.
11714 @@ -18761,22 +19988,23 @@
11717 if test -n "$CC"; then
11718 - echo "$as_me:$LINENO: result: $CC" >&5
11719 -echo "${ECHO_T}$CC" >&6
11720 + { echo "$as_me:$LINENO: result: $CC" >&5
11721 +echo "${ECHO_T}$CC" >&6; }
11723 - echo "$as_me:$LINENO: result: no" >&5
11724 -echo "${ECHO_T}no" >&6
11725 + { echo "$as_me:$LINENO: result: no" >&5
11726 +echo "${ECHO_T}no" >&6; }
11731 if test -z "$CC"; then
11732 if test -n "$ac_tool_prefix"; then
11733 - for ac_prog in cl
11734 + for ac_prog in cl.exe
11736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11738 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11739 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11740 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11741 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11742 if test "${ac_cv_prog_CC+set}" = set; then
11743 echo $ECHO_N "(cached) $ECHO_C" >&6
11745 @@ -18789,36 +20017,38 @@
11747 test -z "$as_dir" && as_dir=.
11748 for ac_exec_ext in '' $ac_executable_extensions; do
11749 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11750 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11751 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11762 if test -n "$CC"; then
11763 - echo "$as_me:$LINENO: result: $CC" >&5
11764 -echo "${ECHO_T}$CC" >&6
11765 + { echo "$as_me:$LINENO: result: $CC" >&5
11766 +echo "${ECHO_T}$CC" >&6; }
11768 - echo "$as_me:$LINENO: result: no" >&5
11769 -echo "${ECHO_T}no" >&6
11770 + { echo "$as_me:$LINENO: result: no" >&5
11771 +echo "${ECHO_T}no" >&6; }
11775 test -n "$CC" && break
11778 if test -z "$CC"; then
11780 - for ac_prog in cl
11781 + for ac_prog in cl.exe
11783 # Extract the first word of "$ac_prog", so it can be a program name with args.
11784 set dummy $ac_prog; ac_word=$2
11785 -echo "$as_me:$LINENO: checking for $ac_word" >&5
11786 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11787 +{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11788 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11789 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11790 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 @@ -18831,29 +20061,45 @@
11794 test -z "$as_dir" && as_dir=.
11795 for ac_exec_ext in '' $ac_executable_extensions; do
11796 - if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11797 + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11798 ac_cv_prog_ac_ct_CC="$ac_prog"
11799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11808 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11809 if test -n "$ac_ct_CC"; then
11810 - echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11811 -echo "${ECHO_T}$ac_ct_CC" >&6
11812 + { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11813 +echo "${ECHO_T}$ac_ct_CC" >&6; }
11815 - echo "$as_me:$LINENO: result: no" >&5
11816 -echo "${ECHO_T}no" >&6
11817 + { echo "$as_me:$LINENO: result: no" >&5
11818 +echo "${ECHO_T}no" >&6; }
11822 test -n "$ac_ct_CC" && break
11826 + if test "x$ac_ct_CC" = x; then
11829 + case $cross_compiling:$ac_tool_warned in
11831 +{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11832 +whose name does not start with the host triplet. If you think this
11833 +configuration is useful to you, please write to autoconf@gnu.org." >&5
11834 +echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11835 +whose name does not start with the host triplet. If you think this
11836 +configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11837 +ac_tool_warned=yes ;;
11844 @@ -18866,27 +20112,41 @@
11845 { (exit 1); exit 1; }; }
11847 # Provide some information about the compiler.
11848 -echo "$as_me:$LINENO:" \
11849 - "checking for C compiler version" >&5
11850 +echo "$as_me:$LINENO: checking for C compiler version" >&5
11851 ac_compiler=`set X $ac_compile; echo $2`
11852 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11853 - (eval $ac_compiler --version </dev/null >&5) 2>&5
11854 +{ (ac_try="$ac_compiler --version >&5"
11855 +case "(($ac_try" in
11856 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11857 + *) ac_try_echo=$ac_try;;
11859 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11860 + (eval "$ac_compiler --version >&5") 2>&5
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); }
11864 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11865 - (eval $ac_compiler -v </dev/null >&5) 2>&5
11866 +{ (ac_try="$ac_compiler -v >&5"
11867 +case "(($ac_try" in
11868 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11869 + *) ac_try_echo=$ac_try;;
11871 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11872 + (eval "$ac_compiler -v >&5") 2>&5
11874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875 (exit $ac_status); }
11876 -{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11877 - (eval $ac_compiler -V </dev/null >&5) 2>&5
11878 +{ (ac_try="$ac_compiler -V >&5"
11879 +case "(($ac_try" in
11880 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11881 + *) ac_try_echo=$ac_try;;
11883 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11884 + (eval "$ac_compiler -V >&5") 2>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); }
11889 -echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11890 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
11891 +{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11892 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
11893 if test "${ac_cv_c_compiler_gnu+set}" = set; then
11894 echo $ECHO_N "(cached) $ECHO_C" >&6
11896 @@ -18909,50 +20169,49 @@
11899 rm -f conftest.$ac_objext
11900 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11901 - (eval $ac_compile) 2>conftest.er1
11902 +if { (ac_try="$ac_compile"
11903 +case "(($ac_try" in
11904 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11905 + *) ac_try_echo=$ac_try;;
11907 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11908 + (eval "$ac_compile") 2>conftest.er1
11910 grep -v '^ *+' conftest.er1 >conftest.err
11912 cat conftest.err >&5
11913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914 - (exit $ac_status); } &&
11915 - { ac_try='test -z "$ac_c_werror_flag"
11916 - || test ! -s conftest.err'
11917 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 - (eval $ac_try) 2>&5
11920 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 - (exit $ac_status); }; } &&
11922 - { ac_try='test -s conftest.$ac_objext'
11923 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924 - (eval $ac_try) 2>&5
11926 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 - (exit $ac_status); }; }; then
11928 + (exit $ac_status); } && {
11929 + test -z "$ac_c_werror_flag" ||
11930 + test ! -s conftest.err
11931 + } && test -s conftest.$ac_objext; then
11932 ac_compiler_gnu=yes
11934 echo "$as_me: failed program was:" >&5
11935 sed 's/^/| /' conftest.$ac_ext >&5
11937 -ac_compiler_gnu=no
11938 + ac_compiler_gnu=no
11940 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11942 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11943 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11946 -echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11947 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
11948 +{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
11949 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
11950 GCC=`test $ac_compiler_gnu = yes && echo yes`
11951 ac_test_CFLAGS=${CFLAGS+set}
11952 ac_save_CFLAGS=$CFLAGS
11954 -echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11955 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
11956 +{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
11957 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
11958 if test "${ac_cv_prog_cc_g+set}" = set; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 - cat >conftest.$ac_ext <<_ACEOF
11962 + ac_save_c_werror_flag=$ac_c_werror_flag
11963 + ac_c_werror_flag=yes
11964 + ac_cv_prog_cc_g=no
11966 + cat >conftest.$ac_ext <<_ACEOF
11969 cat confdefs.h >>conftest.$ac_ext
11970 @@ -18968,38 +20227,118 @@
11973 rm -f conftest.$ac_objext
11974 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11975 - (eval $ac_compile) 2>conftest.er1
11976 +if { (ac_try="$ac_compile"
11977 +case "(($ac_try" in
11978 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11979 + *) ac_try_echo=$ac_try;;
11981 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11982 + (eval "$ac_compile") 2>conftest.er1
11984 grep -v '^ *+' conftest.er1 >conftest.err
11986 cat conftest.err >&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 - (exit $ac_status); } &&
11989 - { ac_try='test -z "$ac_c_werror_flag"
11990 - || test ! -s conftest.err'
11991 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11992 - (eval $ac_try) 2>&5
11993 + (exit $ac_status); } && {
11994 + test -z "$ac_c_werror_flag" ||
11995 + test ! -s conftest.err
11996 + } && test -s conftest.$ac_objext; then
11997 + ac_cv_prog_cc_g=yes
11999 + echo "$as_me: failed program was:" >&5
12000 +sed 's/^/| /' conftest.$ac_ext >&5
12003 + cat >conftest.$ac_ext <<_ACEOF
12006 +cat confdefs.h >>conftest.$ac_ext
12007 +cat >>conftest.$ac_ext <<_ACEOF
12008 +/* end confdefs.h. */
12018 +rm -f conftest.$ac_objext
12019 +if { (ac_try="$ac_compile"
12020 +case "(($ac_try" in
12021 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12022 + *) ac_try_echo=$ac_try;;
12024 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12025 + (eval "$ac_compile") 2>conftest.er1
12027 + grep -v '^ *+' conftest.er1 >conftest.err
12028 + rm -f conftest.er1
12029 + cat conftest.err >&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 - (exit $ac_status); }; } &&
12032 - { ac_try='test -s conftest.$ac_objext'
12033 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12034 - (eval $ac_try) 2>&5
12035 + (exit $ac_status); } && {
12036 + test -z "$ac_c_werror_flag" ||
12037 + test ! -s conftest.err
12038 + } && test -s conftest.$ac_objext; then
12041 + echo "$as_me: failed program was:" >&5
12042 +sed 's/^/| /' conftest.$ac_ext >&5
12044 + ac_c_werror_flag=$ac_save_c_werror_flag
12046 + cat >conftest.$ac_ext <<_ACEOF
12049 +cat confdefs.h >>conftest.$ac_ext
12050 +cat >>conftest.$ac_ext <<_ACEOF
12051 +/* end confdefs.h. */
12061 +rm -f conftest.$ac_objext
12062 +if { (ac_try="$ac_compile"
12063 +case "(($ac_try" in
12064 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12065 + *) ac_try_echo=$ac_try;;
12067 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12068 + (eval "$ac_compile") 2>conftest.er1
12070 + grep -v '^ *+' conftest.er1 >conftest.err
12071 + rm -f conftest.er1
12072 + cat conftest.err >&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 - (exit $ac_status); }; }; then
12075 + (exit $ac_status); } && {
12076 + test -z "$ac_c_werror_flag" ||
12077 + test ! -s conftest.err
12078 + } && test -s conftest.$ac_objext; then
12079 ac_cv_prog_cc_g=yes
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12084 -ac_cv_prog_cc_g=no
12087 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12089 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12091 -echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12092 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12094 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12097 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12098 + ac_c_werror_flag=$ac_save_c_werror_flag
12100 +{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12101 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
12102 if test "$ac_test_CFLAGS" = set; then
12103 CFLAGS=$ac_save_CFLAGS
12104 elif test $ac_cv_prog_cc_g = yes; then
12105 @@ -19015,12 +20354,12 @@
12109 -echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12110 -echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12111 -if test "${ac_cv_prog_cc_stdc+set}" = set; then
12112 +{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
12113 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
12114 +if test "${ac_cv_prog_cc_c89+set}" = set; then
12115 echo $ECHO_N "(cached) $ECHO_C" >&6
12117 - ac_cv_prog_cc_stdc=no
12118 + ac_cv_prog_cc_c89=no
12120 cat >conftest.$ac_ext <<_ACEOF
12122 @@ -19054,12 +20393,17 @@
12123 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12124 function prototypes and stuff, but not '\xHH' hex character constants.
12125 These don't provoke an error unfortunately, instead are silently treated
12126 - as 'x'. The following induces an error, until -std1 is added to get
12127 + as 'x'. The following induces an error, until -std is added to get
12128 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12129 array size at least. It's necessary to write '\x00'==0 to get something
12130 - that's true only with -std1. */
12131 + that's true only with -std. */
12132 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12134 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12135 + inside strings and character constants. */
12136 +#define FOO(x) 'x'
12137 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12139 int test (int i, double x);
12140 struct s1 {int (*f) (int a);};
12141 struct s2 {int (*f) (double a);};
12142 @@ -19074,205 +20418,57 @@
12146 -# Don't try gcc -ansi; that turns off useful extensions and
12147 -# breaks some systems' header files.
12148 -# AIX -qlanglvl=ansi
12149 -# Ultrix and OSF/1 -std1
12150 -# HP-UX 10.20 and later -Ae
12151 -# HP-UX older versions -Aa -D_HPUX_SOURCE
12152 -# SVR4 -Xc -D__EXTENSIONS__
12153 -for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12154 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12155 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12157 CC="$ac_save_CC $ac_arg"
12158 rm -f conftest.$ac_objext
12159 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12160 - (eval $ac_compile) 2>conftest.er1
12161 +if { (ac_try="$ac_compile"
12162 +case "(($ac_try" in
12163 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12164 + *) ac_try_echo=$ac_try;;
12166 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12167 + (eval "$ac_compile") 2>conftest.er1
12169 grep -v '^ *+' conftest.er1 >conftest.err
12171 cat conftest.err >&5
12172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173 - (exit $ac_status); } &&
12174 - { ac_try='test -z "$ac_c_werror_flag"
12175 - || test ! -s conftest.err'
12176 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12177 - (eval $ac_try) 2>&5
12179 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180 - (exit $ac_status); }; } &&
12181 - { ac_try='test -s conftest.$ac_objext'
12182 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12183 - (eval $ac_try) 2>&5
12185 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 - (exit $ac_status); }; }; then
12187 - ac_cv_prog_cc_stdc=$ac_arg
12189 + (exit $ac_status); } && {
12190 + test -z "$ac_c_werror_flag" ||
12191 + test ! -s conftest.err
12192 + } && test -s conftest.$ac_objext; then
12193 + ac_cv_prog_cc_c89=$ac_arg
12195 echo "$as_me: failed program was:" >&5
12196 sed 's/^/| /' conftest.$ac_ext >&5
12200 -rm -f conftest.err conftest.$ac_objext
12202 +rm -f core conftest.err conftest.$ac_objext
12203 + test "x$ac_cv_prog_cc_c89" != "xno" && break
12205 -rm -f conftest.$ac_ext conftest.$ac_objext
12206 +rm -f conftest.$ac_ext
12211 -case "x$ac_cv_prog_cc_stdc" in
12213 - echo "$as_me:$LINENO: result: none needed" >&5
12214 -echo "${ECHO_T}none needed" >&6 ;;
12216 +case "x$ac_cv_prog_cc_c89" in
12218 + { echo "$as_me:$LINENO: result: none needed" >&5
12219 +echo "${ECHO_T}none needed" >&6; } ;;
12221 + { echo "$as_me:$LINENO: result: unsupported" >&5
12222 +echo "${ECHO_T}unsupported" >&6; } ;;
12224 - echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12225 -echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12226 - CC="$CC $ac_cv_prog_cc_stdc" ;;
12227 + CC="$CC $ac_cv_prog_cc_c89"
12228 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
12229 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
12232 -# Some people use a C++ compiler to compile C. Since we use `exit',
12233 -# in C++ we need to declare it. In case someone uses the same compiler
12234 -# for both compiling C and C++ we need to have the C++ compiler decide
12235 -# the declaration of exit, since it's the most demanding environment.
12236 -cat >conftest.$ac_ext <<_ACEOF
12237 -#ifndef __cplusplus
12241 -rm -f conftest.$ac_objext
12242 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12243 - (eval $ac_compile) 2>conftest.er1
12245 - grep -v '^ *+' conftest.er1 >conftest.err
12246 - rm -f conftest.er1
12247 - cat conftest.err >&5
12248 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 - (exit $ac_status); } &&
12250 - { ac_try='test -z "$ac_c_werror_flag"
12251 - || test ! -s conftest.err'
12252 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 - (eval $ac_try) 2>&5
12255 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 - (exit $ac_status); }; } &&
12257 - { ac_try='test -s conftest.$ac_objext'
12258 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 - (eval $ac_try) 2>&5
12261 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 - (exit $ac_status); }; }; then
12263 - for ac_declaration in \
12265 - 'extern "C" void std::exit (int) throw (); using std::exit;' \
12266 - 'extern "C" void std::exit (int); using std::exit;' \
12267 - 'extern "C" void exit (int) throw ();' \
12268 - 'extern "C" void exit (int);' \
12269 - 'void exit (int);'
12271 - cat >conftest.$ac_ext <<_ACEOF
12274 -cat confdefs.h >>conftest.$ac_ext
12275 -cat >>conftest.$ac_ext <<_ACEOF
12276 -/* end confdefs.h. */
12278 -#include <stdlib.h>
12287 -rm -f conftest.$ac_objext
12288 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12289 - (eval $ac_compile) 2>conftest.er1
12291 - grep -v '^ *+' conftest.er1 >conftest.err
12292 - rm -f conftest.er1
12293 - cat conftest.err >&5
12294 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 - (exit $ac_status); } &&
12296 - { ac_try='test -z "$ac_c_werror_flag"
12297 - || test ! -s conftest.err'
12298 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299 - (eval $ac_try) 2>&5
12301 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302 - (exit $ac_status); }; } &&
12303 - { ac_try='test -s conftest.$ac_objext'
12304 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12305 - (eval $ac_try) 2>&5
12307 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308 - (exit $ac_status); }; }; then
12311 - echo "$as_me: failed program was:" >&5
12312 -sed 's/^/| /' conftest.$ac_ext >&5
12316 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12317 - cat >conftest.$ac_ext <<_ACEOF
12320 -cat confdefs.h >>conftest.$ac_ext
12321 -cat >>conftest.$ac_ext <<_ACEOF
12322 -/* end confdefs.h. */
12332 -rm -f conftest.$ac_objext
12333 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12334 - (eval $ac_compile) 2>conftest.er1
12336 - grep -v '^ *+' conftest.er1 >conftest.err
12337 - rm -f conftest.er1
12338 - cat conftest.err >&5
12339 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 - (exit $ac_status); } &&
12341 - { ac_try='test -z "$ac_c_werror_flag"
12342 - || test ! -s conftest.err'
12343 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12344 - (eval $ac_try) 2>&5
12346 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12347 - (exit $ac_status); }; } &&
12348 - { ac_try='test -s conftest.$ac_objext'
12349 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12350 - (eval $ac_try) 2>&5
12352 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 - (exit $ac_status); }; }; then
12356 - echo "$as_me: failed program was:" >&5
12357 -sed 's/^/| /' conftest.$ac_ext >&5
12360 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12363 -if test -n "$ac_declaration"; then
12364 - echo '#ifdef __cplusplus' >>confdefs.h
12365 - echo $ac_declaration >>confdefs.h
12366 - echo '#endif' >>confdefs.h
12370 - echo "$as_me: failed program was:" >&5
12371 -sed 's/^/| /' conftest.$ac_ext >&5
12374 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12376 ac_cpp='$CPP $CPPFLAGS'
12377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12378 @@ -19292,8 +20488,8 @@
12379 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
12380 # OS/2's system install, which has a completely different semantic
12381 # ./install, which can be erroneously created by make from ./install.sh.
12382 -echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12383 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
12384 +{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
12385 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
12386 if test -z "$INSTALL"; then
12387 if test "${ac_cv_path_install+set}" = set; then
12388 echo $ECHO_N "(cached) $ECHO_C" >&6
12389 @@ -19315,7 +20511,7 @@
12391 for ac_prog in ginstall scoinst install; do
12392 for ac_exec_ext in '' $ac_executable_extensions; do
12393 - if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
12394 + if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
12395 if test $ac_prog = install &&
12396 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
12397 # AIX install. It has an incompatible calling convention.
12398 @@ -19334,21 +20530,22 @@
12406 if test "${ac_cv_path_install+set}" = set; then
12407 INSTALL=$ac_cv_path_install
12409 - # As a last resort, use the slow shell script. We don't cache a
12410 - # path for INSTALL within a source directory, because that will
12411 + # As a last resort, use the slow shell script. Don't cache a
12412 + # value for INSTALL within a source directory, because that will
12413 # break other packages using the cache if that directory is
12414 - # removed, or if the path is relative.
12415 + # removed, or if the value is a relative name.
12416 INSTALL=$ac_install_sh
12419 -echo "$as_me:$LINENO: result: $INSTALL" >&5
12420 -echo "${ECHO_T}$INSTALL" >&6
12421 +{ echo "$as_me:$LINENO: result: $INSTALL" >&5
12422 +echo "${ECHO_T}$INSTALL" >&6; }
12424 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
12425 # It thinks the first close brace ends the variable substitution.
12426 @@ -19362,8 +20559,8 @@
12427 if test "$GCC" = yes ; then
12428 OLDCFLAGS="$CFLAGS -Wall -Wmissing-prototypes -Wstrict-prototypes"
12429 CFLAGS="$OLDCFLAGS -fexceptions"
12430 - echo "$as_me:$LINENO: checking whether $CC accepts -fexceptions" >&5
12431 -echo $ECHO_N "checking whether $CC accepts -fexceptions... $ECHO_C" >&6
12432 + { echo "$as_me:$LINENO: checking whether $CC accepts -fexceptions" >&5
12433 +echo $ECHO_N "checking whether $CC accepts -fexceptions... $ECHO_C" >&6; }
12434 cat >conftest.$ac_ext <<_ACEOF
12437 @@ -19380,43 +20577,40 @@
12440 rm -f conftest.$ac_objext conftest$ac_exeext
12441 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12442 - (eval $ac_link) 2>conftest.er1
12443 +if { (ac_try="$ac_link"
12444 +case "(($ac_try" in
12445 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12446 + *) ac_try_echo=$ac_try;;
12448 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12449 + (eval "$ac_link") 2>conftest.er1
12451 grep -v '^ *+' conftest.er1 >conftest.err
12453 cat conftest.err >&5
12454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455 - (exit $ac_status); } &&
12456 - { ac_try='test -z "$ac_c_werror_flag"
12457 - || test ! -s conftest.err'
12458 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12459 - (eval $ac_try) 2>&5
12461 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12462 - (exit $ac_status); }; } &&
12463 - { ac_try='test -s conftest$ac_exeext'
12464 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12465 - (eval $ac_try) 2>&5
12467 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 - (exit $ac_status); }; }; then
12469 - echo "$as_me:$LINENO: result: yes" >&5
12470 -echo "${ECHO_T}yes" >&6
12471 + (exit $ac_status); } && {
12472 + test -z "$ac_c_werror_flag" ||
12473 + test ! -s conftest.err
12474 + } && test -s conftest$ac_exeext &&
12475 + $as_test_x conftest$ac_exeext; then
12476 + { echo "$as_me:$LINENO: result: yes" >&5
12477 +echo "${ECHO_T}yes" >&6; }
12479 echo "$as_me: failed program was:" >&5
12480 sed 's/^/| /' conftest.$ac_ext >&5
12482 -echo "$as_me:$LINENO: result: no" >&5
12483 -echo "${ECHO_T}no" >&6; CFLAGS="$OLDCFLAGS"
12484 + { echo "$as_me:$LINENO: result: no" >&5
12485 +echo "${ECHO_T}no" >&6; }; CFLAGS="$OLDCFLAGS"
12487 -rm -f conftest.err conftest.$ac_objext \
12489 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12490 conftest$ac_exeext conftest.$ac_ext
12491 CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'`
12494 -echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12495 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12496 +{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12497 +echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
12498 if test "${ac_cv_header_stdc+set}" = set; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 @@ -19440,35 +20634,31 @@
12504 rm -f conftest.$ac_objext
12505 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12506 - (eval $ac_compile) 2>conftest.er1
12507 +if { (ac_try="$ac_compile"
12508 +case "(($ac_try" in
12509 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12510 + *) ac_try_echo=$ac_try;;
12512 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12513 + (eval "$ac_compile") 2>conftest.er1
12515 grep -v '^ *+' conftest.er1 >conftest.err
12517 cat conftest.err >&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 - (exit $ac_status); } &&
12520 - { ac_try='test -z "$ac_c_werror_flag"
12521 - || test ! -s conftest.err'
12522 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12523 - (eval $ac_try) 2>&5
12525 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 - (exit $ac_status); }; } &&
12527 - { ac_try='test -s conftest.$ac_objext'
12528 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12529 - (eval $ac_try) 2>&5
12531 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12532 - (exit $ac_status); }; }; then
12533 + (exit $ac_status); } && {
12534 + test -z "$ac_c_werror_flag" ||
12535 + test ! -s conftest.err
12536 + } && test -s conftest.$ac_objext; then
12537 ac_cv_header_stdc=yes
12539 echo "$as_me: failed program was:" >&5
12540 sed 's/^/| /' conftest.$ac_ext >&5
12542 -ac_cv_header_stdc=no
12543 + ac_cv_header_stdc=no
12545 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12547 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12549 if test $ac_cv_header_stdc = yes; then
12550 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12551 @@ -19524,6 +20714,7 @@
12552 cat >>conftest.$ac_ext <<_ACEOF
12553 /* end confdefs.h. */
12555 +#include <stdlib.h>
12556 #if ((' ' & 0x0FF) == 0x020)
12557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12559 @@ -19543,18 +20734,27 @@
12560 for (i = 0; i < 256; i++)
12561 if (XOR (islower (i), ISLOWER (i))
12562 || toupper (i) != TOUPPER (i))
12569 rm -f conftest$ac_exeext
12570 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12571 - (eval $ac_link) 2>&5
12572 +if { (ac_try="$ac_link"
12573 +case "(($ac_try" in
12574 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12575 + *) ac_try_echo=$ac_try;;
12577 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12578 + (eval "$ac_link") 2>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12582 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 - (eval $ac_try) 2>&5
12584 + { (case "(($ac_try" in
12585 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12586 + *) ac_try_echo=$ac_try;;
12588 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12589 + (eval "$ac_try") 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 @@ -19567,12 +20767,14 @@
12594 ( exit $ac_status )
12595 ac_cv_header_stdc=no
12597 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12598 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12604 -echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12605 -echo "${ECHO_T}$ac_cv_header_stdc" >&6
12606 +{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12607 +echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
12608 if test $ac_cv_header_stdc = yes; then
12610 cat >>confdefs.h <<\_ACEOF
12611 @@ -19583,8 +20785,8 @@
12615 -echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12616 -echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
12617 +{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12618 +echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
12619 if test "${ac_cv_c_bigendian+set}" = set; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12622 @@ -19610,27 +20812,22 @@
12625 rm -f conftest.$ac_objext
12626 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12627 - (eval $ac_compile) 2>conftest.er1
12628 +if { (ac_try="$ac_compile"
12629 +case "(($ac_try" in
12630 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12631 + *) ac_try_echo=$ac_try;;
12633 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12634 + (eval "$ac_compile") 2>conftest.er1
12636 grep -v '^ *+' conftest.er1 >conftest.err
12638 cat conftest.err >&5
12639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12640 - (exit $ac_status); } &&
12641 - { ac_try='test -z "$ac_c_werror_flag"
12642 - || test ! -s conftest.err'
12643 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 - (eval $ac_try) 2>&5
12646 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 - (exit $ac_status); }; } &&
12648 - { ac_try='test -s conftest.$ac_objext'
12649 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 - (eval $ac_try) 2>&5
12652 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 - (exit $ac_status); }; }; then
12654 + (exit $ac_status); } && {
12655 + test -z "$ac_c_werror_flag" ||
12656 + test ! -s conftest.err
12657 + } && test -s conftest.$ac_objext; then
12658 # It does; now see whether it defined to BIG_ENDIAN or not.
12659 cat >conftest.$ac_ext <<_ACEOF
12661 @@ -19652,41 +20849,39 @@
12664 rm -f conftest.$ac_objext
12665 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12666 - (eval $ac_compile) 2>conftest.er1
12667 +if { (ac_try="$ac_compile"
12668 +case "(($ac_try" in
12669 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12670 + *) ac_try_echo=$ac_try;;
12672 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12673 + (eval "$ac_compile") 2>conftest.er1
12675 grep -v '^ *+' conftest.er1 >conftest.err
12677 cat conftest.err >&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 - (exit $ac_status); } &&
12680 - { ac_try='test -z "$ac_c_werror_flag"
12681 - || test ! -s conftest.err'
12682 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 - (eval $ac_try) 2>&5
12685 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 - (exit $ac_status); }; } &&
12687 - { ac_try='test -s conftest.$ac_objext'
12688 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12689 - (eval $ac_try) 2>&5
12691 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 - (exit $ac_status); }; }; then
12693 + (exit $ac_status); } && {
12694 + test -z "$ac_c_werror_flag" ||
12695 + test ! -s conftest.err
12696 + } && test -s conftest.$ac_objext; then
12697 ac_cv_c_bigendian=yes
12699 echo "$as_me: failed program was:" >&5
12700 sed 's/^/| /' conftest.$ac_ext >&5
12702 -ac_cv_c_bigendian=no
12703 + ac_cv_c_bigendian=no
12705 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12707 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12709 echo "$as_me: failed program was:" >&5
12710 sed 's/^/| /' conftest.$ac_ext >&5
12714 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12716 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12717 if test $ac_cv_c_bigendian = unknown; then
12718 if test "$cross_compiling" = yes; then
12719 echo $ac_n "cross-compiling... " 2>&6
12720 @@ -19709,13 +20904,22 @@
12723 rm -f conftest$ac_exeext
12724 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12725 - (eval $ac_link) 2>&5
12726 +if { (ac_try="$ac_link"
12727 +case "(($ac_try" in
12728 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12729 + *) ac_try_echo=$ac_try;;
12731 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12732 + (eval "$ac_link") 2>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12736 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 - (eval $ac_try) 2>&5
12738 + { (case "(($ac_try" in
12739 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12740 + *) ac_try_echo=$ac_try;;
12742 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12743 + (eval "$ac_try") 2>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; }; then
12747 @@ -19728,15 +20932,17 @@
12748 ( exit $ac_status )
12749 ac_cv_c_bigendian=yes
12751 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12752 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12758 -echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12759 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6
12760 +{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12761 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
12762 if test $ac_cv_c_bigendian = unknown; then
12763 -echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
12764 -echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
12765 +{ echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
12766 +echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6; }
12768 cat >conftest.c <<EOF
12769 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12770 @@ -19764,8 +20970,8 @@
12771 echo $ac_n 'guessing bigendian ... ' >&6
12774 -echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12775 -echo "${ECHO_T}$ac_cv_c_bigendian" >&6
12776 +{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12777 +echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
12779 if test $ac_cv_c_bigendian = yes; then
12781 @@ -19789,8 +20995,8 @@
12785 -echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12786 -echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12787 +{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12788 +echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
12789 if test "${ac_cv_c_const+set}" = set; then
12790 echo $ECHO_N "(cached) $ECHO_C" >&6
12792 @@ -19808,10 +21014,10 @@
12793 #ifndef __cplusplus
12794 /* Ultrix mips cc rejects this. */
12795 typedef int charset[2];
12797 + const charset cs;
12798 /* SunOS 4.1.1 cc rejects this. */
12799 - char const *const *ccp;
12801 + char const *const *pcpcc;
12803 /* NEC SVR4.0.2 mips cc rejects this. */
12804 struct point {int x, y;};
12805 static struct point const zero = {0,0};
12806 @@ -19820,16 +21026,17 @@
12807 an arm of an if-expression whose if-part is not a constant
12809 const char *g = "string";
12810 - ccp = &g + (g ? g-g : 0);
12811 + pcpcc = &g + (g ? g-g : 0);
12812 /* HPUX 7.0 cc rejects these. */
12814 - p = (char**) ccp;
12815 - ccp = (char const *const *) p;
12817 + ppc = (char**) pcpcc;
12818 + pcpcc = (char const *const *) ppc;
12819 { /* SCO 3.2v4 cc rejects this. */
12821 char const *s = 0 ? (char *) 0 : (char const *) 0;
12826 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12827 int x[] = {25, 17};
12828 @@ -19848,7 +21055,9 @@
12830 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12831 const int foo = 10;
12832 + if (!foo) return 0;
12834 + return !cs[0] && !zero.x;
12838 @@ -19856,38 +21065,34 @@
12841 rm -f conftest.$ac_objext
12842 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12843 - (eval $ac_compile) 2>conftest.er1
12844 +if { (ac_try="$ac_compile"
12845 +case "(($ac_try" in
12846 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12847 + *) ac_try_echo=$ac_try;;
12849 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12850 + (eval "$ac_compile") 2>conftest.er1
12852 grep -v '^ *+' conftest.er1 >conftest.err
12854 cat conftest.err >&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 - (exit $ac_status); } &&
12857 - { ac_try='test -z "$ac_c_werror_flag"
12858 - || test ! -s conftest.err'
12859 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 - (eval $ac_try) 2>&5
12862 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 - (exit $ac_status); }; } &&
12864 - { ac_try='test -s conftest.$ac_objext'
12865 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12866 - (eval $ac_try) 2>&5
12868 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12869 - (exit $ac_status); }; }; then
12870 + (exit $ac_status); } && {
12871 + test -z "$ac_c_werror_flag" ||
12872 + test ! -s conftest.err
12873 + } && test -s conftest.$ac_objext; then
12876 echo "$as_me: failed program was:" >&5
12877 sed 's/^/| /' conftest.$ac_ext >&5
12882 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12884 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12886 -echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12887 -echo "${ECHO_T}$ac_cv_c_const" >&6
12888 +{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12889 +echo "${ECHO_T}$ac_cv_c_const" >&6; }
12890 if test $ac_cv_c_const = no; then
12892 cat >>confdefs.h <<\_ACEOF
12893 @@ -19896,8 +21101,8 @@
12897 -echo "$as_me:$LINENO: checking for size_t" >&5
12898 -echo $ECHO_N "checking for size_t... $ECHO_C" >&6
12899 +{ echo "$as_me:$LINENO: checking for size_t" >&5
12900 +echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
12901 if test "${ac_cv_type_size_t+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12904 @@ -19908,56 +21113,53 @@
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907 $ac_includes_default
12908 +typedef size_t ac__type_new_;
12913 +if ((ac__type_new_ *) 0)
12915 -if (sizeof (size_t))
12916 +if (sizeof (ac__type_new_))
12922 rm -f conftest.$ac_objext
12923 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12924 - (eval $ac_compile) 2>conftest.er1
12925 +if { (ac_try="$ac_compile"
12926 +case "(($ac_try" in
12927 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12928 + *) ac_try_echo=$ac_try;;
12930 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12931 + (eval "$ac_compile") 2>conftest.er1
12933 grep -v '^ *+' conftest.er1 >conftest.err
12935 cat conftest.err >&5
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 - (exit $ac_status); } &&
12938 - { ac_try='test -z "$ac_c_werror_flag"
12939 - || test ! -s conftest.err'
12940 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12941 - (eval $ac_try) 2>&5
12943 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 - (exit $ac_status); }; } &&
12945 - { ac_try='test -s conftest.$ac_objext'
12946 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12947 - (eval $ac_try) 2>&5
12949 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950 - (exit $ac_status); }; }; then
12951 + (exit $ac_status); } && {
12952 + test -z "$ac_c_werror_flag" ||
12953 + test ! -s conftest.err
12954 + } && test -s conftest.$ac_objext; then
12955 ac_cv_type_size_t=yes
12957 echo "$as_me: failed program was:" >&5
12958 sed 's/^/| /' conftest.$ac_ext >&5
12960 -ac_cv_type_size_t=no
12961 + ac_cv_type_size_t=no
12963 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12965 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12967 -echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12968 -echo "${ECHO_T}$ac_cv_type_size_t" >&6
12969 +{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12970 +echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
12971 if test $ac_cv_type_size_t = yes; then
12975 cat >>confdefs.h <<_ACEOF
12976 -#define size_t unsigned
12977 +#define size_t unsigned int
12981 @@ -19967,9 +21169,9 @@
12982 for ac_func in memmove bcopy
12984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12985 -echo "$as_me:$LINENO: checking for $ac_func" >&5
12986 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12987 -if eval "test \"\${$as_ac_var+set}\" = set"; then
12988 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
12989 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12990 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12991 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 cat >conftest.$ac_ext <<_ACEOF
12994 @@ -19995,68 +21197,60 @@
12998 -/* Override any gcc2 internal prototype to avoid an error. */
12999 +/* Override any GCC internal prototype to avoid an error.
13000 + Use char because int might match the return type of a GCC
13001 + builtin and then its argument prototype would still apply. */
13006 -/* We use char because int might match the return type of a gcc2
13007 - builtin and then its argument prototype would still apply. */
13009 /* The GNU C library defines this for functions which it implements
13010 to always fail with ENOSYS. Some functions are actually named
13011 something starting with __ and the normal name is an alias. */
13012 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13013 +#if defined __stub_$ac_func || defined __stub___$ac_func
13016 -char (*f) () = $ac_func;
13018 -#ifdef __cplusplus
13025 -return f != $ac_func;
13026 +return $ac_func ();
13031 rm -f conftest.$ac_objext conftest$ac_exeext
13032 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13033 - (eval $ac_link) 2>conftest.er1
13034 +if { (ac_try="$ac_link"
13035 +case "(($ac_try" in
13036 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13037 + *) ac_try_echo=$ac_try;;
13039 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13040 + (eval "$ac_link") 2>conftest.er1
13042 grep -v '^ *+' conftest.er1 >conftest.err
13044 cat conftest.err >&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 - (exit $ac_status); } &&
13047 - { ac_try='test -z "$ac_c_werror_flag"
13048 - || test ! -s conftest.err'
13049 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13050 - (eval $ac_try) 2>&5
13052 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 - (exit $ac_status); }; } &&
13054 - { ac_try='test -s conftest$ac_exeext'
13055 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13056 - (eval $ac_try) 2>&5
13058 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 - (exit $ac_status); }; }; then
13060 + (exit $ac_status); } && {
13061 + test -z "$ac_c_werror_flag" ||
13062 + test ! -s conftest.err
13063 + } && test -s conftest$ac_exeext &&
13064 + $as_test_x conftest$ac_exeext; then
13065 eval "$as_ac_var=yes"
13067 echo "$as_me: failed program was:" >&5
13068 sed 's/^/| /' conftest.$ac_ext >&5
13070 -eval "$as_ac_var=no"
13071 + eval "$as_ac_var=no"
13073 -rm -f conftest.err conftest.$ac_objext \
13075 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13076 conftest$ac_exeext conftest.$ac_ext
13078 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13079 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13080 +ac_res=`eval echo '${'$as_ac_var'}'`
13081 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13082 +echo "${ECHO_T}$ac_res" >&6; }
13083 if test `eval echo '${'$as_ac_var'}'` = yes; then
13084 cat >>confdefs.h <<_ACEOF
13085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13086 @@ -20071,18 +21265,19 @@
13087 for ac_header in fcntl.h unistd.h
13089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13090 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13091 - echo "$as_me:$LINENO: checking for $ac_header" >&5
13092 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13093 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13094 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13095 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
13096 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13097 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13101 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13102 +ac_res=`eval echo '${'$as_ac_Header'}'`
13103 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13104 +echo "${ECHO_T}$ac_res" >&6; }
13106 # Is the header compilable?
13107 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
13108 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13109 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
13110 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13111 cat >conftest.$ac_ext <<_ACEOF
13114 @@ -20093,41 +21288,37 @@
13115 #include <$ac_header>
13117 rm -f conftest.$ac_objext
13118 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13119 - (eval $ac_compile) 2>conftest.er1
13120 +if { (ac_try="$ac_compile"
13121 +case "(($ac_try" in
13122 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13123 + *) ac_try_echo=$ac_try;;
13125 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13126 + (eval "$ac_compile") 2>conftest.er1
13128 grep -v '^ *+' conftest.er1 >conftest.err
13130 cat conftest.err >&5
13131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13132 - (exit $ac_status); } &&
13133 - { ac_try='test -z "$ac_c_werror_flag"
13134 - || test ! -s conftest.err'
13135 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13136 - (eval $ac_try) 2>&5
13138 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13139 - (exit $ac_status); }; } &&
13140 - { ac_try='test -s conftest.$ac_objext'
13141 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13142 - (eval $ac_try) 2>&5
13144 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 - (exit $ac_status); }; }; then
13146 + (exit $ac_status); } && {
13147 + test -z "$ac_c_werror_flag" ||
13148 + test ! -s conftest.err
13149 + } && test -s conftest.$ac_objext; then
13150 ac_header_compiler=yes
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.$ac_ext >&5
13155 -ac_header_compiler=no
13156 + ac_header_compiler=no
13158 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13159 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13160 -echo "${ECHO_T}$ac_header_compiler" >&6
13162 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13163 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13164 +echo "${ECHO_T}$ac_header_compiler" >&6; }
13166 # Is the header present?
13167 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
13168 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13169 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
13170 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13171 cat >conftest.$ac_ext <<_ACEOF
13174 @@ -20136,24 +21327,22 @@
13175 /* end confdefs.h. */
13176 #include <$ac_header>
13178 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13179 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13180 +if { (ac_try="$ac_cpp conftest.$ac_ext"
13181 +case "(($ac_try" in
13182 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13183 + *) ac_try_echo=$ac_try;;
13185 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13186 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13188 grep -v '^ *+' conftest.er1 >conftest.err
13190 cat conftest.err >&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 - (exit $ac_status); } >/dev/null; then
13193 - if test -s conftest.err; then
13194 - ac_cpp_err=$ac_c_preproc_warn_flag
13195 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13202 -if test -z "$ac_cpp_err"; then
13203 + (exit $ac_status); } >/dev/null && {
13204 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13205 + test ! -s conftest.err
13207 ac_header_preproc=yes
13209 echo "$as_me: failed program was:" >&5
13210 @@ -20161,9 +21350,10 @@
13212 ac_header_preproc=no
13215 rm -f conftest.err conftest.$ac_ext
13216 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13217 -echo "${ECHO_T}$ac_header_preproc" >&6
13218 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13219 +echo "${ECHO_T}$ac_header_preproc" >&6; }
13221 # So? What about this header?
13222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13223 @@ -20187,25 +21377,24 @@
13224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13225 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13230 ## -------------------------------------- ##
13231 ## Report this to expat-bugs@libexpat.org ##
13232 ## -------------------------------------- ##
13235 - sed "s/^/$as_me: WARNING: /" >&2
13236 + ) | sed "s/^/$as_me: WARNING: /" >&2
13239 -echo "$as_me:$LINENO: checking for $ac_header" >&5
13240 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13241 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13242 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
13243 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13244 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13247 eval "$as_ac_Header=\$ac_header_preproc"
13249 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13250 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13251 +ac_res=`eval echo '${'$as_ac_Header'}'`
13252 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13253 +echo "${ECHO_T}$ac_res" >&6; }
13256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13257 @@ -20217,8 +21406,8 @@
13261 -echo "$as_me:$LINENO: checking for off_t" >&5
13262 -echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13263 +{ echo "$as_me:$LINENO: checking for off_t" >&5
13264 +echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
13265 if test "${ac_cv_type_off_t+set}" = set; then
13266 echo $ECHO_N "(cached) $ECHO_C" >&6
13268 @@ -20229,56 +21418,53 @@
13269 cat >>conftest.$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13271 $ac_includes_default
13272 +typedef off_t ac__type_new_;
13277 +if ((ac__type_new_ *) 0)
13279 -if (sizeof (off_t))
13280 +if (sizeof (ac__type_new_))
13286 rm -f conftest.$ac_objext
13287 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13288 - (eval $ac_compile) 2>conftest.er1
13289 +if { (ac_try="$ac_compile"
13290 +case "(($ac_try" in
13291 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13292 + *) ac_try_echo=$ac_try;;
13294 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13295 + (eval "$ac_compile") 2>conftest.er1
13297 grep -v '^ *+' conftest.er1 >conftest.err
13299 cat conftest.err >&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 - (exit $ac_status); } &&
13302 - { ac_try='test -z "$ac_c_werror_flag"
13303 - || test ! -s conftest.err'
13304 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13305 - (eval $ac_try) 2>&5
13307 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 - (exit $ac_status); }; } &&
13309 - { ac_try='test -s conftest.$ac_objext'
13310 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 - (eval $ac_try) 2>&5
13313 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 - (exit $ac_status); }; }; then
13315 + (exit $ac_status); } && {
13316 + test -z "$ac_c_werror_flag" ||
13317 + test ! -s conftest.err
13318 + } && test -s conftest.$ac_objext; then
13319 ac_cv_type_off_t=yes
13321 echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13324 -ac_cv_type_off_t=no
13325 + ac_cv_type_off_t=no
13327 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13329 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13331 -echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13332 -echo "${ECHO_T}$ac_cv_type_off_t" >&6
13333 +{ echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13334 +echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
13335 if test $ac_cv_type_off_t = yes; then
13339 cat >>confdefs.h <<_ACEOF
13340 -#define off_t long
13341 +#define off_t long int
13345 @@ -20288,18 +21474,19 @@
13346 for ac_header in stdlib.h unistd.h
13348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13349 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13350 - echo "$as_me:$LINENO: checking for $ac_header" >&5
13351 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13352 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13353 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13354 + { echo "$as_me:$LINENO: checking for $ac_header" >&5
13355 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13356 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13359 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13360 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13361 +ac_res=`eval echo '${'$as_ac_Header'}'`
13362 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13363 +echo "${ECHO_T}$ac_res" >&6; }
13365 # Is the header compilable?
13366 -echo "$as_me:$LINENO: checking $ac_header usability" >&5
13367 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13368 +{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
13369 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
13370 cat >conftest.$ac_ext <<_ACEOF
13373 @@ -20310,41 +21497,37 @@
13374 #include <$ac_header>
13376 rm -f conftest.$ac_objext
13377 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13378 - (eval $ac_compile) 2>conftest.er1
13379 +if { (ac_try="$ac_compile"
13380 +case "(($ac_try" in
13381 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13382 + *) ac_try_echo=$ac_try;;
13384 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13385 + (eval "$ac_compile") 2>conftest.er1
13387 grep -v '^ *+' conftest.er1 >conftest.err
13389 cat conftest.err >&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 - (exit $ac_status); } &&
13392 - { ac_try='test -z "$ac_c_werror_flag"
13393 - || test ! -s conftest.err'
13394 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 - (eval $ac_try) 2>&5
13397 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 - (exit $ac_status); }; } &&
13399 - { ac_try='test -s conftest.$ac_objext'
13400 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 - (eval $ac_try) 2>&5
13403 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 - (exit $ac_status); }; }; then
13405 + (exit $ac_status); } && {
13406 + test -z "$ac_c_werror_flag" ||
13407 + test ! -s conftest.err
13408 + } && test -s conftest.$ac_objext; then
13409 ac_header_compiler=yes
13411 echo "$as_me: failed program was:" >&5
13412 sed 's/^/| /' conftest.$ac_ext >&5
13414 -ac_header_compiler=no
13415 + ac_header_compiler=no
13417 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13418 -echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13419 -echo "${ECHO_T}$ac_header_compiler" >&6
13421 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13422 +{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13423 +echo "${ECHO_T}$ac_header_compiler" >&6; }
13425 # Is the header present?
13426 -echo "$as_me:$LINENO: checking $ac_header presence" >&5
13427 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13428 +{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
13429 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
13430 cat >conftest.$ac_ext <<_ACEOF
13433 @@ -20353,24 +21536,22 @@
13434 /* end confdefs.h. */
13435 #include <$ac_header>
13437 -if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13438 - (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13439 +if { (ac_try="$ac_cpp conftest.$ac_ext"
13440 +case "(($ac_try" in
13441 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13442 + *) ac_try_echo=$ac_try;;
13444 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13445 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13447 grep -v '^ *+' conftest.er1 >conftest.err
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 - (exit $ac_status); } >/dev/null; then
13452 - if test -s conftest.err; then
13453 - ac_cpp_err=$ac_c_preproc_warn_flag
13454 - ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13461 -if test -z "$ac_cpp_err"; then
13462 + (exit $ac_status); } >/dev/null && {
13463 + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13464 + test ! -s conftest.err
13466 ac_header_preproc=yes
13468 echo "$as_me: failed program was:" >&5
13469 @@ -20378,9 +21559,10 @@
13471 ac_header_preproc=no
13474 rm -f conftest.err conftest.$ac_ext
13475 -echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13476 -echo "${ECHO_T}$ac_header_preproc" >&6
13477 +{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13478 +echo "${ECHO_T}$ac_header_preproc" >&6; }
13480 # So? What about this header?
13481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13482 @@ -20404,25 +21586,24 @@
13483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13484 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13489 ## -------------------------------------- ##
13490 ## Report this to expat-bugs@libexpat.org ##
13491 ## -------------------------------------- ##
13494 - sed "s/^/$as_me: WARNING: /" >&2
13495 + ) | sed "s/^/$as_me: WARNING: /" >&2
13498 -echo "$as_me:$LINENO: checking for $ac_header" >&5
13499 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13500 -if eval "test \"\${$as_ac_Header+set}\" = set"; then
13501 +{ echo "$as_me:$LINENO: checking for $ac_header" >&5
13502 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13503 +if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13504 echo $ECHO_N "(cached) $ECHO_C" >&6
13506 eval "$as_ac_Header=\$ac_header_preproc"
13508 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13509 -echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13510 +ac_res=`eval echo '${'$as_ac_Header'}'`
13511 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13512 +echo "${ECHO_T}$ac_res" >&6; }
13515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13516 @@ -20438,9 +21619,9 @@
13517 for ac_func in getpagesize
13519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13520 -echo "$as_me:$LINENO: checking for $ac_func" >&5
13521 -echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13522 -if eval "test \"\${$as_ac_var+set}\" = set"; then
13523 +{ echo "$as_me:$LINENO: checking for $ac_func" >&5
13524 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13525 +if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13526 echo $ECHO_N "(cached) $ECHO_C" >&6
13528 cat >conftest.$ac_ext <<_ACEOF
13529 @@ -20466,68 +21647,60 @@
13533 -/* Override any gcc2 internal prototype to avoid an error. */
13534 +/* Override any GCC internal prototype to avoid an error.
13535 + Use char because int might match the return type of a GCC
13536 + builtin and then its argument prototype would still apply. */
13541 -/* We use char because int might match the return type of a gcc2
13542 - builtin and then its argument prototype would still apply. */
13544 /* The GNU C library defines this for functions which it implements
13545 to always fail with ENOSYS. Some functions are actually named
13546 something starting with __ and the normal name is an alias. */
13547 -#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13548 +#if defined __stub_$ac_func || defined __stub___$ac_func
13551 -char (*f) () = $ac_func;
13553 -#ifdef __cplusplus
13560 -return f != $ac_func;
13561 +return $ac_func ();
13566 rm -f conftest.$ac_objext conftest$ac_exeext
13567 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13568 - (eval $ac_link) 2>conftest.er1
13569 +if { (ac_try="$ac_link"
13570 +case "(($ac_try" in
13571 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13572 + *) ac_try_echo=$ac_try;;
13574 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13575 + (eval "$ac_link") 2>conftest.er1
13577 grep -v '^ *+' conftest.er1 >conftest.err
13579 cat conftest.err >&5
13580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 - (exit $ac_status); } &&
13582 - { ac_try='test -z "$ac_c_werror_flag"
13583 - || test ! -s conftest.err'
13584 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 - (eval $ac_try) 2>&5
13587 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 - (exit $ac_status); }; } &&
13589 - { ac_try='test -s conftest$ac_exeext'
13590 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13591 - (eval $ac_try) 2>&5
13593 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
13594 - (exit $ac_status); }; }; then
13595 + (exit $ac_status); } && {
13596 + test -z "$ac_c_werror_flag" ||
13597 + test ! -s conftest.err
13598 + } && test -s conftest$ac_exeext &&
13599 + $as_test_x conftest$ac_exeext; then
13600 eval "$as_ac_var=yes"
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.$ac_ext >&5
13605 -eval "$as_ac_var=no"
13606 + eval "$as_ac_var=no"
13608 -rm -f conftest.err conftest.$ac_objext \
13610 +rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13611 conftest$ac_exeext conftest.$ac_ext
13613 -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13614 -echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13615 +ac_res=`eval echo '${'$as_ac_var'}'`
13616 + { echo "$as_me:$LINENO: result: $ac_res" >&5
13617 +echo "${ECHO_T}$ac_res" >&6; }
13618 if test `eval echo '${'$as_ac_var'}'` = yes; then
13619 cat >>confdefs.h <<_ACEOF
13620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13621 @@ -20536,8 +21709,8 @@
13625 -echo "$as_me:$LINENO: checking for working mmap" >&5
13626 -echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
13627 +{ echo "$as_me:$LINENO: checking for working mmap" >&5
13628 +echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
13629 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
13630 echo $ECHO_N "(cached) $ECHO_C" >&6
13632 @@ -20579,21 +21752,21 @@
13634 #include <sys/mman.h>
13636 -#if !STDC_HEADERS && !HAVE_STDLIB_H
13637 +#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
13641 /* This mess was copied from the GNU getpagesize.h. */
13642 -#if !HAVE_GETPAGESIZE
13643 +#ifndef HAVE_GETPAGESIZE
13644 /* Assume that all systems that can run configure have sys/param.h. */
13645 -# if !HAVE_SYS_PARAM_H
13646 +# ifndef HAVE_SYS_PARAM_H
13647 # define HAVE_SYS_PARAM_H 1
13650 # ifdef _SC_PAGESIZE
13651 # define getpagesize() sysconf(_SC_PAGESIZE)
13652 # else /* no _SC_PAGESIZE */
13653 -# if HAVE_SYS_PARAM_H
13654 +# ifdef HAVE_SYS_PARAM_H
13655 # include <sys/param.h>
13656 # ifdef EXEC_PAGESIZE
13657 # define getpagesize() EXEC_PAGESIZE
13658 @@ -20632,15 +21805,15 @@
13659 /* First, make a file with some known garbage in it. */
13660 data = (char *) malloc (pagesize);
13664 for (i = 0; i < pagesize; ++i)
13665 *(data + i) = rand ();
13667 fd = creat ("conftest.mmap", 0600);
13671 if (write (fd, data, pagesize) != pagesize)
13676 /* Next, try to mmap the file at a fixed address which already has
13677 @@ -20648,17 +21821,17 @@
13678 we see the same garbage. */
13679 fd = open ("conftest.mmap", O_RDWR);
13683 data2 = (char *) malloc (2 * pagesize);
13686 - data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
13688 + data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
13689 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
13690 MAP_PRIVATE | MAP_FIXED, fd, 0L))
13693 for (i = 0; i < pagesize; ++i)
13694 if (*(data + i) != *(data2 + i))
13698 /* Finally, make sure that changes to the mapped area do not
13699 percolate back to the file as seen by read(). (This is a bug on
13700 @@ -20667,24 +21840,33 @@
13701 *(data2 + i) = *(data2 + i) + 1;
13702 data3 = (char *) malloc (pagesize);
13706 if (read (fd, data3, pagesize) != pagesize)
13709 for (i = 0; i < pagesize; ++i)
13710 if (*(data + i) != *(data3 + i))
13718 rm -f conftest$ac_exeext
13719 -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13720 - (eval $ac_link) 2>&5
13721 +if { (ac_try="$ac_link"
13722 +case "(($ac_try" in
13723 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13724 + *) ac_try_echo=$ac_try;;
13726 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13727 + (eval "$ac_link") 2>&5
13729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13731 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13732 - (eval $ac_try) 2>&5
13733 + { (case "(($ac_try" in
13734 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13735 + *) ac_try_echo=$ac_try;;
13737 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13738 + (eval "$ac_try") 2>&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); }; }; then
13742 @@ -20697,11 +21879,13 @@
13743 ( exit $ac_status )
13744 ac_cv_func_mmap_fixed_mapped=no
13746 -rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13747 +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13752 -echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
13753 -echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
13754 +{ echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
13755 +echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
13756 if test $ac_cv_func_mmap_fixed_mapped = yes; then
13758 cat >>confdefs.h <<\_ACEOF
13759 @@ -20727,9 +21911,351 @@
13760 # If not, we'll just define __func__ to "".
13763 + case $ac_cv_prog_cc_stdc in
13764 + no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
13765 + *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
13766 +echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
13767 +if test "${ac_cv_prog_cc_c99+set}" = set; then
13768 + echo $ECHO_N "(cached) $ECHO_C" >&6
13770 + ac_cv_prog_cc_c99=no
13772 +cat >conftest.$ac_ext <<_ACEOF
13775 +cat confdefs.h >>conftest.$ac_ext
13776 +cat >>conftest.$ac_ext <<_ACEOF
13777 +/* end confdefs.h. */
13778 +#include <stdarg.h>
13779 +#include <stdbool.h>
13780 +#include <stdlib.h>
13781 +#include <wchar.h>
13782 +#include <stdio.h>
13784 -echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5
13785 -echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6
13786 +// Check varargs macros. These examples are taken from C99 6.10.3.5.
13787 +#define debug(...) fprintf (stderr, __VA_ARGS__)
13788 +#define showlist(...) puts (#__VA_ARGS__)
13789 +#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
13791 +test_varargs_macros (void)
13796 + debug ("X = %d\n", x);
13797 + showlist (The first, second, and third items.);
13798 + report (x>y, "x is %d but y is %d", x, y);
13801 +// Check long long types.
13802 +#define BIG64 18446744073709551615ull
13803 +#define BIG32 4294967295ul
13804 +#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
13806 + your preprocessor is broken;
13810 + your preprocessor is broken;
13812 +static long long int bignum = -9223372036854775807LL;
13813 +static unsigned long long int ubignum = BIG64;
13815 +struct incomplete_array
13821 +struct named_init {
13823 + const wchar_t *name;
13827 +typedef const char *ccp;
13830 +test_restrict (ccp restrict text)
13832 + // See if C++-style comments work.
13833 + // Iterate through items via the restricted pointer.
13834 + // Also check for declarations in for loops.
13835 + for (unsigned int i = 0; *(text+i) != '\0'; ++i)
13840 +// Check varargs and va_copy.
13842 +test_varargs (const char *format, ...)
13845 + va_start (args, format);
13846 + va_list args_copy;
13847 + va_copy (args_copy, args);
13855 + switch (*format++)
13857 + case 's': // string
13858 + str = va_arg (args_copy, const char *);
13861 + number = va_arg (args_copy, int);
13863 + case 'f': // float
13864 + fnumber = va_arg (args_copy, double);
13870 + va_end (args_copy);
13879 + _Bool success = false;
13881 + // Check restrict.
13882 + if (test_restrict ("String literal") == 0)
13884 + char *restrict newvar = "Another string";
13886 + // Check varargs.
13887 + test_varargs ("s, d' f .", "string", 65, 34.234);
13888 + test_varargs_macros ();
13890 + // Check flexible array members.
13891 + struct incomplete_array *ia =
13892 + malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
13893 + ia->datasize = 10;
13894 + for (int i = 0; i < ia->datasize; ++i)
13895 + ia->data[i] = i * 1.234;
13897 + // Check named initializers.
13898 + struct named_init ni = {
13900 + .name = L"Test wide string",
13901 + .average = 543.34343,
13906 + int dynamic_array[ni.number];
13907 + dynamic_array[ni.number - 1] = 543;
13909 + // work around unused variable warnings
13910 + return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
13911 + || dynamic_array[ni.number - 1] != 543);
13917 +for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
13919 + CC="$ac_save_CC $ac_arg"
13920 + rm -f conftest.$ac_objext
13921 +if { (ac_try="$ac_compile"
13922 +case "(($ac_try" in
13923 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13924 + *) ac_try_echo=$ac_try;;
13926 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13927 + (eval "$ac_compile") 2>conftest.er1
13929 + grep -v '^ *+' conftest.er1 >conftest.err
13930 + rm -f conftest.er1
13931 + cat conftest.err >&5
13932 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
13933 + (exit $ac_status); } && {
13934 + test -z "$ac_c_werror_flag" ||
13935 + test ! -s conftest.err
13936 + } && test -s conftest.$ac_objext; then
13937 + ac_cv_prog_cc_c99=$ac_arg
13939 + echo "$as_me: failed program was:" >&5
13940 +sed 's/^/| /' conftest.$ac_ext >&5
13945 +rm -f core conftest.err conftest.$ac_objext
13946 + test "x$ac_cv_prog_cc_c99" != "xno" && break
13948 +rm -f conftest.$ac_ext
13953 +case "x$ac_cv_prog_cc_c99" in
13955 + { echo "$as_me:$LINENO: result: none needed" >&5
13956 +echo "${ECHO_T}none needed" >&6; } ;;
13958 + { echo "$as_me:$LINENO: result: unsupported" >&5
13959 +echo "${ECHO_T}unsupported" >&6; } ;;
13961 + CC="$CC $ac_cv_prog_cc_c99"
13962 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
13963 +echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
13965 +if test "x$ac_cv_prog_cc_c99" != xno; then
13966 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
13968 + { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13969 +echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13970 +if test "${ac_cv_prog_cc_c89+set}" = set; then
13971 + echo $ECHO_N "(cached) $ECHO_C" >&6
13973 + ac_cv_prog_cc_c89=no
13975 +cat >conftest.$ac_ext <<_ACEOF
13978 +cat confdefs.h >>conftest.$ac_ext
13979 +cat >>conftest.$ac_ext <<_ACEOF
13980 +/* end confdefs.h. */
13981 +#include <stdarg.h>
13982 +#include <stdio.h>
13983 +#include <sys/types.h>
13984 +#include <sys/stat.h>
13985 +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13986 +struct buf { int x; };
13987 +FILE * (*rcsopen) (struct buf *, struct stat *, int);
13988 +static char *e (p, i)
13994 +static char *f (char * (*g) (char **, int), char **p, ...)
13999 + s = g (p, va_arg (v,int));
14004 +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14005 + function prototypes and stuff, but not '\xHH' hex character constants.
14006 + These don't provoke an error unfortunately, instead are silently treated
14007 + as 'x'. The following induces an error, until -std is added to get
14008 + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14009 + array size at least. It's necessary to write '\x00'==0 to get something
14010 + that's true only with -std. */
14011 +int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14013 +/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14014 + inside strings and character constants. */
14015 +#define FOO(x) 'x'
14016 +int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14018 +int test (int i, double x);
14019 +struct s1 {int (*f) (int a);};
14020 +struct s2 {int (*f) (double a);};
14021 +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14027 +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14032 +for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14033 + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14035 + CC="$ac_save_CC $ac_arg"
14036 + rm -f conftest.$ac_objext
14037 +if { (ac_try="$ac_compile"
14038 +case "(($ac_try" in
14039 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14040 + *) ac_try_echo=$ac_try;;
14042 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14043 + (eval "$ac_compile") 2>conftest.er1
14045 + grep -v '^ *+' conftest.er1 >conftest.err
14046 + rm -f conftest.er1
14047 + cat conftest.err >&5
14048 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 + (exit $ac_status); } && {
14050 + test -z "$ac_c_werror_flag" ||
14051 + test ! -s conftest.err
14052 + } && test -s conftest.$ac_objext; then
14053 + ac_cv_prog_cc_c89=$ac_arg
14055 + echo "$as_me: failed program was:" >&5
14056 +sed 's/^/| /' conftest.$ac_ext >&5
14061 +rm -f core conftest.err conftest.$ac_objext
14062 + test "x$ac_cv_prog_cc_c89" != "xno" && break
14064 +rm -f conftest.$ac_ext
14069 +case "x$ac_cv_prog_cc_c89" in
14071 + { echo "$as_me:$LINENO: result: none needed" >&5
14072 +echo "${ECHO_T}none needed" >&6; } ;;
14074 + { echo "$as_me:$LINENO: result: unsupported" >&5
14075 +echo "${ECHO_T}unsupported" >&6; } ;;
14077 + CC="$CC $ac_cv_prog_cc_c89"
14078 + { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14079 +echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14081 +if test "x$ac_cv_prog_cc_c89" != xno; then
14082 + ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
14084 + ac_cv_prog_cc_stdc=no
14092 + { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
14093 +echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
14094 + if test "${ac_cv_prog_cc_stdc+set}" = set; then
14095 + echo $ECHO_N "(cached) $ECHO_C" >&6
14098 + case $ac_cv_prog_cc_stdc in
14099 + no) { echo "$as_me:$LINENO: result: unsupported" >&5
14100 +echo "${ECHO_T}unsupported" >&6; } ;;
14101 + '') { echo "$as_me:$LINENO: result: none needed" >&5
14102 +echo "${ECHO_T}none needed" >&6; } ;;
14103 + *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
14104 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
14108 +{ echo "$as_me:$LINENO: checking for an ANSI C99-conforming __func__" >&5
14109 +echo $ECHO_N "checking for an ANSI C99-conforming __func__... $ECHO_C" >&6; }
14110 if test "${ac_cv_cpp_func+set}" = set; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14113 @@ -20749,33 +22275,28 @@
14116 rm -f conftest.$ac_objext
14117 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14118 - (eval $ac_compile) 2>conftest.er1
14119 +if { (ac_try="$ac_compile"
14120 +case "(($ac_try" in
14121 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14122 + *) ac_try_echo=$ac_try;;
14124 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14125 + (eval "$ac_compile") 2>conftest.er1
14127 grep -v '^ *+' conftest.er1 >conftest.err
14129 cat conftest.err >&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 - (exit $ac_status); } &&
14132 - { ac_try='test -z "$ac_c_werror_flag"
14133 - || test ! -s conftest.err'
14134 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14135 - (eval $ac_try) 2>&5
14137 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14138 - (exit $ac_status); }; } &&
14139 - { ac_try='test -s conftest.$ac_objext'
14140 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14141 - (eval $ac_try) 2>&5
14143 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14144 - (exit $ac_status); }; }; then
14145 + (exit $ac_status); } && {
14146 + test -z "$ac_c_werror_flag" ||
14147 + test ! -s conftest.err
14148 + } && test -s conftest.$ac_objext; then
14151 echo "$as_me: failed program was:" >&5
14152 sed 's/^/| /' conftest.$ac_ext >&5
14154 -cat >conftest.$ac_ext <<_ACEOF
14155 + cat >conftest.$ac_ext <<_ACEOF
14158 cat confdefs.h >>conftest.$ac_ext
14159 @@ -20791,40 +22312,37 @@
14162 rm -f conftest.$ac_objext
14163 -if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14164 - (eval $ac_compile) 2>conftest.er1
14165 +if { (ac_try="$ac_compile"
14166 +case "(($ac_try" in
14167 + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14168 + *) ac_try_echo=$ac_try;;
14170 +eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14171 + (eval "$ac_compile") 2>conftest.er1
14173 grep -v '^ *+' conftest.er1 >conftest.err
14175 cat conftest.err >&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 - (exit $ac_status); } &&
14178 - { ac_try='test -z "$ac_c_werror_flag"
14179 - || test ! -s conftest.err'
14180 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 - (eval $ac_try) 2>&5
14183 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 - (exit $ac_status); }; } &&
14185 - { ac_try='test -s conftest.$ac_objext'
14186 - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14187 - (eval $ac_try) 2>&5
14189 - echo "$as_me:$LINENO: \$? = $ac_status" >&5
14190 - (exit $ac_status); }; }; then
14191 + (exit $ac_status); } && {
14192 + test -z "$ac_c_werror_flag" ||
14193 + test ! -s conftest.err
14194 + } && test -s conftest.$ac_objext; then
14195 ac_cv_cpp_func=__FUNCTION__
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5
14201 + ac_cv_cpp_func=no
14203 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14205 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14207 -rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14209 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14211 -echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5
14212 -echo "${ECHO_T}$ac_cv_cpp_func" >&6
14213 +{ echo "$as_me:$LINENO: result: $ac_cv_cpp_func" >&5
14214 +echo "${ECHO_T}$ac_cv_cpp_func" >&6; }
14215 if test $ac_cv_cpp_func = __FUNCTION__; then
14217 cat >>confdefs.h <<\_ACEOF
14218 @@ -20857,7 +22375,7 @@
14222 - ac_config_files="$ac_config_files Makefile"
14223 +ac_config_files="$ac_config_files Makefile"
14225 cat >confcache <<\_ACEOF
14226 # This file is a shell script that caches the results of configure
14227 @@ -20877,39 +22395,58 @@
14229 # The following way of writing the cache mishandles newlines in values,
14230 # but we know of no workaround that is simple, portable, and efficient.
14231 -# So, don't put newlines in cache variables' values.
14232 +# So, we kill variables containing newlines.
14233 # Ultrix sh set writes to stderr and can't be redirected directly,
14234 # and sets the high bit in the cache file unless we assign to the vars.
14237 + for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14238 + eval ac_val=\$$ac_var
14239 + case $ac_val in #(
14241 + case $ac_var in #(
14242 + *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
14243 +echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
14245 + case $ac_var in #(
14246 + _ | IFS | as_nl) ;; #(
14247 + *) $as_unset $ac_var ;;
14253 - case `(ac_space=' '; set | grep ac_space) 2>&1` in
14255 + case $as_nl`(ac_space=' '; set) 2>&1` in #(
14256 + *${as_nl}ac_space=\ *)
14257 # `set' does not quote correctly, so add quotes (double-quote
14258 # substitution turns \\\\ into \\, and sed turns \\ into \).
14261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14265 # `set' quotes correctly as required by POSIX, so do not add quotes.
14267 - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14268 + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14276 + /^ac_cv_env_/b end
14280 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14282 - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14283 - : end' >>confcache
14284 -if diff $cache_file confcache >/dev/null 2>&1; then :; else
14285 - if test -w $cache_file; then
14286 - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14287 + s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14288 + :end' >>confcache
14289 +if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14290 + if test -w "$cache_file"; then
14291 + test "x$cache_file" != "x/dev/null" &&
14292 + { echo "$as_me:$LINENO: updating cache $cache_file" >&5
14293 +echo "$as_me: updating cache $cache_file" >&6;}
14294 cat confcache >$cache_file
14296 - echo "not updating unwritable cache $cache_file"
14297 + { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
14298 +echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14302 @@ -20918,32 +22455,18 @@
14303 # Let make expand exec_prefix.
14304 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14306 -# VPATH may cause trouble with some makes, so we remove $(srcdir),
14307 -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14308 -# trailing colons and then remove the whole line if VPATH becomes empty
14309 -# (actually we leave an empty line to preserve line numbers).
14310 -if test "x$srcdir" = x.; then
14311 - ac_vpsub='/^[ ]*VPATH[ ]*=/{
14312 -s/:*\$(srcdir):*/:/;
14313 -s/:*\${srcdir}:*/:/;
14314 -s/:*@srcdir@:*/:/;
14315 -s/^\([^=]*=[ ]*\):*/\1/;
14321 DEFS=-DHAVE_CONFIG_H
14325 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14326 # 1. Remove the extension, and $U if already installed.
14327 - ac_i=`echo "$ac_i" |
14328 - sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
14330 - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
14331 - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
14332 + ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14333 + ac_i=`echo "$ac_i" | sed "$ac_script"`
14334 + # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14335 + # will be set to the directory where LIBOBJS objects are built.
14336 + ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14337 + ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
14339 LIBOBJS=$ac_libobjs
14341 @@ -20974,17 +22497,45 @@
14342 ## M4sh Initialization. ##
14343 ## --------------------- ##
14345 -# Be Bourne compatible
14346 +# Be more Bourne compatible
14347 +DUALCASE=1; export DUALCASE # for MKS sh
14348 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14351 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
14352 # is contrary to our usage. Disable this feature.
14353 alias -g '${1+"$@"}'='"$@"'
14354 -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
14356 + setopt NO_GLOB_SUBST
14358 + case `(set -o) 2>/dev/null` in
14359 + *posix*) set -o posix ;;
14368 +# Avoid depending upon Character Ranges.
14369 +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14370 +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14371 +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14372 +as_cr_digits='0123456789'
14373 +as_cr_alnum=$as_cr_Letters$as_cr_digits
14375 +# The user is always right.
14376 +if test "${PATH_SEPARATOR+set}" != set; then
14377 + echo "#! /bin/sh" >conf$$.sh
14378 + echo "exit 0" >>conf$$.sh
14379 + chmod +x conf$$.sh
14380 + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14381 + PATH_SEPARATOR=';'
14387 -DUALCASE=1; export DUALCASE # for MKS sh
14389 # Support unset when possible.
14390 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
14391 @@ -20994,8 +22545,43 @@
14396 +# We need space, tab and new line, in precisely that order. Quoting is
14397 +# there to prevent editors from complaining about space-tab.
14398 +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14399 +# splitting by setting IFS to empty value.)
14404 +# Find who we are. Look in the path if we contain no directory separator.
14406 + *[\\/]* ) as_myself=$0 ;;
14407 + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14408 +for as_dir in $PATH
14411 + test -z "$as_dir" && as_dir=.
14412 + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14418 +# We did not find ourselves, most probably we were run as `sh COMMAND'
14419 +# in which case we are not to be found in the path.
14420 +if test "x$as_myself" = x; then
14423 +if test ! -f "$as_myself"; then
14424 + echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14425 + { (exit 1); exit 1; }
14428 # Work around bugs in pre-3.0 UWIN ksh.
14429 -$as_unset ENV MAIL MAILPATH
14430 +for as_var in ENV MAIL MAILPATH
14431 +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14436 @@ -21009,18 +22595,19 @@
14437 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
14438 eval $as_var=C; export $as_var
14440 - $as_unset $as_var
14441 + ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
14445 # Required to use basename.
14446 -if expr a : '\(a\)' >/dev/null 2>&1; then
14447 +if expr a : '\(a\)' >/dev/null 2>&1 &&
14448 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
14454 -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
14455 +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14456 as_basename=basename
14459 @@ -21028,159 +22615,120 @@
14462 # Name of the executable.
14463 -as_me=`$as_basename "$0" ||
14464 +as_me=`$as_basename -- "$0" ||
14465 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14466 X"$0" : 'X\(//\)$' \| \
14467 - X"$0" : 'X\(/\)$' \| \
14468 - . : '\(.\)' 2>/dev/null ||
14469 + X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14471 - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
14472 - /^X\/\(\/\/\)$/{ s//\1/; q; }
14473 - /^X\/\(\/\).*/{ s//\1/; q; }
14476 + sed '/^.*\/\([^/][^/]*\)\/*$/{
14490 -# PATH needs CR, and LINENO needs CR and PATH.
14491 -# Avoid depending upon Character Ranges.
14492 -as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14493 -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14494 -as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14495 -as_cr_digits='0123456789'
14496 -as_cr_alnum=$as_cr_Letters$as_cr_digits
14500 -# The user is always right.
14501 -if test "${PATH_SEPARATOR+set}" != set; then
14502 - echo "#! /bin/sh" >conf$$.sh
14503 - echo "exit 0" >>conf$$.sh
14504 - chmod +x conf$$.sh
14505 - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14506 - PATH_SEPARATOR=';'
14514 as_lineno_1=$LINENO
14515 as_lineno_2=$LINENO
14516 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14517 test "x$as_lineno_1" != "x$as_lineno_2" &&
14518 - test "x$as_lineno_3" = "x$as_lineno_2" || {
14519 - # Find who we are. Look in the path if we contain no path at all
14520 - # relative or not.
14522 - *[\\/]* ) as_myself=$0 ;;
14523 - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14524 -for as_dir in $PATH
14527 - test -z "$as_dir" && as_dir=.
14528 - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14533 - # We did not find ourselves, most probably we were run as `sh COMMAND'
14534 - # in which case we are not to be found in the path.
14535 - if test "x$as_myself" = x; then
14538 - if test ! -f "$as_myself"; then
14539 - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
14540 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
14541 - { (exit 1); exit 1; }; }
14543 - case $CONFIG_SHELL in
14545 - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14546 -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
14549 - test -z "$as_dir" && as_dir=.
14550 - for as_base in sh bash ksh sh5; do
14553 - if ("$as_dir/$as_base" -c '
14554 - as_lineno_1=$LINENO
14555 - as_lineno_2=$LINENO
14556 - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14557 - test "x$as_lineno_1" != "x$as_lineno_2" &&
14558 - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
14559 - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
14560 - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
14561 - CONFIG_SHELL=$as_dir/$as_base
14562 - export CONFIG_SHELL
14563 - exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14570 + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
14572 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
14573 # uniformly replaced by the line number. The first 'sed' inserts a
14574 - # line-number line before each line; the second 'sed' does the real
14575 - # work. The second script uses 'N' to pair each line-number line
14576 - # with the numbered line, and appends trailing '-' during
14577 - # substitution so that $LINENO is not a special case at line end.
14578 + # line-number line after each line using $LINENO; the second 'sed'
14579 + # does the real work. The second script uses 'N' to pair each
14580 + # line-number line with the line containing $LINENO, and appends
14581 + # trailing '-' during substitution so that $LINENO is not a special
14582 + # case at line end.
14583 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
14584 - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
14585 - sed '=' <$as_myself |
14586 + # scripts with optimization help from Paolo Bonzini. Blame Lee
14587 + # E. McMahon (1931-1989) for sed's syntax. :-)
14593 + s/[$]LINENO.*/&-/
14600 - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
14602 + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
14605 - s,^['$as_cr_digits']*\n,,
14607 ' >$as_me.lineno &&
14608 - chmod +x $as_me.lineno ||
14609 - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
14610 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
14611 + chmod +x "$as_me.lineno" ||
14612 + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
14613 { (exit 1); exit 1; }; }
14615 # Don't try to exec as it changes $[0], causing all sort of problems
14616 # (the dirname of $[0] is not the place where we might find the
14617 - # original and so on. Autoconf is especially sensible to this).
14618 - . ./$as_me.lineno
14619 + # original and so on. Autoconf is especially sensitive to this).
14620 + . "./$as_me.lineno"
14621 # Exit status is that of the last command.
14626 -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
14627 - *c*,-n*) ECHO_N= ECHO_C='
14629 - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
14630 - *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
14631 +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14632 + as_dirname=dirname
14637 +ECHO_C= ECHO_N= ECHO_T=
14638 +case `echo -n x` in
14640 + case `echo 'x\c'` in
14641 + *c*) ECHO_T=' ';; # ECHO_T is single tab character.
14648 -if expr a : '\(a\)' >/dev/null 2>&1; then
14649 +if expr a : '\(a\)' >/dev/null 2>&1 &&
14650 + test "X`expr 00001 : '.*\(...\)'`" = X001; then
14656 rm -f conf$$ conf$$.exe conf$$.file
14657 +if test -d conf$$.dir; then
14658 + rm -f conf$$.dir/conf$$.file
14664 if ln -s conf$$.file conf$$ 2>/dev/null; then
14665 - # We could just check for DJGPP; but this test a) works b) is more generic
14666 - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
14667 - if test -f conf$$.exe; then
14668 - # Don't use ln at all; we don't have any links
14670 + # ... but there are two gotchas:
14671 + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14672 + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14673 + # In both cases, we have to default to `cp -p'.
14674 + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14679 elif ln conf$$.file conf$$ 2>/dev/null; then
14684 -rm -f conf$$ conf$$.exe conf$$.file
14685 +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14686 +rmdir conf$$.dir 2>/dev/null
14688 if mkdir -p . 2>/dev/null; then
14690 @@ -21189,7 +22737,28 @@
14694 -as_executable_p="test -f"
14695 +if test -x / >/dev/null 2>&1; then
14696 + as_test_x='test -x'
14698 + if ls -dL / >/dev/null 2>&1; then
14705 + if test -d "$1"; then
14711 + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
14712 + ???[sx]*):;;*)false;;esac;fi
14716 +as_executable_p=$as_test_x
14718 # Sed expression to map a string onto a valid CPP name.
14719 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14720 @@ -21198,31 +22767,14 @@
14721 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14725 -# We need space, tab and new line, in precisely that order.
14735 -# Open the log real soon, to keep \$[0] and so on meaningful, and to
14736 +# Save the log message, to keep $[0] and so on meaningful, and to
14737 # report actual input values of CONFIG_FILES etc. instead of their
14738 -# values after options handling. Logging --version etc. is OK.
14739 -exec 5>>config.log
14742 - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14743 -## Running $as_me. ##
14748 +# values after options handling.
14750 This file was extended by expat $as_me 2.0.1, which was
14751 -generated by GNU Autoconf 2.59. Invocation command line was
14752 +generated by GNU Autoconf 2.61. Invocation command line was
14754 CONFIG_FILES = $CONFIG_FILES
14755 CONFIG_HEADERS = $CONFIG_HEADERS
14756 @@ -21230,30 +22782,19 @@
14757 CONFIG_COMMANDS = $CONFIG_COMMANDS
14761 -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
14763 +on `(hostname || uname -n) 2>/dev/null | sed 1q`
14768 +cat >>$CONFIG_STATUS <<_ACEOF
14769 # Files that config.status was made for.
14770 -if test -n "$ac_config_files"; then
14771 - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
14774 -if test -n "$ac_config_headers"; then
14775 - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
14778 -if test -n "$ac_config_links"; then
14779 - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
14781 +config_files="$ac_config_files"
14782 +config_headers="$ac_config_headers"
14784 -if test -n "$ac_config_commands"; then
14785 - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
14789 cat >>$CONFIG_STATUS <<\_ACEOF
14792 \`$as_me' instantiates files from templates according to the
14793 current configuration.
14794 @@ -21261,7 +22802,7 @@
14795 Usage: $0 [OPTIONS] [FILE]...
14797 -h, --help print this help, then exit
14798 - -V, --version print version number, then exit
14799 + -V, --version print version number and configuration settings, then exit
14800 -q, --quiet do not print progress messages
14801 -d, --debug don't remove temporary files
14802 --recheck update $as_me by reconfiguring in the same conditions
14803 @@ -21277,19 +22818,21 @@
14806 Report bugs to <bug-autoconf@gnu.org>."
14810 cat >>$CONFIG_STATUS <<_ACEOF
14812 expat config.status 2.0.1
14813 -configured by $0, generated by GNU Autoconf 2.59,
14814 - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
14815 +configured by $0, generated by GNU Autoconf 2.61,
14816 + with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14818 -Copyright (C) 2003 Free Software Foundation, Inc.
14819 +Copyright (C) 2006 Free Software Foundation, Inc.
14820 This config.status script is free software; the Free Software Foundation
14821 gives unlimited permission to copy, distribute and modify it."
14823 -INSTALL="$INSTALL"
14827 +INSTALL='$INSTALL'
14830 cat >>$CONFIG_STATUS <<\_ACEOF
14831 @@ -21300,39 +22843,24 @@
14835 - ac_option=`expr "x$1" : 'x\([^=]*\)='`
14836 - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
14837 + ac_option=`expr "X$1" : 'X\([^=]*\)='`
14838 + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14847 - *) # This is not an option, so the user has probably given explicit
14850 - ac_need_defaults=false;;
14854 # Handling of the options.
14856 -cat >>$CONFIG_STATUS <<\_ACEOF
14857 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14859 - --version | --vers* | -V )
14860 - echo "$ac_cs_version"; exit 0 ;;
14862 - # Conflict between --help and --header
14863 - { { echo "$as_me:$LINENO: error: ambiguous option: $1
14864 -Try \`$0 --help' for more information." >&5
14865 -echo "$as_me: error: ambiguous option: $1
14866 -Try \`$0 --help' for more information." >&2;}
14867 - { (exit 1); exit 1; }; };;
14868 - --help | --hel | -h )
14869 - echo "$ac_cs_usage"; exit 0 ;;
14870 - --debug | --d* | -d )
14871 + --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14872 + echo "$ac_cs_version"; exit ;;
14873 + --debug | --debu | --deb | --de | --d | -d )
14875 --file | --fil | --fi | --f )
14877 @@ -21342,18 +22870,24 @@
14879 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
14880 ac_need_defaults=false;;
14882 + # Conflict between --help and --header
14883 + { echo "$as_me: error: ambiguous option: $1
14884 +Try \`$0 --help' for more information." >&2
14885 + { (exit 1); exit 1; }; };;
14886 + --help | --hel | -h )
14887 + echo "$ac_cs_usage"; exit ;;
14888 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14889 | -silent | --silent | --silen | --sile | --sil | --si | --s)
14892 # This is an error.
14893 - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
14894 -Try \`$0 --help' for more information." >&5
14895 -echo "$as_me: error: unrecognized option: $1
14896 -Try \`$0 --help' for more information." >&2;}
14897 + -*) { echo "$as_me: error: unrecognized option: $1
14898 +Try \`$0 --help' for more information." >&2
14899 { (exit 1); exit 1; }; } ;;
14901 - *) ac_config_targets="$ac_config_targets $1" ;;
14902 + *) ac_config_targets="$ac_config_targets $1"
14903 + ac_need_defaults=false ;;
14907 @@ -21369,29 +22903,43 @@
14909 cat >>$CONFIG_STATUS <<_ACEOF
14910 if \$ac_cs_recheck; then
14911 - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14912 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14913 + echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
14914 + CONFIG_SHELL=$SHELL
14915 + export CONFIG_SHELL
14916 + exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14920 +cat >>$CONFIG_STATUS <<\_ACEOF
14921 +exec 5>>config.log
14924 + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14925 +## Running $as_me. ##
14934 +cat >>$CONFIG_STATUS <<_ACEOF
14937 cat >>$CONFIG_STATUS <<\_ACEOF
14939 +# Handling of arguments.
14940 for ac_config_target in $ac_config_targets
14942 - case "$ac_config_target" in
14943 - # Handling of arguments.
14944 - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14945 - "expat_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS expat_config.h" ;;
14946 + case $ac_config_target in
14947 + "expat_config.h") CONFIG_HEADERS="$CONFIG_HEADERS expat_config.h" ;;
14948 + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14950 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14951 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14952 { (exit 1); exit 1; }; };;
14957 # If the user did not use the arguments to specify the items to instantiate,
14958 # then the envvar interface is used. Set only those that are not.
14959 # We use the long form for the default assignment because of an extremely
14960 @@ -21402,585 +22950,535 @@
14963 # Have a temporary directory for convenience. Make it in the build tree
14964 -# simply because there is no reason to put it here, and in addition,
14965 +# simply because there is no reason against having it here, and in addition,
14966 # creating and moving files from /tmp can sometimes cause problems.
14967 -# Create a temporary directory, and hook for its removal unless debugging.
14968 +# Hook for its removal unless debugging.
14969 +# Note that there is a small window in which the directory will not be cleaned:
14970 +# after its creation but before its name has been assigned to `$tmp'.
14973 - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
14975 + trap 'exit_status=$?
14976 + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14978 trap '{ (exit 1); exit 1; }' 1 2 13 15
14981 # Create a (secure) tmp directory for tmp files.
14984 - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
14985 + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14986 test -n "$tmp" && test -d "$tmp"
14989 - tmp=./confstat$$-$RANDOM
14990 - (umask 077 && mkdir $tmp)
14991 + tmp=./conf$$-$RANDOM
14992 + (umask 077 && mkdir "$tmp")
14995 echo "$me: cannot create a temporary directory in ." >&2
14996 { (exit 1); exit 1; }
15001 -cat >>$CONFIG_STATUS <<_ACEOF
15004 -# CONFIG_FILES section.
15005 +# Set up the sed scripts for CONFIG_FILES section.
15008 # No need to generate the scripts if there are no CONFIG_FILES.
15009 # This happens for instance when ./config.status config.h
15010 -if test -n "\$CONFIG_FILES"; then
15011 - # Protect against being on the right side of a sed subst in config.status.
15012 - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15013 - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15014 -s,@SHELL@,$SHELL,;t t
15015 -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15016 -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15017 -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15018 -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15019 -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15020 -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15021 -s,@exec_prefix@,$exec_prefix,;t t
15022 -s,@prefix@,$prefix,;t t
15023 -s,@program_transform_name@,$program_transform_name,;t t
15024 -s,@bindir@,$bindir,;t t
15025 -s,@sbindir@,$sbindir,;t t
15026 -s,@libexecdir@,$libexecdir,;t t
15027 -s,@datadir@,$datadir,;t t
15028 -s,@sysconfdir@,$sysconfdir,;t t
15029 -s,@sharedstatedir@,$sharedstatedir,;t t
15030 -s,@localstatedir@,$localstatedir,;t t
15031 -s,@libdir@,$libdir,;t t
15032 -s,@includedir@,$includedir,;t t
15033 -s,@oldincludedir@,$oldincludedir,;t t
15034 -s,@infodir@,$infodir,;t t
15035 -s,@mandir@,$mandir,;t t
15036 -s,@build_alias@,$build_alias,;t t
15037 -s,@host_alias@,$host_alias,;t t
15038 -s,@target_alias@,$target_alias,;t t
15039 -s,@DEFS@,$DEFS,;t t
15040 -s,@ECHO_C@,$ECHO_C,;t t
15041 -s,@ECHO_N@,$ECHO_N,;t t
15042 -s,@ECHO_T@,$ECHO_T,;t t
15043 -s,@LIBS@,$LIBS,;t t
15044 -s,@build@,$build,;t t
15045 -s,@build_cpu@,$build_cpu,;t t
15046 -s,@build_vendor@,$build_vendor,;t t
15047 -s,@build_os@,$build_os,;t t
15048 -s,@host@,$host,;t t
15049 -s,@host_cpu@,$host_cpu,;t t
15050 -s,@host_vendor@,$host_vendor,;t t
15051 -s,@host_os@,$host_os,;t t
15053 -s,@CFLAGS@,$CFLAGS,;t t
15054 -s,@LDFLAGS@,$LDFLAGS,;t t
15055 -s,@CPPFLAGS@,$CPPFLAGS,;t t
15056 -s,@ac_ct_CC@,$ac_ct_CC,;t t
15057 -s,@EXEEXT@,$EXEEXT,;t t
15058 -s,@OBJEXT@,$OBJEXT,;t t
15059 -s,@EGREP@,$EGREP,;t t
15060 -s,@LN_S@,$LN_S,;t t
15061 -s,@ECHO@,$ECHO,;t t
15063 -s,@ac_ct_AR@,$ac_ct_AR,;t t
15064 -s,@RANLIB@,$RANLIB,;t t
15065 -s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15066 -s,@STRIP@,$STRIP,;t t
15067 -s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15068 -s,@DLLTOOL@,$DLLTOOL,;t t
15069 -s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
15071 -s,@ac_ct_AS@,$ac_ct_AS,;t t
15072 -s,@OBJDUMP@,$OBJDUMP,;t t
15073 -s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
15076 -s,@CXXFLAGS@,$CXXFLAGS,;t t
15077 -s,@ac_ct_CXX@,$ac_ct_CXX,;t t
15078 -s,@CXXCPP@,$CXXCPP,;t t
15080 -s,@FFLAGS@,$FFLAGS,;t t
15081 -s,@ac_ct_F77@,$ac_ct_F77,;t t
15082 -s,@LIBTOOL@,$LIBTOOL,;t t
15083 -s,@LIBCURRENT@,$LIBCURRENT,;t t
15084 -s,@LIBREVISION@,$LIBREVISION,;t t
15085 -s,@LIBAGE@,$LIBAGE,;t t
15086 -s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15087 -s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15088 -s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15089 -s,@FILEMAP@,$FILEMAP,;t t
15090 -s,@LIBOBJS@,$LIBOBJS,;t t
15091 -s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15093 +if test -n "$CONFIG_FILES"; then
15097 - cat >>$CONFIG_STATUS <<\_ACEOF
15098 - # Split the substitutions into bite-sized pieces for seds with
15099 - # small command number limits, like on Digital OSF/1 and HP-UX.
15100 - ac_max_sed_lines=48
15101 - ac_sed_frag=1 # Number of current file.
15102 - ac_beg=1 # First line for current file.
15103 - ac_end=$ac_max_sed_lines # Line after last line for current file.
15106 - while $ac_more_lines; do
15107 - if test $ac_beg -gt 1; then
15108 - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15110 - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
15112 - if test ! -s $tmp/subs.frag; then
15113 - ac_more_lines=false
15115 - # The purpose of the label and of the branching condition is to
15116 - # speed up the sed processing (if there are no `@' at all, there
15117 - # is no need to browse any of the substitutions).
15118 - # These are the two extra sed commands mentioned above.
15120 - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
15121 - if test -z "$ac_sed_cmds"; then
15122 - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
15124 - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15126 - ac_sed_frag=`expr $ac_sed_frag + 1`
15128 - ac_end=`expr $ac_end + $ac_max_sed_lines`
15131 - if test -z "$ac_sed_cmds"; then
15136 +for ac_last_try in false false false false false :; do
15137 + cat >conf$$subs.sed <<_ACEOF
15138 +SHELL!$SHELL$ac_delim
15139 +PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
15140 +PACKAGE_NAME!$PACKAGE_NAME$ac_delim
15141 +PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
15142 +PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
15143 +PACKAGE_STRING!$PACKAGE_STRING$ac_delim
15144 +PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
15145 +exec_prefix!$exec_prefix$ac_delim
15146 +prefix!$prefix$ac_delim
15147 +program_transform_name!$program_transform_name$ac_delim
15148 +bindir!$bindir$ac_delim
15149 +sbindir!$sbindir$ac_delim
15150 +libexecdir!$libexecdir$ac_delim
15151 +datarootdir!$datarootdir$ac_delim
15152 +datadir!$datadir$ac_delim
15153 +sysconfdir!$sysconfdir$ac_delim
15154 +sharedstatedir!$sharedstatedir$ac_delim
15155 +localstatedir!$localstatedir$ac_delim
15156 +includedir!$includedir$ac_delim
15157 +oldincludedir!$oldincludedir$ac_delim
15158 +docdir!$docdir$ac_delim
15159 +infodir!$infodir$ac_delim
15160 +htmldir!$htmldir$ac_delim
15161 +dvidir!$dvidir$ac_delim
15162 +pdfdir!$pdfdir$ac_delim
15163 +psdir!$psdir$ac_delim
15164 +libdir!$libdir$ac_delim
15165 +localedir!$localedir$ac_delim
15166 +mandir!$mandir$ac_delim
15167 +DEFS!$DEFS$ac_delim
15168 +ECHO_C!$ECHO_C$ac_delim
15169 +ECHO_N!$ECHO_N$ac_delim
15170 +ECHO_T!$ECHO_T$ac_delim
15171 +LIBS!$LIBS$ac_delim
15172 +build_alias!$build_alias$ac_delim
15173 +host_alias!$host_alias$ac_delim
15174 +target_alias!$target_alias$ac_delim
15175 +build!$build$ac_delim
15176 +build_cpu!$build_cpu$ac_delim
15177 +build_vendor!$build_vendor$ac_delim
15178 +build_os!$build_os$ac_delim
15179 +host!$host$ac_delim
15180 +host_cpu!$host_cpu$ac_delim
15181 +host_vendor!$host_vendor$ac_delim
15182 +host_os!$host_os$ac_delim
15184 +CFLAGS!$CFLAGS$ac_delim
15185 +LDFLAGS!$LDFLAGS$ac_delim
15186 +CPPFLAGS!$CPPFLAGS$ac_delim
15187 +ac_ct_CC!$ac_ct_CC$ac_delim
15188 +EXEEXT!$EXEEXT$ac_delim
15189 +OBJEXT!$OBJEXT$ac_delim
15191 +GREP!$GREP$ac_delim
15192 +EGREP!$EGREP$ac_delim
15193 +LN_S!$LN_S$ac_delim
15194 +ECHO!$ECHO$ac_delim
15196 +RANLIB!$RANLIB$ac_delim
15197 +STRIP!$STRIP$ac_delim
15198 +DSYMUTIL!$DSYMUTIL$ac_delim
15199 +NMEDIT!$NMEDIT$ac_delim
15200 +DLLTOOL!$DLLTOOL$ac_delim
15202 +OBJDUMP!$OBJDUMP$ac_delim
15205 +CXXFLAGS!$CXXFLAGS$ac_delim
15206 +ac_ct_CXX!$ac_ct_CXX$ac_delim
15207 +CXXCPP!$CXXCPP$ac_delim
15209 +FFLAGS!$FFLAGS$ac_delim
15210 +ac_ct_F77!$ac_ct_F77$ac_delim
15211 +LIBTOOL!$LIBTOOL$ac_delim
15212 +LIBCURRENT!$LIBCURRENT$ac_delim
15213 +LIBREVISION!$LIBREVISION$ac_delim
15214 +LIBAGE!$LIBAGE$ac_delim
15215 +INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
15216 +INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
15217 +INSTALL_DATA!$INSTALL_DATA$ac_delim
15218 +FILEMAP!$FILEMAP$ac_delim
15219 +LIBOBJS!$LIBOBJS$ac_delim
15220 +LTLIBOBJS!$LTLIBOBJS$ac_delim
15223 + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
15225 + elif $ac_last_try; then
15226 + { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
15227 +echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
15228 + { (exit 1); exit 1; }; }
15230 + ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15232 -fi # test -n "$CONFIG_FILES"
15235 +ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
15236 +if test -n "$ac_eof"; then
15237 + ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
15238 + ac_eof=`expr $ac_eof + 1`
15241 +cat >>$CONFIG_STATUS <<_ACEOF
15242 +cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
15243 +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
15246 +s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
15247 +s/^/s,@/; s/!/@,|#_!!_#|/
15250 +s/'"$ac_delim"'$/,g/; t
15252 +N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
15253 +' >>$CONFIG_STATUS <conf$$subs.sed
15254 +rm -f conf$$subs.sed
15255 +cat >>$CONFIG_STATUS <<_ACEOF
15262 +# VPATH may cause trouble with some makes, so we remove $(srcdir),
15263 +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15264 +# trailing colons and then remove the whole line if VPATH becomes empty
15265 +# (actually we leave an empty line to preserve line numbers).
15266 +if test "x$srcdir" = x.; then
15267 + ac_vpsub='/^[ ]*VPATH[ ]*=/{
15268 +s/:*\$(srcdir):*/:/
15269 +s/:*\${srcdir}:*/:/
15271 +s/^\([^=]*=[ ]*\):*/\1/
15277 cat >>$CONFIG_STATUS <<\_ACEOF
15278 -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
15279 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15281 - - | *:- | *:-:* ) # input from stdin
15283 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15284 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15285 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15286 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15287 - * ) ac_file_in=$ac_file.in ;;
15288 +fi # test -n "$CONFIG_FILES"
15291 +for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
15294 + :[FHLC]) ac_mode=$ac_tag; continue;;
15296 + case $ac_mode$ac_tag in
15298 + :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
15299 +echo "$as_me: error: Invalid tag $ac_tag." >&2;}
15300 + { (exit 1); exit 1; }; };;
15301 + :[FH]-) ac_tag=-:-;;
15302 + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15312 - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15313 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15315 + :L) ac_source=$1;;
15321 + -) ac_f="$tmp/stdin";;
15322 + *) # Look for the file first in the build tree, then in the source tree
15323 + # (if the path is not absolute). The absolute path cannot be DOS-style,
15324 + # because $ac_f cannot contain `:'.
15325 + test -f "$ac_f" ||
15328 + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15330 + { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
15331 +echo "$as_me: error: cannot find input file: $ac_f" >&2;}
15332 + { (exit 1); exit 1; }; };;
15334 + ac_file_inputs="$ac_file_inputs $ac_f"
15337 + # Let's still pretend it is `configure' which instantiates (i.e., don't
15338 + # use $as_me), people would be surprised to read:
15339 + # /* config.h. Generated by config.status. */
15340 + configure_input="Generated from "`IFS=:
15341 + echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
15342 + if test x"$ac_file" != x-; then
15343 + configure_input="$ac_file. $configure_input"
15344 + { echo "$as_me:$LINENO: creating $ac_file" >&5
15345 +echo "$as_me: creating $ac_file" >&6;}
15349 + *:-:* | *:-) cat >"$tmp/stdin";;
15354 + ac_dir=`$as_dirname -- "$ac_file" ||
15355 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15356 X"$ac_file" : 'X\(//\)[^/]' \| \
15357 X"$ac_file" : 'X\(//\)$' \| \
15358 - X"$ac_file" : 'X\(/\)' \| \
15359 - . : '\(.\)' 2>/dev/null ||
15360 + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15362 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15363 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15364 - /^X\(\/\/\)$/{ s//\1/; q; }
15365 - /^X\(\/\).*/{ s//\1/; q; }
15367 - { if $as_mkdir_p; then
15368 - mkdir -p "$ac_dir"
15371 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15375 + /^X\(\/\/\)[^/].*/{
15388 + { as_dir="$ac_dir"
15389 + case $as_dir in #(
15390 + -*) as_dir=./$as_dir;;
15392 + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15394 - while test ! -d "$as_dir"; do
15395 - as_dirs="$as_dir $as_dirs"
15396 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
15398 + case $as_dir in #(
15399 + *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
15400 + *) as_qdir=$as_dir;;
15402 + as_dirs="'$as_qdir' $as_dirs"
15403 + as_dir=`$as_dirname -- "$as_dir" ||
15404 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15405 X"$as_dir" : 'X\(//\)[^/]' \| \
15406 X"$as_dir" : 'X\(//\)$' \| \
15407 - X"$as_dir" : 'X\(/\)' \| \
15408 - . : '\(.\)' 2>/dev/null ||
15409 + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15411 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15412 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15413 - /^X\(\/\/\)$/{ s//\1/; q; }
15414 - /^X\(\/\).*/{ s//\1/; q; }
15416 + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15420 + /^X\(\/\/\)[^/].*/{
15433 + test -d "$as_dir" && break
15435 - test ! -n "$as_dirs" || mkdir $as_dirs
15436 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15437 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15438 + test -z "$as_dirs" || eval "mkdir $as_dirs"
15439 + } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15440 +echo "$as_me: error: cannot create directory $as_dir" >&2;}
15441 { (exit 1); exit 1; }; }; }
15445 -if test "$ac_dir" != .; then
15447 +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15449 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15450 - # A "../" for each directory in $ac_dir_suffix.
15451 - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15453 - ac_dir_suffix= ac_top_builddir=
15455 + # A ".." for each directory in $ac_dir_suffix.
15456 + ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
15457 + case $ac_top_builddir_sub in
15458 + "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15459 + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15462 +ac_abs_top_builddir=$ac_pwd
15463 +ac_abs_builddir=$ac_pwd$ac_dir_suffix
15464 +# for backward compatibility:
15465 +ac_top_builddir=$ac_top_build_prefix
15468 - .) # No --srcdir option. We are building in place.
15469 + .) # We are building in place.
15471 - if test -z "$ac_top_builddir"; then
15474 - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
15476 - [\\/]* | ?:[\\/]* ) # Absolute path.
15477 + ac_top_srcdir=$ac_top_builddir_sub
15478 + ac_abs_top_srcdir=$ac_pwd ;;
15479 + [\\/]* | ?:[\\/]* ) # Absolute name.
15480 ac_srcdir=$srcdir$ac_dir_suffix;
15481 - ac_top_srcdir=$srcdir ;;
15482 - *) # Relative path.
15483 - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
15484 - ac_top_srcdir=$ac_top_builddir$srcdir ;;
15485 + ac_top_srcdir=$srcdir
15486 + ac_abs_top_srcdir=$srcdir ;;
15487 + *) # Relative name.
15488 + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15489 + ac_top_srcdir=$ac_top_build_prefix$srcdir
15490 + ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15492 +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15494 -# Do not use `cd foo && pwd` to compute absolute paths, because
15495 -# the directories may not exist.
15497 -.) ac_abs_builddir="$ac_dir";;
15499 - case "$ac_dir" in
15500 - .) ac_abs_builddir=`pwd`;;
15501 - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
15502 - *) ac_abs_builddir=`pwd`/"$ac_dir";;
15505 -case $ac_abs_builddir in
15506 -.) ac_abs_top_builddir=${ac_top_builddir}.;;
15508 - case ${ac_top_builddir}. in
15509 - .) ac_abs_top_builddir=$ac_abs_builddir;;
15510 - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
15511 - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
15514 -case $ac_abs_builddir in
15515 -.) ac_abs_srcdir=$ac_srcdir;;
15517 - case $ac_srcdir in
15518 - .) ac_abs_srcdir=$ac_abs_builddir;;
15519 - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
15520 - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
15523 -case $ac_abs_builddir in
15524 -.) ac_abs_top_srcdir=$ac_top_srcdir;;
15526 - case $ac_top_srcdir in
15527 - .) ac_abs_top_srcdir=$ac_abs_builddir;;
15528 - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
15529 - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
15540 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15541 - *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
15542 + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15546 - if test x"$ac_file" != x-; then
15547 - { echo "$as_me:$LINENO: creating $ac_file" >&5
15548 -echo "$as_me: creating $ac_file" >&6;}
15551 - # Let's still pretend it is `configure' which instantiates (i.e., don't
15552 - # use $as_me), people would be surprised to read:
15553 - # /* config.h. Generated by config.status. */
15554 - if test x"$ac_file" = x-; then
15557 - configure_input="$ac_file. "
15559 - configure_input=$configure_input"Generated from `echo $ac_file_in |
15560 - sed 's,.*/,,'` by configure."
15561 +cat >>$CONFIG_STATUS <<\_ACEOF
15562 +# If the template does not know about datarootdir, expand it.
15563 +# FIXME: This hack should be removed a few years after 2.60.
15564 +ac_datarootdir_hack=; ac_datarootdir_seen=
15566 - # First look for the input files in the build tree, otherwise in the
15568 - ac_file_inputs=`IFS=:
15569 - for f in $ac_file_in; do
15571 - -) echo $tmp/stdin ;;
15573 - # Absolute (can't be DOS-style, as IFS=:)
15574 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15575 -echo "$as_me: error: cannot find input file: $f" >&2;}
15576 - { (exit 1); exit 1; }; }
15579 - if test -f "$f"; then
15582 - elif test -f "$srcdir/$f"; then
15584 - echo "$srcdir/$f"
15587 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15588 -echo "$as_me: error: cannot find input file: $f" >&2;}
15589 - { (exit 1); exit 1; }; }
15592 - done` || { (exit 1); exit 1; }
15593 +case `sed -n '/datarootdir/ {
15602 +' $ac_file_inputs` in
15603 +*datarootdir*) ac_datarootdir_seen=yes;;
15604 +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15605 + { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15606 +echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15608 cat >>$CONFIG_STATUS <<_ACEOF
15609 + ac_datarootdir_hack='
15610 + s&@datadir@&$datadir&g
15611 + s&@docdir@&$docdir&g
15612 + s&@infodir@&$infodir&g
15613 + s&@localedir@&$localedir&g
15614 + s&@mandir@&$mandir&g
15615 + s&\\\${datarootdir}&$datarootdir&g' ;;
15619 +# Neutralize VPATH when `$srcdir' = `.'.
15620 +# Shell code in configure.ac might set extrasub.
15621 +# FIXME: do we really want to maintain this feature?
15622 +cat >>$CONFIG_STATUS <<_ACEOF
15626 cat >>$CONFIG_STATUS <<\_ACEOF
15628 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15629 -s,@configure_input@,$configure_input,;t t
15630 -s,@srcdir@,$ac_srcdir,;t t
15631 -s,@abs_srcdir@,$ac_abs_srcdir,;t t
15632 -s,@top_srcdir@,$ac_top_srcdir,;t t
15633 -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
15634 -s,@builddir@,$ac_builddir,;t t
15635 -s,@abs_builddir@,$ac_abs_builddir,;t t
15636 -s,@top_builddir@,$ac_top_builddir,;t t
15637 -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
15638 -s,@INSTALL@,$ac_INSTALL,;t t
15639 -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
15641 - if test x"$ac_file" != x-; then
15642 - mv $tmp/out $ac_file
15650 -cat >>$CONFIG_STATUS <<\_ACEOF
15653 -# CONFIG_HEADER section.
15655 +s&@configure_input@&$configure_input&;t t
15656 +s&@top_builddir@&$ac_top_builddir_sub&;t t
15657 +s&@srcdir@&$ac_srcdir&;t t
15658 +s&@abs_srcdir@&$ac_abs_srcdir&;t t
15659 +s&@top_srcdir@&$ac_top_srcdir&;t t
15660 +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15661 +s&@builddir@&$ac_builddir&;t t
15662 +s&@abs_builddir@&$ac_abs_builddir&;t t
15663 +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15664 +s&@INSTALL@&$ac_INSTALL&;t t
15665 +$ac_datarootdir_hack
15666 +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
15668 -# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15669 -# NAME is the cpp macro being defined and VALUE is the value it is being given.
15671 -# ac_d sets the value in "#define NAME VALUE" lines.
15672 -ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15673 -ac_dB='[ ].*$,\1#\2'
15676 -# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15677 -ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15678 -ac_uB='$,\1#\2define\3'
15681 +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15682 + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15683 + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15684 + { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15685 +which seems to be undefined. Please make sure it is defined." >&5
15686 +echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15687 +which seems to be undefined. Please make sure it is defined." >&2;}
15689 -for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
15690 - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15691 + rm -f "$tmp/stdin"
15693 - - | *:- | *:-:* ) # input from stdin
15695 - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15696 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15697 - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
15698 - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
15699 - * ) ac_file_in=$ac_file.in ;;
15700 + -) cat "$tmp/out"; rm -f "$tmp/out";;
15701 + *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
15704 - test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
15705 -echo "$as_me: creating $ac_file" >&6;}
15707 - # First look for the input files in the build tree, otherwise in the
15709 - ac_file_inputs=`IFS=:
15710 - for f in $ac_file_in; do
15712 - -) echo $tmp/stdin ;;
15714 - # Absolute (can't be DOS-style, as IFS=:)
15715 - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15716 -echo "$as_me: error: cannot find input file: $f" >&2;}
15717 - { (exit 1); exit 1; }; }
15718 - # Do quote $f, to prevent DOS paths from being IFS'd.
15721 - if test -f "$f"; then
15724 - elif test -f "$srcdir/$f"; then
15726 - echo "$srcdir/$f"
15729 - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15730 -echo "$as_me: error: cannot find input file: $f" >&2;}
15731 - { (exit 1); exit 1; }; }
15734 - done` || { (exit 1); exit 1; }
15735 - # Remove the trailing spaces.
15736 - sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
15745 -# Transform confdefs.h into two sed scripts, `conftest.defines' and
15746 -# `conftest.undefs', that substitutes the proper values into
15747 -# config.h.in to produce config.h. The first handles `#define'
15748 -# templates, and the second `#undef' templates.
15749 -# And first: Protect against being on the right side of a sed subst in
15750 -# config.status. Protect against being in an unquoted here document
15751 -# in config.status.
15752 -rm -f conftest.defines conftest.undefs
15753 -# Using a here document instead of a string reduces the quoting nightmare.
15754 -# Putting comments in sed scripts is not portable.
15756 -# `end' is used to avoid that the second main sed command (meant for
15757 -# 0-ary CPP macros) applies to n-ary macro definitions.
15758 -# See the Autoconf documentation for `clear'.
15759 -cat >confdef2sed.sed <<\_ACEOF
15764 -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
15766 -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
15769 -# If some macros were called several times there might be several times
15770 -# the same #defines, which is useless. Nevertheless, we may not want to
15771 -# sort them, since we want the *last* AC-DEFINE to be honored.
15772 -uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
15773 -sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
15774 -rm -f confdef2sed.sed
15775 +# Transform confdefs.h into a sed script `conftest.defines', that
15776 +# substitutes the proper values into config.h.in to produce config.h.
15777 +rm -f conftest.defines conftest.tail
15778 +# First, append a space to every undef/define line, to ease matching.
15779 +echo 's/$/ /' >conftest.defines
15780 +# Then, protect against being on the right side of a sed subst, or in
15781 +# an unquoted here document, in config.status. If some macros were
15782 +# called several times there might be several #defines for the same
15783 +# symbol, which is useless. But do not sort them, since the last
15784 +# AC_DEFINE must be honored.
15785 +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15786 +# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
15787 +# NAME is the cpp macro being defined, VALUE is the value it is being given.
15788 +# PARAMS is the parameter list in the macro definition--in most cases, it's
15789 +# just an empty string.
15790 +ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
15791 +ac_dB='\\)[ (].*,\\1define\\2'
15795 -# This sed command replaces #undef with comments. This is necessary, for
15800 + s/^[ ]*#[ ]*define[ ][ ]*//
15805 + s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
15806 + s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
15807 + ' >>conftest.defines
15809 +# Remove the space that was appended to ease matching.
15810 +# Then replace #undef with comments. This is necessary, for
15811 # example, in the case of _POSIX_SOURCE, which is predefined and required
15812 # on some systems where configure will not decide to define it.
15813 -cat >>conftest.undefs <<\_ACEOF
15814 -s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
15816 +# (The regexp can be short, since the line contains either #define or #undef.)
15818 +s,^[ #]*u.*,/* & */,' >>conftest.defines
15820 -# Break up conftest.defines because some shells have a limit on the size
15821 -# of here documents, and old seds have small limits too (100 cmds).
15822 -echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
15823 -echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
15824 -echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
15825 -echo ' :' >>$CONFIG_STATUS
15826 -rm -f conftest.tail
15827 -while grep . conftest.defines >/dev/null
15828 +# Break up conftest.defines:
15829 +ac_max_sed_lines=50
15831 +# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
15832 +# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
15833 +# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
15835 +ac_in='$ac_file_inputs'
15836 +ac_out='"$tmp/out1"'
15837 +ac_nxt='"$tmp/out2"'
15841 - # Write a limited-size here document to $tmp/defines.sed.
15842 - echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
15843 - # Speed up: don't consider the non `#define' lines.
15844 - echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
15845 - # Work around the forget-to-reset-the-flag bug.
15846 - echo 't clr' >>$CONFIG_STATUS
15847 - echo ': clr' >>$CONFIG_STATUS
15848 - sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
15849 + # Write a here document:
15850 + cat >>$CONFIG_STATUS <<_ACEOF
15851 + # First, check the format of the line:
15852 + cat >"\$tmp/defines.sed" <<\\CEOF
15853 +/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
15854 +/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
15858 + sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
15860 - sed -f $tmp/defines.sed $tmp/in >$tmp/out
15862 - mv $tmp/out $tmp/in
15863 -' >>$CONFIG_STATUS
15864 - sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
15865 + sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
15866 + ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
15867 + sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
15868 + grep . conftest.tail >/dev/null || break
15869 rm -f conftest.defines
15870 mv conftest.tail conftest.defines
15872 -rm -f conftest.defines
15873 -echo ' fi # grep' >>$CONFIG_STATUS
15874 -echo >>$CONFIG_STATUS
15876 -# Break up conftest.undefs because some shells have a limit on the size
15877 -# of here documents, and old seds have small limits too (100 cmds).
15878 -echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
15879 -rm -f conftest.tail
15880 -while grep . conftest.undefs >/dev/null
15882 - # Write a limited-size here document to $tmp/undefs.sed.
15883 - echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
15884 - # Speed up: don't consider the non `#undef'
15885 - echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
15886 - # Work around the forget-to-reset-the-flag bug.
15887 - echo 't clr' >>$CONFIG_STATUS
15888 - echo ': clr' >>$CONFIG_STATUS
15889 - sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
15891 - sed -f $tmp/undefs.sed $tmp/in >$tmp/out
15893 - mv $tmp/out $tmp/in
15894 -' >>$CONFIG_STATUS
15895 - sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
15896 - rm -f conftest.undefs
15897 - mv conftest.tail conftest.undefs
15899 -rm -f conftest.undefs
15900 +rm -f conftest.defines conftest.tail
15902 +echo "ac_result=$ac_in" >>$CONFIG_STATUS
15903 cat >>$CONFIG_STATUS <<\_ACEOF
15904 - # Let's still pretend it is `configure' which instantiates (i.e., don't
15905 - # use $as_me), people would be surprised to read:
15906 - # /* config.h. Generated by config.status. */
15907 - if test x"$ac_file" = x-; then
15908 - echo "/* Generated by configure. */" >$tmp/config.h
15910 - echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
15912 - cat $tmp/in >>$tmp/config.h
15914 if test x"$ac_file" != x-; then
15915 - if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
15916 + echo "/* $configure_input */" >"$tmp/config.h"
15917 + cat "$ac_result" >>"$tmp/config.h"
15918 + if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
15919 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
15920 echo "$as_me: $ac_file is unchanged" >&6;}
15922 - ac_dir=`(dirname "$ac_file") 2>/dev/null ||
15923 -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15924 - X"$ac_file" : 'X\(//\)[^/]' \| \
15925 - X"$ac_file" : 'X\(//\)$' \| \
15926 - X"$ac_file" : 'X\(/\)' \| \
15927 - . : '\(.\)' 2>/dev/null ||
15928 -echo X"$ac_file" |
15929 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15930 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15931 - /^X\(\/\/\)$/{ s//\1/; q; }
15932 - /^X\(\/\).*/{ s//\1/; q; }
15934 - { if $as_mkdir_p; then
15935 - mkdir -p "$ac_dir"
15939 - while test ! -d "$as_dir"; do
15940 - as_dirs="$as_dir $as_dirs"
15941 - as_dir=`(dirname "$as_dir") 2>/dev/null ||
15942 -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15943 - X"$as_dir" : 'X\(//\)[^/]' \| \
15944 - X"$as_dir" : 'X\(//\)$' \| \
15945 - X"$as_dir" : 'X\(/\)' \| \
15946 - . : '\(.\)' 2>/dev/null ||
15948 - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15949 - /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15950 - /^X\(\/\/\)$/{ s//\1/; q; }
15951 - /^X\(\/\).*/{ s//\1/; q; }
15954 - test ! -n "$as_dirs" || mkdir $as_dirs
15955 - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15956 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15957 - { (exit 1); exit 1; }; }; }
15960 - mv $tmp/config.h $ac_file
15961 + mv "$tmp/config.h" $ac_file
15964 - cat $tmp/config.h
15965 - rm -f $tmp/config.h
15966 + echo "/* $configure_input */"
15971 + rm -f "$tmp/out12"
15979 -cat >>$CONFIG_STATUS <<\_ACEOF
15981 { (exit 0); exit 0; }
15983 diff -urNad trunk~/conftools/config.guess trunk/conftools/config.guess
15984 --- trunk~/conftools/config.guess 2006-09-22 16:42:54.000000000 +0200
15985 +++ trunk/conftools/config.guess 2008-05-07 05:22:46.000000000 +0200
15988 # Attempt to guess a canonical system name.
15989 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
15990 -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
15992 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
15993 +# Free Software Foundation, Inc.
15995 -timestamp='2006-07-02'
15996 +timestamp='2008-01-23'
15998 # This file is free software; you can redistribute it and/or modify it
15999 # under the terms of the GNU General Public License as published by
16001 GNU config.guess ($timestamp)
16003 Originally written by Per Bothner.
16004 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
16005 -Free Software Foundation, Inc.
16006 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
16007 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
16009 This is free software; see the source for copying conditions. There is NO
16010 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
16011 @@ -161,6 +161,7 @@
16012 arm*) machine=arm-unknown ;;
16013 sh3el) machine=shl-unknown ;;
16014 sh3eb) machine=sh-unknown ;;
16015 + sh5el) machine=sh5le-unknown ;;
16016 *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
16018 # The Operating System including object format, if it has switched
16019 @@ -329,7 +330,7 @@
16020 sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
16021 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
16023 - i86pc:SunOS:5.*:*)
16024 + i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
16025 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
16028 @@ -531,7 +532,7 @@
16029 echo rs6000-ibm-aix3.2
16034 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
16035 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
16037 @@ -780,7 +781,7 @@
16039 echo ${UNAME_MACHINE}-pc-cygwin
16043 echo ${UNAME_MACHINE}-pc-mingw32
16046 @@ -790,12 +791,18 @@
16048 echo ${UNAME_MACHINE}-pc-pw32
16050 - x86:Interix*:[3456]*)
16051 - echo i586-pc-interix${UNAME_RELEASE}
16053 - EM64T:Interix*:[3456]*)
16054 - echo x86_64-unknown-interix${UNAME_RELEASE}
16056 + *:Interix*:[3456]*)
16057 + case ${UNAME_MACHINE} in
16059 + echo i586-pc-interix${UNAME_RELEASE}
16061 + EM64T | authenticamd)
16062 + echo x86_64-unknown-interix${UNAME_RELEASE}
16065 + echo ia64-unknown-interix${UNAME_RELEASE}
16068 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
16069 echo i${UNAME_MACHINE}-pc-mks
16071 @@ -829,7 +836,14 @@
16072 echo ${UNAME_MACHINE}-pc-minix
16075 - echo ${UNAME_MACHINE}-unknown-linux-gnu
16076 + eval $set_cc_for_build
16077 + if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
16078 + | grep -q __ARM_EABI__
16080 + echo ${UNAME_MACHINE}-unknown-linux-gnu
16082 + echo ${UNAME_MACHINE}-unknown-linux-gnueabi
16086 echo ${UNAME_MACHINE}-unknown-linux-gnu
16087 @@ -950,6 +964,9 @@
16089 echo x86_64-unknown-linux-gnu
16091 + xtensa*:Linux:*:*)
16092 + echo ${UNAME_MACHINE}-unknown-linux-gnu
16095 # The BFD linker knows what the default object file format is, so
16096 # first see if it will tell us. cd to the root directory to prevent
16097 @@ -1208,6 +1225,15 @@
16099 echo sx6-nec-superux${UNAME_RELEASE}
16101 + SX-7:SUPER-UX:*:*)
16102 + echo sx7-nec-superux${UNAME_RELEASE}
16104 + SX-8:SUPER-UX:*:*)
16105 + echo sx8-nec-superux${UNAME_RELEASE}
16107 + SX-8R:SUPER-UX:*:*)
16108 + echo sx8r-nec-superux${UNAME_RELEASE}
16110 Power*:Rhapsody:*:*)
16111 echo powerpc-apple-rhapsody${UNAME_RELEASE}
16113 @@ -1458,9 +1484,9 @@
16114 the operating system you are using. It is advised that you
16115 download the most up to date version of the config scripts from
16117 - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
16118 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
16120 - http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
16121 + http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
16123 If the version you run ($0) is already up to date, please
16124 send the following data and any information you think might be
16125 diff -urNad trunk~/conftools/config.sub trunk/conftools/config.sub
16126 --- trunk~/conftools/config.sub 2006-09-22 16:42:54.000000000 +0200
16127 +++ trunk/conftools/config.sub 2008-05-07 05:22:46.000000000 +0200
16130 # Configuration validation subroutine script.
16131 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
16132 -# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
16134 +# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
16135 +# Free Software Foundation, Inc.
16137 -timestamp='2006-09-20'
16138 +timestamp='2008-01-16'
16140 # This file is (in principle) common to ALL GNU software.
16141 # The presence of a machine in this file suggests that SOME GNU software
16144 GNU config.sub ($timestamp)
16146 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
16147 -Free Software Foundation, Inc.
16148 +Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
16149 +2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
16151 This is free software; see the source for copying conditions. There is NO
16152 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
16153 @@ -245,12 +245,12 @@
16156 | d10v | d30v | dlx | dsp16xx \
16158 + | fido | fr30 | frv \
16159 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
16160 | i370 | i860 | i960 | ia64 \
16162 | m32c | m32r | m32rle | m68000 | m68k | m88k \
16163 - | maxq | mb | microblaze | mcore \
16164 + | maxq | mb | microblaze | mcore | mep \
16165 | mips | mipsbe | mipseb | mipsel | mipsle \
16167 | mips64 | mips64el \
16168 @@ -324,7 +324,7 @@
16169 | clipper-* | craynv-* | cydra-* \
16170 | d10v-* | d30v-* | dlx-* \
16172 - | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
16173 + | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
16174 | h8300-* | h8500-* \
16175 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
16176 | i*86-* | i860-* | i960-* | ia64-* \
16177 @@ -369,10 +369,14 @@
16178 | v850-* | v850e-* | vax-* \
16180 | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
16181 - | xstormy16-* | xtensa-* \
16182 + | xstormy16-* | xtensa*-* \
16186 + # Recognize the basic CPU types without company name, with glob match.
16188 + basic_machine=$basic_machine-unknown
16190 # Recognize the various machine names and aliases which stand
16191 # for a CPU type and a company and sometimes even an OS.
16193 @@ -443,6 +447,14 @@
16194 basic_machine=ns32k-sequent
16198 + basic_machine=bfin-unknown
16202 + basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
16206 basic_machine=c90-cray
16208 @@ -475,8 +487,8 @@
16209 basic_machine=craynv-cray
16213 - basic_machine=cr16c-unknown
16215 + basic_machine=cr16-unknown
16219 @@ -668,6 +680,14 @@
16220 basic_machine=m68k-isi
16224 + basic_machine=m68k-unknown
16228 + basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
16232 basic_machine=m88k-omron
16234 @@ -683,6 +703,10 @@
16235 basic_machine=i386-pc
16239 + basic_machine=arm-unknown
16243 basic_machine=m68000-convergent
16245 @@ -809,6 +833,14 @@
16246 basic_machine=i860-intel
16250 + basic_machine=hppa-unknown
16254 + basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
16258 basic_machine=sparc-tti
16260 @@ -925,6 +957,9 @@
16261 basic_machine=sh-hitachi
16265 + basic_machine=sh5le-unknown
16268 basic_machine=sh64-unknown
16270 @@ -1014,6 +1049,10 @@
16271 basic_machine=tic6x-unknown
16275 + basic_machine=tile-unknown
16279 basic_machine=mipstx39-unknown
16281 @@ -1219,7 +1258,7 @@
16282 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
16283 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
16284 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
16285 - | -skyos* | -haiku* | -rdos* | -toppers*)
16286 + | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
16287 # Remember, each alternative MUST END IN *, to match a version number.
16290 @@ -1414,6 +1453,9 @@
16300 diff -urNad trunk~/conftools/libtool.m4 trunk/conftools/libtool.m4
16301 --- trunk~/conftools/libtool.m4 2007-06-05 20:19:34.000000000 +0200
16302 +++ trunk/conftools/libtool.m4 2008-05-07 05:22:57.000000000 +0200
16304 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
16305 -## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
16306 -## Free Software Foundation, Inc.
16307 +## Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007,
16308 +## 2008 Free Software Foundation, Inc.
16309 ## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
16311 ## This file is free software; the Free Software Foundation gives
16312 ## unlimited permission to copy and/or distribute it, with or without
16313 ## modifications, as long as this notice is preserved.
16315 -# serial 48 AC_PROG_LIBTOOL
16316 +# serial 52 Debian 1.5.26-4 AC_PROG_LIBTOOL
16319 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
16321 AC_REQUIRE([AC_OBJEXT])dnl
16322 AC_REQUIRE([AC_EXEEXT])dnl
16325 AC_LIBTOOL_SYS_MAX_CMD_LEN
16326 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
16328 @@ -170,7 +169,7 @@
16329 test -z "$ac_objext" && ac_objext=o
16331 # Determine commands to create old-style static archives.
16332 -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
16333 +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
16334 old_postinstall_cmds='chmod 644 $oldlib'
16335 old_postuninstall_cmds=
16337 @@ -197,6 +196,8 @@
16341 +_LT_REQUIRED_DARWIN_CHECKS
16343 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no)
16344 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL],
16345 enable_win32_dll=yes, enable_win32_dll=no)
16346 @@ -257,8 +258,9 @@
16347 # Check for compiler boilerplate output or warnings with
16348 # the simple compiler test code.
16349 AC_DEFUN([_LT_COMPILER_BOILERPLATE],
16350 -[ac_outfile=conftest.$ac_objext
16351 -printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16352 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
16353 +ac_outfile=conftest.$ac_objext
16354 +echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16355 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16356 _lt_compiler_boilerplate=`cat conftest.err`
16358 @@ -270,13 +272,85 @@
16359 # Check for linker boilerplate output or warnings with
16360 # the simple link test code.
16361 AC_DEFUN([_LT_LINKER_BOILERPLATE],
16362 -[ac_outfile=conftest.$ac_objext
16363 -printf "$lt_simple_link_test_code" >conftest.$ac_ext
16364 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
16365 +ac_outfile=conftest.$ac_objext
16366 +echo "$lt_simple_link_test_code" >conftest.$ac_ext
16367 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16368 _lt_linker_boilerplate=`cat conftest.err`
16371 ])# _LT_LINKER_BOILERPLATE
16373 +# _LT_REQUIRED_DARWIN_CHECKS
16374 +# --------------------------
16375 +# Check for some things on darwin
16376 +AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[
16378 + rhapsody* | darwin*)
16379 + AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
16380 + AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
16382 + AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
16383 + [lt_cv_apple_cc_single_mod=no
16384 + if test -z "${LT_MULTI_MODULE}"; then
16385 + # By default we will add the -single_module flag. You can override
16386 + # by either setting the environment variable LT_MULTI_MODULE
16387 + # non-empty at configure time, or by adding -multi_module to the
16389 + echo "int foo(void){return 1;}" > conftest.c
16390 + $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
16391 + -dynamiclib ${wl}-single_module conftest.c
16392 + if test -f libconftest.dylib; then
16393 + lt_cv_apple_cc_single_mod=yes
16394 + rm -rf libconftest.dylib*
16398 + AC_CACHE_CHECK([for -exported_symbols_list linker flag],
16399 + [lt_cv_ld_exported_symbols_list],
16400 + [lt_cv_ld_exported_symbols_list=no
16401 + save_LDFLAGS=$LDFLAGS
16402 + echo "_main" > conftest.sym
16403 + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
16404 + AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
16405 + [lt_cv_ld_exported_symbols_list=yes],
16406 + [lt_cv_ld_exported_symbols_list=no])
16407 + LDFLAGS="$save_LDFLAGS"
16410 + rhapsody* | darwin1.[[0123]])
16411 + _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
16413 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
16415 + # if running on 10.5 or later, the deployment target defaults
16416 + # to the OS version, if on x86, and 10.4, the deployment
16417 + # target defaults to 10.4. Don't you love it?
16418 + case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
16419 + 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
16420 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
16422 + _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
16424 + _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
16428 + if test "$lt_cv_apple_cc_single_mod" = "yes"; then
16429 + _lt_dar_single_mod='$single_module'
16431 + if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
16432 + _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
16434 + _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
16436 + if test "$DSYMUTIL" != ":"; then
16437 + _lt_dsymutil="~$DSYMUTIL \$lib || :"
16445 # _LT_AC_SYS_LIBPATH_AIX
16446 # ----------------------
16447 @@ -287,12 +361,20 @@
16448 # If we don't find anything, use the default library path according
16449 # to the aix ld manual.
16450 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX],
16451 -[AC_LINK_IFELSE(AC_LANG_PROGRAM,[
16452 -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16454 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
16455 +AC_LINK_IFELSE(AC_LANG_PROGRAM,[
16456 +lt_aix_libpath_sed='
16457 + /Import File Strings/,/^$/ {
16459 + s/^0 *\(.*\)$/\1/
16463 +aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16464 # Check for a 64-bit object if we didn't find anything.
16465 -if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
16467 +if test -z "$aix_libpath"; then
16468 + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16470 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16471 ])# _LT_AC_SYS_LIBPATH_AIX
16473 @@ -523,13 +605,17 @@
16477 -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
16478 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
16479 +s390*-*linux*|sparc*-*linux*)
16480 # Find out which ABI we are using.
16481 echo 'int i;' > conftest.$ac_ext
16482 if AC_TRY_EVAL(ac_compile); then
16483 case `/usr/bin/file conftest.o` in
16486 + x86_64-*kfreebsd*-gnu)
16487 + LD="${LD-ld} -m elf_i386_fbsd"
16490 LD="${LD-ld} -m elf_i386"
16492 @@ -546,6 +632,9 @@
16496 + x86_64-*kfreebsd*-gnu)
16497 + LD="${LD-ld} -m elf_x86_64_fbsd"
16500 LD="${LD-ld} -m elf_x86_64"
16502 @@ -586,7 +675,11 @@
16504 case $lt_cv_prog_gnu_ld in
16505 yes*) LD="${LD-ld} -m elf64_sparc" ;;
16506 - *) LD="${LD-ld} -64" ;;
16508 + if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
16509 + LD="${LD-ld} -64"
16515 @@ -617,7 +710,7 @@
16516 AC_CACHE_CHECK([$1], [$2],
16518 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
16519 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16520 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16521 lt_compiler_flag="$3"
16522 # Insert the option either (1) after the last *FLAGS variable, or
16523 # (2) before a word containing "conftest.", or (3) at the end.
16524 @@ -658,11 +751,12 @@
16525 # ------------------------------------------------------------
16526 # Check whether the given compiler option works
16527 AC_DEFUN([AC_LIBTOOL_LINKER_OPTION],
16528 -[AC_CACHE_CHECK([$1], [$2],
16529 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
16530 +AC_CACHE_CHECK([$1], [$2],
16532 save_LDFLAGS="$LDFLAGS"
16533 LDFLAGS="$LDFLAGS $3"
16534 - printf "$lt_simple_link_test_code" > conftest.$ac_ext
16535 + echo "$lt_simple_link_test_code" > conftest.$ac_ext
16536 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16537 # The linker can only warn and ignore the option if not recognized
16538 # So say no if there are warnings
16539 @@ -678,7 +772,7 @@
16545 LDFLAGS="$save_LDFLAGS"
16548 @@ -776,24 +870,27 @@
16552 - # If test is not a shell built-in, we'll probably end up computing a
16553 - # maximum length that is only half of the actual maximum length, but
16555 - SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
16556 - while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
16557 + lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
16558 + if test -n "$lt_cv_sys_max_cmd_len"; then
16559 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
16560 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
16562 + SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
16563 + while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \
16564 = "XX$teststring") >/dev/null 2>&1 &&
16565 - new_result=`expr "X$teststring" : ".*" 2>&1` &&
16566 - lt_cv_sys_max_cmd_len=$new_result &&
16567 - test $i != 17 # 1/2 MB should be enough
16570 - teststring=$teststring$teststring
16573 - # Add a significant safety factor because C++ compilers can tack on massive
16574 - # amounts of additional arguments before passing them to the linker.
16575 - # It appears as though 1/2 is a usable value.
16576 - lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16577 + new_result=`expr "X$teststring" : ".*" 2>&1` &&
16578 + lt_cv_sys_max_cmd_len=$new_result &&
16579 + test $i != 17 # 1/2 MB should be enough
16582 + teststring=$teststring$teststring
16585 + # Add a significant safety factor because C++ compilers can tack on massive
16586 + # amounts of additional arguments before passing them to the linker.
16587 + # It appears as though 1/2 is a usable value.
16588 + lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
16593 @@ -946,7 +1043,7 @@
16594 AC_CHECK_FUNC([shl_load],
16595 [lt_cv_dlopen="shl_load"],
16596 [AC_CHECK_LIB([dld], [shl_load],
16597 - [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"],
16598 + [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
16599 [AC_CHECK_FUNC([dlopen],
16600 [lt_cv_dlopen="dlopen"],
16601 [AC_CHECK_LIB([dl], [dlopen],
16602 @@ -954,7 +1051,7 @@
16603 [AC_CHECK_LIB([svld], [dlopen],
16604 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
16605 [AC_CHECK_LIB([dld], [dld_link],
16606 - [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"])
16607 + [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
16611 @@ -1020,7 +1117,8 @@
16612 # ---------------------------------
16613 # Check to see if options -c and -o are simultaneously supported by compiler
16614 AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O],
16615 -[AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
16616 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
16617 +AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
16618 AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
16619 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
16620 [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
16621 @@ -1028,7 +1126,7 @@
16625 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16626 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16628 lt_compiler_flag="-o out/conftest2.$ac_objext"
16629 # Insert the option either (1) after the last *FLAGS variable, or
16630 @@ -1168,6 +1266,7 @@
16632 if test -n "$STRIP" ; then
16633 striplib="$STRIP -x"
16634 + old_striplib="$STRIP -S"
16635 AC_MSG_RESULT([yes])
16637 AC_MSG_RESULT([no])
16638 @@ -1185,7 +1284,8 @@
16639 # -----------------------------
16640 # PORTME Fill in your ld.so characteristics
16641 AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER],
16642 -[AC_MSG_CHECKING([dynamic linker characteristics])
16643 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
16644 +AC_MSG_CHECKING([dynamic linker characteristics])
16645 library_names_spec=
16646 libname_spec='lib$name'
16648 @@ -1199,20 +1299,58 @@
16650 dynamic_linker="$host_os ld.so"
16651 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16653 if test "$GCC" = yes; then
16654 - sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16655 - if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16657 + darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
16658 + *) lt_awk_arg="/^libraries:/" ;;
16660 + lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16661 + if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
16662 # if the path contains ";" then we assume it to be the separator
16663 # otherwise default to the standard path separator (i.e. ":") - it is
16664 # assumed that no part of a normal pathname contains ";" but that should
16665 # okay in the real world where ";" in dirpaths is itself problematic.
16666 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16667 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
16669 - sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16670 + lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16672 + # Ok, now we have the path, separated by spaces, we can step through it
16673 + # and add multilib dir if necessary.
16674 + lt_tmp_lt_search_path_spec=
16675 + lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
16676 + for lt_sys_path in $lt_search_path_spec; do
16677 + if test -d "$lt_sys_path/$lt_multi_os_dir"; then
16678 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
16680 + test -d "$lt_sys_path" && \
16681 + lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
16684 + lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
16685 +BEGIN {RS=" "; FS="/|\n";} {
16688 + for (lt_i = NF; lt_i > 0; lt_i--) {
16689 + if ($lt_i != "" && $lt_i != ".") {
16690 + if ($lt_i == "..") {
16693 + if (lt_count == 0) {
16694 + lt_foo="/" $lt_i lt_foo;
16701 + if (lt_foo != "") { lt_freq[[lt_foo]]++; }
16702 + if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
16704 + sys_lib_search_path_spec=`echo $lt_search_path_spec`
16706 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16709 need_lib_prefix=unknown
16710 hardcode_into_libs=no
16712 @@ -1230,7 +1368,7 @@
16713 soname_spec='${libname}${release}${shared_ext}$major'
16721 @@ -1369,12 +1507,8 @@
16722 shlibpath_overrides_runpath=yes
16723 shlibpath_var=DYLD_LIBRARY_PATH
16724 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16725 - # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16726 - if test "$GCC" = yes; then
16727 - sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16729 - sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
16732 + sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
16733 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16736 @@ -1391,18 +1525,6 @@
16741 - version_type=linux
16742 - need_lib_prefix=no
16744 - library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16745 - soname_spec='${libname}${release}${shared_ext}$major'
16746 - shlibpath_var=LD_LIBRARY_PATH
16747 - shlibpath_overrides_runpath=no
16748 - hardcode_into_libs=yes
16749 - dynamic_linker='GNU ld.so'
16752 freebsd* | dragonfly*)
16753 # DragonFly does not have aout. When/if they implement a new
16754 # versioning mechanism, adjust this.
16755 @@ -1440,7 +1562,7 @@
16756 shlibpath_overrides_runpath=no
16757 hardcode_into_libs=yes
16759 - freebsd*) # from 4.6 on
16760 + *) # from 4.6 on, and DragonFly
16761 shlibpath_overrides_runpath=yes
16762 hardcode_into_libs=yes
16764 @@ -1503,7 +1625,7 @@
16765 postinstall_cmds='chmod 555 $lib'
16773 @@ -1558,7 +1680,7 @@
16776 # This must be Linux ELF.
16778 +linux* | k*bsd*-gnu)
16782 @@ -1574,7 +1696,7 @@
16784 # Append ld.so.conf contents to the search path
16785 if test -f /etc/ld.so.conf; then
16786 - lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16787 + 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' ' '`
16788 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16791 @@ -1587,7 +1709,7 @@
16792 dynamic_linker='GNU/Linux ld.so'
16800 @@ -1596,7 +1718,7 @@
16801 shlibpath_var=LD_LIBRARY_PATH
16802 shlibpath_overrides_runpath=no
16803 hardcode_into_libs=yes
16804 - dynamic_linker='GNU ld.so'
16805 + dynamic_linker='NetBSD ld.elf_so'
16809 @@ -1680,6 +1802,10 @@
16810 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16814 + dynamic_linker=no
16820 @@ -1775,6 +1901,13 @@
16821 AC_MSG_RESULT([$dynamic_linker])
16822 test "$dynamic_linker" = no && can_build_shared=no
16824 +AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec],
16825 +[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"])
16826 +sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16827 +AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec],
16828 +[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"])
16829 +sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16831 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16832 if test "$GCC" = yes; then
16833 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16834 @@ -1785,7 +1918,8 @@
16837 AC_DEFUN([_LT_AC_TAGCONFIG],
16838 -[AC_ARG_WITH([tags],
16839 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
16840 +AC_ARG_WITH([tags],
16841 [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@],
16842 [include additional configurations @<:@automatic@:>@])],
16843 [tagnames="$withval"])
16844 @@ -2046,7 +2180,7 @@
16846 # AC_PATH_TOOL_PREFIX
16847 # -------------------
16848 -# find a file program which can recognise shared library
16849 +# find a file program which can recognize shared library
16850 AC_DEFUN([AC_PATH_TOOL_PREFIX],
16851 [AC_REQUIRE([AC_PROG_EGREP])dnl
16852 AC_MSG_CHECKING([for $1])
16853 @@ -2109,7 +2243,7 @@
16857 -# find a file program which can recognise a shared library
16858 +# find a file program which can recognize a shared library
16859 AC_DEFUN([AC_PATH_MAGIC],
16860 [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
16861 if test -z "$lt_cv_path_MAGIC_CMD"; then
16862 @@ -2256,7 +2390,7 @@
16863 # how to check for library dependencies
16864 # -- PORTME fill in with the dynamic library characteristics
16865 AC_DEFUN([AC_DEPLIBS_CHECK_METHOD],
16866 -[AC_CACHE_CHECK([how to recognise dependent libraries],
16867 +[AC_CACHE_CHECK([how to recognize dependent libraries],
16868 lt_cv_deplibs_check_method,
16869 [lt_cv_file_magic_cmd='$MAGIC_CMD'
16870 lt_cv_file_magic_test_file=
16871 @@ -2273,7 +2407,7 @@
16872 # whether `pass_all' will *always* work, you probably want this one.
16877 lt_cv_deplibs_check_method=pass_all
16880 @@ -2295,16 +2429,22 @@
16883 # Base MSYS/MinGW do not provide the 'file' command needed by
16884 - # func_win32_libid shell function, so use a weaker test based on 'objdump'.
16885 - lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
16886 - lt_cv_file_magic_cmd='$OBJDUMP -f'
16887 + # func_win32_libid shell function, so use a weaker test based on 'objdump',
16888 + # unless we find 'file', for example because we are cross-compiling.
16889 + if ( file / ) >/dev/null 2>&1; then
16890 + lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
16891 + lt_cv_file_magic_cmd='func_win32_libid'
16893 + lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
16894 + lt_cv_file_magic_cmd='$OBJDUMP -f'
16898 darwin* | rhapsody*)
16899 lt_cv_deplibs_check_method=pass_all
16902 -freebsd* | kfreebsd*-gnu | dragonfly*)
16903 +freebsd* | dragonfly*)
16904 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
16907 @@ -2342,7 +2482,7 @@
16913 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
16914 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
16916 @@ -2358,11 +2498,11 @@
16919 # This must be Linux ELF.
16921 +linux* | k*bsd*-gnu)
16922 lt_cv_deplibs_check_method=pass_all
16926 +netbsd* | netbsdelf*-gnu)
16927 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
16928 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
16930 @@ -2392,6 +2532,10 @@
16931 lt_cv_deplibs_check_method=pass_all
16935 + lt_cv_deplibs_check_method=pass_all
16939 lt_cv_deplibs_check_method=pass_all
16941 @@ -2444,7 +2588,7 @@
16942 lt_cv_path_NM="$NM"
16944 lt_nm_to_check="${ac_tool_prefix}nm"
16945 - if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
16946 + if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
16947 lt_nm_to_check="$lt_nm_to_check nm"
16949 for lt_tmp_nm in $lt_nm_to_check; do
16950 @@ -2660,10 +2804,10 @@
16951 _LT_AC_TAGVAR(objext, $1)=$objext
16953 # Code to be used in simple compile tests
16954 -lt_simple_compile_test_code="int some_variable = 0;\n"
16955 +lt_simple_compile_test_code="int some_variable = 0;"
16957 # Code to be used in simple link tests
16958 -lt_simple_link_test_code='int main(){return(0);}\n'
16959 +lt_simple_link_test_code='int main(){return(0);}'
16961 _LT_AC_SYS_COMPILER
16963 @@ -2703,7 +2847,7 @@
16969 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16970 test "$enable_shared" = yes && enable_static=no
16972 @@ -2760,6 +2904,7 @@
16973 _LT_AC_TAGVAR(predeps, $1)=
16974 _LT_AC_TAGVAR(postdeps, $1)=
16975 _LT_AC_TAGVAR(compiler_lib_search_path, $1)=
16976 +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
16978 # Source file extension for C++ test sources.
16980 @@ -2769,10 +2914,10 @@
16981 _LT_AC_TAGVAR(objext, $1)=$objext
16983 # Code to be used in simple compile tests
16984 -lt_simple_compile_test_code="int some_variable = 0;\n"
16985 +lt_simple_compile_test_code="int some_variable = 0;"
16987 # Code to be used in simple link tests
16988 -lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n'
16989 +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
16991 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
16992 _LT_AC_SYS_COMPILER
16993 @@ -2869,7 +3014,7 @@
16994 # FIXME: insert proper C++ library support
16995 _LT_AC_TAGVAR(ld_shlibs, $1)=no
16999 if test "$host_cpu" = ia64; then
17000 # On IA64, the linker does run time linking by default, so we don't
17001 # have to do anything special.
17002 @@ -2882,7 +3027,7 @@
17003 # Test if we are trying to use run time linking or normal
17004 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17005 # need to do runtime linking.
17006 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
17007 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
17008 for ld_flag in $LDFLAGS; do
17011 @@ -2918,7 +3063,7 @@
17012 strings "$collect2name" | grep resolve_lib_name >/dev/null
17014 # We have reworked collect2
17015 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
17018 # We have old collect2
17019 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
17020 @@ -3028,59 +3173,31 @@
17023 darwin* | rhapsody*)
17025 - rhapsody* | darwin1.[[012]])
17026 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
17028 - *) # Darwin 1.3 on
17029 - if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17030 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17032 - case ${MACOSX_DEPLOYMENT_TARGET} in
17034 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17037 - _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
17043 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17044 _LT_AC_TAGVAR(hardcode_direct, $1)=no
17045 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes
17046 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
17047 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)=''
17048 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
17050 - if test "$GXX" = yes ; then
17051 - lt_int_apple_cc_single_mod=no
17052 + _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
17053 + if test "$GXX" = yes ; then
17054 output_verbose_link_cmd='echo'
17055 - if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
17056 - lt_int_apple_cc_single_mod=yes
17057 + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17058 + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17059 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17060 + _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17061 + if test "$lt_cv_apple_cc_single_mod" != "yes"; then
17062 + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
17063 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
17065 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17066 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17068 - _LT_AC_TAGVAR(archive_cmds, $1)='$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'
17070 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17071 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17072 - if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
17073 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
17075 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
17077 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
17079 case $cc_basename in
17081 output_verbose_link_cmd='echo'
17082 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17083 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17084 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17085 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17086 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17087 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
17088 _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
17091 @@ -3114,7 +3231,7 @@
17093 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17095 - freebsd* | kfreebsd*-gnu | dragonfly*)
17096 + freebsd* | dragonfly*)
17097 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
17099 _LT_AC_TAGVAR(ld_shlibs, $1)=yes
17100 @@ -3163,9 +3280,7 @@
17101 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
17105 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
17107 + hppa*64*|ia64*) ;;
17109 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
17111 @@ -3233,7 +3348,7 @@
17117 _LT_AC_TAGVAR(hardcode_direct, $1)=no
17118 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17119 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
17120 @@ -3273,7 +3388,7 @@
17121 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
17122 _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=:
17125 + linux* | k*bsd*-gnu)
17126 case $cc_basename in
17128 # Kuck and Associates, Inc. (KAI) C++ Compiler
17129 @@ -3325,7 +3440,7 @@
17130 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
17131 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
17135 # Portland Group C++ compiler
17136 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
17137 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$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'
17138 @@ -3353,6 +3468,29 @@
17140 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'
17143 + case `$CC -V 2>&1 | sed 5q` in
17146 + _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs'
17147 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17148 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
17149 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
17150 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${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'
17152 + # Not sure whether something based on
17153 + # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
17154 + # would be better.
17155 + output_verbose_link_cmd='echo'
17157 + # Archives containing C++ object files must be created using
17158 + # "CC -xar", where "CC" is the Sun C++ compiler. This is
17159 + # necessary to make sure instantiated templates are included
17160 + # in the archive.
17161 + _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
17168 @@ -3375,7 +3513,7 @@
17173 + netbsd* | netbsdelf*-gnu)
17174 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17175 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
17177 @@ -3391,16 +3529,20 @@
17178 _LT_AC_TAGVAR(ld_shlibs, $1)=no
17181 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
17182 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17183 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17184 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
17185 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17186 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
17187 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
17188 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17189 + if test -f /usr/libexec/ld.so; then
17190 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
17191 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17192 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
17193 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
17194 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17195 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
17196 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
17197 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17199 + output_verbose_link_cmd='echo'
17201 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
17203 - output_verbose_link_cmd='echo'
17206 case $cc_basename in
17207 @@ -3562,15 +3704,10 @@
17209 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
17211 - # The C++ compiler is used as linker so we must use $wl
17212 - # flag to pass the commands to the underlying system
17213 - # linker. We must also pass each convience library through
17214 - # to the system linker between allextract/defaultextract.
17215 - # The C++ compiler will combine linker options so we
17216 - # cannot just pass the convience library names through
17218 + # The compiler driver will combine and reorder linker options,
17219 + # but understands `-z linker_flag'.
17220 # Supported since Solaris 2.6 (maybe 2.5.1?)
17221 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
17222 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
17225 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
17226 @@ -3617,6 +3754,12 @@
17229 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
17231 + solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
17233 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17239 @@ -3736,7 +3879,8 @@
17240 # compiler output when linking a shared library.
17241 # Parse the compiler output and extract the necessary
17242 # objects, libraries and library flags.
17243 -AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[
17244 +AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
17245 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
17246 dnl we can't use the lt_simple_compile_test_code here,
17247 dnl because it contains code intended for an executable,
17248 dnl not a library. It's possible we should let each
17249 @@ -3861,10 +4005,15 @@
17251 $rm -f confest.$objext
17253 +_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=
17254 +if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then
17255 + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
17258 # PORTME: override above test on systems where it is broken
17263 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17264 # hack all around it, let's just trust "g++" to DTRT.
17265 _LT_AC_TAGVAR(predep_objects,$1)=
17266 @@ -3872,19 +4021,51 @@
17267 _LT_AC_TAGVAR(postdeps,$1)=
17271 + case `$CC -V 2>&1 | sed 5q` in
17275 + # The more standards-conforming stlport4 library is
17276 + # incompatible with the Cstd library. Avoid specifying
17277 + # it if it's in CXXFLAGS. Ignore libCrun as
17278 + # -library=stlport4 depends on it.
17279 + case " $CXX $CXXFLAGS " in
17280 + *" -library=stlport4 "*)
17281 + solaris_use_stlport4=yes
17284 + if test "$solaris_use_stlport4" != yes; then
17285 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
17292 case $cc_basename in
17294 + # The more standards-conforming stlport4 library is
17295 + # incompatible with the Cstd library. Avoid specifying
17296 + # it if it's in CXXFLAGS. Ignore libCrun as
17297 + # -library=stlport4 depends on it.
17298 + case " $CXX $CXXFLAGS " in
17299 + *" -library=stlport4 "*)
17300 + solaris_use_stlport4=yes
17304 # Adding this requires a known-good setup of shared libraries for
17305 # Sun compiler versions before 5.6, else PIC objects from an old
17306 # archive will be linked into the output, leading to subtle bugs.
17307 - _LT_AC_TAGVAR(postdeps,$1)='-lCstd -lCrun'
17308 + if test "$solaris_use_stlport4" != yes; then
17309 + _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
17317 case " $_LT_AC_TAGVAR(postdeps, $1) " in
17318 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;;
17320 @@ -3927,10 +4108,17 @@
17321 _LT_AC_TAGVAR(objext, $1)=$objext
17323 # Code to be used in simple compile tests
17324 -lt_simple_compile_test_code=" subroutine t\n return\n end\n"
17325 +lt_simple_compile_test_code="\
17331 # Code to be used in simple link tests
17332 -lt_simple_link_test_code=" program t\n end\n"
17333 +lt_simple_link_test_code="\
17338 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17339 _LT_AC_SYS_COMPILER
17340 @@ -3962,7 +4150,7 @@
17341 postinstall_cmds='$RANLIB $lib'
17346 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
17347 test "$enable_shared" = yes && enable_static=no
17349 @@ -4009,10 +4197,10 @@
17350 _LT_AC_TAGVAR(objext, $1)=$objext
17352 # Code to be used in simple compile tests
17353 -lt_simple_compile_test_code="class foo {}\n"
17354 +lt_simple_compile_test_code="class foo {}"
17356 # Code to be used in simple link tests
17357 -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }\n'
17358 +lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
17360 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17361 _LT_AC_SYS_COMPILER
17362 @@ -4069,7 +4257,7 @@
17363 _LT_AC_TAGVAR(objext, $1)=$objext
17365 # Code to be used in simple compile tests
17366 -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17367 +lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
17369 # Code to be used in simple link tests
17370 lt_simple_link_test_code="$lt_simple_compile_test_code"
17371 @@ -4143,6 +4331,7 @@
17372 _LT_AC_TAGVAR(predeps, $1) \
17373 _LT_AC_TAGVAR(postdeps, $1) \
17374 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \
17375 + _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \
17376 _LT_AC_TAGVAR(archive_cmds, $1) \
17377 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \
17378 _LT_AC_TAGVAR(postinstall_cmds, $1) \
17379 @@ -4158,6 +4347,7 @@
17380 _LT_AC_TAGVAR(module_cmds, $1) \
17381 _LT_AC_TAGVAR(module_expsym_cmds, $1) \
17382 _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) \
17383 + _LT_AC_TAGVAR(fix_srcfile_path, $1) \
17384 _LT_AC_TAGVAR(exclude_expsyms, $1) \
17385 _LT_AC_TAGVAR(include_expsyms, $1); do
17387 @@ -4204,7 +4394,7 @@
17388 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
17389 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17391 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
17392 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
17393 # Free Software Foundation, Inc.
17395 # This file is part of GNU Libtool:
17396 @@ -4441,6 +4631,10 @@
17398 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1)
17400 +# The directories searched by this compiler when creating a shared
17402 +compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)
17404 # The library search path used internally by the compiler when linking
17405 # a shared library.
17406 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
17407 @@ -4529,7 +4723,7 @@
17408 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17410 # Fix the shell variable \$srcfile for the compiler.
17411 -fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)"
17412 +fix_srcfile_path=$lt_fix_srcfile_path
17414 # Set to yes if exported symbols are required.
17415 always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1)
17416 @@ -4612,6 +4806,7 @@
17417 # ---------------------------------
17418 AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE],
17419 [AC_REQUIRE([AC_CANONICAL_HOST])
17420 +AC_REQUIRE([LT_AC_PROG_SED])
17421 AC_REQUIRE([AC_PROG_NM])
17422 AC_REQUIRE([AC_OBJEXT])
17423 # Check for command to grab the raw symbol name followed by C symbol from nm.
17424 @@ -4648,7 +4843,7 @@
17425 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
17426 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'"
17429 +linux* | k*bsd*-gnu)
17430 if test "$host_cpu" = ia64; then
17431 symcode='[[ABCDGIRSTW]]'
17432 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
17433 @@ -4789,7 +4984,7 @@
17434 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
17435 cat conftest.$ac_ext >&5
17437 - rm -f conftest* conftst*
17438 + rm -rf conftest* conftst*
17440 # Do not use the global_symbol_pipe unless it works.
17441 if test "$pipe_works" = yes; then
17442 @@ -4838,13 +5033,16 @@
17444 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
17446 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17447 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17448 # PIC is the default for these OSes.
17450 - mingw* | os2* | pw32*)
17451 + mingw* | cygwin* | os2* | pw32*)
17452 # This hack is so that the source file can tell whether it is being
17453 # built for inclusion in a dll (and should export symbols for example).
17454 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
17455 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
17456 + # (--disable-auto-import) libraries
17457 + m4_if([$1], [GCJ], [],
17458 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
17460 darwin* | rhapsody*)
17461 # PIC is the default on this platform
17462 @@ -4855,7 +5053,7 @@
17463 # DJGPP does not support shared libraries at all
17464 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
17468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17469 # Instead, we relocate shared libraries at runtime.
17471 @@ -4881,7 +5079,7 @@
17477 # All AIX code is PIC.
17478 if test "$host_cpu" = ia64; then
17479 # AIX 5 now supports IA64 processor
17480 @@ -4921,7 +5119,7 @@
17484 - freebsd* | kfreebsd*-gnu | dragonfly*)
17485 + freebsd* | dragonfly*)
17486 # FreeBSD uses GNU C++
17488 hpux9* | hpux10* | hpux11*)
17489 @@ -4964,7 +5162,7 @@
17494 + linux* | k*bsd*-gnu)
17495 case $cc_basename in
17498 @@ -4977,7 +5175,7 @@
17499 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
17500 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static'
17504 # Portland Group C++ compiler.
17505 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
17506 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
17507 @@ -4991,6 +5189,14 @@
17508 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
17511 + case `$CC -V 2>&1 | sed 5q` in
17514 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
17515 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
17516 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
17522 @@ -5007,7 +5213,7 @@
17527 + netbsd* | netbsdelf*-gnu)
17529 osf3* | osf4* | osf5*)
17530 case $cc_basename in
17531 @@ -5111,14 +5317,17 @@
17532 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
17535 - beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17536 + beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17537 # PIC is the default for these OSes.
17540 - mingw* | pw32* | os2*)
17541 + mingw* | cygwin* | pw32* | os2*)
17542 # This hack is so that the source file can tell whether it is being
17543 # built for inclusion in a dll (and should export symbols for example).
17544 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
17545 + # Although the cygwin gcc ignores -fPIC, still need this for old-style
17546 + # (--disable-auto-import) libraries
17547 + m4_if([$1], [GCJ], [],
17548 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
17551 darwin* | rhapsody*)
17552 @@ -5127,7 +5336,7 @@
17553 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
17558 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17559 # Instead, we relocate shared libraries at runtime.
17561 @@ -5185,10 +5394,11 @@
17565 - mingw* | pw32* | os2*)
17566 + mingw* | cygwin* | pw32* | os2*)
17567 # This hack is so that the source file can tell whether it is being
17568 # built for inclusion in a dll (and should export symbols for example).
17569 - _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'
17570 + m4_if([$1], [GCJ], [],
17571 + [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
17574 hpux9* | hpux10* | hpux11*)
17575 @@ -5218,7 +5428,7 @@
17576 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
17580 + linux* | k*bsd*-gnu)
17581 case $cc_basename in
17583 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
17584 @@ -5237,6 +5447,22 @@
17585 # All Alpha code is PIC.
17586 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
17589 + case `$CC -V 2>&1 | sed 5q` in
17592 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
17593 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
17594 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
17597 + # Sun Fortran 8.3 passes all unrecognized flags to the linker
17598 + _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
17599 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
17600 + _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)=''
17607 @@ -5246,6 +5472,10 @@
17608 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
17612 + _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
17616 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
17617 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
17618 @@ -5305,7 +5535,7 @@
17620 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then
17621 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works],
17622 - _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1),
17623 + _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
17624 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [],
17625 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in
17627 @@ -5329,7 +5559,7 @@
17629 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\"
17630 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
17631 - _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1),
17632 + _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
17633 $lt_tmp_static_flag,
17635 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=])
17636 @@ -5340,11 +5570,12 @@
17637 # ------------------------------------
17638 # See if the linker supports building shared libraries.
17639 AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS],
17640 -[AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
17641 +[AC_REQUIRE([LT_AC_PROG_SED])dnl
17642 +AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
17643 ifelse([$1],[CXX],[
17644 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17648 # If we're using GNU nm, then we don't want the "-C" option.
17649 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17650 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17651 @@ -5357,12 +5588,16 @@
17652 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
17655 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$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'
17656 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$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'
17658 + linux* | k*bsd*-gnu)
17659 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
17662 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17665 + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
17668 _LT_AC_TAGVAR(allow_undefined_flag, $1)=
17669 @@ -5393,12 +5628,14 @@
17670 # it will be wrapped by ` (' and `)$', so one must not match beginning or
17671 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17672 # as well as any symbol that contains `d'.
17673 - _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_"
17674 + _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
17675 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17676 # platforms (ab)use it in PIC code, but their linkers get confused if
17677 # the symbol is explicitly referenced. Since portable code cannot
17678 # rely on this symbol name, it's probably fine to never include it in
17679 # preloaded symbol tables.
17680 + # Exclude shared library initialization/finalization symbols.
17681 +dnl Note also adjust exclude_expsyms for C++ above.
17682 extract_expsyms_cmds=
17683 # Just being paranoid about ensuring that cc_basename is set.
17684 _LT_CC_BASENAME([$compiler])
17685 @@ -5448,7 +5685,7 @@
17687 # See if GNU ld supports shared libraries.
17689 - aix3* | aix4* | aix5*)
17691 # On AIX/PPC, the GNU linker is very broken
17692 if test "$host_cpu" != ia64; then
17693 _LT_AC_TAGVAR(ld_shlibs, $1)=no
17694 @@ -5496,7 +5733,7 @@
17695 _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported
17696 _LT_AC_TAGVAR(always_export_symbols, $1)=no
17697 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
17698 - _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols'
17699 + _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
17701 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17702 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17703 @@ -5514,7 +5751,7 @@
17709 _LT_AC_TAGVAR(hardcode_direct, $1)=no
17710 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17711 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
17712 @@ -5529,7 +5766,7 @@
17713 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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'
17717 + gnu* | linux* | k*bsd*-gnu)
17718 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17720 case $cc_basename,$host_cpu in
17721 @@ -5547,20 +5784,30 @@
17722 ifc* | ifort*) # Intel Fortran compiler
17723 tmp_addflag=' -nofor_main' ;;
17725 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17726 + case `$CC -V 2>&1 | sed 5q` in
17727 + *Sun\ C*) # Sun C 5.9
17728 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${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'
17729 + tmp_sharedflag='-G' ;;
17730 + *Sun\ F*) # Sun Fortran 8.3
17731 + tmp_sharedflag='-G' ;;
17733 + tmp_sharedflag='-shared' ;;
17735 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17737 if test $supports_anon_versioning = yes; then
17738 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~
17739 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17740 $echo "local: *; };" >> $output_objdir/$libname.ver~
17741 - $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17742 + $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17744 + _LT_AC_TAGVAR(link_all_deplibs, $1)=no
17746 _LT_AC_TAGVAR(ld_shlibs, $1)=no
17751 + netbsd* | netbsdelf*-gnu)
17752 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17753 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17755 @@ -5593,7 +5840,7 @@
17757 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17758 case `$LD -v 2>&1` in
17759 - *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
17760 + *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
17761 _LT_AC_TAGVAR(ld_shlibs, $1)=no
17764 @@ -5658,7 +5905,7 @@
17770 if test "$host_cpu" = ia64; then
17771 # On IA64, the linker does run time linking by default, so we don't
17772 # have to do anything special.
17773 @@ -5678,7 +5925,7 @@
17774 # Test if we are trying to use run time linking or normal
17775 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
17776 # need to do runtime linking.
17777 - case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*)
17778 + case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
17779 for ld_flag in $LDFLAGS; do
17780 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17781 aix_use_runtimelinking=yes
17782 @@ -5712,7 +5959,7 @@
17783 strings "$collect2name" | grep resolve_lib_name >/dev/null
17785 # We have reworked collect2
17786 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
17789 # We have old collect2
17790 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported
17791 @@ -5805,7 +6052,7 @@
17792 # The linker will automatically build a .lib file if we build a DLL.
17793 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true'
17794 # FIXME: Should let the user specify the lib program.
17795 - _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs'
17796 + _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
17797 _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
17798 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
17800 @@ -5838,19 +6085,18 @@
17801 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
17802 if test "$GCC" = yes ; then
17803 output_verbose_link_cmd='echo'
17804 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17805 - _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17806 - # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17807 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
17808 - _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
17809 + _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17810 + _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17811 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
17812 + _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
17814 case $cc_basename in
17816 output_verbose_link_cmd='echo'
17817 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17818 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17819 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17820 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17821 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17822 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='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}'
17823 _LT_AC_TAGVAR(module_expsym_cmds, $1)='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}'
17826 @@ -5890,7 +6136,7 @@
17829 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17830 - freebsd* | kfreebsd*-gnu | dragonfly*)
17831 + freebsd* | dragonfly*)
17832 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17833 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
17834 _LT_AC_TAGVAR(hardcode_direct, $1)=yes
17835 @@ -5992,7 +6238,7 @@
17836 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
17840 + netbsd* | netbsdelf*-gnu)
17841 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17842 _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17844 @@ -6012,24 +6258,28 @@
17848 - _LT_AC_TAGVAR(hardcode_direct, $1)=yes
17849 - _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17850 - if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17851 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17852 - _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17853 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
17854 - _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
17855 + if test -f /usr/libexec/ld.so; then
17856 + _LT_AC_TAGVAR(hardcode_direct, $1)=yes
17857 + _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17858 + if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17859 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17860 + _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17861 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
17862 + _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
17865 + openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
17866 + _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17867 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
17870 + _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17871 + _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
17877 - openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
17878 - _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17879 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
17882 - _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17883 - _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
17886 + _LT_AC_TAGVAR(ld_shlibs, $1)=no
17890 @@ -6088,17 +6338,16 @@
17892 solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
17894 - # The compiler driver will combine linker options so we
17895 - # cannot just pass the convience library names through
17896 - # without $wl, iff we do not link with $LD.
17897 - # Luckily, gcc supports the same syntax we need for Sun Studio.
17898 + # The compiler driver will combine and reorder linker options,
17899 + # but understands `-z linker_flag'. GCC discards it without `$wl',
17900 + # but is careful enough not to reorder.
17901 # Supported since Solaris 2.6 (maybe 2.5.1?)
17904 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;;
17906 - _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17908 + if test "$GCC" = yes; then
17909 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17911 + _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
17915 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes
17917 @@ -6155,7 +6404,7 @@
17921 - sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
17922 + sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
17923 _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
17924 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
17925 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
17926 @@ -6230,7 +6479,7 @@
17927 # to ld, don't add -lc before -lgcc.
17928 AC_MSG_CHECKING([whether -lc should be explicitly linked in])
17930 - printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17931 + echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17933 if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
17935 @@ -6333,6 +6582,30 @@
17936 [AC_CHECK_TOOL(RC, windres, no)
17940 +# Cheap backport of AS_EXECUTABLE_P and required macros
17941 +# from Autoconf 2.59; we should not use $as_executable_p directly.
17943 +# _AS_TEST_PREPARE
17944 +# ----------------
17945 +m4_ifndef([_AS_TEST_PREPARE],
17946 +[m4_defun([_AS_TEST_PREPARE],
17947 +[if test -x / >/dev/null 2>&1; then
17948 + as_executable_p='test -x'
17950 + as_executable_p='test -f'
17952 +])])# _AS_TEST_PREPARE
17956 +# Check whether a file is executable.
17957 +m4_ifndef([AS_EXECUTABLE_P],
17958 +[m4_defun([AS_EXECUTABLE_P],
17959 +[AS_REQUIRE([_AS_TEST_PREPARE])dnl
17960 +$as_executable_p $1[]dnl
17961 +])])# AS_EXECUTABLE_P
17963 ############################################################
17964 # NOTE: This macro has been submitted for inclusion into #
17965 # GNU Autoconf as AC_PROG_SED. When it is available in #
17966 @@ -6355,12 +6628,13 @@
17967 test -z "$as_dir" && as_dir=.
17968 for lt_ac_prog in sed gsed; do
17969 for ac_exec_ext in '' $ac_executable_extensions; do
17970 - if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
17971 + if AS_EXECUTABLE_P(["$as_dir/$lt_ac_prog$ac_exec_ext"]); then
17972 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
17980 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
17981 @@ -6393,5 +6667,6 @@
17984 SED=$lt_cv_path_SED
17986 AC_MSG_RESULT([$SED])
17988 diff -urNad trunk~/conftools/ltmain.sh trunk/conftools/ltmain.sh
17989 --- trunk~/conftools/ltmain.sh 2006-12-19 20:28:40.000000000 +0100
17990 +++ trunk/conftools/ltmain.sh 2008-05-07 05:22:46.000000000 +0200
17992 # ltmain.sh - Provide generalized library-building support services.
17993 # NOTE: Changing this file will not affect anything until you rerun configure.
17995 -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005
17996 -# Free Software Foundation, Inc.
17997 +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
17998 +# 2007, 2008 Free Software Foundation, Inc.
17999 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
18001 # This program is free software; you can redistribute it and/or modify
18002 @@ -43,14 +43,22 @@
18007 -TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)"
18008 +VERSION="1.5.26 Debian 1.5.26-4"
18009 +TIMESTAMP=" (1.1220.2.493 2008/02/01 16:58:18)"
18011 -# See if we are running on zsh, and set the options which allow our
18012 -# commands through without removal of \ escapes.
18013 -if test -n "${ZSH_VERSION+set}" ; then
18014 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
18015 +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18018 + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18019 + # is contrary to our usage. Disable this feature.
18020 + alias -g '${1+"$@"}'='"$@"'
18021 setopt NO_GLOB_SUBST
18023 + case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
18025 +BIN_SH=xpg4; export BIN_SH # for Tru64
18026 +DUALCASE=1; export DUALCASE # for MKS sh
18028 # Check that we have a working $echo.
18029 if test "X$1" = X--no-reexec; then
18030 @@ -105,11 +113,19 @@
18031 # These must not be set unconditionally because not all systems understand
18032 # e.g. LANG=C (notably SCO).
18033 # We save the old values to restore during execute mode.
18034 -if test "${LC_ALL+set}" = set; then
18035 - save_LC_ALL="$LC_ALL"; LC_ALL=C; export LC_ALL
18037 -if test "${LANG+set}" = set; then
18038 - save_LANG="$LANG"; LANG=C; export LANG
18040 +for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
18042 + eval "if test \"\${$lt_var+set}\" = set; then
18043 + save_$lt_var=\$$lt_var
18044 + lt_env=\"$lt_var=\$$lt_var \$lt_env\"
18050 +if test -n "$lt_env"; then
18051 + lt_env="env $lt_env"
18054 # Make sure IFS has a sensible default
18055 @@ -136,6 +152,8 @@
18057 lo2o="s/\\.lo\$/.${objext}/"
18058 o2lo="s/\\.${objext}\$/.lo/"
18059 +extracted_archives=
18060 +extracted_serial=0
18062 #####################################
18063 # Shell function definitions:
18064 @@ -196,7 +214,13 @@
18065 if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \
18066 $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
18067 win32_nmres=`eval $NM -f posix -A $1 | \
18068 - $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'`
18069 + $SED -n -e '1,100{
18076 case $win32_nmres in
18077 import*) win32_libid_type="x86 archive import";;
18078 *) win32_libid_type="x86 archive static";;
18079 @@ -327,7 +351,17 @@
18080 *) my_xabs=`pwd`"/$my_xlib" ;;
18082 my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'`
18083 - my_xdir="$my_gentop/$my_xlib"
18084 + my_xlib_u=$my_xlib
18086 + case " $extracted_archives " in
18087 + *" $my_xlib_u "*)
18088 + extracted_serial=`expr $extracted_serial + 1`
18089 + my_xlib_u=lt$extracted_serial-$my_xlib ;;
18093 + extracted_archives="$extracted_archives $my_xlib_u"
18094 + my_xdir="$my_gentop/$my_xlib_u"
18096 $show "${rm}r $my_xdir"
18097 $run ${rm}r "$my_xdir"
18098 @@ -454,11 +488,12 @@
18102 - $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP"
18104 - $echo "Copyright (C) 2005 Free Software Foundation, Inc."
18105 - $echo "This is free software; see the source for copying conditions. There is NO"
18106 - $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
18108 +$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP
18110 +Copyright (C) 2008 Free Software Foundation, Inc.
18111 +This is free software; see the source for copying conditions. There is NO
18112 +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
18116 @@ -755,9 +790,11 @@
18117 *.class) xform=class ;;
18118 *.cpp) xform=cpp ;;
18119 *.cxx) xform=cxx ;;
18120 - *.f90) xform=f90 ;;
18121 + *.[fF][09]?) xform=[fF][09]. ;;
18122 *.for) xform=for ;;
18123 *.java) xform=java ;;
18124 + *.obj) xform=obj ;;
18125 + *.sx) xform=sx ;;
18128 libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
18129 @@ -926,7 +963,7 @@
18130 $run $rm "$lobj" "$output_obj"
18133 - if $run eval "$command"; then :
18134 + if $run eval $lt_env "$command"; then :
18136 test -n "$output_obj" && $run $rm $removelist
18138 @@ -998,7 +1035,7 @@
18139 command="$command$suppress_output"
18140 $run $rm "$obj" "$output_obj"
18142 - if $run eval "$command"; then :
18143 + if $run eval $lt_env "$command"; then :
18145 $run $rm $removelist
18147 @@ -1131,6 +1168,7 @@
18151 + single_module="${wl}-single_module"
18153 func_infer_tag $base_compile
18155 @@ -1138,8 +1176,9 @@
18159 - -all-static | -static)
18160 - if test "X$arg" = "X-all-static"; then
18161 + -all-static | -static | -static-libtool-libs)
18164 if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
18165 $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2
18167 @@ -1147,12 +1186,20 @@
18168 dlopen_self=$dlopen_self_static
18170 prefer_static_libs=yes
18174 if test -z "$pic_flag" && test -n "$link_static_flag"; then
18175 dlopen_self=$dlopen_self_static
18177 prefer_static_libs=built
18180 + -static-libtool-libs)
18181 + if test -z "$pic_flag" && test -n "$link_static_flag"; then
18182 + dlopen_self=$dlopen_self_static
18184 + prefer_static_libs=yes
18187 build_libtool_libs=no
18190 @@ -1600,13 +1647,18 @@
18194 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
18195 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
18196 compiler_flags="$compiler_flags $arg"
18197 compile_command="$compile_command $arg"
18198 finalize_command="$finalize_command $arg"
18203 + single_module="${wl}-multi_module"
18210 @@ -1620,10 +1672,11 @@
18211 # -m* pass through architecture-specific compiler args for GCC
18212 # -m*, -t[45]*, -txscale* pass through architecture-specific
18213 # compiler args for GCC
18214 - # -pg pass through profiling flag for GCC
18215 + # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
18216 + # -F/path gives path to uninstalled frameworks, gcc on darwin
18217 # @file GCC response files
18218 - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \
18219 - -t[45]*|-txscale*|@*)
18220 + -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
18221 + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
18223 # Unknown arguments in both finalize_command and compile_command need
18224 # to be aesthetically quoted because they are evaled later.
18225 @@ -1651,9 +1704,9 @@
18229 - *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
18230 + *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin*)
18231 # The PATH hackery in wrapper scripts is required on Windows
18232 - # in order for the loader to find any dlls it needs.
18233 + # and Darwin in order for the loader to find any dlls it needs.
18234 $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2
18235 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2
18237 @@ -1712,7 +1765,7 @@
18242 + -static | -static-libtool-libs)
18243 # The effects of -static are defined in a previous loop.
18244 # We used to do the same as -all-static on platforms that
18245 # didn't have a PIC flag, but the assumption that the effects
18246 @@ -2082,7 +2135,10 @@
18248 dlopen) libs="$dlfiles" ;;
18249 dlpreopen) libs="$dlprefiles" ;;
18250 - link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
18252 + libs="$deplibs %DEPLIBS%"
18253 + test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
18257 if test "$pass" = dlopen; then
18258 @@ -2094,7 +2150,7 @@
18262 - -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
18263 + -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
18264 if test "$linkmode,$pass" = "prog,link"; then
18265 compile_deplibs="$deplib $compile_deplibs"
18266 finalize_deplibs="$deplib $finalize_deplibs"
18267 @@ -2109,7 +2165,12 @@
18270 name=`$echo "X$deplib" | $Xsed -e 's/^-l//'`
18271 - for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do
18272 + if test "$linkmode" = lib; then
18273 + searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
18275 + searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path"
18277 + for searchdir in $searchdirs; do
18278 for search_ext in .la $std_shrext .so .a; do
18279 # Search the libtool library
18280 lib="$searchdir/lib${name}${search_ext}"
18281 @@ -2490,7 +2551,9 @@
18283 if test "$linkmode,$pass" = "prog,link"; then
18284 if test -n "$library_names" &&
18285 - { test "$prefer_static_libs" = no || test -z "$old_library"; }; then
18286 + { { test "$prefer_static_libs" = no ||
18287 + test "$prefer_static_libs,$installed" = "built,yes"; } ||
18288 + test -z "$old_library"; }; then
18289 # We need to hardcode the library path
18290 if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
18291 # Make sure the rpath contains only unique directories.
18292 @@ -2903,12 +2966,18 @@
18293 # we do not want to link against static libs,
18294 # but need to link against shared
18295 eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
18296 + eval deplibdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
18297 if test -n "$deplibrary_names" ; then
18298 for tmp in $deplibrary_names ; do
18301 - if test -f "$path/$depdepl" ; then
18302 + if test -f "$deplibdir/$depdepl" ; then
18303 + depdepl="$deplibdir/$depdepl"
18304 + elif test -f "$path/$depdepl" ; then
18305 depdepl="$path/$depdepl"
18307 + # Can't find it, oh well...
18310 # do not add paths which are already there
18311 case " $newlib_search_path " in
18312 @@ -3056,9 +3125,10 @@
18316 - if test -n "$deplibs"; then
18317 - $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2
18319 + case " $deplibs" in
18321 + $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 ;;
18324 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
18325 $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2
18326 @@ -3186,7 +3256,7 @@
18327 # which has an extra 1 added just for fun
18329 case $version_type in
18330 - darwin|linux|osf|windows)
18331 + darwin|linux|osf|windows|none)
18332 current=`expr $number_major + $number_minor`
18333 age="$number_minor"
18334 revision="$number_revision"
18335 @@ -3197,9 +3267,15 @@
18339 - current=`expr $number_major + $number_minor - 1`
18340 + current=`expr $number_major + $number_minor`
18341 age="$number_minor"
18342 revision="$number_minor"
18343 + lt_irix_increment=no
18346 + $echo "$modename: unknown library version type \`$version_type'" 1>&2
18347 + $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2
18348 + exit $EXIT_FAILURE
18352 @@ -3258,7 +3334,8 @@
18353 versuffix="$major.$age.$revision"
18354 # Darwin ld doesn't like 0 for these options...
18355 minor_current=`expr $current + 1`
18356 - verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
18357 + xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
18358 + verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
18362 @@ -3272,8 +3349,11 @@
18366 - major=`expr $current - $age + 1`
18368 + if test "X$lt_irix_increment" = "Xno"; then
18369 + major=`expr $current - $age`
18371 + major=`expr $current - $age + 1`
18373 case $version_type in
18374 nonstopux) verstring_prefix=nonstopux ;;
18375 *) verstring_prefix=sgi ;;
18376 @@ -3410,11 +3490,11 @@
18379 # Eliminate all temporary directories.
18380 - for path in $notinst_path; do
18381 - lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
18382 - deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
18383 - dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
18385 + #for path in $notinst_path; do
18386 + # lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"`
18387 + # deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"`
18388 + # dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"`
18391 if test -n "$xrpath"; then
18392 # If the user specified any rpath flags, then add them.
18393 @@ -3515,13 +3595,12 @@
18394 int main() { return 0; }
18397 - $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
18398 - if test "$?" -eq 0 ; then
18399 + if $LTCC $LTCFLAGS -o conftest conftest.c $deplibs; then
18400 ldd_output=`ldd conftest`
18401 for i in $deplibs; do
18402 name=`expr $i : '-l\(.*\)'`
18403 # If $name is empty we are operating on a -L argument.
18404 - if test "$name" != "" && test "$name" -ne "0"; then
18405 + if test "$name" != "" && test "$name" != "0"; then
18406 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
18407 case " $predeps $postdeps " in
18409 @@ -3560,9 +3639,7 @@
18410 # If $name is empty we are operating on a -L argument.
18411 if test "$name" != "" && test "$name" != "0"; then
18413 - $LTCC $LTCFLAGS -o conftest conftest.c $i
18415 - if test "$?" -eq 0 ; then
18416 + if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
18417 ldd_output=`ldd conftest`
18418 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
18419 case " $predeps $postdeps " in
18420 @@ -3594,7 +3671,7 @@
18423 $echo "*** Warning! Library $i is needed by this library but I was not able to"
18424 - $echo "*** make it link in! You will probably need to install it or some"
18425 + $echo "*** make it link in! You will probably need to install it or some"
18426 $echo "*** library that it depends on before this library will be fully"
18427 $echo "*** functional. Installing it before continuing would be even better."
18429 @@ -3880,7 +3957,10 @@
18430 test -n "$hardcode_libdirs"; then
18431 libdir="$hardcode_libdirs"
18432 if test -n "$hardcode_libdir_flag_spec_ld"; then
18433 - eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
18434 + case $archive_cmds in
18435 + *\$LD*) eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" ;;
18436 + *) eval dep_rpath=\"$hardcode_libdir_flag_spec\" ;;
18439 eval dep_rpath=\"$hardcode_libdir_flag_spec\"
18441 @@ -4190,9 +4270,10 @@
18445 - if test -n "$deplibs"; then
18446 - $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2
18448 + case " $deplibs" in
18450 + $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 ;;
18453 if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
18454 $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2
18455 @@ -4239,12 +4320,14 @@
18458 # reload_cmds runs $LD directly, so let us get rid of
18459 - # -Wl from whole_archive_flag_spec
18460 + # -Wl from whole_archive_flag_spec and hope we can get by with
18461 + # turning comma into space..
18464 if test -n "$convenience"; then
18465 if test -n "$whole_archive_flag_spec"; then
18466 - eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\"
18467 + eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
18468 + reload_conv_objs=$reload_objs\ `$echo "X$tmp_whole_archive_flags" | $Xsed -e 's|,| |g'`
18470 gentop="$output_objdir/${obj}x"
18471 generated="$generated $gentop"
18472 @@ -4692,16 +4775,16 @@
18474 *cygwin* | *mingw* )
18475 if test -f "$output_objdir/${outputname}.def" ; then
18476 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
18477 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"`
18478 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
18479 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%" | $NL2SP`
18481 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
18482 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
18483 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
18484 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
18488 - compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
18489 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"`
18490 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
18491 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%" | $NL2SP`
18495 @@ -4716,13 +4799,13 @@
18496 # really was required.
18498 # Nullify the symbol file.
18499 - compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"`
18500 - finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"`
18501 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
18502 + finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "s% @SYMFILE@%%" | $NL2SP`
18505 if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
18506 # Replace the output file specification.
18507 - compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'`
18508 + compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$output"'%g' | $NL2SP`
18509 link_command="$compile_command$compile_rpath"
18511 # We have no uninstalled library dependencies, so finalize right now.
18512 @@ -4809,7 +4892,7 @@
18513 if test "$fast_install" != no; then
18514 link_command="$finalize_var$compile_command$finalize_rpath"
18515 if test "$fast_install" = yes; then
18516 - relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
18517 + relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $SP2NL | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g' | $NL2SP`
18519 # fast_install is set to needless
18521 @@ -4846,7 +4929,7 @@
18524 relink_command="(cd `pwd`; $relink_command)"
18525 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
18526 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
18529 # Quote $echo for shipping.
18530 @@ -5253,6 +5336,20 @@
18531 Xsed='${SED} -e 1s/^X//'
18532 sed_quote_subst='$sed_quote_subst'
18534 +# Be Bourne compatible (taken from Autoconf:_AS_BOURNE_COMPATIBLE).
18535 +if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then
18538 + # Zsh 3.x and 4.x performs word splitting on \${1+\"\$@\"}, which
18539 + # is contrary to our usage. Disable this feature.
18540 + alias -g '\${1+\"\$@\"}'='\"\$@\"'
18541 + setopt NO_GLOB_SUBST
18543 + case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac
18545 +BIN_SH=xpg4; export BIN_SH # for Tru64
18546 +DUALCASE=1; export DUALCASE # for MKS sh
18548 # The HP-UX ksh and POSIX shell print the target directory to stdout
18549 # if CDPATH is set.
18550 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18551 @@ -5395,7 +5492,7 @@
18554 $echo >> $output "\
18555 - \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\"
18556 + \$echo \"\$0: cannot exec \$program \$*\"
18560 @@ -5581,7 +5678,7 @@
18562 # Quote the link command for shipping.
18563 relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
18564 - relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"`
18565 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e "$sed_quote_subst" | $NL2SP`
18566 if test "$hardcode_automatic" = yes ; then
18569 @@ -5926,9 +6023,9 @@
18571 if test -n "$inst_prefix_dir"; then
18572 # Stick the inst_prefix_dir data into the link command.
18573 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"`
18574 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%" | $NL2SP`
18576 - relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"`
18577 + relink_command=`$echo "$relink_command" | $SP2NL | $SED "s%@inst_prefix_dir@%%" | $NL2SP`
18580 $echo "$modename: warning: relinking \`$file'" 1>&2
18581 @@ -6137,7 +6234,7 @@
18582 file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'`
18583 outputname="$tmpdir/$file"
18584 # Replace the output file specification.
18585 - relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'`
18586 + relink_command=`$echo "X$relink_command" | $SP2NL | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g' | $NL2SP`
18588 $show "$relink_command"
18589 if $run eval "$relink_command"; then :
18590 @@ -6348,8 +6445,10 @@
18591 if test -f "$dir/$objdir/$dlname"; then
18594 - $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
18595 - exit $EXIT_FAILURE
18596 + if test ! -f "$dir/$dlname"; then
18597 + $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2
18598 + exit $EXIT_FAILURE
18603 @@ -6413,12 +6512,12 @@
18606 # Restore saved environment variables
18607 - if test "${save_LC_ALL+set}" = set; then
18608 - LC_ALL="$save_LC_ALL"; export LC_ALL
18610 - if test "${save_LANG+set}" = set; then
18611 - LANG="$save_LANG"; export LANG
18613 + for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
18615 + eval "if test \"\${save_$lt_var+set}\" = set; then
18616 + $lt_var=\$save_$lt_var; export $lt_var
18620 # Now prepare to actually exec the command.
18621 exec_cmd="\$cmd$args"
18622 @@ -6775,9 +6874,9 @@
18623 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
18624 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
18625 -export-symbols SYMFILE
18626 - try to export only the symbols listed in SYMFILE
18627 + try to export only the symbols listed in SYMFILE
18628 -export-symbols-regex REGEX
18629 - try to export only the symbols matching REGEX
18630 + try to export only the symbols matching REGEX
18631 -LLIBDIR search LIBDIR for required installed libraries
18632 -lNAME OUTPUT-FILE requires the installed library libNAME
18633 -module build a library that can dlopened
18634 @@ -6791,9 +6890,11 @@
18635 -release RELEASE specify package release information
18636 -rpath LIBDIR the created library will eventually be installed in LIBDIR
18637 -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries
18638 - -static do not do any dynamic linking of libtool libraries
18639 + -static do not do any dynamic linking of uninstalled libtool libraries
18640 + -static-libtool-libs
18641 + do not do any dynamic linking of libtool libraries
18642 -version-info CURRENT[:REVISION[:AGE]]
18643 - specify library version info [each variable defaults to 0]
18644 + specify library version info [each variable defaults to 0]
18646 All other options (arguments beginning with \`-') are ignored.