diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2006-12-19 00:21:03 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2006-12-19 00:21:03 +0000 |
commit | 0630d1579f5ce94a964457496990a372316edbc7 (patch) | |
tree | 0cf277f753b3476dfba4d878d1030854ba110d9d | |
parent | ebuild fixed, make sure you have cell-sources or gentoo-sources-2.6.20 as def... (diff) | |
download | lu_zero-0630d1579f5ce94a964457496990a372316edbc7.tar.gz lu_zero-0630d1579f5ce94a964457496990a372316edbc7.tar.bz2 lu_zero-0630d1579f5ce94a964457496990a372316edbc7.zip |
Newlib is now in portage use the latest one
svn path=/; revision=79
-rw-r--r-- | sys-libs/newlib/Manifest | 12 | ||||
-rw-r--r-- | sys-libs/newlib/files/digest-newlib-1.14.0 | 3 | ||||
-rw-r--r-- | sys-libs/newlib/files/newlib-1.14.0-spe-vanilla.patch | 8256 | ||||
-rw-r--r-- | sys-libs/newlib/newlib-1.14.0.ebuild | 100 |
4 files changed, 0 insertions, 8371 deletions
diff --git a/sys-libs/newlib/Manifest b/sys-libs/newlib/Manifest deleted file mode 100644 index 2131bb7..0000000 --- a/sys-libs/newlib/Manifest +++ /dev/null @@ -1,12 +0,0 @@ -AUX newlib-1.14.0-spe-vanilla.patch 247596 RMD160 208f63f8cc6572cf0dfbd70cf48e40f765a1c7f7 SHA1 4fa4315eb8f3d06e9a14966ab3d22cb6cf572caa SHA256 c9f65c69e9533545185fe0d18ad76b9b8a166541d854fa9e96c85584f432c620 -MD5 b31900b5832c05efc5127c79816eea7b files/newlib-1.14.0-spe-vanilla.patch 247596 -RMD160 208f63f8cc6572cf0dfbd70cf48e40f765a1c7f7 files/newlib-1.14.0-spe-vanilla.patch 247596 -SHA256 c9f65c69e9533545185fe0d18ad76b9b8a166541d854fa9e96c85584f432c620 files/newlib-1.14.0-spe-vanilla.patch 247596 -DIST newlib-1.14.0.tar.gz 7981432 RMD160 6f2b3f32759925142421ddc069229eff857dd106 SHA1 edc50f5cda734b50c5431a2b8d1e579ac82ce3f9 SHA256 7db55671132c2943dbbdadfaa954915c23dbc329168575a42bb940ef4bf50a23 -EBUILD newlib-1.14.0.ebuild 2339 RMD160 1f8ab7463d37069cbd3f7d3fa0068d1910b388f6 SHA1 4b461164e72b11e90425580f77a90139c8c267d5 SHA256 f1cf402aad577b141acbded8631111aba0a45368845bef454ae610a400ae0176 -MD5 0434c66fe9ab9525e9b69e53ccf3787d newlib-1.14.0.ebuild 2339 -RMD160 1f8ab7463d37069cbd3f7d3fa0068d1910b388f6 newlib-1.14.0.ebuild 2339 -SHA256 f1cf402aad577b141acbded8631111aba0a45368845bef454ae610a400ae0176 newlib-1.14.0.ebuild 2339 -MD5 6f8af4756b35701a5f3d90fa05b72caa files/digest-newlib-1.14.0 244 -RMD160 d7f90c5703bc04e0b94c80b0250ee5b6a13133cd files/digest-newlib-1.14.0 244 -SHA256 25b5f8b3f9c614b6b4cea571d457101e0b4c226f0673058cf69a755c9c35a385 files/digest-newlib-1.14.0 244 diff --git a/sys-libs/newlib/files/digest-newlib-1.14.0 b/sys-libs/newlib/files/digest-newlib-1.14.0 deleted file mode 100644 index b14fd80..0000000 --- a/sys-libs/newlib/files/digest-newlib-1.14.0 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 3fa663f131b355d3adb24ead4df678f2 newlib-1.14.0.tar.gz 7981432 -RMD160 6f2b3f32759925142421ddc069229eff857dd106 newlib-1.14.0.tar.gz 7981432 -SHA256 7db55671132c2943dbbdadfaa954915c23dbc329168575a42bb940ef4bf50a23 newlib-1.14.0.tar.gz 7981432 diff --git a/sys-libs/newlib/files/newlib-1.14.0-spe-vanilla.patch b/sys-libs/newlib/files/newlib-1.14.0-spe-vanilla.patch deleted file mode 100644 index 7c90207..0000000 --- a/sys-libs/newlib/files/newlib-1.14.0-spe-vanilla.patch +++ /dev/null @@ -1,8256 +0,0 @@ -diff -urN newlib-1.14.0/libgloss/configure.in newlib-1.14.0.spe/libgloss/configure.in ---- newlib-1.14.0/libgloss/configure.in 2005-12-12 12:25:07.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/configure.in 2006-06-11 02:20:21.000000000 +0200 -@@ -124,7 +124,11 @@ - configdirs="${configdirs} arm testsuite"; - ;; - iq2000-*-*) -- configdirs="${configdirs} iq2000 testsuite";; -+ configdirs="${configdirs} iq2000 testsuite"; -+ ;; -+ spu-*-elf) -+ configdirs="${configdirs} spu testsuite"; -+ ;; - - esac - -diff -urN newlib-1.14.0/libgloss/spu/Makefile.in newlib-1.14.0.spe/libgloss/spu/Makefile.in ---- newlib-1.14.0/libgloss/spu/Makefile.in 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/spu/Makefile.in 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,135 @@ -+# Copyright (c) 1998 Cygnus Support -+# -+# The authors hereby grant permission to use, copy, modify, distribute, -+# and license this software and its documentation for any purpose, provided -+# that existing copyright notices are retained in all copies and that this -+# notice is included verbatim in any distributions. No written agreement, -+# license, or royalty fee is required for any of the authorized uses. -+# Modifications to this software may be copyrighted by their authors -+# and need not follow the licensing terms described here, provided that -+# the new terms are clearly indicated on the first page of each file where -+# they apply. -+ -+VPATH = @srcdir@ -+srcdir = @srcdir@ -+objdir = . -+srcroot = $(srcdir)/../.. -+objroot = $(objdir)/../.. -+ -+prefix = @prefix@ -+exec_prefix = @exec_prefix@ -+ -+host_alias = @host_alias@ -+target_alias = @target_alias@ -+program_transform_name = @program_transform_name@ -+ -+bindir = @bindir@ -+libdir = @libdir@ -+tooldir = $(exec_prefix)/$(target_alias) -+ -+# Multilib support variables. -+# TOP is used instead of MULTI{BUILD,SRC}TOP. -+MULTIDIRS = -+MULTISUBDIR = -+MULTIDO = true -+MULTICLEAN = true -+ -+INSTALL = @INSTALL@ -+INSTALL_PROGRAM = @INSTALL_PROGRAM@ -+INSTALL_DATA = @INSTALL_DATA@ -+ -+SHELL = /bin/sh -+ -+CC = @CC@ -+ -+AS = @AS@ -+ -+AR = @AR@ -+ -+LD = @LD@ -+ -+RANLIB = @RANLIB@ -+ -+OBJDUMP = `t='$(program_transform_name)'; echo objdump | sed -e $$t` -+OBJCOPY = `t='$(program_transform_name)'; echo objcopy | sed -e $$t` -+ -+# object files needed -+OBJS = syscalls.o init.o exit.o sbrk.o -+ -+# Object files specific to particular targets. -+EVALOBJS = ${OBJS} -+ -+GCC_LDFLAGS = `if [ -d ${objroot}/../gcc ] ; \ -+ then echo -L${objroot}/../gcc ; fi` -+ -+OUTPUTS = libgloss.a crt0.o -+ -+NEWLIB_CFLAGS = `if [ -d ${objroot}/newlib ]; then echo -I${objroot}/newlib/targ-include -I${srcroot}/newlib/libc/include; fi` -+NEWLIB_LDFLAGS = `if [ -d ${objroot}/newlib ]; then echo -B${objroot}/newlib/ -L${objroot}/newlib/; fi` -+ -+INCLUDES = -I. -I$(srcdir)/.. -+ -+# TODO: Once libspu is installed on the system we can remove this hack -+INCLUDES += -I${srcroot}/../libspu/include -+ -+# Note that when building the library, ${MULTILIB} is not the way multilib -+# options are passed; they're passed in $(CFLAGS). -+CFLAGS_FOR_TARGET = ${MULTILIB} ${INCLUDES} ${NEWLIB_CFLAGS} -+LDFLAGS_FOR_TARGET = ${MULTILIB} ${NEWLIB_LDFLAGS} -+AR_FLAGS = qc -+ -+.c.o: -+ $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $< -+ -+.C.o: -+ $(CC) $(CFLAGS_FOR_TARGET) -O2 $(INCLUDES) -c $(CFLAGS) $< -+.s.o: -+ $(AS) $(ASFLAGS_FOR_TARGET) $(INCLUDES) $(ASFLAGS) -o $*.o $< -+ -+# -+# GCC knows to run the preprocessor on .S files before it assembles them. -+# -+.S.o: -+ $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) $(CFLAGS) -c $< -+ -+# -+# this is a bogus target that'll produce an assembler from the -+# C source with the right compiler options. this is so we can -+# track down code generation or debug symbol bugs. -+# -+.c.s: -+ $(CC) $(CFLAGS_FOR_TARGET) -S $(INCLUDES) $(CFLAGS) $< -+ -+all: ${OUTPUTS} -+ -+# -+# here's where we build the library for each target -+# -+ -+libgloss.a: $(EVALOBJS) -+ ${AR} ${ARFLAGS} $@ $(EVALOBJS) -+ ${RANLIB} $@ -+ -+doc: -+ -+clean mostlyclean: -+ rm -f $(OUTPUTS) *.i *~ *.o *-test *.srec *.dis *.map *.x -+ -+distclean maintainer-clean realclean: clean -+ rm -f Makefile config.status $(OUTPUTS) -+ -+.PHONY: install info install-info clean-info -+install: -+ for outputs in ${OUTPUTS}; do\ -+ ${INSTALL_DATA} $${outputs} $(DESTDIR)/${tooldir}/lib${MULTISUBDIR}/$${outputs}; \ -+ done -+ -+info: -+install-info: -+clean-info: -+ -+Makefile: Makefile.in config.status @host_makefile_frag_path@ -+ $(SHELL) config.status -+ -+config.status: configure -+ $(SHELL) config.status --recheck -diff -urN newlib-1.14.0/libgloss/spu/configure newlib-1.14.0.spe/libgloss/spu/configure ---- newlib-1.14.0/libgloss/spu/configure 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/spu/configure 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,2721 @@ -+#! /bin/sh -+# Guess values for system-dependent variables and create Makefiles. -+# Generated by GNU Autoconf 2.59. -+# -+# Copyright (C) 2003 Free Software Foundation, Inc. -+# This configure script is free software; the Free Software Foundation -+# gives unlimited permission to copy, distribute and modify it. -+## --------------------- ## -+## M4sh Initialization. ## -+## --------------------- ## -+ -+# Be Bourne compatible -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then -+ emulate sh -+ NULLCMD=: -+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then -+ set -o posix -+fi -+DUALCASE=1; export DUALCASE # for MKS sh -+ -+# Support unset when possible. -+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then -+ as_unset=unset -+else -+ as_unset=false -+fi -+ -+ -+# Work around bugs in pre-3.0 UWIN ksh. -+$as_unset ENV MAIL MAILPATH -+PS1='$ ' -+PS2='> ' -+PS4='+ ' -+ -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -+ eval $as_var=C; export $as_var -+ else -+ $as_unset $as_var -+ fi -+done -+ -+# Required to use basename. -+if expr a : '\(a\)' >/dev/null 2>&1; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then -+ as_basename=basename -+else -+ as_basename=false -+fi -+ -+ -+# Name of the executable. -+as_me=`$as_basename "$0" || -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)$' \| \ -+ . : '\(.\)' 2>/dev/null || -+echo X/"$0" | -+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } -+ /^X\/\(\/\/\)$/{ s//\1/; q; } -+ /^X\/\(\/\).*/{ s//\1/; q; } -+ s/.*/./; q'` -+ -+ -+# PATH needs CR, and LINENO needs CR and PATH. -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits -+ -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ echo "#! /bin/sh" >conf$$.sh -+ echo "exit 0" >>conf$$.sh -+ chmod +x conf$$.sh -+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then -+ PATH_SEPARATOR=';' -+ else -+ PATH_SEPARATOR=: -+ fi -+ rm -f conf$$.sh -+fi -+ -+ -+ as_lineno_1=$LINENO -+ as_lineno_2=$LINENO -+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` -+ test "x$as_lineno_1" != "x$as_lineno_2" && -+ test "x$as_lineno_3" = "x$as_lineno_2" || { -+ # Find who we are. Look in the path if we contain no path at all -+ # relative or not. -+ case $0 in -+ *[\\/]* ) as_myself=$0 ;; -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+done -+ -+ ;; -+ esac -+ # We did not find ourselves, most probably we were run as `sh COMMAND' -+ # in which case we are not to be found in the path. -+ if test "x$as_myself" = x; then -+ as_myself=$0 -+ fi -+ if test ! -f "$as_myself"; then -+ { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 -+ { (exit 1); exit 1; }; } -+ fi -+ case $CONFIG_SHELL in -+ '') -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for as_base in sh bash ksh sh5; do -+ case $as_dir in -+ /*) -+ if ("$as_dir/$as_base" -c ' -+ as_lineno_1=$LINENO -+ as_lineno_2=$LINENO -+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` -+ test "x$as_lineno_1" != "x$as_lineno_2" && -+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then -+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } -+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } -+ CONFIG_SHELL=$as_dir/$as_base -+ export CONFIG_SHELL -+ exec "$CONFIG_SHELL" "$0" ${1+"$@"} -+ fi;; -+ esac -+ done -+done -+;; -+ esac -+ -+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO -+ # uniformly replaced by the line number. The first 'sed' inserts a -+ # line-number line before each line; the second 'sed' does the real -+ # work. The second script uses 'N' to pair each line-number line -+ # with the numbered line, and appends trailing '-' during -+ # substitution so that $LINENO is not a special case at line end. -+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the -+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) -+ sed '=' <$as_myself | -+ sed ' -+ N -+ s,$,-, -+ : loop -+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, -+ t loop -+ s,-$,, -+ s,^['$as_cr_digits']*\n,, -+ ' >$as_me.lineno && -+ chmod +x $as_me.lineno || -+ { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 -+ { (exit 1); exit 1; }; } -+ -+ # Don't try to exec as it changes $[0], causing all sort of problems -+ # (the dirname of $[0] is not the place where we might find the -+ # original and so on. Autoconf is especially sensible to this). -+ . ./$as_me.lineno -+ # Exit status is that of the last command. -+ exit -+} -+ -+ -+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in -+ *c*,-n*) ECHO_N= ECHO_C=' -+' ECHO_T=' ' ;; -+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; -+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -+esac -+ -+if expr a : '\(a\)' >/dev/null 2>&1; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+rm -f conf$$ conf$$.exe conf$$.file -+echo >conf$$.file -+if ln -s conf$$.file conf$$ 2>/dev/null; then -+ # We could just check for DJGPP; but this test a) works b) is more generic -+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). -+ if test -f conf$$.exe; then -+ # Don't use ln at all; we don't have any links -+ as_ln_s='cp -p' -+ else -+ as_ln_s='ln -s' -+ fi -+elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+else -+ as_ln_s='cp -p' -+fi -+rm -f conf$$ conf$$.exe conf$$.file -+ -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p=: -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false -+fi -+ -+as_executable_p="test -f" -+ -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -+ -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -+ -+ -+# IFS -+# We need space, tab and new line, in precisely that order. -+as_nl=' -+' -+IFS=" $as_nl" -+ -+# CDPATH. -+$as_unset CDPATH -+ -+ -+# Name of the host. -+# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -+# so uname gets run too. -+ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` -+ -+exec 6>&1 -+ -+# -+# Initializations. -+# -+ac_default_prefix=/usr/local -+ac_config_libobj_dir=. -+cross_compiling=no -+subdirs= -+MFLAGS= -+MAKEFLAGS= -+SHELL=${CONFIG_SHELL-/bin/sh} -+ -+# Maximum number of lines to put in a shell here document. -+# This variable seems obsolete. It should probably be removed, and -+# only ac_max_sed_lines should be used. -+: ${ac_max_here_lines=38} -+ -+# Identity of this package. -+PACKAGE_NAME= -+PACKAGE_TARNAME= -+PACKAGE_VERSION= -+PACKAGE_STRING= -+PACKAGE_BUGREPORT= -+ -+ac_unique_file="crt0.c" -+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 target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC AS AR LD RANLIB ac_ct_RANLIB host_makefile_frag_path LIBOBJS LTLIBOBJS' -+ac_subst_files='host_makefile_frag' -+ -+# Initialize some variables set by options. -+ac_init_help= -+ac_init_version=false -+# The variables have the same names as the options, with -+# dashes changed to underlines. -+cache_file=/dev/null -+exec_prefix=NONE -+no_create= -+no_recursion= -+prefix=NONE -+program_prefix=NONE -+program_suffix=NONE -+program_transform_name=s,x,x, -+silent= -+site= -+srcdir= -+verbose= -+x_includes=NONE -+x_libraries=NONE -+ -+# Installation directory options. -+# These are left unexpanded so users can "make install exec_prefix=/foo" -+# and all the variables that are supposed to be based on exec_prefix -+# by default will actually change. -+# Use braces instead of parens because sh, perl, etc. also accept them. -+bindir='${exec_prefix}/bin' -+sbindir='${exec_prefix}/sbin' -+libexecdir='${exec_prefix}/libexec' -+datadir='${prefix}/share' -+sysconfdir='${prefix}/etc' -+sharedstatedir='${prefix}/com' -+localstatedir='${prefix}/var' -+libdir='${exec_prefix}/lib' -+includedir='${prefix}/include' -+oldincludedir='/usr/include' -+infodir='${prefix}/info' -+mandir='${prefix}/man' -+ -+ac_prev= -+for ac_option -+do -+ # If the previous option needs an argument, assign it. -+ if test -n "$ac_prev"; then -+ eval "$ac_prev=\$ac_option" -+ ac_prev= -+ continue -+ fi -+ -+ ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` -+ -+ # Accept the important Cygnus configure options, so we can diagnose typos. -+ -+ case $ac_option in -+ -+ -bindir | --bindir | --bindi | --bind | --bin | --bi) -+ ac_prev=bindir ;; -+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) -+ bindir=$ac_optarg ;; -+ -+ -build | --build | --buil | --bui | --bu) -+ ac_prev=build_alias ;; -+ -build=* | --build=* | --buil=* | --bui=* | --bu=*) -+ build_alias=$ac_optarg ;; -+ -+ -cache-file | --cache-file | --cache-fil | --cache-fi \ -+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) -+ ac_prev=cache_file ;; -+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ -+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) -+ cache_file=$ac_optarg ;; -+ -+ --config-cache | -C) -+ cache_file=config.cache ;; -+ -+ -datadir | --datadir | --datadi | --datad | --data | --dat | --da) -+ ac_prev=datadir ;; -+ -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ -+ | --da=*) -+ datadir=$ac_optarg ;; -+ -+ -disable-* | --disable-*) -+ ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && -+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2 -+ { (exit 1); exit 1; }; } -+ ac_feature=`echo $ac_feature | sed 's/-/_/g'` -+ eval "enable_$ac_feature=no" ;; -+ -+ -enable-* | --enable-*) -+ ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && -+ { echo "$as_me: error: invalid feature name: $ac_feature" >&2 -+ { (exit 1); exit 1; }; } -+ ac_feature=`echo $ac_feature | sed 's/-/_/g'` -+ case $ac_option in -+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; -+ *) ac_optarg=yes ;; -+ esac -+ eval "enable_$ac_feature='$ac_optarg'" ;; -+ -+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ -+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ -+ | --exec | --exe | --ex) -+ ac_prev=exec_prefix ;; -+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ -+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ -+ | --exec=* | --exe=* | --ex=*) -+ exec_prefix=$ac_optarg ;; -+ -+ -gas | --gas | --ga | --g) -+ # Obsolete; use --with-gas. -+ with_gas=yes ;; -+ -+ -help | --help | --hel | --he | -h) -+ ac_init_help=long ;; -+ -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) -+ ac_init_help=recursive ;; -+ -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) -+ ac_init_help=short ;; -+ -+ -host | --host | --hos | --ho) -+ ac_prev=host_alias ;; -+ -host=* | --host=* | --hos=* | --ho=*) -+ host_alias=$ac_optarg ;; -+ -+ -includedir | --includedir | --includedi | --included | --include \ -+ | --includ | --inclu | --incl | --inc) -+ ac_prev=includedir ;; -+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ -+ | --includ=* | --inclu=* | --incl=* | --inc=*) -+ includedir=$ac_optarg ;; -+ -+ -infodir | --infodir | --infodi | --infod | --info | --inf) -+ ac_prev=infodir ;; -+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) -+ infodir=$ac_optarg ;; -+ -+ -libdir | --libdir | --libdi | --libd) -+ ac_prev=libdir ;; -+ -libdir=* | --libdir=* | --libdi=* | --libd=*) -+ libdir=$ac_optarg ;; -+ -+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ -+ | --libexe | --libex | --libe) -+ ac_prev=libexecdir ;; -+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ -+ | --libexe=* | --libex=* | --libe=*) -+ libexecdir=$ac_optarg ;; -+ -+ -localstatedir | --localstatedir | --localstatedi | --localstated \ -+ | --localstate | --localstat | --localsta | --localst \ -+ | --locals | --local | --loca | --loc | --lo) -+ ac_prev=localstatedir ;; -+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ -+ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ -+ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) -+ localstatedir=$ac_optarg ;; -+ -+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) -+ ac_prev=mandir ;; -+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) -+ mandir=$ac_optarg ;; -+ -+ -nfp | --nfp | --nf) -+ # Obsolete; use --without-fp. -+ with_fp=no ;; -+ -+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ -+ | --no-cr | --no-c | -n) -+ no_create=yes ;; -+ -+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ -+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) -+ no_recursion=yes ;; -+ -+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ -+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ -+ | --oldin | --oldi | --old | --ol | --o) -+ ac_prev=oldincludedir ;; -+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ -+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ -+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) -+ oldincludedir=$ac_optarg ;; -+ -+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) -+ ac_prev=prefix ;; -+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) -+ prefix=$ac_optarg ;; -+ -+ -program-prefix | --program-prefix | --program-prefi | --program-pref \ -+ | --program-pre | --program-pr | --program-p) -+ ac_prev=program_prefix ;; -+ -program-prefix=* | --program-prefix=* | --program-prefi=* \ -+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) -+ program_prefix=$ac_optarg ;; -+ -+ -program-suffix | --program-suffix | --program-suffi | --program-suff \ -+ | --program-suf | --program-su | --program-s) -+ ac_prev=program_suffix ;; -+ -program-suffix=* | --program-suffix=* | --program-suffi=* \ -+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) -+ program_suffix=$ac_optarg ;; -+ -+ -program-transform-name | --program-transform-name \ -+ | --program-transform-nam | --program-transform-na \ -+ | --program-transform-n | --program-transform- \ -+ | --program-transform | --program-transfor \ -+ | --program-transfo | --program-transf \ -+ | --program-trans | --program-tran \ -+ | --progr-tra | --program-tr | --program-t) -+ ac_prev=program_transform_name ;; -+ -program-transform-name=* | --program-transform-name=* \ -+ | --program-transform-nam=* | --program-transform-na=* \ -+ | --program-transform-n=* | --program-transform-=* \ -+ | --program-transform=* | --program-transfor=* \ -+ | --program-transfo=* | --program-transf=* \ -+ | --program-trans=* | --program-tran=* \ -+ | --progr-tra=* | --program-tr=* | --program-t=*) -+ program_transform_name=$ac_optarg ;; -+ -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ silent=yes ;; -+ -+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) -+ ac_prev=sbindir ;; -+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ -+ | --sbi=* | --sb=*) -+ sbindir=$ac_optarg ;; -+ -+ -sharedstatedir | --sharedstatedir | --sharedstatedi \ -+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ -+ | --sharedst | --shareds | --shared | --share | --shar \ -+ | --sha | --sh) -+ ac_prev=sharedstatedir ;; -+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ -+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ -+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ -+ | --sha=* | --sh=*) -+ sharedstatedir=$ac_optarg ;; -+ -+ -site | --site | --sit) -+ ac_prev=site ;; -+ -site=* | --site=* | --sit=*) -+ site=$ac_optarg ;; -+ -+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) -+ ac_prev=srcdir ;; -+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) -+ srcdir=$ac_optarg ;; -+ -+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ -+ | --syscon | --sysco | --sysc | --sys | --sy) -+ ac_prev=sysconfdir ;; -+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ -+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) -+ sysconfdir=$ac_optarg ;; -+ -+ -target | --target | --targe | --targ | --tar | --ta | --t) -+ ac_prev=target_alias ;; -+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) -+ target_alias=$ac_optarg ;; -+ -+ -v | -verbose | --verbose | --verbos | --verbo | --verb) -+ verbose=yes ;; -+ -+ -version | --version | --versio | --versi | --vers | -V) -+ ac_init_version=: ;; -+ -+ -with-* | --with-*) -+ ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && -+ { echo "$as_me: error: invalid package name: $ac_package" >&2 -+ { (exit 1); exit 1; }; } -+ ac_package=`echo $ac_package| sed 's/-/_/g'` -+ case $ac_option in -+ *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; -+ *) ac_optarg=yes ;; -+ esac -+ eval "with_$ac_package='$ac_optarg'" ;; -+ -+ -without-* | --without-*) -+ ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && -+ { echo "$as_me: error: invalid package name: $ac_package" >&2 -+ { (exit 1); exit 1; }; } -+ ac_package=`echo $ac_package | sed 's/-/_/g'` -+ eval "with_$ac_package=no" ;; -+ -+ --x) -+ # Obsolete; use --with-x. -+ with_x=yes ;; -+ -+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ -+ | --x-incl | --x-inc | --x-in | --x-i) -+ ac_prev=x_includes ;; -+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ -+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) -+ x_includes=$ac_optarg ;; -+ -+ -x-libraries | --x-libraries | --x-librarie | --x-librari \ -+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) -+ ac_prev=x_libraries ;; -+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ -+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) -+ x_libraries=$ac_optarg ;; -+ -+ -*) { echo "$as_me: error: unrecognized option: $ac_option -+Try \`$0 --help' for more information." >&2 -+ { (exit 1); exit 1; }; } -+ ;; -+ -+ *=*) -+ ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` -+ # Reject names that are not valid shell variable names. -+ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && -+ { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 -+ { (exit 1); exit 1; }; } -+ ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` -+ eval "$ac_envvar='$ac_optarg'" -+ export $ac_envvar ;; -+ -+ *) -+ # FIXME: should be removed in autoconf 3.0. -+ echo "$as_me: WARNING: you should use --build, --host, --target" >&2 -+ expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && -+ echo "$as_me: WARNING: invalid host type: $ac_option" >&2 -+ : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} -+ ;; -+ -+ esac -+done -+ -+if test -n "$ac_prev"; then -+ ac_option=--`echo $ac_prev | sed 's/_/-/g'` -+ { echo "$as_me: error: missing argument to $ac_option" >&2 -+ { (exit 1); exit 1; }; } -+fi -+ -+# Be sure to have absolute paths. -+for ac_var in exec_prefix prefix -+do -+ eval ac_val=$`echo $ac_var` -+ case $ac_val in -+ [\\/$]* | ?:[\\/]* | NONE | '' ) ;; -+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 -+ { (exit 1); exit 1; }; };; -+ esac -+done -+ -+# Be sure to have absolute paths. -+for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ -+ localstatedir libdir includedir oldincludedir infodir mandir -+do -+ eval ac_val=$`echo $ac_var` -+ case $ac_val in -+ [\\/$]* | ?:[\\/]* ) ;; -+ *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 -+ { (exit 1); exit 1; }; };; -+ esac -+done -+ -+# There might be people who depend on the old broken behavior: `$host' -+# used to hold the argument of --host etc. -+# FIXME: To remove some day. -+build=$build_alias -+host=$host_alias -+target=$target_alias -+ -+# FIXME: To remove some day. -+if test "x$host_alias" != x; then -+ if test "x$build_alias" = x; then -+ cross_compiling=maybe -+ echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. -+ If a cross compiler is detected then cross compile mode will be used." >&2 -+ elif test "x$build_alias" != "x$host_alias"; then -+ cross_compiling=yes -+ fi -+fi -+ -+ac_tool_prefix= -+test -n "$host_alias" && ac_tool_prefix=$host_alias- -+ -+test "$silent" = yes && exec 6>/dev/null -+ -+ -+# Find the source files, if location was not specified. -+if test -z "$srcdir"; then -+ ac_srcdir_defaulted=yes -+ # Try the directory containing this script, then its parent. -+ ac_confdir=`(dirname "$0") 2>/dev/null || -+$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$0" : 'X\(//\)[^/]' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)' \| \ -+ . : '\(.\)' 2>/dev/null || -+echo X"$0" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } -+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } -+ /^X\(\/\/\)$/{ s//\1/; q; } -+ /^X\(\/\).*/{ s//\1/; q; } -+ s/.*/./; q'` -+ srcdir=$ac_confdir -+ if test ! -r $srcdir/$ac_unique_file; then -+ srcdir=.. -+ fi -+else -+ ac_srcdir_defaulted=no -+fi -+if test ! -r $srcdir/$ac_unique_file; then -+ if test "$ac_srcdir_defaulted" = yes; then -+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 -+ { (exit 1); exit 1; }; } -+ else -+ { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 -+ { (exit 1); exit 1; }; } -+ fi -+fi -+(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || -+ { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 -+ { (exit 1); exit 1; }; } -+srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` -+ac_env_build_alias_set=${build_alias+set} -+ac_env_build_alias_value=$build_alias -+ac_cv_env_build_alias_set=${build_alias+set} -+ac_cv_env_build_alias_value=$build_alias -+ac_env_host_alias_set=${host_alias+set} -+ac_env_host_alias_value=$host_alias -+ac_cv_env_host_alias_set=${host_alias+set} -+ac_cv_env_host_alias_value=$host_alias -+ac_env_target_alias_set=${target_alias+set} -+ac_env_target_alias_value=$target_alias -+ac_cv_env_target_alias_set=${target_alias+set} -+ac_cv_env_target_alias_value=$target_alias -+ -+# -+# Report the --help message. -+# -+if test "$ac_init_help" = "long"; then -+ # Omit some internal or obsolete options to make the list less imposing. -+ # This message is too long to be a string in the A/UX 3.1 sh. -+ cat <<_ACEOF -+\`configure' configures this package to adapt to many kinds of systems. -+ -+Usage: $0 [OPTION]... [VAR=VALUE]... -+ -+To assign environment variables (e.g., CC, CFLAGS...), specify them as -+VAR=VALUE. See below for descriptions of some of the useful variables. -+ -+Defaults for the options are specified in brackets. -+ -+Configuration: -+ -h, --help display this help and exit -+ --help=short display options specific to this package -+ --help=recursive display the short help of all the included packages -+ -V, --version display version information and exit -+ -q, --quiet, --silent do not print \`checking...' messages -+ --cache-file=FILE cache test results in FILE [disabled] -+ -C, --config-cache alias for \`--cache-file=config.cache' -+ -n, --no-create do not create output files -+ --srcdir=DIR find the sources in DIR [configure dir or \`..'] -+ -+_ACEOF -+ -+ cat <<_ACEOF -+Installation directories: -+ --prefix=PREFIX install architecture-independent files in PREFIX -+ [$ac_default_prefix] -+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX -+ [PREFIX] -+ -+By default, \`make install' will install all the files in -+\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -+an installation prefix other than \`$ac_default_prefix' using \`--prefix', -+for instance \`--prefix=\$HOME'. -+ -+For better control, use the options below. -+ -+Fine tuning of the installation directories: -+ --bindir=DIR user executables [EPREFIX/bin] -+ --sbindir=DIR system admin executables [EPREFIX/sbin] -+ --libexecdir=DIR program executables [EPREFIX/libexec] -+ --datadir=DIR read-only architecture-independent data [PREFIX/share] -+ --sysconfdir=DIR read-only single-machine data [PREFIX/etc] -+ --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] -+ --localstatedir=DIR modifiable single-machine data [PREFIX/var] -+ --libdir=DIR object code libraries [EPREFIX/lib] -+ --includedir=DIR C header files [PREFIX/include] -+ --oldincludedir=DIR C header files for non-gcc [/usr/include] -+ --infodir=DIR info documentation [PREFIX/info] -+ --mandir=DIR man documentation [PREFIX/man] -+_ACEOF -+ -+ cat <<\_ACEOF -+ -+Program names: -+ --program-prefix=PREFIX prepend PREFIX to installed program names -+ --program-suffix=SUFFIX append SUFFIX to installed program names -+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names -+ -+System types: -+ --build=BUILD configure for building on BUILD [guessed] -+ --host=HOST cross-compile to build programs to run on HOST [BUILD] -+ --target=TARGET configure for building compilers for TARGET [HOST] -+_ACEOF -+fi -+ -+if test -n "$ac_init_help"; then -+ -+ cat <<\_ACEOF -+ -+_ACEOF -+fi -+ -+if test "$ac_init_help" = "recursive"; then -+ # If there are subdirs, report their specific --help. -+ ac_popdir=`pwd` -+ for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue -+ test -d $ac_dir || continue -+ ac_builddir=. -+ -+if test "$ac_dir" != .; then -+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` -+ # A "../" for each directory in $ac_dir_suffix. -+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -+else -+ ac_dir_suffix= ac_top_builddir= -+fi -+ -+case $srcdir in -+ .) # No --srcdir option. We are building in place. -+ ac_srcdir=. -+ if test -z "$ac_top_builddir"; then -+ ac_top_srcdir=. -+ else -+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` -+ fi ;; -+ [\\/]* | ?:[\\/]* ) # Absolute path. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir ;; -+ *) # Relative path. -+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_builddir$srcdir ;; -+esac -+ -+# Do not use `cd foo && pwd` to compute absolute paths, because -+# the directories may not exist. -+case `pwd` in -+.) ac_abs_builddir="$ac_dir";; -+*) -+ case "$ac_dir" in -+ .) ac_abs_builddir=`pwd`;; -+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; -+ *) ac_abs_builddir=`pwd`/"$ac_dir";; -+ esac;; -+esac -+case $ac_abs_builddir in -+.) ac_abs_top_builddir=${ac_top_builddir}.;; -+*) -+ case ${ac_top_builddir}. in -+ .) ac_abs_top_builddir=$ac_abs_builddir;; -+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; -+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; -+ esac;; -+esac -+case $ac_abs_builddir in -+.) ac_abs_srcdir=$ac_srcdir;; -+*) -+ case $ac_srcdir in -+ .) ac_abs_srcdir=$ac_abs_builddir;; -+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; -+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; -+ esac;; -+esac -+case $ac_abs_builddir in -+.) ac_abs_top_srcdir=$ac_top_srcdir;; -+*) -+ case $ac_top_srcdir in -+ .) ac_abs_top_srcdir=$ac_abs_builddir;; -+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; -+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; -+ esac;; -+esac -+ -+ cd $ac_dir -+ # Check for guested configure; otherwise get Cygnus style configure. -+ if test -f $ac_srcdir/configure.gnu; then -+ echo -+ $SHELL $ac_srcdir/configure.gnu --help=recursive -+ elif test -f $ac_srcdir/configure; then -+ echo -+ $SHELL $ac_srcdir/configure --help=recursive -+ elif test -f $ac_srcdir/configure.ac || -+ test -f $ac_srcdir/configure.in; then -+ echo -+ $ac_configure --help -+ else -+ echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 -+ fi -+ cd $ac_popdir -+ done -+fi -+ -+test -n "$ac_init_help" && exit 0 -+if $ac_init_version; then -+ cat <<\_ACEOF -+ -+Copyright (C) 2003 Free Software Foundation, Inc. -+This configure script is free software; the Free Software Foundation -+gives unlimited permission to copy, distribute and modify it. -+_ACEOF -+ exit 0 -+fi -+exec 5>config.log -+cat >&5 <<_ACEOF -+This file contains any messages produced by compilers while -+running configure, to aid debugging if configure makes a mistake. -+ -+It was created by $as_me, which was -+generated by GNU Autoconf 2.59. Invocation command line was -+ -+ $ $0 $@ -+ -+_ACEOF -+{ -+cat <<_ASUNAME -+## --------- ## -+## Platform. ## -+## --------- ## -+ -+hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -+uname -m = `(uname -m) 2>/dev/null || echo unknown` -+uname -r = `(uname -r) 2>/dev/null || echo unknown` -+uname -s = `(uname -s) 2>/dev/null || echo unknown` -+uname -v = `(uname -v) 2>/dev/null || echo unknown` -+ -+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -+/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` -+ -+/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -+hostinfo = `(hostinfo) 2>/dev/null || echo unknown` -+/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -+/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` -+ -+_ASUNAME -+ -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ echo "PATH: $as_dir" -+done -+ -+} >&5 -+ -+cat >&5 <<_ACEOF -+ -+ -+## ----------- ## -+## Core tests. ## -+## ----------- ## -+ -+_ACEOF -+ -+ -+# Keep a trace of the command line. -+# Strip out --no-create and --no-recursion so they do not pile up. -+# Strip out --silent because we don't want to record it for future runs. -+# Also quote any args containing shell meta-characters. -+# Make two passes to allow for proper duplicate-argument suppression. -+ac_configure_args= -+ac_configure_args0= -+ac_configure_args1= -+ac_sep= -+ac_must_keep_next=false -+for ac_pass in 1 2 -+do -+ for ac_arg -+ do -+ case $ac_arg in -+ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ continue ;; -+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) -+ ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; -+ esac -+ case $ac_pass in -+ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; -+ 2) -+ ac_configure_args1="$ac_configure_args1 '$ac_arg'" -+ if test $ac_must_keep_next = true; then -+ ac_must_keep_next=false # Got value, back to normal. -+ else -+ case $ac_arg in -+ *=* | --config-cache | -C | -disable-* | --disable-* \ -+ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ -+ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ -+ | -with-* | --with-* | -without-* | --without-* | --x) -+ case "$ac_configure_args0 " in -+ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; -+ esac -+ ;; -+ -* ) ac_must_keep_next=true ;; -+ esac -+ fi -+ ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" -+ # Get rid of the leading space. -+ ac_sep=" " -+ ;; -+ esac -+ done -+done -+$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -+$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } -+ -+# When interrupted or exit'd, cleanup temporary files, and complete -+# config.log. We remove comments because anyway the quotes in there -+# would cause problems or look ugly. -+# WARNING: Be sure not to use single quotes in there, as some shells, -+# such as our DU 5.0 friend, will then `close' the trap. -+trap 'exit_status=$? -+ # Save into config.log some information that might help in debugging. -+ { -+ echo -+ -+ cat <<\_ASBOX -+## ---------------- ## -+## Cache variables. ## -+## ---------------- ## -+_ASBOX -+ echo -+ # The following way of writing the cache mishandles newlines in values, -+{ -+ (set) 2>&1 | -+ case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in -+ *ac_space=\ *) -+ sed -n \ -+ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" -+ ;; -+ *) -+ sed -n \ -+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" -+ ;; -+ esac; -+} -+ echo -+ -+ cat <<\_ASBOX -+## ----------------- ## -+## Output variables. ## -+## ----------------- ## -+_ASBOX -+ echo -+ for ac_var in $ac_subst_vars -+ do -+ eval ac_val=$`echo $ac_var` -+ echo "$ac_var='"'"'$ac_val'"'"'" -+ done | sort -+ echo -+ -+ if test -n "$ac_subst_files"; then -+ cat <<\_ASBOX -+## ------------- ## -+## Output files. ## -+## ------------- ## -+_ASBOX -+ echo -+ for ac_var in $ac_subst_files -+ do -+ eval ac_val=$`echo $ac_var` -+ echo "$ac_var='"'"'$ac_val'"'"'" -+ done | sort -+ echo -+ fi -+ -+ if test -s confdefs.h; then -+ cat <<\_ASBOX -+## ----------- ## -+## confdefs.h. ## -+## ----------- ## -+_ASBOX -+ echo -+ sed "/^$/d" confdefs.h | sort -+ echo -+ fi -+ test "$ac_signal" != 0 && -+ echo "$as_me: caught signal $ac_signal" -+ echo "$as_me: exit $exit_status" -+ } >&5 -+ rm -f core *.core && -+ rm -rf conftest* confdefs* conf$$* $ac_clean_files && -+ exit $exit_status -+ ' 0 -+for ac_signal in 1 2 13 15; do -+ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -+done -+ac_signal=0 -+ -+# confdefs.h avoids OS command line length limits that DEFS can exceed. -+rm -rf conftest* confdefs.h -+# AIX cpp loses on an empty file, so make sure it contains at least a newline. -+echo >confdefs.h -+ -+# Predefined preprocessor variables. -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_NAME "$PACKAGE_NAME" -+_ACEOF -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -+_ACEOF -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_VERSION "$PACKAGE_VERSION" -+_ACEOF -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_STRING "$PACKAGE_STRING" -+_ACEOF -+ -+ -+cat >>confdefs.h <<_ACEOF -+#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -+_ACEOF -+ -+ -+# Let the site file select an alternate cache file if it wants to. -+# Prefer explicitly selected file to automatically selected ones. -+if test -z "$CONFIG_SITE"; then -+ if test "x$prefix" != xNONE; then -+ CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" -+ else -+ CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -+ fi -+fi -+for ac_site_file in $CONFIG_SITE; do -+ if test -r "$ac_site_file"; then -+ { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -+echo "$as_me: loading site script $ac_site_file" >&6;} -+ sed 's/^/| /' "$ac_site_file" >&5 -+ . "$ac_site_file" -+ fi -+done -+ -+if test -r "$cache_file"; then -+ # Some versions of bash will fail to source /dev/null (special -+ # files actually), so we avoid doing that. -+ if test -f "$cache_file"; then -+ { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -+echo "$as_me: loading cache $cache_file" >&6;} -+ case $cache_file in -+ [\\/]* | ?:[\\/]* ) . $cache_file;; -+ *) . ./$cache_file;; -+ esac -+ fi -+else -+ { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -+echo "$as_me: creating cache $cache_file" >&6;} -+ >$cache_file -+fi -+ -+# Check that the precious variables saved in the cache have kept the same -+# value. -+ac_cache_corrupted=false -+for ac_var in `(set) 2>&1 | -+ sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do -+ eval ac_old_set=\$ac_cv_env_${ac_var}_set -+ eval ac_new_set=\$ac_env_${ac_var}_set -+ eval ac_old_val="\$ac_cv_env_${ac_var}_value" -+ eval ac_new_val="\$ac_env_${ac_var}_value" -+ case $ac_old_set,$ac_new_set in -+ set,) -+ { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -+echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,set) -+ { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -+echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} -+ ac_cache_corrupted=: ;; -+ ,);; -+ *) -+ if test "x$ac_old_val" != "x$ac_new_val"; then -+ { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -+echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} -+ { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -+echo "$as_me: former value: $ac_old_val" >&2;} -+ { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -+echo "$as_me: current value: $ac_new_val" >&2;} -+ ac_cache_corrupted=: -+ fi;; -+ esac -+ # Pass precious variables to config.status. -+ if test "$ac_new_set" = set; then -+ case $ac_new_val in -+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) -+ ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; -+ *) ac_arg=$ac_var=$ac_new_val ;; -+ esac -+ case " $ac_configure_args " in -+ *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. -+ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; -+ esac -+ fi -+done -+if $ac_cache_corrupted; then -+ { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -+echo "$as_me: error: changes in the environment can compromise the build" >&2;} -+ { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -+echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} -+ { (exit 1); exit 1; }; } -+fi -+ -+ac_ext=c -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -+ac_compiler_gnu=$ac_cv_c_compiler_gnu -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+if test "$srcdir" = "." ; then -+ if test "${with_target_subdir}" != "." ; then -+ libgloss_topdir="${srcdir}/${with_multisrctop}../../.." -+ else -+ libgloss_topdir="${srcdir}/${with_multisrctop}../.." -+ fi -+else -+ libgloss_topdir="${srcdir}/../.." -+fi -+ac_aux_dir= -+for ac_dir in $libgloss_topdir $srcdir/$libgloss_topdir; do -+ if test -f $ac_dir/install-sh; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install-sh -c" -+ break -+ elif test -f $ac_dir/install.sh; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install.sh -c" -+ break -+ elif test -f $ac_dir/shtool; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/shtool install -c" -+ break -+ fi -+done -+if test -z "$ac_aux_dir"; then -+ { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&5 -+echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir $srcdir/$libgloss_topdir" >&2;} -+ { (exit 1); exit 1; }; } -+fi -+ac_config_guess="$SHELL $ac_aux_dir/config.guess" -+ac_config_sub="$SHELL $ac_aux_dir/config.sub" -+ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. -+ -+ -+# Make sure we can run config.sub. -+$ac_config_sub sun4 >/dev/null 2>&1 || -+ { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 -+echo "$as_me: error: cannot run $ac_config_sub" >&2;} -+ { (exit 1); exit 1; }; } -+ -+echo "$as_me:$LINENO: checking build system type" >&5 -+echo $ECHO_N "checking build system type... $ECHO_C" >&6 -+if test "${ac_cv_build+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ ac_cv_build_alias=$build_alias -+test -z "$ac_cv_build_alias" && -+ ac_cv_build_alias=`$ac_config_guess` -+test -z "$ac_cv_build_alias" && -+ { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 -+echo "$as_me: error: cannot guess build type; you must specify one" >&2;} -+ { (exit 1); exit 1; }; } -+ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || -+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 -+echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} -+ { (exit 1); exit 1; }; } -+ -+fi -+echo "$as_me:$LINENO: result: $ac_cv_build" >&5 -+echo "${ECHO_T}$ac_cv_build" >&6 -+build=$ac_cv_build -+build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -+build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -+build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -+ -+ -+echo "$as_me:$LINENO: checking host system type" >&5 -+echo $ECHO_N "checking host system type... $ECHO_C" >&6 -+if test "${ac_cv_host+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ ac_cv_host_alias=$host_alias -+test -z "$ac_cv_host_alias" && -+ ac_cv_host_alias=$ac_cv_build_alias -+ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || -+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 -+echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} -+ { (exit 1); exit 1; }; } -+ -+fi -+echo "$as_me:$LINENO: result: $ac_cv_host" >&5 -+echo "${ECHO_T}$ac_cv_host" >&6 -+host=$ac_cv_host -+host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -+host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -+host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -+ -+ -+echo "$as_me:$LINENO: checking target system type" >&5 -+echo $ECHO_N "checking target system type... $ECHO_C" >&6 -+if test "${ac_cv_target+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ ac_cv_target_alias=$target_alias -+test "x$ac_cv_target_alias" = "x" && -+ ac_cv_target_alias=$ac_cv_host_alias -+ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || -+ { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 -+echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} -+ { (exit 1); exit 1; }; } -+ -+fi -+echo "$as_me:$LINENO: result: $ac_cv_target" >&5 -+echo "${ECHO_T}$ac_cv_target" >&6 -+target=$ac_cv_target -+target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -+target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -+target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -+ -+ -+# The aliases save the names the user supplied, while $host etc. -+# will get canonicalized. -+test -n "$target_alias" && -+ test "$program_prefix$program_suffix$program_transform_name" = \ -+ NONENONEs,x,x, && -+ program_prefix=${target_alias}- -+test "$program_prefix" != NONE && -+ program_transform_name="s,^,$program_prefix,;$program_transform_name" -+# Use a double $ so make ignores it. -+test "$program_suffix" != NONE && -+ program_transform_name="s,\$,$program_suffix,;$program_transform_name" -+# Double any \ or $. echo might interpret backslashes. -+# By default was `s,x,x', remove it if useless. -+cat <<\_ACEOF >conftest.sed -+s/[\\$]/&&/g;s/;s,x,x,$// -+_ACEOF -+program_transform_name=`echo $program_transform_name | sed -f conftest.sed` -+rm conftest.sed -+ -+ -+# Find a good install program. We prefer a C program (faster), -+# so one script is as good as another. But avoid the broken or -+# incompatible versions: -+# SysV /etc/install, /usr/sbin/install -+# SunOS /usr/etc/install -+# IRIX /sbin/install -+# AIX /bin/install -+# AmigaOS /C/install, which installs bootblocks on floppy discs -+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -+# AFS /usr/afsws/bin/install, which mishandles nonexistent args -+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -+# OS/2's system install, which has a completely different semantic -+# ./install, which can be erroneously created by make from ./install.sh. -+echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -+echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 -+if test -z "$INSTALL"; then -+if test "${ac_cv_path_install+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ # Account for people who put trailing slashes in PATH elements. -+case $as_dir/ in -+ ./ | .// | /cC/* | \ -+ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ -+ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ -+ /usr/ucb/* ) ;; -+ *) -+ # OSF1 and SCO ODT 3.0 have their own names for install. -+ # Don't use installbsd from OSF since it installs stuff as root -+ # by default. -+ for ac_prog in ginstall scoinst install; do -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then -+ if test $ac_prog = install && -+ grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # AIX install. It has an incompatible calling convention. -+ : -+ elif test $ac_prog = install && -+ grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then -+ # program-specific install script used by HP pwplus--don't use. -+ : -+ else -+ ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" -+ break 3 -+ fi -+ fi -+ done -+ done -+ ;; -+esac -+done -+ -+ -+fi -+ if test "${ac_cv_path_install+set}" = set; then -+ INSTALL=$ac_cv_path_install -+ else -+ # As a last resort, use the slow shell script. We don't cache a -+ # path for INSTALL within a source directory, because that will -+ # break other packages using the cache if that directory is -+ # removed, or if the path is relative. -+ INSTALL=$ac_install_sh -+ fi -+fi -+echo "$as_me:$LINENO: result: $INSTALL" >&5 -+echo "${ECHO_T}$INSTALL" >&6 -+ -+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -+# It thinks the first close brace ends the variable substitution. -+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -+ -+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' -+ -+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -+ -+ -+# FIXME: We temporarily define our own version of AC_PROG_CC. This is -+# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We -+# are probably using a cross compiler, which will not be able to fully -+# link an executable. This should really be fixed in autoconf -+# itself. -+ -+ -+ -+# Extract the first word of "gcc", so it can be a program name with args. -+set dummy gcc; ac_word=$2 -+echo "$as_me:$LINENO: checking for $ac_word" >&5 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -+if test "${ac_cv_prog_CC+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_CC="gcc" -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+done -+ -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ echo "$as_me:$LINENO: result: $CC" >&5 -+echo "${ECHO_T}$CC" >&6 -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+fi -+ -+if test -z "$CC"; then -+ # Extract the first word of "cc", so it can be a program name with args. -+set dummy cc; ac_word=$2 -+echo "$as_me:$LINENO: checking for $ac_word" >&5 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -+if test "${ac_cv_prog_CC+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+ ac_prog_rejected=no -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then -+ ac_prog_rejected=yes -+ continue -+ fi -+ ac_cv_prog_CC="cc" -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+done -+ -+if test $ac_prog_rejected = yes; then -+ # We found a bogon in the path, so make sure we never use it. -+ set dummy $ac_cv_prog_CC -+ shift -+ if test $# != 0; then -+ # We chose a different compiler from the bogus one. -+ # However, it has the same basename, so the bogon will be chosen -+ # first if we set CC to just the basename; use the full file name. -+ shift -+ ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" -+ fi -+fi -+fi -+fi -+CC=$ac_cv_prog_CC -+if test -n "$CC"; then -+ echo "$as_me:$LINENO: result: $CC" >&5 -+echo "${ECHO_T}$CC" >&6 -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+fi -+ -+ test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5 -+echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} -+ { (exit 1); exit 1; }; } -+fi -+ -+AC_PROG_CC_GNU -+ -+if test $ac_cv_c_compiler_gnu = yes; then -+ GCC=yes -+ ac_test_CFLAGS="${CFLAGS+set}" -+ ac_save_CFLAGS="$CFLAGS" -+ CFLAGS= -+ AC_PROG_CC_G -+ if test "$ac_test_CFLAGS" = set; then -+ CFLAGS="$ac_save_CFLAGS" -+ elif test $ac_cv_prog_cc_g = yes; then -+ CFLAGS="-g -O2" -+ else -+ CFLAGS="-O2" -+ fi -+else -+ GCC= -+ test "${CFLAGS+set}" = set || CFLAGS="-g" -+fi -+ -+ -+AS=${AS-as} -+ -+AR=${AR-ar} -+ -+LD=${LD-ld} -+ -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -+set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -+echo "$as_me:$LINENO: checking for $ac_word" >&5 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -+if test "${ac_cv_prog_RANLIB+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ if test -n "$RANLIB"; then -+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+done -+ -+fi -+fi -+RANLIB=$ac_cv_prog_RANLIB -+if test -n "$RANLIB"; then -+ echo "$as_me:$LINENO: result: $RANLIB" >&5 -+echo "${ECHO_T}$RANLIB" >&6 -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+fi -+ -+fi -+if test -z "$ac_cv_prog_RANLIB"; then -+ ac_ct_RANLIB=$RANLIB -+ # Extract the first word of "ranlib", so it can be a program name with args. -+set dummy ranlib; ac_word=$2 -+echo "$as_me:$LINENO: checking for $ac_word" >&5 -+echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 -+if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then -+ echo $ECHO_N "(cached) $ECHO_C" >&6 -+else -+ if test -n "$ac_ct_RANLIB"; then -+ ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. -+else -+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for ac_exec_ext in '' $ac_executable_extensions; do -+ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then -+ ac_cv_prog_ac_ct_RANLIB="ranlib" -+ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 -+ break 2 -+ fi -+done -+done -+ -+ test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" -+fi -+fi -+ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB -+if test -n "$ac_ct_RANLIB"; then -+ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 -+echo "${ECHO_T}$ac_ct_RANLIB" >&6 -+else -+ echo "$as_me:$LINENO: result: no" >&5 -+echo "${ECHO_T}no" >&6 -+fi -+ -+ RANLIB=$ac_ct_RANLIB -+else -+ RANLIB="$ac_cv_prog_RANLIB" -+fi -+ -+ -+host_makefile_frag=${srcdir}/../config/ppc.mh -+ -+host_makefile_frag_path=$host_makefile_frag -+ -+ -+ -+ ac_config_files="$ac_config_files Makefile" -+ ac_config_commands="$ac_config_commands default" -+cat >confcache <<\_ACEOF -+# This file is a shell script that caches the results of configure -+# tests run on this system so they can be shared between configure -+# scripts and configure runs, see configure's option --config-cache. -+# It is not useful on other systems. If it contains results you don't -+# want to keep, you may remove or edit it. -+# -+# config.status only pays attention to the cache file if you give it -+# the --recheck option to rerun configure. -+# -+# `ac_cv_env_foo' variables (set or unset) will be overridden when -+# loading this file, other *unset* `ac_cv_foo' will be assigned the -+# following values. -+ -+_ACEOF -+ -+# The following way of writing the cache mishandles newlines in values, -+# but we know of no workaround that is simple, portable, and efficient. -+# So, don't put newlines in cache variables' values. -+# Ultrix sh set writes to stderr and can't be redirected directly, -+# and sets the high bit in the cache file unless we assign to the vars. -+{ -+ (set) 2>&1 | -+ case `(ac_space=' '; set | grep ac_space) 2>&1` in -+ *ac_space=\ *) -+ # `set' does not quote correctly, so add quotes (double-quote -+ # substitution turns \\\\ into \\, and sed turns \\ into \). -+ sed -n \ -+ "s/'/'\\\\''/g; -+ s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" -+ ;; -+ *) -+ # `set' quotes correctly as required by POSIX, so do not add quotes. -+ sed -n \ -+ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" -+ ;; -+ esac; -+} | -+ sed ' -+ t clear -+ : clear -+ s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ -+ t end -+ /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ -+ : end' >>confcache -+if diff $cache_file confcache >/dev/null 2>&1; then :; else -+ if test -w $cache_file; then -+ test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" -+ cat confcache >$cache_file -+ else -+ echo "not updating unwritable cache $cache_file" -+ fi -+fi -+rm -f confcache -+ -+test "x$prefix" = xNONE && prefix=$ac_default_prefix -+# Let make expand exec_prefix. -+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -+ -+# VPATH may cause trouble with some makes, so we remove $(srcdir), -+# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -+# trailing colons and then remove the whole line if VPATH becomes empty -+# (actually we leave an empty line to preserve line numbers). -+if test "x$srcdir" = x.; then -+ ac_vpsub='/^[ ]*VPATH[ ]*=/{ -+s/:*\$(srcdir):*/:/; -+s/:*\${srcdir}:*/:/; -+s/:*@srcdir@:*/:/; -+s/^\([^=]*=[ ]*\):*/\1/; -+s/:*$//; -+s/^[^=]*=[ ]*$//; -+}' -+fi -+ -+# Transform confdefs.h into DEFS. -+# Protect against shell expansion while executing Makefile rules. -+# Protect against Makefile macro expansion. -+# -+# If the first sed substitution is executed (which looks for macros that -+# take arguments), then we branch to the quote section. Otherwise, -+# look for a macro that doesn't take arguments. -+cat >confdef2opt.sed <<\_ACEOF -+t clear -+: clear -+s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g -+t quote -+s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g -+t quote -+d -+: quote -+s,[ `~#$^&*(){}\\|;'"<>?],\\&,g -+s,\[,\\&,g -+s,\],\\&,g -+s,\$,$$,g -+p -+_ACEOF -+# We use echo to avoid assuming a particular line-breaking character. -+# The extra dot is to prevent the shell from consuming trailing -+# line-breaks from the sub-command output. A line-break within -+# single-quotes doesn't work because, if this script is created in a -+# platform that uses two characters for line-breaks (e.g., DOS), tr -+# would break. -+ac_LF_and_DOT=`echo; echo .` -+DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` -+rm -f confdef2opt.sed -+ -+ -+ac_libobjs= -+ac_ltlibobjs= -+for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue -+ # 1. Remove the extension, and $U if already installed. -+ ac_i=`echo "$ac_i" | -+ sed 's/\$U\././;s/\.o$//;s/\.obj$//'` -+ # 2. Add them. -+ ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" -+ ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' -+done -+LIBOBJS=$ac_libobjs -+ -+LTLIBOBJS=$ac_ltlibobjs -+ -+ -+ -+: ${CONFIG_STATUS=./config.status} -+ac_clean_files_save=$ac_clean_files -+ac_clean_files="$ac_clean_files $CONFIG_STATUS" -+{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -+echo "$as_me: creating $CONFIG_STATUS" >&6;} -+cat >$CONFIG_STATUS <<_ACEOF -+#! $SHELL -+# Generated by $as_me. -+# Run this file to recreate the current configuration. -+# Compiler output produced by configure, useful for debugging -+# configure, is in config.log if it exists. -+ -+debug=false -+ac_cs_recheck=false -+ac_cs_silent=false -+SHELL=\${CONFIG_SHELL-$SHELL} -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF -+## --------------------- ## -+## M4sh Initialization. ## -+## --------------------- ## -+ -+# Be Bourne compatible -+if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then -+ emulate sh -+ NULLCMD=: -+ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which -+ # is contrary to our usage. Disable this feature. -+ alias -g '${1+"$@"}'='"$@"' -+elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then -+ set -o posix -+fi -+DUALCASE=1; export DUALCASE # for MKS sh -+ -+# Support unset when possible. -+if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then -+ as_unset=unset -+else -+ as_unset=false -+fi -+ -+ -+# Work around bugs in pre-3.0 UWIN ksh. -+$as_unset ENV MAIL MAILPATH -+PS1='$ ' -+PS2='> ' -+PS4='+ ' -+ -+# NLS nuisances. -+for as_var in \ -+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ -+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ -+ LC_TELEPHONE LC_TIME -+do -+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then -+ eval $as_var=C; export $as_var -+ else -+ $as_unset $as_var -+ fi -+done -+ -+# Required to use basename. -+if expr a : '\(a\)' >/dev/null 2>&1; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then -+ as_basename=basename -+else -+ as_basename=false -+fi -+ -+ -+# Name of the executable. -+as_me=`$as_basename "$0" || -+$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ -+ X"$0" : 'X\(//\)$' \| \ -+ X"$0" : 'X\(/\)$' \| \ -+ . : '\(.\)' 2>/dev/null || -+echo X/"$0" | -+ sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } -+ /^X\/\(\/\/\)$/{ s//\1/; q; } -+ /^X\/\(\/\).*/{ s//\1/; q; } -+ s/.*/./; q'` -+ -+ -+# PATH needs CR, and LINENO needs CR and PATH. -+# Avoid depending upon Character Ranges. -+as_cr_letters='abcdefghijklmnopqrstuvwxyz' -+as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -+as_cr_Letters=$as_cr_letters$as_cr_LETTERS -+as_cr_digits='0123456789' -+as_cr_alnum=$as_cr_Letters$as_cr_digits -+ -+# The user is always right. -+if test "${PATH_SEPARATOR+set}" != set; then -+ echo "#! /bin/sh" >conf$$.sh -+ echo "exit 0" >>conf$$.sh -+ chmod +x conf$$.sh -+ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then -+ PATH_SEPARATOR=';' -+ else -+ PATH_SEPARATOR=: -+ fi -+ rm -f conf$$.sh -+fi -+ -+ -+ as_lineno_1=$LINENO -+ as_lineno_2=$LINENO -+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` -+ test "x$as_lineno_1" != "x$as_lineno_2" && -+ test "x$as_lineno_3" = "x$as_lineno_2" || { -+ # Find who we are. Look in the path if we contain no path at all -+ # relative or not. -+ case $0 in -+ *[\\/]* ) as_myself=$0 ;; -+ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in $PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -+done -+ -+ ;; -+ esac -+ # We did not find ourselves, most probably we were run as `sh COMMAND' -+ # in which case we are not to be found in the path. -+ if test "x$as_myself" = x; then -+ as_myself=$0 -+ fi -+ if test ! -f "$as_myself"; then -+ { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 -+echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} -+ { (exit 1); exit 1; }; } -+ fi -+ case $CONFIG_SHELL in -+ '') -+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -+do -+ IFS=$as_save_IFS -+ test -z "$as_dir" && as_dir=. -+ for as_base in sh bash ksh sh5; do -+ case $as_dir in -+ /*) -+ if ("$as_dir/$as_base" -c ' -+ as_lineno_1=$LINENO -+ as_lineno_2=$LINENO -+ as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` -+ test "x$as_lineno_1" != "x$as_lineno_2" && -+ test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then -+ $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } -+ $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } -+ CONFIG_SHELL=$as_dir/$as_base -+ export CONFIG_SHELL -+ exec "$CONFIG_SHELL" "$0" ${1+"$@"} -+ fi;; -+ esac -+ done -+done -+;; -+ esac -+ -+ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO -+ # uniformly replaced by the line number. The first 'sed' inserts a -+ # line-number line before each line; the second 'sed' does the real -+ # work. The second script uses 'N' to pair each line-number line -+ # with the numbered line, and appends trailing '-' during -+ # substitution so that $LINENO is not a special case at line end. -+ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the -+ # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) -+ sed '=' <$as_myself | -+ sed ' -+ N -+ s,$,-, -+ : loop -+ s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, -+ t loop -+ s,-$,, -+ s,^['$as_cr_digits']*\n,, -+ ' >$as_me.lineno && -+ chmod +x $as_me.lineno || -+ { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 -+echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} -+ { (exit 1); exit 1; }; } -+ -+ # Don't try to exec as it changes $[0], causing all sort of problems -+ # (the dirname of $[0] is not the place where we might find the -+ # original and so on. Autoconf is especially sensible to this). -+ . ./$as_me.lineno -+ # Exit status is that of the last command. -+ exit -+} -+ -+ -+case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in -+ *c*,-n*) ECHO_N= ECHO_C=' -+' ECHO_T=' ' ;; -+ *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; -+ *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -+esac -+ -+if expr a : '\(a\)' >/dev/null 2>&1; then -+ as_expr=expr -+else -+ as_expr=false -+fi -+ -+rm -f conf$$ conf$$.exe conf$$.file -+echo >conf$$.file -+if ln -s conf$$.file conf$$ 2>/dev/null; then -+ # We could just check for DJGPP; but this test a) works b) is more generic -+ # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). -+ if test -f conf$$.exe; then -+ # Don't use ln at all; we don't have any links -+ as_ln_s='cp -p' -+ else -+ as_ln_s='ln -s' -+ fi -+elif ln conf$$.file conf$$ 2>/dev/null; then -+ as_ln_s=ln -+else -+ as_ln_s='cp -p' -+fi -+rm -f conf$$ conf$$.exe conf$$.file -+ -+if mkdir -p . 2>/dev/null; then -+ as_mkdir_p=: -+else -+ test -d ./-p && rmdir ./-p -+ as_mkdir_p=false -+fi -+ -+as_executable_p="test -f" -+ -+# Sed expression to map a string onto a valid CPP name. -+as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" -+ -+# Sed expression to map a string onto a valid variable name. -+as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" -+ -+ -+# IFS -+# We need space, tab and new line, in precisely that order. -+as_nl=' -+' -+IFS=" $as_nl" -+ -+# CDPATH. -+$as_unset CDPATH -+ -+exec 6>&1 -+ -+# Open the log real soon, to keep \$[0] and so on meaningful, and to -+# report actual input values of CONFIG_FILES etc. instead of their -+# values after options handling. Logging --version etc. is OK. -+exec 5>>config.log -+{ -+ echo -+ sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -+## Running $as_me. ## -+_ASBOX -+} >&5 -+cat >&5 <<_CSEOF -+ -+This file was extended by $as_me, which was -+generated by GNU Autoconf 2.59. Invocation command line was -+ -+ CONFIG_FILES = $CONFIG_FILES -+ CONFIG_HEADERS = $CONFIG_HEADERS -+ CONFIG_LINKS = $CONFIG_LINKS -+ CONFIG_COMMANDS = $CONFIG_COMMANDS -+ $ $0 $@ -+ -+_CSEOF -+echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 -+echo >&5 -+_ACEOF -+ -+# Files that config.status was made for. -+if test -n "$ac_config_files"; then -+ echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS -+fi -+ -+if test -n "$ac_config_headers"; then -+ echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS -+fi -+ -+if test -n "$ac_config_links"; then -+ echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS -+fi -+ -+if test -n "$ac_config_commands"; then -+ echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS -+fi -+ -+cat >>$CONFIG_STATUS <<\_ACEOF -+ -+ac_cs_usage="\ -+\`$as_me' instantiates files from templates according to the -+current configuration. -+ -+Usage: $0 [OPTIONS] [FILE]... -+ -+ -h, --help print this help, then exit -+ -V, --version print version number, then exit -+ -q, --quiet do not print progress messages -+ -d, --debug don't remove temporary files -+ --recheck update $as_me by reconfiguring in the same conditions -+ --file=FILE[:TEMPLATE] -+ instantiate the configuration file FILE -+ -+Configuration files: -+$config_files -+ -+Configuration commands: -+$config_commands -+ -+Report bugs to <bug-autoconf@gnu.org>." -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<_ACEOF -+ac_cs_version="\\ -+config.status -+configured by $0, generated by GNU Autoconf 2.59, -+ with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" -+ -+Copyright (C) 2003 Free Software Foundation, Inc. -+This config.status script is free software; the Free Software Foundation -+gives unlimited permission to copy, distribute and modify it." -+srcdir=$srcdir -+INSTALL="$INSTALL" -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF -+# If no file are specified by the user, then we need to provide default -+# value. By we need to know if files were specified by the user. -+ac_need_defaults=: -+while test $# != 0 -+do -+ case $1 in -+ --*=*) -+ ac_option=`expr "x$1" : 'x\([^=]*\)='` -+ ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` -+ ac_shift=: -+ ;; -+ -*) -+ ac_option=$1 -+ ac_optarg=$2 -+ ac_shift=shift -+ ;; -+ *) # This is not an option, so the user has probably given explicit -+ # arguments. -+ ac_option=$1 -+ ac_need_defaults=false;; -+ esac -+ -+ case $ac_option in -+ # Handling of the options. -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF -+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) -+ ac_cs_recheck=: ;; -+ --version | --vers* | -V ) -+ echo "$ac_cs_version"; exit 0 ;; -+ --he | --h) -+ # Conflict between --help and --header -+ { { echo "$as_me:$LINENO: error: ambiguous option: $1 -+Try \`$0 --help' for more information." >&5 -+echo "$as_me: error: ambiguous option: $1 -+Try \`$0 --help' for more information." >&2;} -+ { (exit 1); exit 1; }; };; -+ --help | --hel | -h ) -+ echo "$ac_cs_usage"; exit 0 ;; -+ --debug | --d* | -d ) -+ debug=: ;; -+ --file | --fil | --fi | --f ) -+ $ac_shift -+ CONFIG_FILES="$CONFIG_FILES $ac_optarg" -+ ac_need_defaults=false;; -+ --header | --heade | --head | --hea ) -+ $ac_shift -+ CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" -+ ac_need_defaults=false;; -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil | --si | --s) -+ ac_cs_silent=: ;; -+ -+ # This is an error. -+ -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 -+Try \`$0 --help' for more information." >&5 -+echo "$as_me: error: unrecognized option: $1 -+Try \`$0 --help' for more information." >&2;} -+ { (exit 1); exit 1; }; } ;; -+ -+ *) ac_config_targets="$ac_config_targets $1" ;; -+ -+ esac -+ shift -+done -+ -+ac_configure_extra_args= -+ -+if $ac_cs_silent; then -+ exec 6>/dev/null -+ ac_configure_extra_args="$ac_configure_extra_args --silent" -+fi -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF -+if \$ac_cs_recheck; then -+ echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 -+ exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -+fi -+ -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<_ACEOF -+# -+# INIT-COMMANDS section. -+# -+ -+srcdir=${srcdir} -+target=${target} -+ac_configure_args="${ac_configure_args} --enable-multilib" -+CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -+libgloss_topdir=${libgloss_topdir} -+ -+ -+_ACEOF -+ -+ -+ -+cat >>$CONFIG_STATUS <<\_ACEOF -+for ac_config_target in $ac_config_targets -+do -+ case "$ac_config_target" in -+ # Handling of arguments. -+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; -+ "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; -+ *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -+echo "$as_me: error: invalid argument: $ac_config_target" >&2;} -+ { (exit 1); exit 1; }; };; -+ esac -+done -+ -+# If the user did not use the arguments to specify the items to instantiate, -+# then the envvar interface is used. Set only those that are not. -+# We use the long form for the default assignment because of an extremely -+# bizarre bug on SunOS 4.1.3. -+if $ac_need_defaults; then -+ test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -+ test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands -+fi -+ -+# Have a temporary directory for convenience. Make it in the build tree -+# simply because there is no reason to put it here, and in addition, -+# creating and moving files from /tmp can sometimes cause problems. -+# Create a temporary directory, and hook for its removal unless debugging. -+$debug || -+{ -+ trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 -+ trap '{ (exit 1); exit 1; }' 1 2 13 15 -+} -+ -+# Create a (secure) tmp directory for tmp files. -+ -+{ -+ tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && -+ test -n "$tmp" && test -d "$tmp" -+} || -+{ -+ tmp=./confstat$$-$RANDOM -+ (umask 077 && mkdir $tmp) -+} || -+{ -+ echo "$me: cannot create a temporary directory in ." >&2 -+ { (exit 1); exit 1; } -+} -+ -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<_ACEOF -+ -+# -+# CONFIG_FILES section. -+# -+ -+# No need to generate the scripts if there are no CONFIG_FILES. -+# This happens for instance when ./config.status config.h -+if test -n "\$CONFIG_FILES"; then -+ # Protect against being on the right side of a sed subst in config.status. -+ sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; -+ s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF -+s,@SHELL@,$SHELL,;t t -+s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t -+s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t -+s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t -+s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t -+s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t -+s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t -+s,@exec_prefix@,$exec_prefix,;t t -+s,@prefix@,$prefix,;t t -+s,@program_transform_name@,$program_transform_name,;t t -+s,@bindir@,$bindir,;t t -+s,@sbindir@,$sbindir,;t t -+s,@libexecdir@,$libexecdir,;t t -+s,@datadir@,$datadir,;t t -+s,@sysconfdir@,$sysconfdir,;t t -+s,@sharedstatedir@,$sharedstatedir,;t t -+s,@localstatedir@,$localstatedir,;t t -+s,@libdir@,$libdir,;t t -+s,@includedir@,$includedir,;t t -+s,@oldincludedir@,$oldincludedir,;t t -+s,@infodir@,$infodir,;t t -+s,@mandir@,$mandir,;t t -+s,@build_alias@,$build_alias,;t t -+s,@host_alias@,$host_alias,;t t -+s,@target_alias@,$target_alias,;t t -+s,@DEFS@,$DEFS,;t t -+s,@ECHO_C@,$ECHO_C,;t t -+s,@ECHO_N@,$ECHO_N,;t t -+s,@ECHO_T@,$ECHO_T,;t t -+s,@LIBS@,$LIBS,;t t -+s,@build@,$build,;t t -+s,@build_cpu@,$build_cpu,;t t -+s,@build_vendor@,$build_vendor,;t t -+s,@build_os@,$build_os,;t t -+s,@host@,$host,;t t -+s,@host_cpu@,$host_cpu,;t t -+s,@host_vendor@,$host_vendor,;t t -+s,@host_os@,$host_os,;t t -+s,@target@,$target,;t t -+s,@target_cpu@,$target_cpu,;t t -+s,@target_vendor@,$target_vendor,;t t -+s,@target_os@,$target_os,;t t -+s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t -+s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t -+s,@INSTALL_DATA@,$INSTALL_DATA,;t t -+s,@CC@,$CC,;t t -+s,@AS@,$AS,;t t -+s,@AR@,$AR,;t t -+s,@LD@,$LD,;t t -+s,@RANLIB@,$RANLIB,;t t -+s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t -+s,@host_makefile_frag_path@,$host_makefile_frag_path,;t t -+s,@LIBOBJS@,$LIBOBJS,;t t -+s,@LTLIBOBJS@,$LTLIBOBJS,;t t -+/@host_makefile_frag@/r $host_makefile_frag -+s,@host_makefile_frag@,,;t t -+CEOF -+ -+_ACEOF -+ -+ cat >>$CONFIG_STATUS <<\_ACEOF -+ # Split the substitutions into bite-sized pieces for seds with -+ # small command number limits, like on Digital OSF/1 and HP-UX. -+ ac_max_sed_lines=48 -+ ac_sed_frag=1 # Number of current file. -+ ac_beg=1 # First line for current file. -+ ac_end=$ac_max_sed_lines # Line after last line for current file. -+ ac_more_lines=: -+ ac_sed_cmds= -+ while $ac_more_lines; do -+ if test $ac_beg -gt 1; then -+ sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag -+ else -+ sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag -+ fi -+ if test ! -s $tmp/subs.frag; then -+ ac_more_lines=false -+ else -+ # The purpose of the label and of the branching condition is to -+ # speed up the sed processing (if there are no `@' at all, there -+ # is no need to browse any of the substitutions). -+ # These are the two extra sed commands mentioned above. -+ (echo ':t -+ /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed -+ if test -z "$ac_sed_cmds"; then -+ ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" -+ else -+ ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" -+ fi -+ ac_sed_frag=`expr $ac_sed_frag + 1` -+ ac_beg=$ac_end -+ ac_end=`expr $ac_end + $ac_max_sed_lines` -+ fi -+ done -+ if test -z "$ac_sed_cmds"; then -+ ac_sed_cmds=cat -+ fi -+fi # test -n "$CONFIG_FILES" -+ -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF -+for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue -+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". -+ case $ac_file in -+ - | *:- | *:-:* ) # input from stdin -+ cat >$tmp/stdin -+ ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` -+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; -+ *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` -+ ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; -+ * ) ac_file_in=$ac_file.in ;; -+ esac -+ -+ # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. -+ ac_dir=`(dirname "$ac_file") 2>/dev/null || -+$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$ac_file" : 'X\(//\)[^/]' \| \ -+ X"$ac_file" : 'X\(//\)$' \| \ -+ X"$ac_file" : 'X\(/\)' \| \ -+ . : '\(.\)' 2>/dev/null || -+echo X"$ac_file" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } -+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } -+ /^X\(\/\/\)$/{ s//\1/; q; } -+ /^X\(\/\).*/{ s//\1/; q; } -+ s/.*/./; q'` -+ { if $as_mkdir_p; then -+ mkdir -p "$ac_dir" -+ else -+ as_dir="$ac_dir" -+ as_dirs= -+ while test ! -d "$as_dir"; do -+ as_dirs="$as_dir $as_dirs" -+ as_dir=`(dirname "$as_dir") 2>/dev/null || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| \ -+ . : '\(.\)' 2>/dev/null || -+echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } -+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } -+ /^X\(\/\/\)$/{ s//\1/; q; } -+ /^X\(\/\).*/{ s//\1/; q; } -+ s/.*/./; q'` -+ done -+ test ! -n "$as_dirs" || mkdir $as_dirs -+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 -+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} -+ { (exit 1); exit 1; }; }; } -+ -+ ac_builddir=. -+ -+if test "$ac_dir" != .; then -+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` -+ # A "../" for each directory in $ac_dir_suffix. -+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -+else -+ ac_dir_suffix= ac_top_builddir= -+fi -+ -+case $srcdir in -+ .) # No --srcdir option. We are building in place. -+ ac_srcdir=. -+ if test -z "$ac_top_builddir"; then -+ ac_top_srcdir=. -+ else -+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` -+ fi ;; -+ [\\/]* | ?:[\\/]* ) # Absolute path. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir ;; -+ *) # Relative path. -+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_builddir$srcdir ;; -+esac -+ -+# Do not use `cd foo && pwd` to compute absolute paths, because -+# the directories may not exist. -+case `pwd` in -+.) ac_abs_builddir="$ac_dir";; -+*) -+ case "$ac_dir" in -+ .) ac_abs_builddir=`pwd`;; -+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; -+ *) ac_abs_builddir=`pwd`/"$ac_dir";; -+ esac;; -+esac -+case $ac_abs_builddir in -+.) ac_abs_top_builddir=${ac_top_builddir}.;; -+*) -+ case ${ac_top_builddir}. in -+ .) ac_abs_top_builddir=$ac_abs_builddir;; -+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; -+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; -+ esac;; -+esac -+case $ac_abs_builddir in -+.) ac_abs_srcdir=$ac_srcdir;; -+*) -+ case $ac_srcdir in -+ .) ac_abs_srcdir=$ac_abs_builddir;; -+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; -+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; -+ esac;; -+esac -+case $ac_abs_builddir in -+.) ac_abs_top_srcdir=$ac_top_srcdir;; -+*) -+ case $ac_top_srcdir in -+ .) ac_abs_top_srcdir=$ac_abs_builddir;; -+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; -+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; -+ esac;; -+esac -+ -+ -+ case $INSTALL in -+ [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; -+ *) ac_INSTALL=$ac_top_builddir$INSTALL ;; -+ esac -+ -+ if test x"$ac_file" != x-; then -+ { echo "$as_me:$LINENO: creating $ac_file" >&5 -+echo "$as_me: creating $ac_file" >&6;} -+ rm -f "$ac_file" -+ fi -+ # Let's still pretend it is `configure' which instantiates (i.e., don't -+ # use $as_me), people would be surprised to read: -+ # /* config.h. Generated by config.status. */ -+ if test x"$ac_file" = x-; then -+ configure_input= -+ else -+ configure_input="$ac_file. " -+ fi -+ configure_input=$configure_input"Generated from `echo $ac_file_in | -+ sed 's,.*/,,'` by configure." -+ -+ # First look for the input files in the build tree, otherwise in the -+ # src tree. -+ ac_file_inputs=`IFS=: -+ for f in $ac_file_in; do -+ case $f in -+ -) echo $tmp/stdin ;; -+ [\\/$]*) -+ # Absolute (can't be DOS-style, as IFS=:) -+ test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -+echo "$as_me: error: cannot find input file: $f" >&2;} -+ { (exit 1); exit 1; }; } -+ echo "$f";; -+ *) # Relative -+ if test -f "$f"; then -+ # Build tree -+ echo "$f" -+ elif test -f "$srcdir/$f"; then -+ # Source tree -+ echo "$srcdir/$f" -+ else -+ # /dev/null tree -+ { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -+echo "$as_me: error: cannot find input file: $f" >&2;} -+ { (exit 1); exit 1; }; } -+ fi;; -+ esac -+ done` || { (exit 1); exit 1; } -+_ACEOF -+cat >>$CONFIG_STATUS <<_ACEOF -+ sed "$ac_vpsub -+$extrasub -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF -+:t -+/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -+s,@configure_input@,$configure_input,;t t -+s,@srcdir@,$ac_srcdir,;t t -+s,@abs_srcdir@,$ac_abs_srcdir,;t t -+s,@top_srcdir@,$ac_top_srcdir,;t t -+s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t -+s,@builddir@,$ac_builddir,;t t -+s,@abs_builddir@,$ac_abs_builddir,;t t -+s,@top_builddir@,$ac_top_builddir,;t t -+s,@abs_top_builddir@,$ac_abs_top_builddir,;t t -+s,@INSTALL@,$ac_INSTALL,;t t -+" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out -+ rm -f $tmp/stdin -+ if test x"$ac_file" != x-; then -+ mv $tmp/out $ac_file -+ else -+ cat $tmp/out -+ rm -f $tmp/out -+ fi -+ -+done -+_ACEOF -+cat >>$CONFIG_STATUS <<\_ACEOF -+ -+# -+# CONFIG_COMMANDS section. -+# -+for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue -+ ac_dest=`echo "$ac_file" | sed 's,:.*,,'` -+ ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` -+ ac_dir=`(dirname "$ac_dest") 2>/dev/null || -+$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$ac_dest" : 'X\(//\)[^/]' \| \ -+ X"$ac_dest" : 'X\(//\)$' \| \ -+ X"$ac_dest" : 'X\(/\)' \| \ -+ . : '\(.\)' 2>/dev/null || -+echo X"$ac_dest" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } -+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } -+ /^X\(\/\/\)$/{ s//\1/; q; } -+ /^X\(\/\).*/{ s//\1/; q; } -+ s/.*/./; q'` -+ { if $as_mkdir_p; then -+ mkdir -p "$ac_dir" -+ else -+ as_dir="$ac_dir" -+ as_dirs= -+ while test ! -d "$as_dir"; do -+ as_dirs="$as_dir $as_dirs" -+ as_dir=`(dirname "$as_dir") 2>/dev/null || -+$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ -+ X"$as_dir" : 'X\(//\)[^/]' \| \ -+ X"$as_dir" : 'X\(//\)$' \| \ -+ X"$as_dir" : 'X\(/\)' \| \ -+ . : '\(.\)' 2>/dev/null || -+echo X"$as_dir" | -+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } -+ /^X\(\/\/\)[^/].*/{ s//\1/; q; } -+ /^X\(\/\/\)$/{ s//\1/; q; } -+ /^X\(\/\).*/{ s//\1/; q; } -+ s/.*/./; q'` -+ done -+ test ! -n "$as_dirs" || mkdir $as_dirs -+ fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 -+echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} -+ { (exit 1); exit 1; }; }; } -+ -+ ac_builddir=. -+ -+if test "$ac_dir" != .; then -+ ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` -+ # A "../" for each directory in $ac_dir_suffix. -+ ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -+else -+ ac_dir_suffix= ac_top_builddir= -+fi -+ -+case $srcdir in -+ .) # No --srcdir option. We are building in place. -+ ac_srcdir=. -+ if test -z "$ac_top_builddir"; then -+ ac_top_srcdir=. -+ else -+ ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` -+ fi ;; -+ [\\/]* | ?:[\\/]* ) # Absolute path. -+ ac_srcdir=$srcdir$ac_dir_suffix; -+ ac_top_srcdir=$srcdir ;; -+ *) # Relative path. -+ ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix -+ ac_top_srcdir=$ac_top_builddir$srcdir ;; -+esac -+ -+# Do not use `cd foo && pwd` to compute absolute paths, because -+# the directories may not exist. -+case `pwd` in -+.) ac_abs_builddir="$ac_dir";; -+*) -+ case "$ac_dir" in -+ .) ac_abs_builddir=`pwd`;; -+ [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; -+ *) ac_abs_builddir=`pwd`/"$ac_dir";; -+ esac;; -+esac -+case $ac_abs_builddir in -+.) ac_abs_top_builddir=${ac_top_builddir}.;; -+*) -+ case ${ac_top_builddir}. in -+ .) ac_abs_top_builddir=$ac_abs_builddir;; -+ [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; -+ *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; -+ esac;; -+esac -+case $ac_abs_builddir in -+.) ac_abs_srcdir=$ac_srcdir;; -+*) -+ case $ac_srcdir in -+ .) ac_abs_srcdir=$ac_abs_builddir;; -+ [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; -+ *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; -+ esac;; -+esac -+case $ac_abs_builddir in -+.) ac_abs_top_srcdir=$ac_top_srcdir;; -+*) -+ case $ac_top_srcdir in -+ .) ac_abs_top_srcdir=$ac_abs_builddir;; -+ [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; -+ *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; -+ esac;; -+esac -+ -+ -+ { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 -+echo "$as_me: executing $ac_dest commands" >&6;} -+ case $ac_dest in -+ default ) . ${libgloss_topdir}/config-ml.in ;; -+ esac -+done -+_ACEOF -+ -+cat >>$CONFIG_STATUS <<\_ACEOF -+ -+{ (exit 0); exit 0; } -+_ACEOF -+chmod +x $CONFIG_STATUS -+ac_clean_files=$ac_clean_files_save -+ -+ -+# configure is writing to config.log, and then calls config.status. -+# config.status does its own redirection, appending to config.log. -+# Unfortunately, on DOS this fails, as config.log is still kept open -+# by configure, so config.status won't be able to write to it; its -+# output is simply discarded. So we exec the FD to /dev/null, -+# effectively closing config.log, so it can be properly (re)opened and -+# appended to by config.status. When coming back to configure, we -+# need to make the FD available again. -+if test "$no_create" != yes; then -+ ac_cs_success=: -+ ac_config_status_args= -+ test "$silent" = yes && -+ ac_config_status_args="$ac_config_status_args --quiet" -+ exec 5>/dev/null -+ $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false -+ exec 5>>config.log -+ # Use ||, not &&, to avoid exiting from the if with $? = 1, which -+ # would make configure fail if this is the last instruction. -+ $ac_cs_success || { (exit 1); exit 1; } -+fi -+ -+ -diff -urN newlib-1.14.0/libgloss/spu/configure.in newlib-1.14.0.spe/libgloss/spu/configure.in ---- newlib-1.14.0/libgloss/spu/configure.in 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/spu/configure.in 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,87 @@ -+dnl Process this file with autoconf to produce a configure script. -+AC_PREREQ(2.5)dnl -+AC_INIT(crt0.c) -+ -+if test "$srcdir" = "." ; then -+ if test "${with_target_subdir}" != "." ; then -+ libgloss_topdir="${srcdir}/${with_multisrctop}../../.." -+ else -+ libgloss_topdir="${srcdir}/${with_multisrctop}../.." -+ fi -+else -+ libgloss_topdir="${srcdir}/../.." -+fi -+AC_CONFIG_AUX_DIR($libgloss_topdir) -+ -+AC_CANONICAL_SYSTEM -+AC_ARG_PROGRAM -+ -+AC_PROG_INSTALL -+ -+# FIXME: We temporarily define our own version of AC_PROG_CC. This is -+# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We -+# are probably using a cross compiler, which will not be able to fully -+# link an executable. This should really be fixed in autoconf -+# itself. -+ -+AC_DEFUN(LIB_AC_PROG_CC, -+[AC_BEFORE([$0], [AC_PROG_CPP])dnl -+AC_CHECK_PROG(CC, gcc, gcc) -+if test -z "$CC"; then -+ AC_CHECK_PROG(CC, cc, cc, , , /usr/ucb/cc) -+ test -z "$CC" && AC_MSG_ERROR([no acceptable cc found in \$PATH]) -+fi -+ -+AC_PROG_CC_GNU -+ -+if test $ac_cv_prog_gcc = yes; then -+ GCC=yes -+dnl Check whether -g works, even if CFLAGS is set, in case the package -+dnl plays around with CFLAGS (such as to build both debugging and -+dnl normal versions of a library), tasteless as that idea is. -+ ac_test_CFLAGS="${CFLAGS+set}" -+ ac_save_CFLAGS="$CFLAGS" -+ CFLAGS= -+ AC_PROG_CC_G -+ if test "$ac_test_CFLAGS" = set; then -+ CFLAGS="$ac_save_CFLAGS" -+ elif test $ac_cv_prog_cc_g = yes; then -+ CFLAGS="-g -O2" -+ else -+ CFLAGS="-O2" -+ fi -+else -+ GCC= -+ test "${CFLAGS+set}" = set || CFLAGS="-g" -+fi -+]) -+ -+LIB_AC_PROG_CC -+ -+AS=${AS-as} -+AC_SUBST(AS) -+AR=${AR-ar} -+AC_SUBST(AR) -+LD=${LD-ld} -+AC_SUBST(LD) -+AC_PROG_RANLIB -+ -+host_makefile_frag=${srcdir}/../config/ppc.mh -+ -+dnl We have to assign the same value to other variables because autoconf -+dnl doesn't provide a mechanism to substitute a replacement keyword with -+dnl arbitrary data or pathnames. -+dnl -+host_makefile_frag_path=$host_makefile_frag -+AC_SUBST(host_makefile_frag_path) -+AC_SUBST_FILE(host_makefile_frag) -+ -+AC_OUTPUT(Makefile, -+. ${libgloss_topdir}/config-ml.in, -+srcdir=${srcdir} -+target=${target} -+ac_configure_args="${ac_configure_args} --enable-multilib" -+CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} -+libgloss_topdir=${libgloss_topdir} -+) -+ -diff -urN newlib-1.14.0/libgloss/spu/crt0.c newlib-1.14.0.spe/libgloss/spu/crt0.c ---- newlib-1.14.0/libgloss/spu/crt0.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/spu/crt0.c 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,56 @@ -+/* -+(C) Copyright IBM Corp. 2005, 2006 -+ -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions are met: -+ -+ * Redistributions of source code must retain the above copyright notice, -+this list of conditions and the following disclaimer. -+ * Redistributions in binary form must reproduce the above copyright -+notice, this list of conditions and the following disclaimer in the -+documentation and/or other materials provided with the distribution. -+ * Neither the name of IBM nor the names of its contributors may be -+used to endorse or promote products derived from this software without -+specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -+POSSIBILITY OF SUCH DAMAGE. -+ -+Author: Andreas Neukoetter (ti95neuk@de.ibm.com) -+*/ -+ -+/* right now spu-gcc has its own crt0, so this is only for future use */ -+#if 0 -+extern int main (int, unsigned long long, unsigned long long); -+ -+extern char _end; -+extern char __bss_start; -+ -+extern void exit (int); -+ -+void _exit (int); -+ -+_start (int spuid, unsigned long long parm, unsigned long long env) -+{ -+ exit (main (spuid, parm, env)); -+} -+ -+void -+_exit (int rc) -+{ -+ si_stop (0x2000 | (rc & 0xff )); -+} -+#endif -+ -+ -diff -urN newlib-1.14.0/libgloss/spu/exit.c newlib-1.14.0.spe/libgloss/spu/exit.c ---- newlib-1.14.0/libgloss/spu/exit.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/spu/exit.c 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,44 @@ -+/* -+(C) Copyright IBM Corp. 2005, 2006 -+ -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions are met: -+ -+ * Redistributions of source code must retain the above copyright notice, -+this list of conditions and the following disclaimer. -+ * Redistributions in binary form must reproduce the above copyright -+notice, this list of conditions and the following disclaimer in the -+documentation and/or other materials provided with the distribution. -+ * Neither the name of IBM nor the names of its contributors may be -+used to endorse or promote products derived from this software without -+specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -+POSSIBILITY OF SUCH DAMAGE. -+ -+Author: Andreas Neukoetter (ti95neuk@de.ibm.com) -+*/ -+ -+void __attribute__ (( destructor )) libgloss_exit( void ) -+{ -+ /* we don't need any cleanup on the SPE ... yet */ -+ /* DEBUG HERE */ -+} -+ -+void exit( int status ) -+{ -+ /* handle atexit, etc here */ -+ _exit( status ); -+} -+ -diff -urN newlib-1.14.0/libgloss/spu/init.c newlib-1.14.0.spe/libgloss/spu/init.c ---- newlib-1.14.0/libgloss/spu/init.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/spu/init.c 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,37 @@ -+/* -+(C) Copyright IBM Corp. 2005, 2006 -+ -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions are met: -+ -+ * Redistributions of source code must retain the above copyright notice, -+this list of conditions and the following disclaimer. -+ * Redistributions in binary form must reproduce the above copyright -+notice, this list of conditions and the following disclaimer in the -+documentation and/or other materials provided with the distribution. -+ * Neither the name of IBM nor the names of its contributors may be -+used to endorse or promote products derived from this software without -+specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -+POSSIBILITY OF SUCH DAMAGE. -+ -+Author: Andreas Neukoetter (ti95neuk@de.ibm.com) -+*/ -+ -+void __attribute__ (( constructor )) libgloss_init( void ) -+{ -+ -+} -+ -diff -urN newlib-1.14.0/libgloss/spu/jsre.h newlib-1.14.0.spe/libgloss/spu/jsre.h ---- newlib-1.14.0/libgloss/spu/jsre.h 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/spu/jsre.h 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,148 @@ -+/* -+(C) Copyright IBM Corp. 2005, 2006 -+ -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions are met: -+ -+ * Redistributions of source code must retain the above copyright notice, -+this list of conditions and the following disclaimer. -+ * Redistributions in binary form must reproduce the above copyright -+notice, this list of conditions and the following disclaimer in the -+documentation and/or other materials provided with the distribution. -+ * Neither the name of IBM nor the names of its contributors may be -+used to endorse or promote products derived from this software without -+specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -+POSSIBILITY OF SUCH DAMAGE. -+ -+Author: Andreas Neukoetter (ti95neuk@de.ibm.com) -+*/ -+ -+/* this file provides the mappings for the JSRE defined interface for PE assisted libary calls */ -+ -+#ifndef __JSRE_H -+#define __JSRE_H -+ -+#define JSRE_SEEK_SET 0 -+#define JSRE_SEEK_CUR 1 -+#define JSRE_SEEK_END 2 -+ -+#define JSRE_O_RDONLY 0 -+#define JSRE_O_WRONLY 1 -+#define JSRE_O_RDWR 2 -+ -+#define JSRE_O_CREAT 64 -+#define JSRE_O_EXCL 128 -+#define JSRE_O_NOCTTY 256 -+#define JSRE_O_TRUNC 512 -+#define JSRE_O_APPEND 1024 -+#define JSRE_O_NDELAY 2048 -+#define JSRE_O_SYNC 4096 -+#define JSRE_O_ASYNC 8192 -+ -+#define JSRE_CLOSE 2 -+#define JSRE_FSTAT 4 -+#define JSRE_LSEEK 9 -+#define JSRE_OPEN 15 -+#define JSRE_READ 16 -+#define JSRE_UNLINK 24 -+#define JSRE_WRITE 27 -+ -+typedef struct -+{ -+ unsigned int pathname; -+ unsigned int pad0[ 3 ]; -+ unsigned int flags; -+ unsigned int pad1[ 3 ]; -+ unsigned int mode; -+ unsigned int pad2[ 3 ]; -+} syscall_open_t; -+ -+typedef struct -+{ -+ unsigned int file; -+ unsigned int pad0[ 3 ]; -+ unsigned int ptr; -+ unsigned int pad1[ 3 ]; -+ unsigned int len; -+ unsigned int pad2[ 3 ]; -+} syscall_write_t; -+ -+typedef struct -+{ -+ unsigned int file; -+ unsigned int pad0[ 3 ]; -+ unsigned int ptr; -+ unsigned int pad1[ 3 ]; -+ unsigned int len; -+ unsigned int pad2[ 3 ]; -+} syscall_read_t; -+ -+typedef struct -+{ -+ unsigned int file; -+ unsigned int pad0[ 3 ]; -+} syscall_close_t; -+ -+typedef struct -+{ -+ unsigned int file; -+ unsigned int pad0[ 3 ]; -+ unsigned int offset; -+ unsigned int pad1[ 3 ]; -+ unsigned int whence; -+ unsigned int pad2[ 3 ]; -+} syscall_lseek_t; -+ -+typedef struct -+{ -+ unsigned int pathname; -+ unsigned int pad0[ 3 ]; -+} syscall_unlink_t; -+ -+typedef struct -+{ -+ unsigned int file; -+ unsigned int pad0[ 3 ]; -+ unsigned int ptr; -+ unsigned int pad1[ 3 ]; -+} syscall_fstat_t; -+ -+ -+typedef struct -+{ -+ unsigned int rc; -+ unsigned int pad0[ 2 ]; -+ unsigned int err; -+} syscall_out_t; -+ -+typedef struct { -+ unsigned int dev; -+ unsigned int ino; -+ unsigned int mode; -+ unsigned int nlink; -+ unsigned int uid; -+ unsigned int gid; -+ unsigned int rdev; -+ unsigned int size; -+ unsigned int blksize; -+ unsigned int blocks; -+ unsigned int atime; -+ unsigned int mtime; -+ unsigned int ctime; -+} jsre_stat_t; -+ -+ -+#endif -diff -urN newlib-1.14.0/libgloss/spu/sbrk.c newlib-1.14.0.spe/libgloss/spu/sbrk.c ---- newlib-1.14.0/libgloss/spu/sbrk.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/spu/sbrk.c 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,63 @@ -+/* -+(C) Copyright IBM Corp. 2005, 2006 -+ -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions are met: -+ -+ * Redistributions of source code must retain the above copyright notice, -+this list of conditions and the following disclaimer. -+ * Redistributions in binary form must reproduce the above copyright -+notice, this list of conditions and the following disclaimer in the -+documentation and/or other materials provided with the distribution. -+ * Neither the name of IBM nor the names of its contributors may be -+used to endorse or promote products derived from this software without -+specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -+POSSIBILITY OF SUCH DAMAGE. -+ -+Author: Andreas Neukoetter (ti95neuk@de.ibm.com) -+*/ -+ -+#include <sys/types.h> -+#include <errno.h> -+ -+extern int errno; -+ -+extern caddr_t _end; -+#define RAMSIZE 262144 -+#define STACKSIZE 4096 -+ -+void * -+sbrk (ptrdiff_t increment) -+{ -+ static caddr_t heap_ptr = NULL; -+ caddr_t base; -+ -+ if (heap_ptr == NULL) -+ { -+ heap_ptr = (caddr_t) & _end; -+ } -+ if (((RAMSIZE - STACKSIZE) - (int) heap_ptr) >= increment) -+ { -+ base = heap_ptr; -+ heap_ptr += increment; -+ return (base); -+ } -+ else -+ { -+ errno = ENOMEM; -+ return ((void *) -1); -+ } -+} -diff -urN newlib-1.14.0/libgloss/spu/syscalls.c newlib-1.14.0.spe/libgloss/spu/syscalls.c ---- newlib-1.14.0/libgloss/spu/syscalls.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/libgloss/spu/syscalls.c 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,260 @@ -+/* -+(C) Copyright IBM Corp. 2005, 2006 -+ -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions are met: -+ -+ * Redistributions of source code must retain the above copyright notice, -+this list of conditions and the following disclaimer. -+ * Redistributions in binary form must reproduce the above copyright -+notice, this list of conditions and the following disclaimer in the -+documentation and/or other materials provided with the distribution. -+ * Neither the name of IBM nor the names of its contributors may be -+used to endorse or promote products derived from this software without -+specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -+POSSIBILITY OF SUCH DAMAGE. -+ -+Author: Andreas Neukoetter (ti95neuk@de.ibm.com) -+*/ -+ -+#include <spu_intrinsics.h> -+#include <stdarg.h> -+#include <sys/types.h> -+#include <sys/stat.h> -+#include <fcntl.h> -+#include <unistd.h> -+#include <errno.h> -+#include "../syscall.h" -+ -+#include "jsre.h" -+ -+static void -+send_to_ppe_0x2101 (int opcode, void *data) -+{ -+ -+ unsigned int combined = ( ( opcode<<24 )&0xff000000 ) | ( ( unsigned int )data & 0x00ffffff ); -+ -+ vector unsigned int stopfunc = { -+ 0x00002101, /* stop 0x2101 */ -+ (unsigned int) combined, -+ 0x4020007f, /* nop */ -+ 0x35000000 /* bi $0 */ -+ }; -+ -+ void (*f) (void) = (void *) &stopfunc; -+ asm ("sync"); -+ return (f ()); -+} -+ -+ -+int -+isatty (int fd) -+{ -+ return (0); -+} -+ -+int -+getpid () -+{ -+ return (1); -+} -+ -+int -+kill (int pid, int sig) -+{ -+ if (pid == 1) -+ { -+ _exit (sig); -+ } -+} -+ -+int -+read (int file, void *ptr, size_t len) -+{ -+ syscall_write_t sys; -+ syscall_out_t *psys_out = ( syscall_out_t* )&sys; -+ -+ sys.file = file; -+ sys.ptr = ( unsigned int )ptr; -+ sys.len = len; -+ -+ send_to_ppe_0x2101 (JSRE_READ, &sys); -+ -+ errno = psys_out->err; -+ return ( psys_out->rc); -+} -+ -+off_t -+lseek (int file, off_t offset, int whence) -+{ -+ syscall_lseek_t sys; -+ syscall_out_t *psys_out = ( syscall_out_t* )&sys; -+ -+ sys.file = file; -+ sys.offset = offset; -+ -+ switch( whence ){ -+ case SEEK_SET: -+ sys.whence = JSRE_SEEK_SET; -+ break; -+ case SEEK_CUR: -+ sys.whence = JSRE_SEEK_CUR; -+ break; -+ case SEEK_END: -+ sys.whence = JSRE_SEEK_END; -+ break; -+ } -+ -+ send_to_ppe_0x2101 (JSRE_LSEEK, &sys); -+ -+ errno = psys_out->err; -+ return ( psys_out->rc); -+} -+ -+int -+write (int file, const void *ptr, size_t len) -+{ -+ syscall_write_t sys; -+ syscall_out_t *psys_out = ( syscall_out_t* )&sys; -+ -+ sys.file = file; -+ sys.ptr = ( unsigned int )ptr; -+ sys.len = len; -+ -+ send_to_ppe_0x2101 (JSRE_WRITE, &sys); -+ -+ errno = psys_out->err; -+ return ( psys_out->rc); -+} -+ -+int -+open (const char *filename, int flags, ...) -+{ -+ int rc; -+ int len; -+ -+ syscall_open_t sys ; -+ syscall_out_t *psys_out = ( syscall_out_t* )&sys; -+ -+ sys.pathname = ( unsigned int )filename; -+ -+ sys.flags = 0; -+ -+ sys.flags |= ( ( flags & O_CREAT ) ? JSRE_O_CREAT : 0 ); -+ sys.flags |= ( ( flags & O_EXCL ) ? JSRE_O_EXCL : 0 ); -+ sys.flags |= ( ( flags & O_NOCTTY ) ? JSRE_O_NOCTTY : 0 ); -+ sys.flags |= ( ( flags & O_TRUNC ) ? JSRE_O_TRUNC : 0 ); -+ sys.flags |= ( ( flags & O_APPEND ) ? JSRE_O_APPEND : 0 ); -+// sys.flags |= ( ( flags & O_NOBLOCK ) ? JSRE_O_NOBLOCK : 0 ); -+// sys.flags |= ( ( flags & O_NDELAY ) ? JSRE_O_NDELAY : 0 ); -+ sys.flags |= ( ( flags & O_SYNC ) ? JSRE_O_SYNC : 0 ); -+// sys.flags |= ( ( flags & O_NOFOLLOW ) ? JSRE_O_NOFOLLOW : 0 ); -+// sys.flags |= ( ( flags & O_DIRECTORY ) ? JSRE_O_DIRECTORY : 0 ); -+// sys.flags |= ( ( flags & O_DIRECT ) ? JSRE_O_DIRECT : 0 ); -+// sys.flags |= ( ( flags & O_ASYNC ) ? JSRE_O_ASYNC : 0 ); -+// sys.flags |= ( ( flags & O_LARGEFILE ) ? JSRE_O_LARGEFILE : 0 ); -+ -+ -+ sys.flags |= ( ( flags & O_RDONLY ) ? JSRE_O_RDONLY : 0 ); -+ sys.flags |= ( ( flags & O_WRONLY ) ? JSRE_O_WRONLY : 0 ); -+ sys.flags |= ( ( flags & O_RDWR ) ? JSRE_O_RDWR : 0 ); -+ -+ -+ /* FIXME: we have to check/map all flags */ -+ -+ if ((sys.flags & O_CREAT)) -+ { -+ va_list ap; -+ -+ va_start (ap, flags); -+ sys.mode = va_arg (ap, int); -+ va_end (ap); -+ -+ } -+ else -+ { -+ sys.mode = 0; -+ } -+ -+ send_to_ppe_0x2101 ( JSRE_OPEN, &sys); -+ -+ errno = psys_out->err; -+ return ( psys_out->rc); -+} -+ -+int -+close (int file) -+{ -+ int rc; -+ -+ syscall_close_t sys ; -+ syscall_out_t *psys_out = ( syscall_out_t* )&sys; -+ -+ sys.file = file; -+ -+ send_to_ppe_0x2101 (JSRE_CLOSE, &sys); -+ -+ errno = psys_out->err; -+ return ( psys_out->rc); -+} -+ -+int -+fstat (int file, struct stat *pstat) -+{ -+ syscall_fstat_t sys; -+ syscall_out_t *psys_out = ( syscall_out_t* )&sys; -+ jsre_stat_t pjstat; -+ -+ sys.file = file; -+ sys.ptr = ( unsigned int )&pjstat; -+ -+ send_to_ppe_0x2101 (JSRE_FSTAT, &sys); -+ -+ pstat->st_dev = pjstat.dev; -+ pstat->st_ino = pjstat.ino; -+ pstat->st_mode = pjstat.mode; -+ pstat->st_nlink = pjstat.nlink; -+ pstat->st_uid = pjstat.uid; -+ pstat->st_gid = pjstat.gid; -+ pstat->st_rdev = pjstat.rdev; -+ pstat->st_size = pjstat.size; -+ pstat->st_blksize = pjstat.blksize; -+ pstat->st_blocks = pjstat.blocks; -+ pstat->st_atime = pjstat.atime; -+ pstat->st_mtime = pjstat.mtime; -+ pstat->st_ctime = pjstat.ctime; -+ -+ -+ errno = psys_out->err; -+ return( psys_out->rc ); -+} -+ -+int -+unlink (const char *pathname) -+{ -+ int rc; -+ -+ syscall_unlink_t sys ; -+ syscall_out_t *psys_out = ( syscall_out_t* )&sys; -+ -+ sys.pathname = ( unsigned int )pathname; -+ -+ send_to_ppe_0x2101 (JSRE_UNLINK, &sys); -+ -+ errno = psys_out->err; -+ return ( psys_out->rc); -+} -+ -diff -urN newlib-1.14.0/newlib/configure.host newlib-1.14.0.spe/newlib/configure.host ---- newlib-1.14.0/newlib/configure.host 2005-12-12 12:25:07.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/configure.host 2006-06-11 02:19:17.000000000 +0200 -@@ -245,6 +245,9 @@ - z8k) - machine_dir=z8k - ;; -+ spu) -+ machine_dir=spu -+ ;; - *) - echo '***' "Newlib does not support CPU ${host_cpu}" 1>&2 - exit 1 -@@ -417,6 +420,9 @@ - sys_dir=sparc64 - unix_dir=unix - ;; -+ spu-*-*) -+ newlib_cflags="${newlib_cflags} -DWANT_PRINTF_LONG_LONG" -+ ;; - strongarm-*-*) - sys_dir=arm - if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then -diff -urN newlib-1.14.0/newlib/configure.host.orig newlib-1.14.0.spe/newlib/configure.host.orig ---- newlib-1.14.0/newlib/configure.host.orig 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/configure.host.orig 2005-12-12 12:25:07.000000000 +0100 -@@ -0,0 +1,739 @@ -+# configure.host -+ -+# This shell script handles all host based configuration for newlib. -+# It sets various shell variables based on the the host and the -+# configuration options. You can modify this shell script without -+# needing to rerun autoconf. -+ -+# This shell script should be invoked as -+# . configure.host -+# If it encounters an error, it will exit with a message. -+ -+# FIXME: This script is too complicated. It does things in too many -+# different ways. This was taken from the old Cygnus configure script -+# with only minor changes. It should be cleaned up. -+ -+# FIXME: The general approach of picking and choosing which -+# directories to configure, other than machine_dir and sys_dir, is -+# potentially confusing. -+ -+# It uses the following shell variables: -+# host The configuration host -+# host_cpu The configuration host CPU -+# newlib_mb --enable-newlib-mb ("yes", "no") -+# target_optspace --enable-target-optspace ("yes", "no", "") -+# newlib_multithread --enable-newlib-multithread ("yes", "no", "yes") -+# newlib_elix_level --enable-newlib-elix-level ("1","2","3","4") ("4") -+# newlib_io_long_long --enable-newlib-io-long-long ("yes", "no", "") -+# newlib_io_long_double --enable-newlib-io-long-double ("yes", "no", "") -+ -+# It sets the following shell variables: -+# newlib_cflags Special CFLAGS to use when building -+# machine_dir Subdirectory of libc/machine to configure -+# sys_dir Subdirectory of libc/sys to configure -+# have_sys_mach_dir Is there a machine subdirectory in sys subdirectory -+# posix_dir "posix" to build libc/posix, "" otherwise -+# signal_dir "signal" to build libc/signal, "" otherwise -+# stdio64_dir "stdio64" to build libc/stdio64, "" otherwise -+# syscall_dir "syscalls" to build libc/syscalls, "" otherwise -+# unix_dir "unix" to build libc/unix, "" otherwise -+# use_libtool flag: use libtool to build newlib? -+# aext library extension - needed for libtool support -+# oext object file extension - needed for libtool support -+# crt1 name of crt1 object if one is provided -+# crt1_dir directory where crt1 object is found -+# have_crt0 "yes"/"no" if crt0 is/isn't provided. -+# "" if crt0 is provided when sys_dir is set -+ -+newlib_cflags= -+libm_machine_dir= -+machine_dir= -+sys_dir= -+posix_dir= -+signal_dir=signal -+stdio64_dir= -+syscall_dir= -+unix_dir= -+mach_add_setjmp= -+crt1= -+crt1_dir= -+have_crt0= -+use_libtool=no -+have_sys_mach_dir=no -+default_newlib_io_long_long=no -+default_newlib_io_long_double=no -+default_newlib_io_pos_args=no -+aext=a -+oext=o -+ -+case "${target_optspace}:${host}" in -+ yes:*) -+ newlib_cflags="${newlib_cflags} -Os" -+ ;; -+ :m32r-* | :d10v-* | :d30v-* | :avr-* | :m32c-* ) -+ newlib_cflags="${newlib_cflags} -Os" -+ ;; -+ no:* | :*) -+ newlib_cflags="${newlib_cflags} -O2" -+ ;; -+esac -+ -+# Get the source directories to use for the CPU type. -+# machine_dir should supply CPU dependent routines, such as setjmp. -+# newlib_cflags is passed to gcc when compiling. -+# THIS TABLE IS ALPHA SORTED. KEEP IT THAT WAY. -+ -+case "${host_cpu}" in -+ a29k) -+ machine_dir=a29k -+ ;; -+ arc) -+ machine_dir= -+ ;; -+ arm) -+ machine_dir=arm -+ ;; -+ avr*) -+ newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mcall-prologues" -+ ;; -+ cris | crisv32) -+ machine_dir=cris -+ ;; -+ crx*) -+ machine_dir=crx -+ ;; -+ d10v*) -+ machine_dir=d10v -+ ;; -+ d30v*) -+ machine_dir=d30v -+ ;; -+ ep9312) -+ machine_dir=arm -+ ;; -+ fr30) -+ machine_dir=fr30 -+ ;; -+ frv) -+ machine_dir=frv -+ ;; -+ h8300) -+ machine_dir=h8300 -+ ;; -+ h8500) -+ machine_dir=h8500 -+ ;; -+ hppa*) -+ machine_dir=hppa -+ ;; -+ i960) -+ machine_dir=i960 -+ ;; -+ i[34567]86) -+ # Don't use for these since they provide their own setjmp. -+ case ${host} in -+ *-*-sco* | *-*-cygwin*) -+ libm_machine_dir=i386 -+ machine_dir=i386 -+ ;; -+ *) -+ libm_machine_dir=i386 -+ machine_dir=i386 -+ mach_add_setjmp=true -+ ;; -+ esac -+ ;; -+ ia64*) -+ ;; -+ iq2000) -+ machine_dir=iq2000 -+ ;; -+ m32c) -+ machine_dir=m32c -+ newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -DABORT_PROVIDED -DSMALL_MEMORY" -+ ;; -+ -+ m32r*) -+ machine_dir=m32r -+ ;; -+ -+ m68hc11|m6811|m68hc12|m6812) -+ machine_dir=m68hc11 -+ newlib_cflags="-DPREFER_SIZE_OVER_SPEED -Os -mrelax" -+ CFLAGS="-g -Os" -+ ;; -+ -+ m68*) -+ machine_dir=m68k -+ newlib_cflags="${newlib_cflags} -DCOMPACT_CTYPE" -+ ;; -+ m88k) -+ machine_dir=m88k -+ newlib_cflags="${newlib_cflags} -m88000" -+ ;; -+ m88110) -+ machine_dir=m88k -+ newlib_cflags="${newlib_cflags} -m88110" -+ ;; -+ mcore) -+ ;; -+ mips*) -+ machine_dir=mips -+ ;; -+ mmix) -+ ;; -+ mn10200) -+ machine_dir=mn10200 -+ ;; -+ mn10300) -+ default_newlib_io_long_long="yes" -+ machine_dir=mn10300 -+ ;; -+ mt*) -+ machine_dir=mt -+ ;; -+ or16) -+ ;; -+ or32) -+ ;; -+ powerpc*) -+ machine_dir=powerpc -+ ;; -+ sh | sh64) -+ machine_dir=sh -+ ;; -+ sparc*) -+ machine_dir=sparc -+ # FIXME: Might wish to make MALLOC_ALIGNMENT more generic. -+ newlib_cflags="${newlib_cflags} -DMALLOC_ALIGNMENT=8" -+ ;; -+ strongarm) -+ machine_dir=arm -+ ;; -+ xscale) -+ machine_dir=xscale -+ ;; -+ thumb) -+ machine_dir=arm -+ ;; -+ tic4x|c4x) -+ machine_dir=tic4x -+ ;; -+ tic80*) -+ machine_dir=tic80 -+ ;; -+ v70) -+ ;; -+ v810) -+ ;; -+ v850) -+ machine_dir=v850 -+ newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED -mv850 " -+ ;; -+ v850e) -+ machine_dir=v850 -+ newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED " -+ ;; -+ w65*) -+ machine_dir=w65 -+ ;; -+ xstormy16) -+ machine_dir=xstormy16 -+ newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED" -+ newlib_cflags="${newlib_cflags} -DPREFER_SIZE_OVER_SPEED" -+ ;; -+ z8k) -+ machine_dir=z8k -+ ;; -+ *) -+ echo '***' "Newlib does not support CPU ${host_cpu}" 1>&2 -+ exit 1 -+ ;; -+esac -+ -+# Disable thread support if requested. -+ -+if [ "${newlib_multithread}" = "no" ] ; then -+ newlib_cflags="${newlib_cflags} -D__SINGLE_THREAD__" -+fi -+ -+# Disable syscall support if requested. -+ -+if [ "${newlib_may_supply_syscalls}" = "no" ] ; then -+ newlib_cflags="${newlib_cflags} -D__NO_SYSCALLS__" -+fi -+ -+# Enable multibyte support if requested or it is defaulted -+# for target. -+ -+if [ "x${newlib_mb}" = "x" ]; then -+ case "${host}" in -+ i[34567]86-pc-linux-*|*-*-cygwin*) -+ newlib_mb=yes -+ ;; -+ esac -+fi -+ -+# Disable printf/scanf floating-point support if requested. -+ -+if [ "${newlib_io_float}" = "no" ] ; then -+ newlib_cflags="${newlib_cflags} -DNO_FLOATING_POINT" -+fi -+ -+# Verify if shared newlib support is allowed and set appropriate variables -+# We don't want to use libtool for platforms that we are not going to -+# support shared libraries. This is because it adds executable tests which -+# we don't want for most embedded platforms. -+case "${host}" in -+ i[34567]86-pc-linux-*) -+ use_libtool=yes -+ have_sys_mach_dir=yes -+ stdio64_dir=stdio64 -+ oext=lo -+ aext=la ;; -+ *) ;; #shared library not supported for ${host} -+esac -+ -+# Get the source directories to use for the host. unix_dir is set -+# to unix to get some standard Unix routines. posix_dir is set to get some -+# standard Posix routines. sys_dir should supply system dependent routines -+# including crt0. -+# THIS TABLE IS ALPHA SORTED. KEEP IT THAT WAY. -+ -+case "${host}" in -+ *-*-cygwin*) -+ posix_dir=posix -+ stdio64_dir=stdio64 -+ ;; -+ *-*-netware*) -+ signal_dir= -+ sys_dir=netware -+ ;; -+ *-*-rtems*) # generic RTEMS support -+ sys_dir=rtems -+ # RTEMS POSIX support is all inside RTEMS -+ ;; -+ a29k-*-*) -+ sys_dir=a29khif -+ signal_dir= -+ ;; -+ arc-*-*) -+ sys_dir=arc -+ ;; -+ arm-*-*) -+ sys_dir=arm -+ if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then -+ have_crt0="no" -+ fi -+ ;; -+ crx*) -+ sys_dir= -+ ;; -+ d10v*) -+ sys_dir=d10v -+ ;; -+ d30v*) -+ sys_dir= -+ ;; -+ ep9312-*-*) -+ sys_dir=arm -+ if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then -+ have_crt0="no" -+ fi -+ ;; -+ frv*) -+ sys_dir= -+ ;; -+ h8300-*-hms*) -+ sys_dir=h8300hms -+ ;; -+ h8300-*-elf*) -+ sys_dir=h8300hms -+ ;; -+ h8300-*-coff*) -+ sys_dir=h8300hms -+ ;; -+ h8300-*-xray*) -+ sys_dir=h8300xray -+ ;; -+ h8500-*-hms*) -+ sys_dir=h8500hms -+ ;; -+ h8500-*-elf*) -+ sys_dir=h8500hms -+ ;; -+ i[34567]86-*-sco*) -+ sys_dir=sysvi386 -+ unix_dir=unix -+ ;; -+ i[34567]86-pc-linux-*) -+ sys_dir=linux -+ unix_dir=unix -+ posix_dir=posix -+ crt1=crt1.o -+ crt1_dir=libc/sys/${sys_dir} -+ gcc_dir=`gcc -print-search-dirs | awk '/^install:/{print $2}'` -+ default_newlib_io_long_double="yes" -+ default_newlib_io_long_long="yes" -+ default_newlib_io_pos_args="yes" -+ #newlib_cflags="${newlib_cflags} -Werror" # DEBUGGING ONLY;BREAKS BUILD -+ newlib_cflags="${newlib_cflags} -Wall" -+ newlib_cflags="${newlib_cflags} -D_I386MACH_ALLOW_HW_INTERRUPTS" -+ newlib_cflags="${newlib_cflags} -DHAVE_FCNTL" -+ # --- Required when building a shared library ------------------------ -+ newlib_cflags="${newlib_cflags} -fPIC -D_I386MACH_NEED_SOTYPE_FUNCTION" -+ # --- The three lines below are optional ------------------------------ -+ ##newlib_cflags="${newlib_cflags} -nostdinc" -+ ##newlib_cflags="${newlib_cflags} -I`newlib-flags --kernel-dir`/include" -+ ##newlib_cflags="${newlib_cflags} -idirafter ${gcc_dir}include" -+ ;; -+ -+ m68hc11-*-*|m6811-*-*|m6812-*-*|m68hc12-*-*) -+ ;; -+ -+ m68k-sun-sunos*) -+ unix_dir=unix -+ ;; -+ m8*-bug-*) -+ sys_dir=m88kbug -+ ;; -+ mips*-dec-*) -+ sys_dir=decstation -+ ;; -+ mmix-knuth-mmixware) -+ sys_dir=mmixware -+ ;; -+ powerpcle-*-pe) -+ posix_dir=posix -+ ;; -+ sh*-*) -+ sys_dir=sh -+ ;; -+ sparc-sun-sunos*) -+ sys_dir=sun4 -+ unix_dir=unix -+ ;; -+ sparc64*) -+ sys_dir=sparc64 -+ unix_dir=unix -+ ;; -+ strongarm-*-*) -+ sys_dir=arm -+ if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then -+ have_crt0="no" -+ fi -+ ;; -+ thumb-*-*) -+ sys_dir=arm -+ if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then -+ have_crt0="no" -+ fi -+ ;; -+ tic80*) -+ sys_dir=tic80 -+ ;; -+ v70-nec-*) -+ sys_dir=sysvnecv70 -+ ;; -+ v810-*-*) -+ sys_dir=sysnec810 -+ ;; -+ v850-*-*) -+ sys_dir=sysnecv850 -+ ;; -+ v850e-*-*) -+ sys_dir=sysnecv850 -+ ;; -+ v850ea-*-*) -+ sys_dir=sysnecv850 -+ ;; -+ w65-*-*) -+ sys_dir=w65 -+ ;; -+ xscale-*-*) -+ sys_dir=arm -+ if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then -+ have_crt0="no" -+ fi -+ ;; -+ z8k-*-coff) -+ sys_dir=z8ksim -+ ;; -+esac -+ -+# Host specific flag settings -- usually for features that are not -+# general enough or broad enough to be handled above. -+# THIS TABLE IS ALPHA SORTED. KEEP IT THAT WAY. -+ -+case "${host}" in -+ *-*-cygwin*) -+ test -z "$cygwin_srcdir" && cygwin_srcdir=`cd ${srcdir}/../winsup/cygwin; pwd` -+ export cygwin_srcdir -+ default_newlib_io_long_long="yes" -+ default_newlib_io_long_double="yes" -+ default_newlib_io_pos_args="yes" -+ CC="${CC} -I${cygwin_srcdir}/include" -+ newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -D_COMPILING_NEWLIB -DHAVE_FCNTL -DMALLOC_PROVIDED" -+ syscall_dir=syscalls -+ ;; -+# RTEMS supplies its own versions of some routines: -+# malloc() (reentrant version) -+# exit() RTEMS has a "global" reent to flush -+# signal()/raise() RTEMS has its own including pthread signals -+# _XYZ_r() RTEMS has its own reentrant routines -+# -+# NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that. -+ *-*-rtems*) -+ default_newlib_io_long_long="yes" -+ newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR -DNO_EXEC -DHAVE_FCNTL" -+ ;; -+# VxWorks supplies its own version of malloc, and the newlib one -+# doesn't work because VxWorks does not have sbrk. -+ *-wrs-vxworks*) -+ newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DMISSING_SYSCALL_NAMES -DHAVE_FCNTL" -+ ;; -+# UDI doesn't have exec, so system() should fail the right way -+ a29k-amd-udi) -+ newlib_cflags="${newlib_cflags} -DNO_EXEC" -+ syscall_dir=syscalls -+ ;; -+ arc-*-*) -+ syscall_dir=syscalls -+ ;; -+ arm-*-pe) -+ syscall_dir=syscalls -+ newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" -+ ;; -+ arm-*-*) -+ syscall_dir=syscalls -+ newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" -+# If newlib is supplying syscalls, select which debug protocol is being used. -+# ARM_RDP_MONITOR selects the Demon monitor. -+# ARM_RDI_MONITOR selects the Angel monitor. -+# If neither are defined, then hard coded defaults will be used -+# to create the program's environment. -+# If --disable-newlib-supplied-syscalls is specified, then the end-user -+# may specify the protocol via gcc spec files supplied by libgloss. -+# See also thumb below. -+ if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then -+# newlib_cflags="${newlib_cflags} -DARM_RDP_MONITOR" -+ newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" -+ fi -+ ;; -+ arc*) -+ newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED" -+ ;; -+ avr*) -+ newlib_cflags="${newlib_cflags} -DNO_EXEC -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES" -+ ;; -+ cris-*-* | crisv32-*-*) -+ default_newlib_io_long_long="yes" -+ newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DHAVE_GETTIMEOFDAY -D_USE_WRITE -DCOMPACT_CTYPE" -+ syscall_dir=syscalls -+ ;; -+ crx-*-*) -+ newlib_cflags="${newlib_cflags} -DHAVE_RENAME -DMISSING_SYSCALL_NAMES" -+ syscall_dir= -+ ;; -+ d10v*) -+ newlib_cflags="${newlib_cflags} -DSMALL_MEMORY" -+ syscall_dir=syscalls -+ ;; -+ d30v*) -+ newlib_cflags="${newlib_cflags} -DABORT_MESSAGE -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES" -+ syscall_dir= -+ ;; -+ ep9312-*-*) -+ syscall_dir=syscalls -+ newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" -+ if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then -+ newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" -+ fi -+ ;; -+ fr30-*-*) -+ syscall_dir=syscalls -+ ;; -+ frv-*-*) -+ syscall_dir=syscalls -+ default_newlib_io_long_long="yes" -+ ;; -+ h8300*-*-*) -+ syscall_dir=syscalls -+ default_newlib_io_long_long="yes" -+ newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY" -+ # Simulator only extensions for H8300. -+ # Uncomment the next line to enable them. -+ # newlib_cflags="${newlib_cflags} -D__SIMULATOR__" -+ ;; -+ h8500-*-*) -+ syscall_dir=syscalls -+ newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY" -+ ;; -+ i[34567]86-*-sco*) -+ newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED -DHAVE_FCNTL" -+ ;; -+ i[34567]86-*-netware*) -+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES -DNO_EXEC -DABORT_PROVIDED -DCLOCK_PROVIDED -DMALLOC_PROVIDED -DHAVE_FCNTL" -+ ;; -+ iq2000*) -+ syscall_dir=syscalls -+ default_newlib_io_long_long="yes" -+ ;; -+ m32r-*-*) -+ # Pass -msdata=sdata so _impure_ptr goes in .sdata. -+ # We don't generate sda relocs however for upward compatibility. -+ # FIXME: This is necessary because the default multilib doesn't -+ # use --print-multi-lib. -+ newlib_cflags="${newlib_cflags} -msdata=sdata" -+ syscall_dir=syscalls -+ ;; -+ m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*) -+ newlib_cflags="${newlib_cflags} -DNO_EXEC -DABORT_PROVIDED -DSMALL_MEMORY -DMISSING_SYSCALL_NAMES" -+ ;; -+ mcore-*-*) -+ syscall_dir=syscalls -+ ;; -+ mips64vr*-*-*) -+ default_newlib_io_long_long="yes" -+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" -+ ;; -+ mips*-*-elf*) -+ default_newlib_io_long_long="yes" -+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" -+ ;; -+ mmix-*) -+ syscall_dir=syscalls -+ # We need every symbol 32-bit aligned, so the invalid -+ # construct with attribute ((alias ("_ctype_b+127"))) breaks. -+ newlib_cflags="${newlib_cflags} -DCOMPACT_CTYPE" -+ ;; -+ mn10?00-*-*) -+ syscall_dir=syscalls -+ ;; -+ powerpc*-*-eabialtivec*) -+ default_newlib_io_long_long="yes" -+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" -+ ;; -+ powerpc*-*-eabispe*) -+ default_newlib_io_long_long="yes" -+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" -+ ;; -+ powerpc*-*-eabi* | \ -+ powerpc*-*-elf* | \ -+ powerpc*-*-linux* | \ -+ powerpc*-*-rtem* | \ -+ powerpc*-*-sysv* | \ -+ powerpc*-*-solaris*) -+ default_newlib_io_long_long="yes" -+ newlib_cflags="${newlib_cflags} -mrelocatable-lib -mno-eabi -mstrict-align -DMISSING_SYSCALL_NAMES" -+ ;; -+ powerpcle-*-pe) -+ newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DHAVE_FCNTL" -+ syscall_dir=syscalls -+ ;; -+ sh*-*-*) -+ default_newlib_io_long_long="yes" -+ newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY" -+ syscall_dir=syscalls -+ ;; -+ sparc-sun-sunos*) -+ newlib_cflags="${newlib_cflags} -DSIGNAL_PROVIDED" -+ ;; -+ sparc64-*-*) -+ newlib_cflags="${newlib_cflags} -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_BLKSIZE -DHAVE_GETTIMEOFDAY -DHAVE_FCNTL" -+ # This either belongs elsewhere or nowhere. But I need *something*, -+ # so for now it's here ... -+ case "${host_os}" in -+ aoutv8 | *32p) -+ newlib_cflags="${newlib_cflags} -DTARGET_PTR_SIZE=32" ;; -+ *) -+ newlib_cflags="${newlib_cflags} -DTARGET_PTR_SIZE=64" ;; -+ esac -+ ;; -+ strongarm-*-*) -+ syscall_dir=syscalls -+ newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" -+ ;; -+ thumb-*-pe) -+ syscall_dir=syscalls -+ newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" -+# Don't use the debugging protocols just yet. -+ ;; -+ thumb-*-*) -+ syscall_dir=syscalls -+ newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" -+# If newlib is supplying syscalls, select which debug protocol is being used. -+# ARM_RDP_MONITOR selects the Demon monitor. -+# ARM_RDI_MONITOR selects the Angel monitor. -+# If neither are defined, then hard coded defaults will be used -+# to create the program's environment. -+# If --disable-newlib-supplied-syscalls is specified, then the end-user -+# may specify the protocol via gcc spec files supplied by libgloss. -+ if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then -+# newlib_cflags="${newlib_cflags} -DARM_RDP_MONITOR" -+ newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" -+ fi -+ ;; -+ tic80*) -+ syscall_dir=syscalls -+ ;; -+ v850-*-*) -+ syscall_dir=syscalls -+ ;; -+ v850e-*-*) -+ syscall_dir=syscalls -+ ;; -+ v850ea-*-*) -+ syscall_dir=syscalls -+ ;; -+ w65-*-*) -+ syscall_dir=syscalls -+ newlib_cflags="${newlib_cflags} -DSMALL_DTOA -DSMALL_MEMORY" -+ ;; -+ xscale-*-*) -+ syscall_dir=syscalls -+ newlib_cflags="${newlib_cflags} -DABORT_PROVIDED -DHAVE_GETTIMEOFDAY" -+ newlib_cflags="${newlib_cflags} -DHAVE_SYSTEM -DHAVE_RENAME" -+ if [ "x${newlib_may_supply_syscalls}" = "xyes" ] ; then -+ newlib_cflags="${newlib_cflags} -DARM_RDI_MONITOR" -+ fi -+ ;; -+ xstormy16-*-*) -+ newlib_cflags="${newlib_cflags} -DHAVE_GETTIMEOFDAY" -+ syscall_dir=syscalls -+ ;; -+ z8k-*-*) -+ syscall_dir=syscalls -+ ;; -+ *) -+ newlib_cflags="${newlib_cflags} -DMISSING_SYSCALL_NAMES" -+ syscall_dir= -+ ;; -+esac -+ -+# Use defaults for certain settings if not specified by user -+ -+# Enable long long support in I/O routines if requested. -+if [ "x${newlib_io_long_long}" = "x" ]; then -+ if [ ${default_newlib_io_long_long} = "yes" ]; then -+ newlib_io_long_long="yes"; -+ fi -+fi -+ -+# Enable long double support in I/O routines if requested. -+if [ "x${newlib_io_long_double}" = "x" ]; then -+ if [ ${default_newlib_io_long_double} = "yes" ]; then -+ newlib_io_long_double="yes"; -+ fi -+fi -+ -+# Enable printf positional argument support if requested. -+if [ "x${newlib_io_pos_args}" = "x" ]; then -+ if [ ${default_newlib_io_pos_args} = "yes" ]; then -+ newlib_io_pos_args="yes"; -+ fi -+fi -+ -+if test -z "${have_crt0}" && test -n "${sys_dir}"; then -+ have_crt0="yes" -+fi -diff -urN newlib-1.14.0/newlib/libc/include/machine/ieeefp.h newlib-1.14.0.spe/newlib/libc/include/machine/ieeefp.h ---- newlib-1.14.0/newlib/libc/include/machine/ieeefp.h 2005-12-13 23:57:31.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/include/machine/ieeefp.h 2006-06-11 02:19:17.000000000 +0200 -@@ -73,6 +73,11 @@ - #define __IEEE_BIG_ENDIAN - #endif - -+#ifdef __SPU__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+ - #ifdef __sparc__ - #ifdef __LITTLE_ENDIAN_DATA__ - #define __IEEE_LITTLE_ENDIAN -diff -urN newlib-1.14.0/newlib/libc/include/machine/ieeefp.h.orig newlib-1.14.0.spe/newlib/libc/include/machine/ieeefp.h.orig ---- newlib-1.14.0/newlib/libc/include/machine/ieeefp.h.orig 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/include/machine/ieeefp.h.orig 2005-12-13 23:57:31.000000000 +0100 -@@ -0,0 +1,289 @@ -+#ifndef __IEEE_BIG_ENDIAN -+#ifndef __IEEE_LITTLE_ENDIAN -+ -+/* This file can define macros to choose variations of the IEEE float -+ format: -+ -+ _FLT_LARGEST_EXPONENT_IS_NORMAL -+ -+ Defined if the float format uses the largest exponent for finite -+ numbers rather than NaN and infinity representations. Such a -+ format cannot represent NaNs or infinities at all, but it's FLT_MAX -+ is twice the IEEE value. -+ -+ _FLT_NO_DENORMALS -+ -+ Defined if the float format does not support IEEE denormals. Every -+ float with a zero exponent is taken to be a zero representation. -+ -+ ??? At the moment, there are no equivalent macros above for doubles and -+ the macros are not fully supported by --enable-newlib-hw-fp. -+ -+ __IEEE_BIG_ENDIAN -+ -+ Defined if the float format is big endian. This is mutually exclusive -+ with __IEEE_LITTLE_ENDIAN. -+ -+ __IEEE_LITTLE_ENDIAN -+ -+ Defined if the float format is little endian. This is mutually exclusive -+ with __IEEE_BIG_ENDIAN. -+ -+ Note that one of __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN must be specified for a -+ platform or error will occur. -+ -+ __IEEE_BYTES_LITTLE_ENDIAN -+ -+ This flag is used in conjunction with __IEEE_BIG_ENDIAN to describe a situation -+ whereby multiple words of an IEEE floating point are in big endian order, but the -+ words themselves are little endian with respect to the bytes. -+ -+ _DOUBLE_IS_32_BITS -+ -+ This is used on platforms that support double by using the 32-bit IEEE -+ float type. -+ -+ _FLOAT_ARG -+ -+ This represents what type a float arg is passed as. It is used when the type is -+ not promoted to double. -+ -+*/ -+ -+#if (defined(__arm__) || defined(__thumb__)) && !defined(__MAVERICK__) -+/* ARM traditionally used big-endian words; and within those words the -+ byte ordering was big or little endian depending upon the target. -+ Modern floating-point formats are naturally ordered; in this case -+ __VFP_FP__ will be defined, even if soft-float. */ -+#ifdef __VFP_FP__ -+# ifdef __ARMEL__ -+# define __IEEE_LITTLE_ENDIAN -+# else -+# define __IEEE_BIG_ENDIAN -+# endif -+#else -+# define __IEEE_BIG_ENDIAN -+# ifdef __ARMEL__ -+# define __IEEE_BYTES_LITTLE_ENDIAN -+# endif -+#endif -+#endif -+ -+#ifdef __hppa__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __sparc__ -+#ifdef __LITTLE_ENDIAN_DATA__ -+#define __IEEE_LITTLE_ENDIAN -+#else -+#define __IEEE_BIG_ENDIAN -+#endif -+#endif -+ -+#if defined(__m68k__) || defined(__mc68000__) -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#if defined(__mc68hc11__) || defined(__mc68hc12__) || defined(__mc68hc1x__) -+#define __IEEE_BIG_ENDIAN -+#ifdef __HAVE_SHORT_DOUBLE__ -+# define _DOUBLE_IS_32BITS -+#endif -+#endif -+ -+#if defined (__H8300__) || defined (__H8300H__) || defined (__H8300S__) || defined (__H8500__) || defined (__H8300SX__) -+#define __IEEE_BIG_ENDIAN -+#define _FLOAT_ARG float -+#define _DOUBLE_IS_32BITS -+#endif -+ -+#ifdef __sh__ -+#ifdef __LITTLE_ENDIAN__ -+#define __IEEE_LITTLE_ENDIAN -+#else -+#define __IEEE_BIG_ENDIAN -+#endif -+#if defined(__SH2E__) || defined(__SH3E__) || defined(__SH4_SINGLE_ONLY__) || defined(__SH2A_SINGLE_ONLY__) -+#define _DOUBLE_IS_32BITS -+#endif -+#endif -+ -+#ifdef _AM29K -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef _WIN32 -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifdef __i386__ -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifdef __i960__ -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifdef __M32R__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#if defined(_C4x) || defined(_C3x) -+#define __IEEE_BIG_ENDIAN -+#define _DOUBLE_IS_32BITS -+#endif -+ -+#ifdef __TIC80__ -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifdef __MIPSEL__ -+#define __IEEE_LITTLE_ENDIAN -+#endif -+#ifdef __MIPSEB__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __MMIX__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __D30V__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+/* necv70 was __IEEE_LITTLE_ENDIAN. */ -+ -+#ifdef __W65__ -+#define __IEEE_LITTLE_ENDIAN -+#define _DOUBLE_IS_32BITS -+#endif -+ -+#if defined(__Z8001__) || defined(__Z8002__) -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __m88k__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __mn10300__ -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifdef __mn10200__ -+#define __IEEE_LITTLE_ENDIAN -+#define _DOUBLE_IS_32BITS -+#endif -+ -+#ifdef __v800 -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifdef __v850 -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifdef __D10V__ -+#define __IEEE_BIG_ENDIAN -+#if __DOUBLE__ == 32 -+#define _DOUBLE_IS_32BITS -+#endif -+#endif -+ -+#ifdef __PPC__ -+#if (defined(_BIG_ENDIAN) && _BIG_ENDIAN) || (defined(_AIX) && _AIX) -+#define __IEEE_BIG_ENDIAN -+#else -+#if (defined(_LITTLE_ENDIAN) && _LITTLE_ENDIAN) || (defined(__sun__) && __sun__) || (defined(_WIN32) && _WIN32) -+#define __IEEE_LITTLE_ENDIAN -+#endif -+#endif -+#endif -+ -+#ifdef __xstormy16__ -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifdef __arc__ -+#ifdef __big_endian__ -+#define __IEEE_BIG_ENDIAN -+#else -+#define __IEEE_LITTLE_ENDIAN -+#endif -+#endif -+ -+#ifdef __CRX__ -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifdef __fr30__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __mcore__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __mt__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __frv__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __ia64__ -+#ifdef __BIG_ENDIAN__ -+#define __IEEE_BIG_ENDIAN -+#else -+#define __IEEE_LITTLE_ENDIAN -+#endif -+#endif -+ -+#ifdef __AVR__ -+#define __IEEE_LITTLE_ENDIAN -+#define _DOUBLE_IS_32BITS -+#endif -+ -+#if defined(__or32__) || defined(__or1k__) || defined(__or16__) -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __IP2K__ -+#define __IEEE_BIG_ENDIAN -+#define __SMALL_BITFIELDS -+#define _DOUBLE_IS_32BITS -+#endif -+ -+#ifdef __iq2000__ -+#define __IEEE_BIG_ENDIAN -+#endif -+ -+#ifdef __MAVERICK__ -+#ifdef __ARMEL__ -+# define __IEEE_LITTLE_ENDIAN -+#else /* must be __ARMEB__ */ -+# define __IEEE_BIG_ENDIAN -+#endif /* __ARMEL__ */ -+#endif /* __MAVERICK__ */ -+ -+#ifdef __m32c__ -+#define __IEEE_LITTLE_ENDIAN -+#define __SMALL_BITFIELDS -+#endif -+ -+#ifdef __CRIS__ -+#define __IEEE_LITTLE_ENDIAN -+#endif -+ -+#ifndef __IEEE_BIG_ENDIAN -+#ifndef __IEEE_LITTLE_ENDIAN -+#error Endianess not declared!! -+#endif /* not __IEEE_LITTLE_ENDIAN */ -+#endif /* not __IEEE_BIG_ENDIAN */ -+ -+#endif /* not __IEEE_LITTLE_ENDIAN */ -+#endif /* not __IEEE_BIG_ENDIAN */ -+ -diff -urN newlib-1.14.0/newlib/libc/include/machine/setjmp.h newlib-1.14.0.spe/newlib/libc/include/machine/setjmp.h ---- newlib-1.14.0/newlib/libc/include/machine/setjmp.h 2005-12-13 23:57:31.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/include/machine/setjmp.h 2006-06-11 02:19:17.000000000 +0200 -@@ -204,6 +204,11 @@ - #define _JBLEN 16 - #endif - -+#ifdef __SPU__ -+#define _JBLEN 116 -+#define _JBTYPE __attribute__ (( __vectorsize__ (16) )) int -+#endif -+ - #ifdef __xstormy16__ - /* 4 GPRs plus SP plus PC. */ - #define _JBLEN 8 -diff -urN newlib-1.14.0/newlib/libc/include/machine/setjmp.h.orig newlib-1.14.0.spe/newlib/libc/include/machine/setjmp.h.orig ---- newlib-1.14.0/newlib/libc/include/machine/setjmp.h.orig 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/include/machine/setjmp.h.orig 2005-12-13 23:57:31.000000000 +0100 -@@ -0,0 +1,286 @@ -+ -+_BEGIN_STD_C -+ -+#if defined(__arm__) || defined(__thumb__) -+/* -+ * All callee preserved registers: -+ * v1 - v7, fp, ip, sp, lr, f4, f5, f6, f7 -+ */ -+#define _JBLEN 23 -+#endif -+ -+#if defined(__AVR__) -+#define _JBLEN 24 -+#endif -+ -+#ifdef __sparc__ -+/* -+ * onsstack,sigmask,sp,pc,npc,psr,g1,o0,wbcnt (sigcontext). -+ * All else recovered by under/over(flow) handling. -+ */ -+#define _JBLEN 13 -+#endif -+ -+/* necv70 was 9 as well. */ -+ -+#ifdef __mc68000__ -+/* -+ * onsstack,sigmask,sp,pc,psl,d2-d7,a2-a6, -+ * fp2-fp7 for 68881. -+ * All else recovered by under/over(flow) handling. -+ */ -+#define _JBLEN 34 -+#endif -+ -+#if defined(__mc68hc11__) || defined(__mc68hc12__) || defined(__mc68hc1x__) -+/* -+ * D, X, Y are not saved. -+ * Only take into account the pseudo soft registers (max 32). -+ */ -+#define _JBLEN 32 -+#endif -+ -+#if defined(__Z8001__) || defined(__Z8002__) -+/* 16 regs + pc */ -+#define _JBLEN 20 -+#endif -+ -+#ifdef _AM29K -+/* -+ * onsstack,sigmask,sp,pc,npc,psr,g1,o0,wbcnt (sigcontext). -+ * All else recovered by under/over(flow) handling. -+ */ -+#define _JBLEN 9 -+#endif -+ -+#if defined(__CYGWIN__) && !defined (_JBLEN) -+#define _JBLEN (13 * 4) -+#elif defined (__i386__) -+#if defined(__unix__) || defined(__rtems__) -+# define _JBLEN 9 -+#else -+#include "setjmp-dj.h" -+#endif -+#endif -+ -+#ifdef __i960__ -+#define _JBLEN 35 -+#endif -+ -+#ifdef __M32R__ -+/* Only 8 words are currently needed. 10 gives us some slop if we need -+ to expand. */ -+#define _JBLEN 10 -+#endif -+ -+#ifdef __mips__ -+#ifdef __mips64 -+#define _JBTYPE long long -+#endif -+#ifdef __mips_soft_float -+#define _JBLEN 11 -+#else -+#define _JBLEN 23 -+#endif -+#endif -+ -+#ifdef __m88000__ -+#define _JBLEN 21 -+#endif -+ -+#ifdef __H8300__ -+#define _JBLEN 5 -+#define _JBTYPE int -+#endif -+ -+#ifdef __H8300H__ -+/* same as H8/300 but registers are twice as big */ -+#define _JBLEN 5 -+#define _JBTYPE long -+#endif -+ -+#if defined (__H8300S__) || defined (__H8300SX__) -+/* same as H8/300 but registers are twice as big */ -+#define _JBLEN 5 -+#define _JBTYPE long -+#endif -+ -+#ifdef __H8500__ -+#define _JBLEN 4 -+#endif -+ -+#ifdef __sh__ -+#if __SH5__ -+#define _JBLEN 50 -+#define _JBTYPE long long -+#else -+#define _JBLEN 20 -+#endif /* __SH5__ */ -+#endif -+ -+#ifdef __v800 -+#define _JBLEN 28 -+#endif -+ -+#ifdef __PPC__ -+#ifdef __ALTIVEC__ -+#define _JBLEN 64 -+#else -+#define _JBLEN 32 -+#endif -+#define _JBTYPE double -+#endif -+ -+#ifdef __hppa__ -+/* %r30, %r2-%r18, %r27, pad, %fr12-%fr15. -+ Note space exists for the FP registers, but they are not -+ saved. */ -+#define _JBLEN 28 -+#endif -+ -+#if defined(__mn10300__) || defined(__mn10200__) -+#ifdef __AM33_2__ -+#define _JBLEN 26 -+#else -+/* A guess */ -+#define _JBLEN 10 -+#endif -+#endif -+ -+#ifdef __v850 -+/* I think our setjmp is saving 15 regs at the moment. Gives us one word -+ slop if we need to expand. */ -+#define _JBLEN 16 -+#endif -+ -+#if defined(_C4x) -+#define _JBLEN 10 -+#endif -+#if defined(_C3x) -+#define _JBLEN 9 -+#endif -+ -+#ifdef __TIC80__ -+#define _JBLEN 13 -+#endif -+ -+#ifdef __D10V__ -+#define _JBLEN 8 -+#endif -+ -+#ifdef __D30V__ -+#define _JBLEN ((64 /* GPR */ + (2*2) /* ACs */ + 18 /* CRs */) / 2) -+#define _JBTYPE double -+#endif -+ -+#ifdef __frv__ -+#define _JBLEN (68/2) /* room for 68 32-bit regs */ -+#define _JBTYPE double -+#endif -+ -+#ifdef __CRX__ -+#define _JBLEN 9 -+#endif -+ -+#ifdef __fr30__ -+#define _JBLEN 10 -+#endif -+ -+#ifdef __iq2000__ -+#define _JBLEN 32 -+#endif -+ -+#ifdef __mcore__ -+#define _JBLEN 16 -+#endif -+ -+#ifdef __MMIX__ -+/* Using a layout compatible with GCC's built-in. */ -+#define _JBLEN 5 -+#define _JBTYPE unsigned long -+#endif -+ -+#ifdef __mt__ -+#define _JBLEN 16 -+#endif -+ -+#ifdef __xstormy16__ -+/* 4 GPRs plus SP plus PC. */ -+#define _JBLEN 8 -+#endif -+ -+#ifdef __CRIS__ -+#define _JBLEN 18 -+#endif -+ -+#ifdef __m32c__ -+#if defined(__r8c_cpu__) || defined(__m16c_cpu__) -+#define _JBLEN (22/2) -+#else -+#define _JBLEN (34/2) -+#endif -+#define _JBTYPE unsigned short -+#endif /* __m32c__ */ -+ -+#ifdef _JBLEN -+#ifdef _JBTYPE -+typedef _JBTYPE jmp_buf[_JBLEN]; -+#else -+typedef int jmp_buf[_JBLEN]; -+#endif -+#endif -+ -+_END_STD_C -+ -+#if defined(__CYGWIN__) || defined(__rtems__) -+#include <signal.h> -+ -+#ifdef __cplusplus -+extern "C" { -+#endif -+ -+/* POSIX sigsetjmp/siglongjmp macros */ -+typedef int sigjmp_buf[_JBLEN+2]; -+ -+#define _SAVEMASK _JBLEN -+#define _SIGMASK (_JBLEN+1) -+ -+#ifdef __CYGWIN__ -+# define _CYGWIN_WORKING_SIGSETJMP -+#endif -+ -+#if defined(__GNUC__) -+ -+#define sigsetjmp(env, savemask) \ -+ ({ \ -+ sigjmp_buf *_sjbuf = &(env); \ -+ ((*_sjbuf)[_SAVEMASK] = savemask,\ -+ sigprocmask (SIG_SETMASK, 0, (sigset_t *)((*_sjbuf) + _SIGMASK)),\ -+ setjmp (*_sjbuf)); \ -+ }) -+ -+#define siglongjmp(env, val) \ -+ ({ \ -+ sigjmp_buf *_sjbuf = &(env); \ -+ ((((*_sjbuf)[_SAVEMASK]) ? \ -+ sigprocmask (SIG_SETMASK, (sigset_t *)((*_sjbuf) + _SIGMASK), 0)\ -+ : 0), \ -+ longjmp (*_sjbuf, val)); \ -+ }) -+ -+#else /* !__GNUC__ */ -+ -+#define sigsetjmp(env, savemask) ((env)[_SAVEMASK] = savemask,\ -+ sigprocmask (SIG_SETMASK, 0, (sigset_t *) ((env) + _SIGMASK)),\ -+ setjmp (env)) -+ -+#define siglongjmp(env, val) ((((env)[_SAVEMASK])?\ -+ sigprocmask (SIG_SETMASK, (sigset_t *) ((env) + _SIGMASK), 0):0),\ -+ longjmp (env, val)) -+ -+#endif -+ -+#ifdef __cplusplus -+} -+#endif -+#endif /* __CYGWIN__ or __rtems__ */ -diff -urN newlib-1.14.0/newlib/libc/include/sys/config.h newlib-1.14.0.spe/newlib/libc/include/sys/config.h ---- newlib-1.14.0/newlib/libc/include/sys/config.h 2005-08-10 22:35:13.000000000 +0200 -+++ newlib-1.14.0.spe/newlib/libc/include/sys/config.h 2006-06-11 02:19:17.000000000 +0200 -@@ -122,6 +122,10 @@ - #endif /* __m32c__ */ - - -+#ifdef __SPU__ -+#define MALLOC_ALIGNMENT 16 -+#endif -+ - /* This block should be kept in sync with GCC's limits.h. The point - of having these definitions here is to not include limits.h, which - would pollute the user namespace, while still using types of the -diff -urN newlib-1.14.0/newlib/libc/include/sys/config.h.orig newlib-1.14.0.spe/newlib/libc/include/sys/config.h.orig ---- newlib-1.14.0/newlib/libc/include/sys/config.h.orig 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/include/sys/config.h.orig 2005-08-10 22:35:13.000000000 +0200 -@@ -0,0 +1,192 @@ -+#ifndef __SYS_CONFIG_H__ -+#define __SYS_CONFIG_H__ -+ -+#include <machine/ieeefp.h> /* floating point macros */ -+ -+/* exceptions first */ -+#if defined(__H8500__) || defined(__W65__) -+#define __SMALL_BITFIELDS -+/* ??? This conditional is true for the h8500 and the w65, defining H8300 -+ in those cases probably isn't the right thing to do. */ -+#define H8300 1 -+#endif -+ -+/* 16 bit integer machines */ -+#if defined(__Z8001__) || defined(__Z8002__) || defined(__H8500__) || defined(__W65__) || defined (__mn10200__) || defined (__AVR__) -+ -+#undef INT_MAX -+#undef UINT_MAX -+#define INT_MAX 32767 -+#define UINT_MAX 65535 -+#endif -+ -+#if defined (__H8300__) || defined (__H8300H__) || defined(__H8300S__) || defined (__H8300SX__) -+#define __SMALL_BITFIELDS -+#define H8300 1 -+#undef INT_MAX -+#undef UINT_MAX -+#define INT_MAX __INT_MAX__ -+#define UINT_MAX (__INT_MAX__ * 2U + 1) -+#endif -+ -+#ifdef __W65__ -+#define __SMALL_BITFIELDS -+#endif -+ -+#if defined(__D10V__) -+#define __SMALL_BITFIELDS -+#undef INT_MAX -+#undef UINT_MAX -+#define INT_MAX __INT_MAX__ -+#define UINT_MAX (__INT_MAX__ * 2U + 1) -+#define _POINTER_INT short -+#endif -+ -+#if defined(__mc68hc11__) || defined(__mc68hc12__) || defined(__mc68hc1x__) -+#undef INT_MAX -+#undef UINT_MAX -+#define INT_MAX __INT_MAX__ -+#define UINT_MAX (__INT_MAX__ * 2U + 1) -+#define _POINTER_INT short -+#endif -+ -+#ifdef ___AM29K__ -+#define _FLOAT_RET double -+#endif -+ -+#ifdef __i386__ -+#ifndef __unix__ -+/* in other words, go32 */ -+#define _FLOAT_RET double -+#endif -+#ifdef __linux__ -+/* we want the reentrancy structure to be returned by a function */ -+#define __DYNAMIC_REENT__ -+#define HAVE_GETDATE -+#define _HAVE_SYSTYPES -+#define _READ_WRITE_RETURN_TYPE _ssize_t -+#define __LARGE64_FILES 1 -+/* we use some glibc header files so turn on glibc large file feature */ -+#define _LARGEFILE64_SOURCE 1 -+#endif -+#endif -+ -+#ifdef __mn10200__ -+#define __SMALL_BITFIELDS -+#endif -+ -+#ifdef __AVR__ -+#define __SMALL_BITFIELDS -+#define _POINTER_INT short -+#endif -+ -+#ifdef __v850 -+#define __ATTRIBUTE_IMPURE_PTR__ __attribute__((__sda__)) -+#endif -+ -+/* For the PowerPC eabi, force the _impure_ptr to be in .sdata */ -+#if defined(__PPC__) -+#if defined(_CALL_SYSV) -+#define __ATTRIBUTE_IMPURE_PTR__ __attribute__((__section__(".sdata"))) -+#endif -+#ifdef __SPE__ -+#define _LONG_DOUBLE double -+#endif -+#endif -+ -+#ifdef __xstormy16__ -+#define __SMALL_BITFIELDS -+#undef INT_MAX -+#undef UINT_MAX -+#define INT_MAX __INT_MAX__ -+#define UINT_MAX (__INT_MAX__ * 2U + 1) -+#define MALLOC_ALIGNMENT 8 -+#define _POINTER_INT short -+#define __BUFSIZ__ 16 -+#define _REENT_SMALL -+#endif -+#ifdef __m32c__ -+#define __SMALL_BITFIELDS -+#undef INT_MAX -+#undef UINT_MAX -+#define INT_MAX __INT_MAX__ -+#define UINT_MAX (__INT_MAX__ * 2U + 1) -+#define MALLOC_ALIGNMENT 8 -+#if defined(__r8c_cpu__) || defined(__m16c_cpu__) -+#define _POINTER_INT short -+#else -+#define _POINTER_INT long -+#endif -+#define __BUFSIZ__ 16 -+#define _REENT_SMALL -+#endif /* __m32c__ */ -+ -+ -+/* This block should be kept in sync with GCC's limits.h. The point -+ of having these definitions here is to not include limits.h, which -+ would pollute the user namespace, while still using types of the -+ the correct widths when deciding how to define __int32_t and -+ __int64_t. */ -+#ifndef __INT_MAX__ -+# ifdef INT_MAX -+# define __INT_MAX__ INT_MAX -+# else -+# define __INT_MAX__ 2147483647 -+# endif -+#endif -+ -+#ifndef __LONG_MAX__ -+# ifdef LONG_MAX -+# define __LONG_MAX__ LONG_MAX -+# else -+# if defined (__alpha__) || (defined (__sparc__) && defined(__arch64__)) \ -+ || defined (__sparcv9) -+# define __LONG_MAX__ 9223372036854775807L -+# else -+# define __LONG_MAX__ 2147483647L -+# endif /* __alpha__ || sparc64 */ -+# endif -+#endif -+/* End of block that should be kept in sync with GCC's limits.h. */ -+ -+#ifndef _POINTER_INT -+#define _POINTER_INT long -+#endif -+ -+#ifdef __frv__ -+#define __ATTRIBUTE_IMPURE_PTR__ __attribute__((__section__(".sdata"))) -+#endif -+#undef __RAND_MAX -+#if __INT_MAX__ == 32767 -+#define __RAND_MAX 32767 -+#else -+#define __RAND_MAX 0x7fffffff -+#endif -+ -+#if defined(__CYGWIN__) -+#include <cygwin/config.h> -+#endif -+ -+#if defined(__rtems__) -+#define __FILENAME_MAX__ 255 -+#define _READ_WRITE_RETURN_TYPE _ssize_t -+#endif -+ -+#ifndef __IMPORT -+#define __IMPORT -+#endif -+ -+/* Define return type of read/write routines. In POSIX, the return type -+ for read()/write() is "ssize_t" but legacy newlib code has been using -+ "int" for some time. If not specified, "int" is defaulted. */ -+#ifndef _READ_WRITE_RETURN_TYPE -+#define _READ_WRITE_RETURN_TYPE int -+#endif -+ -+#ifndef __WCHAR_MAX__ -+#if __INT_MAX__ == 32767 || defined (_WIN32) -+#define __WCHAR_MAX__ 0xffffu -+#endif -+#endif -+ -+#endif /* __SYS_CONFIG_H__ */ -diff -urN newlib-1.14.0/newlib/libc/include/sys/types.h newlib-1.14.0.spe/newlib/libc/include/sys/types.h ---- newlib-1.14.0/newlib/libc/include/sys/types.h 2005-12-08 20:45:43.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/include/sys/types.h 2006-06-11 02:19:17.000000000 +0200 -@@ -132,9 +132,13 @@ - #ifdef __sparc__ - typedef unsigned long ino_t; - #else -+#ifdef __SPU__ -+typedef unsigned long ino_t; -+#else - typedef unsigned short ino_t; - #endif - #endif -+#endif - #endif /*__CYGWIN__*/ - - #ifdef __MS_types__ -diff -urN newlib-1.14.0/newlib/libc/include/sys/types.h.orig newlib-1.14.0.spe/newlib/libc/include/sys/types.h.orig ---- newlib-1.14.0/newlib/libc/include/sys/types.h.orig 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/include/sys/types.h.orig 2005-12-08 20:45:43.000000000 +0100 -@@ -0,0 +1,380 @@ -+/* unified sys/types.h: -+ start with sef's sysvi386 version. -+ merge go32 version -- a few ifdefs. -+ h8300hms, h8300xray, and sysvnecv70 disagree on the following types: -+ -+ typedef int gid_t; -+ typedef int uid_t; -+ typedef int dev_t; -+ typedef int ino_t; -+ typedef int mode_t; -+ typedef int caddr_t; -+ -+ however, these aren't "reasonable" values, the sysvi386 ones make far -+ more sense, and should work sufficiently well (in particular, h8300 -+ doesn't have a stat, and the necv70 doesn't matter.) -- eichin -+ */ -+ -+#ifndef _SYS_TYPES_H -+ -+#include <_ansi.h> -+ -+#ifndef __INTTYPES_DEFINED__ -+#define __INTTYPES_DEFINED__ -+ -+#include <machine/_types.h> -+ -+#if defined(__rtems__) -+/* -+ * The following section is RTEMS specific and is needed to more -+ * closely match the types defined in the BSD sys/types.h. -+ * This is needed to let the RTEMS/BSD TCP/IP stack compile. -+ */ -+ -+/* deprecated */ -+#if ___int8_t_defined -+typedef __uint8_t u_int8_t; -+#endif -+#if ___int16_t_defined -+typedef __uint16_t u_int16_t; -+#endif -+#if ___int32_t_defined -+typedef __uint32_t u_int32_t; -+#endif -+ -+#if ___int64_t_defined -+typedef __uint64_t u_int64_t; -+ -+/* deprecated */ -+typedef __uint64_t u_quad_t; -+typedef __int64_t quad_t; -+typedef quad_t * qaddr_t; -+#endif -+ -+#endif -+ -+#endif /* ! __INTTYPES_DEFINED */ -+ -+#ifndef __need_inttypes -+ -+#define _SYS_TYPES_H -+#include <sys/_types.h> -+ -+#ifdef __i386__ -+#if defined (GO32) || defined (__MSDOS__) -+#define __MS_types__ -+#endif -+#endif -+ -+# include <stddef.h> -+# include <machine/types.h> -+ -+/* To ensure the stat struct's layout doesn't change when sizeof(int), etc. -+ changes, we assume sizeof short and long never change and have all types -+ used to define struct stat use them and not int where possible. -+ Where not possible, _ST_INTxx are used. It would be preferable to not have -+ such assumptions, but until the extra fluff is necessary, it's avoided. -+ No 64 bit targets use stat yet. What to do about them is postponed -+ until necessary. */ -+#ifdef __GNUC__ -+#define _ST_INT32 __attribute__ ((__mode__ (__SI__))) -+#else -+#define _ST_INT32 -+#endif -+ -+# ifndef _POSIX_SOURCE -+ -+# define physadr physadr_t -+# define quad quad_t -+ -+#ifndef _BSDTYPES_DEFINED -+/* also defined in mingw/gmon.h and in w32api/winsock[2].h */ -+typedef unsigned char u_char; -+typedef unsigned short u_short; -+typedef unsigned int u_int; -+typedef unsigned long u_long; -+#define _BSDTYPES_DEFINED -+#endif -+ -+typedef unsigned short ushort; /* System V compatibility */ -+typedef unsigned int uint; /* System V compatibility */ -+# endif /*!_POSIX_SOURCE */ -+ -+#ifndef __clock_t_defined -+typedef _CLOCK_T_ clock_t; -+#define __clock_t_defined -+#endif -+ -+#ifndef __time_t_defined -+typedef _TIME_T_ time_t; -+#define __time_t_defined -+ -+/* Time Value Specification Structures, P1003.1b-1993, p. 261 */ -+ -+struct timespec { -+ time_t tv_sec; /* Seconds */ -+ long tv_nsec; /* Nanoseconds */ -+}; -+ -+struct itimerspec { -+ struct timespec it_interval; /* Timer period */ -+ struct timespec it_value; /* Timer expiration */ -+}; -+#endif -+ -+typedef long daddr_t; -+typedef char * caddr_t; -+ -+#ifndef __CYGWIN__ -+#if defined(__MS_types__) || defined(__rtems__) -+typedef unsigned long ino_t; -+#else -+#ifdef __sparc__ -+typedef unsigned long ino_t; -+#else -+typedef unsigned short ino_t; -+#endif -+#endif -+#endif /*__CYGWIN__*/ -+ -+#ifdef __MS_types__ -+typedef unsigned long vm_offset_t; -+typedef unsigned long vm_size_t; -+ -+#define __BIT_TYPES_DEFINED__ -+ -+typedef signed char int8_t; -+typedef unsigned char u_int8_t; -+typedef short int16_t; -+typedef unsigned short u_int16_t; -+typedef int int32_t; -+typedef unsigned int u_int32_t; -+typedef long long int64_t; -+typedef unsigned long long u_int64_t; -+typedef int32_t register_t; -+#endif /* __MS_types__ */ -+ -+/* -+ * All these should be machine specific - right now they are all broken. -+ * However, for all of Cygnus' embedded targets, we want them to all be -+ * the same. Otherwise things like sizeof (struct stat) might depend on -+ * how the file was compiled (e.g. -mint16 vs -mint32, etc.). -+ */ -+ -+#if defined(__rtems__) -+/* device numbers are 32-bit major and and 32-bit minor */ -+typedef unsigned long long dev_t; -+#else -+#ifndef __CYGWIN__ -+typedef short dev_t; -+#endif -+#endif -+ -+#ifndef __CYGWIN__ /* which defines these types in it's own types.h. */ -+typedef long off_t; -+ -+typedef unsigned short uid_t; -+typedef unsigned short gid_t; -+#endif -+ -+typedef int pid_t; -+#ifndef __CYGWIN__ -+typedef long key_t; -+#endif -+typedef _ssize_t ssize_t; -+ -+#ifndef __CYGWIN__ -+#ifdef __MS_types__ -+typedef char * addr_t; -+typedef int mode_t; -+#else -+#if defined (__sparc__) && !defined (__sparc_v9__) -+#ifdef __svr4__ -+typedef unsigned long mode_t; -+#else -+typedef unsigned short mode_t; -+#endif -+#else -+typedef unsigned int mode_t _ST_INT32; -+#endif -+#endif /* ! __MS_types__ */ -+#endif /*__CYGWIN__*/ -+ -+typedef unsigned short nlink_t; -+ -+/* We don't define fd_set and friends if we are compiling POSIX -+ source, or if we have included (or may include as indicated -+ by __USE_W32_SOCKETS) the W32api winsock[2].h header which -+ defines Windows versions of them. Note that a program which -+ includes the W32api winsock[2].h header must know what it is doing; -+ it must not call the cygwin32 select function. -+*/ -+# if !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS)) -+# define _SYS_TYPES_FD_SET -+# define NBBY 8 /* number of bits in a byte */ -+/* -+ * Select uses bit masks of file descriptors in longs. -+ * These macros manipulate such bit fields (the filesystem macros use chars). -+ * FD_SETSIZE may be defined by the user, but the default here -+ * should be >= NOFILE (param.h). -+ */ -+# ifndef FD_SETSIZE -+# define FD_SETSIZE 64 -+# endif -+ -+typedef long fd_mask; -+# define NFDBITS (sizeof (fd_mask) * NBBY) /* bits per mask */ -+# ifndef howmany -+# define howmany(x,y) (((x)+((y)-1))/(y)) -+# endif -+ -+/* We use a macro for fd_set so that including Sockets.h afterwards -+ can work. */ -+typedef struct _types_fd_set { -+ fd_mask fds_bits[howmany(FD_SETSIZE, NFDBITS)]; -+} _types_fd_set; -+ -+#define fd_set _types_fd_set -+ -+# define FD_SET(n, p) ((p)->fds_bits[(n)/NFDBITS] |= (1L << ((n) % NFDBITS))) -+# define FD_CLR(n, p) ((p)->fds_bits[(n)/NFDBITS] &= ~(1L << ((n) % NFDBITS))) -+# define FD_ISSET(n, p) ((p)->fds_bits[(n)/NFDBITS] & (1L << ((n) % NFDBITS))) -+# define FD_ZERO(p) (__extension__ (void)({ \ -+ size_t __i; \ -+ char *__tmp = (char *)p; \ -+ for (__i = 0; __i < sizeof (*(p)); ++__i) \ -+ *__tmp++ = 0; \ -+})) -+ -+# endif /* !(defined (_POSIX_SOURCE) || defined (_WINSOCK_H) || defined (__USE_W32_SOCKETS)) */ -+ -+#undef __MS_types__ -+#undef _ST_INT32 -+ -+ -+#ifndef __clockid_t_defined -+typedef _CLOCKID_T_ clockid_t; -+#define __clockid_t_defined -+#endif -+ -+#ifndef __timer_t_defined -+typedef _TIMER_T_ timer_t; -+#define __timer_t_defined -+#endif -+ -+typedef long useconds_t; -+ -+#include <sys/features.h> -+ -+ -+/* Cygwin will probably never have full posix compliance due to little things -+ * like an inability to set the stackaddress. Cygwin is also using void * -+ * pointers rather than structs to ensure maximum binary compatability with -+ * previous releases. -+ * This means that we don't use the types defined here, but rather in -+ * <cygwin/types.h> -+ */ -+#if defined(_POSIX_THREADS) && !defined(__CYGWIN__) -+ -+#include <sys/sched.h> -+ -+/* -+ * 2.5 Primitive System Data Types, P1003.1c/D10, p. 19. -+ */ -+ -+typedef __uint32_t pthread_t; /* identify a thread */ -+ -+/* P1003.1c/D10, p. 118-119 */ -+#define PTHREAD_SCOPE_PROCESS 0 -+#define PTHREAD_SCOPE_SYSTEM 1 -+ -+/* P1003.1c/D10, p. 111 */ -+#define PTHREAD_INHERIT_SCHED 1 /* scheduling policy and associated */ -+ /* attributes are inherited from */ -+ /* the calling thread. */ -+#define PTHREAD_EXPLICIT_SCHED 2 /* set from provided attribute object */ -+ -+/* P1003.1c/D10, p. 141 */ -+#define PTHREAD_CREATE_DETACHED 0 -+#define PTHREAD_CREATE_JOINABLE 1 -+ -+typedef struct { -+ int is_initialized; -+ void *stackaddr; -+ int stacksize; -+ int contentionscope; -+ int inheritsched; -+ int schedpolicy; -+ struct sched_param schedparam; -+ -+ /* P1003.4b/D8, p. 54 adds cputime_clock_allowed attribute. */ -+#if defined(_POSIX_THREAD_CPUTIME) -+ int cputime_clock_allowed; /* see time.h */ -+#endif -+ int detachstate; -+ -+} pthread_attr_t; -+ -+#if defined(_POSIX_THREAD_PROCESS_SHARED) -+/* NOTE: P1003.1c/D10, p. 81 defines following values for process_shared. */ -+ -+#define PTHREAD_PROCESS_PRIVATE 0 /* visible within only the creating process */ -+#define PTHREAD_PROCESS_SHARED 1 /* visible too all processes with access to */ -+ /* the memory where the resource is */ -+ /* located */ -+#endif -+ -+#if defined(_POSIX_THREAD_PRIO_PROTECT) -+/* Mutexes */ -+ -+/* Values for blocking protocol. */ -+ -+#define PTHREAD_PRIO_NONE 0 -+#define PTHREAD_PRIO_INHERIT 1 -+#define PTHREAD_PRIO_PROTECT 2 -+#endif -+ -+typedef __uint32_t pthread_mutex_t; /* identify a mutex */ -+ -+typedef struct { -+ int is_initialized; -+#if defined(_POSIX_THREAD_PROCESS_SHARED) -+ int process_shared; /* allow mutex to be shared amongst processes */ -+#endif -+#if defined(_POSIX_THREAD_PRIO_PROTECT) -+ int prio_ceiling; -+ int protocol; -+#endif -+ int recursive; -+} pthread_mutexattr_t; -+ -+/* Condition Variables */ -+ -+typedef __uint32_t pthread_cond_t; /* identify a condition variable */ -+ -+typedef struct { -+ int is_initialized; -+#if defined(_POSIX_THREAD_PROCESS_SHARED) -+ int process_shared; /* allow this to be shared amongst processes */ -+#endif -+} pthread_condattr_t; /* a condition attribute object */ -+ -+/* Keys */ -+ -+typedef __uint32_t pthread_key_t; /* thread-specific data keys */ -+ -+typedef struct { -+ int is_initialized; /* is this structure initialized? */ -+ int init_executed; /* has the initialization routine been run? */ -+} pthread_once_t; /* dynamic package initialization */ -+#else -+#if defined (__CYGWIN__) -+#include <cygwin/types.h> -+#endif -+#endif /* defined(_POSIX_THREADS) */ -+ -+#endif /* !__need_inttypes */ -+ -+#undef __need_inttypes -+ -+#endif /* _SYS_TYPES_H */ -diff -urN newlib-1.14.0/newlib/libc/machine/spu/Makefile.am newlib-1.14.0.spe/newlib/libc/machine/spu/Makefile.am ---- newlib-1.14.0/newlib/libc/machine/spu/Makefile.am 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/machine/spu/Makefile.am 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,17 @@ -+## Process this file with automake to generate Makefile.in -+ -+AUTOMAKE_OPTIONS = cygnus -+ -+INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) -+ -+noinst_LIBRARIES = lib.a -+ -+lib_a_SOURCES = setjmp.S -+lib_a_LIBADD = @extra_objs@ -+EXTRA_lib_a_SOURCES = @extra_sources@ -+lib_a_DEPENDENCIES = @extra_objs@ -+ -+ACLOCAL_AMFLAGS = -I ../../.. -+AM_CFLAGS = -I $(srcdir)/../../stdio -I $(srcdir)/../../stdlib -+CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host -+ -diff -urN newlib-1.14.0/newlib/libc/machine/spu/Makefile.in newlib-1.14.0.spe/newlib/libc/machine/spu/Makefile.in ---- newlib-1.14.0/newlib/libc/machine/spu/Makefile.in 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/machine/spu/Makefile.in 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,333 @@ -+# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am -+ -+# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. -+# This Makefile.in is free software; the Free Software Foundation -+# gives unlimited permission to copy and/or distribute it, -+# with or without modifications, as long as this notice is preserved. -+ -+# This program is distributed in the hope that it will be useful, -+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -+# PARTICULAR PURPOSE. -+ -+ -+SHELL = @SHELL@ -+ -+srcdir = @srcdir@ -+top_srcdir = @top_srcdir@ -+VPATH = @srcdir@ -+prefix = @prefix@ -+exec_prefix = @exec_prefix@ -+ -+bindir = @bindir@ -+sbindir = @sbindir@ -+libexecdir = @libexecdir@ -+datadir = @datadir@ -+sysconfdir = @sysconfdir@ -+sharedstatedir = @sharedstatedir@ -+localstatedir = @localstatedir@ -+libdir = @libdir@ -+infodir = @infodir@ -+mandir = @mandir@ -+includedir = @includedir@ -+oldincludedir = /usr/include -+ -+DESTDIR = -+ -+pkgdatadir = $(datadir)/@PACKAGE@ -+pkglibdir = $(libdir)/@PACKAGE@ -+pkgincludedir = $(includedir)/@PACKAGE@ -+ -+top_builddir = . -+ -+ACLOCAL = @ACLOCAL@ -+AUTOCONF = @AUTOCONF@ -+AUTOMAKE = @AUTOMAKE@ -+AUTOHEADER = @AUTOHEADER@ -+ -+INSTALL = @INSTALL@ -+INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) -+INSTALL_DATA = @INSTALL_DATA@ -+INSTALL_SCRIPT = @INSTALL_SCRIPT@ -+transform = @program_transform_name@ -+ -+NORMAL_INSTALL = : -+PRE_INSTALL = : -+POST_INSTALL = : -+NORMAL_UNINSTALL = : -+PRE_UNINSTALL = : -+POST_UNINSTALL = : -+build_alias = @build_alias@ -+build_triplet = @build@ -+host_alias = @host_alias@ -+host_triplet = @host@ -+target_alias = @target_alias@ -+target_triplet = @target@ -+AR = @AR@ -+AS = @AS@ -+CC = @CC@ -+CPP = @CPP@ -+EXEEXT = @EXEEXT@ -+LDFLAGS = @LDFLAGS@ -+MAINT = @MAINT@ -+MAKEINFO = @MAKEINFO@ -+NEWLIB_CFLAGS = @NEWLIB_CFLAGS@ -+OBJEXT = @OBJEXT@ -+PACKAGE = @PACKAGE@ -+RANLIB = @RANLIB@ -+VERSION = @VERSION@ -+aext = @aext@ -+extra_objs = @extra_objs@ -+extra_sources = @extra_sources@ -+libm_machine_dir = @libm_machine_dir@ -+machine_dir = @machine_dir@ -+newlib_basedir = @newlib_basedir@ -+oext = @oext@ -+sys_dir = @sys_dir@ -+ -+AUTOMAKE_OPTIONS = cygnus -+ -+INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) -+ -+noinst_LIBRARIES = lib.a -+ -+lib_a_SOURCES = setjmp.S -+lib_a_LIBADD = @extra_objs@ -+EXTRA_lib_a_SOURCES = @extra_sources@ -+lib_a_DEPENDENCIES = @extra_objs@ -+ -+ACLOCAL_AMFLAGS = -I ../../.. -+AM_CFLAGS = -I $(srcdir)/../../stdio -I $(srcdir)/../../stdlib -+CONFIG_STATUS_DEPENDENCIES = $(newlib_basedir)/configure.host -+ -+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -+mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../mkinstalldirs -+CONFIG_CLEAN_FILES = -+LIBRARIES = $(noinst_LIBRARIES) -+ -+ -+DEFS = @DEFS@ -I. -I$(srcdir) -+CPPFLAGS = @CPPFLAGS@ -+LIBS = @LIBS@ -+lib_a_OBJECTS = setjmp.o -+CFLAGS = @CFLAGS@ -+COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -+CCLD = $(CC) -+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ -+DIST_COMMON = Makefile.am Makefile.in aclocal.m4 configure configure.in -+ -+ -+DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) -+ -+TAR = gtar -+GZIP_ENV = --best -+SOURCES = $(lib_a_SOURCES) $(EXTRA_lib_a_SOURCES) -+OBJECTS = $(lib_a_OBJECTS) -+ -+all: all-redirect -+.SUFFIXES: -+.SUFFIXES: .S .c .o .s -+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) -+ cd $(top_srcdir) && $(AUTOMAKE) --cygnus Makefile -+ -+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -+ cd $(top_builddir) \ -+ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status -+ -+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in \ -+ ../../../acinclude.m4 ../../../aclocal.m4 \ -+ ../../../libtool.m4 -+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) -+ -+config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) -+ $(SHELL) ./config.status --recheck -+$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) -+ cd $(srcdir) && $(AUTOCONF) -+ -+mostlyclean-noinstLIBRARIES: -+ -+clean-noinstLIBRARIES: -+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) -+ -+distclean-noinstLIBRARIES: -+ -+maintainer-clean-noinstLIBRARIES: -+ -+.c.o: -+ $(COMPILE) -c $< -+ -+.s.o: -+ $(COMPILE) -c $< -+ -+.S.o: -+ $(COMPILE) -c $< -+ -+mostlyclean-compile: -+ -rm -f *.o core *.core -+ -+clean-compile: -+ -+distclean-compile: -+ -rm -f *.tab.c -+ -+maintainer-clean-compile: -+ -+lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES) -+ -rm -f lib.a -+ $(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD) -+ $(RANLIB) lib.a -+ -+tags: TAGS -+ -+ID: $(HEADERS) $(SOURCES) $(LISP) -+ list='$(SOURCES) $(HEADERS)'; \ -+ unique=`for i in $$list; do echo $$i; done | \ -+ awk ' { files[$$0] = 1; } \ -+ END { for (i in files) print i; }'`; \ -+ here=`pwd` && cd $(srcdir) \ -+ && mkid -f$$here/ID $$unique $(LISP) -+ -+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) -+ tags=; \ -+ here=`pwd`; \ -+ list='$(SOURCES) $(HEADERS)'; \ -+ unique=`for i in $$list; do echo $$i; done | \ -+ awk ' { files[$$0] = 1; } \ -+ END { for (i in files) print i; }'`; \ -+ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ -+ || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) -+ -+mostlyclean-tags: -+ -+clean-tags: -+ -+distclean-tags: -+ -rm -f TAGS ID -+ -+maintainer-clean-tags: -+ -+distdir = $(PACKAGE)-$(VERSION) -+top_distdir = $(distdir) -+ -+# This target untars the dist file and tries a VPATH configuration. Then -+# it guarantees that the distribution is self-contained by making another -+# tarfile. -+distcheck: dist -+ -rm -rf $(distdir) -+ GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz -+ mkdir $(distdir)/=build -+ mkdir $(distdir)/=inst -+ dc_install_base=`cd $(distdir)/=inst && pwd`; \ -+ cd $(distdir)/=build \ -+ && ../configure --srcdir=.. --prefix=$$dc_install_base \ -+ && $(MAKE) $(AM_MAKEFLAGS) \ -+ && $(MAKE) $(AM_MAKEFLAGS) dvi \ -+ && $(MAKE) $(AM_MAKEFLAGS) check \ -+ && $(MAKE) $(AM_MAKEFLAGS) install \ -+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ -+ && $(MAKE) $(AM_MAKEFLAGS) dist -+ -rm -rf $(distdir) -+ @banner="$(distdir).tar.gz is ready for distribution"; \ -+ dashes=`echo "$$banner" | sed s/./=/g`; \ -+ echo "$$dashes"; \ -+ echo "$$banner"; \ -+ echo "$$dashes" -+dist: distdir -+ -chmod -R a+r $(distdir) -+ GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -+ -rm -rf $(distdir) -+dist-all: distdir -+ -chmod -R a+r $(distdir) -+ GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -+ -rm -rf $(distdir) -+distdir: $(DISTFILES) -+ -rm -rf $(distdir) -+ mkdir $(distdir) -+ -chmod 777 $(distdir) -+ @for file in $(DISTFILES); do \ -+ if test -f $$file; then d=.; else d=$(srcdir); fi; \ -+ if test -d $$d/$$file; then \ -+ cp -pr $$d/$$file $(distdir)/$$file; \ -+ else \ -+ test -f $(distdir)/$$file \ -+ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ -+ || cp -p $$d/$$file $(distdir)/$$file || :; \ -+ fi; \ -+ done -+info-am: -+info: info-am -+dvi-am: -+dvi: dvi-am -+check-am: -+check: check-am -+installcheck-am: -+installcheck: installcheck-am -+install-info-am: -+install-info: install-info-am -+install-exec-am: -+install-exec: install-exec-am -+ -+install-data-am: -+install-data: install-data-am -+ -+install-am: all-am -+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am -+install: install-am -+uninstall-am: -+uninstall: uninstall-am -+all-am: Makefile $(LIBRARIES) -+all-redirect: all-am -+install-strip: -+ $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install -+installdirs: -+ -+ -+mostlyclean-generic: -+ -+clean-generic: -+ -+distclean-generic: -+ -rm -f Makefile $(CONFIG_CLEAN_FILES) -+ -rm -f config.cache config.log stamp-h stamp-h[0-9]* -+ -+maintainer-clean-generic: -+mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \ -+ mostlyclean-tags mostlyclean-generic -+ -+mostlyclean: mostlyclean-am -+ -+clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \ -+ mostlyclean-am -+ -+clean: clean-am -+ -+distclean-am: distclean-noinstLIBRARIES distclean-compile \ -+ distclean-tags distclean-generic clean-am -+ -+distclean: distclean-am -+ -rm -f config.status -+ -+maintainer-clean-am: maintainer-clean-noinstLIBRARIES \ -+ maintainer-clean-compile maintainer-clean-tags \ -+ maintainer-clean-generic distclean-am -+ @echo "This command is intended for maintainers to use;" -+ @echo "it deletes files that may require special tools to rebuild." -+ -+maintainer-clean: maintainer-clean-am -+ -rm -f config.status -+ -+.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \ -+clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \ -+mostlyclean-compile distclean-compile clean-compile \ -+maintainer-clean-compile tags mostlyclean-tags distclean-tags \ -+clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ -+check-am installcheck-am installcheck install-info-am install-info \ -+install-exec-am install-exec install-data-am install-data install-am \ -+install uninstall-am uninstall all-redirect all-am all installdirs \ -+mostlyclean-generic distclean-generic clean-generic \ -+maintainer-clean-generic clean mostlyclean distclean maintainer-clean -+ -+ -+# Tell versions [3.59,3.63) of GNU make to not export all variables. -+# Otherwise a system limit (for SysV at least) may be exceeded. -+.NOEXPORT: -diff -urN newlib-1.14.0/newlib/libc/machine/spu/configure newlib-1.14.0.spe/newlib/libc/machine/spu/configure ---- newlib-1.14.0/newlib/libc/machine/spu/configure 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/machine/spu/configure 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,1913 @@ -+#! /bin/sh -+ -+# Guess values for system-dependent variables and create Makefiles. -+# Generated automatically using autoconf version 2.13 -+# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. -+# -+# This configure script is free software; the Free Software Foundation -+# gives unlimited permission to copy, distribute and modify it. -+ -+# Defaults: -+ac_help= -+ac_default_prefix=/usr/local -+# Any additions from configure.in: -+ac_help="$ac_help -+ --enable-multilib build many library versions (default)" -+ac_help="$ac_help -+ --enable-target-optspace optimize for space" -+ac_help="$ac_help -+ --enable-malloc-debugging indicate malloc debugging requested" -+ac_help="$ac_help -+ --enable-newlib-mb enable multibyte support" -+ac_help="$ac_help -+ --enable-newlib-iconv enable iconv library support" -+ac_help="$ac_help -+ --enable-newlib-builtin-converters enable specific comma-separated list of iconv converters to be built-in" -+ac_help="$ac_help -+ --enable-newlib-multithread enable support for multiple threads" -+ac_help="$ac_help -+ --enable-newlib-elix-level supply desired elix library level (1-4)" -+ac_help="$ac_help -+ --disable-newlib-io-float disable printf/scanf family float support" -+ac_help="$ac_help -+ --disable-newlib-supplied-syscalls disable newlib from supplying syscalls" -+ac_help="$ac_help -+ --enable-maintainer-mode enable make rules and dependencies not useful -+ (and sometimes confusing) to the casual installer" -+ -+# Initialize some variables set by options. -+# The variables have the same names as the options, with -+# dashes changed to underlines. -+build=NONE -+cache_file=./config.cache -+exec_prefix=NONE -+host=NONE -+no_create= -+nonopt=NONE -+no_recursion= -+prefix=NONE -+program_prefix=NONE -+program_suffix=NONE -+program_transform_name=s,x,x, -+silent= -+site= -+srcdir= -+target=NONE -+verbose= -+x_includes=NONE -+x_libraries=NONE -+bindir='${exec_prefix}/bin' -+sbindir='${exec_prefix}/sbin' -+libexecdir='${exec_prefix}/libexec' -+datadir='${prefix}/share' -+sysconfdir='${prefix}/etc' -+sharedstatedir='${prefix}/com' -+localstatedir='${prefix}/var' -+libdir='${exec_prefix}/lib' -+includedir='${prefix}/include' -+oldincludedir='/usr/include' -+infodir='${prefix}/info' -+mandir='${prefix}/man' -+ -+# Initialize some other variables. -+subdirs= -+MFLAGS= MAKEFLAGS= -+SHELL=${CONFIG_SHELL-/bin/sh} -+# Maximum number of lines to put in a shell here document. -+ac_max_here_lines=12 -+ -+ac_prev= -+for ac_option -+do -+ -+ # If the previous option needs an argument, assign it. -+ if test -n "$ac_prev"; then -+ eval "$ac_prev=\$ac_option" -+ ac_prev= -+ continue -+ fi -+ -+ case "$ac_option" in -+ -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; -+ *) ac_optarg= ;; -+ esac -+ -+ # Accept the important Cygnus configure options, so we can diagnose typos. -+ -+ case "$ac_option" in -+ -+ -bindir | --bindir | --bindi | --bind | --bin | --bi) -+ ac_prev=bindir ;; -+ -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) -+ bindir="$ac_optarg" ;; -+ -+ -build | --build | --buil | --bui | --bu) -+ ac_prev=build ;; -+ -build=* | --build=* | --buil=* | --bui=* | --bu=*) -+ build="$ac_optarg" ;; -+ -+ -cache-file | --cache-file | --cache-fil | --cache-fi \ -+ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) -+ ac_prev=cache_file ;; -+ -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ -+ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) -+ cache_file="$ac_optarg" ;; -+ -+ -datadir | --datadir | --datadi | --datad | --data | --dat | --da) -+ ac_prev=datadir ;; -+ -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ -+ | --da=*) -+ datadir="$ac_optarg" ;; -+ -+ -disable-* | --disable-*) -+ ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` -+ # Reject names that are not valid shell variable names. -+ if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then -+ { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } -+ fi -+ ac_feature=`echo $ac_feature| sed 's/-/_/g'` -+ eval "enable_${ac_feature}=no" ;; -+ -+ -enable-* | --enable-*) -+ ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` -+ # Reject names that are not valid shell variable names. -+ if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then -+ { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } -+ fi -+ ac_feature=`echo $ac_feature| sed 's/-/_/g'` -+ case "$ac_option" in -+ *=*) ;; -+ *) ac_optarg=yes ;; -+ esac -+ eval "enable_${ac_feature}='$ac_optarg'" ;; -+ -+ -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ -+ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ -+ | --exec | --exe | --ex) -+ ac_prev=exec_prefix ;; -+ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ -+ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ -+ | --exec=* | --exe=* | --ex=*) -+ exec_prefix="$ac_optarg" ;; -+ -+ -gas | --gas | --ga | --g) -+ # Obsolete; use --with-gas. -+ with_gas=yes ;; -+ -+ -help | --help | --hel | --he) -+ # Omit some internal or obsolete options to make the list less imposing. -+ # This message is too long to be a string in the A/UX 3.1 sh. -+ cat << EOF -+Usage: configure [options] [host] -+Options: [defaults in brackets after descriptions] -+Configuration: -+ --cache-file=FILE cache test results in FILE -+ --help print this message -+ --no-create do not create output files -+ --quiet, --silent do not print \`checking...' messages -+ --version print the version of autoconf that created configure -+Directory and file names: -+ --prefix=PREFIX install architecture-independent files in PREFIX -+ [$ac_default_prefix] -+ --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX -+ [same as prefix] -+ --bindir=DIR user executables in DIR [EPREFIX/bin] -+ --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] -+ --libexecdir=DIR program executables in DIR [EPREFIX/libexec] -+ --datadir=DIR read-only architecture-independent data in DIR -+ [PREFIX/share] -+ --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] -+ --sharedstatedir=DIR modifiable architecture-independent data in DIR -+ [PREFIX/com] -+ --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] -+ --libdir=DIR object code libraries in DIR [EPREFIX/lib] -+ --includedir=DIR C header files in DIR [PREFIX/include] -+ --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] -+ --infodir=DIR info documentation in DIR [PREFIX/info] -+ --mandir=DIR man documentation in DIR [PREFIX/man] -+ --srcdir=DIR find the sources in DIR [configure dir or ..] -+ --program-prefix=PREFIX prepend PREFIX to installed program names -+ --program-suffix=SUFFIX append SUFFIX to installed program names -+ --program-transform-name=PROGRAM -+ run sed PROGRAM on installed program names -+EOF -+ cat << EOF -+Host type: -+ --build=BUILD configure for building on BUILD [BUILD=HOST] -+ --host=HOST configure for HOST [guessed] -+ --target=TARGET configure for TARGET [TARGET=HOST] -+Features and packages: -+ --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) -+ --enable-FEATURE[=ARG] include FEATURE [ARG=yes] -+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] -+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) -+ --x-includes=DIR X include files are in DIR -+ --x-libraries=DIR X library files are in DIR -+EOF -+ if test -n "$ac_help"; then -+ echo "--enable and --with options recognized:$ac_help" -+ fi -+ exit 0 ;; -+ -+ -host | --host | --hos | --ho) -+ ac_prev=host ;; -+ -host=* | --host=* | --hos=* | --ho=*) -+ host="$ac_optarg" ;; -+ -+ -includedir | --includedir | --includedi | --included | --include \ -+ | --includ | --inclu | --incl | --inc) -+ ac_prev=includedir ;; -+ -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ -+ | --includ=* | --inclu=* | --incl=* | --inc=*) -+ includedir="$ac_optarg" ;; -+ -+ -infodir | --infodir | --infodi | --infod | --info | --inf) -+ ac_prev=infodir ;; -+ -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) -+ infodir="$ac_optarg" ;; -+ -+ -libdir | --libdir | --libdi | --libd) -+ ac_prev=libdir ;; -+ -libdir=* | --libdir=* | --libdi=* | --libd=*) -+ libdir="$ac_optarg" ;; -+ -+ -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ -+ | --libexe | --libex | --libe) -+ ac_prev=libexecdir ;; -+ -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ -+ | --libexe=* | --libex=* | --libe=*) -+ libexecdir="$ac_optarg" ;; -+ -+ -localstatedir | --localstatedir | --localstatedi | --localstated \ -+ | --localstate | --localstat | --localsta | --localst \ -+ | --locals | --local | --loca | --loc | --lo) -+ ac_prev=localstatedir ;; -+ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ -+ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ -+ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) -+ localstatedir="$ac_optarg" ;; -+ -+ -mandir | --mandir | --mandi | --mand | --man | --ma | --m) -+ ac_prev=mandir ;; -+ -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) -+ mandir="$ac_optarg" ;; -+ -+ -nfp | --nfp | --nf) -+ # Obsolete; use --without-fp. -+ with_fp=no ;; -+ -+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ -+ | --no-cr | --no-c) -+ no_create=yes ;; -+ -+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ -+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) -+ no_recursion=yes ;; -+ -+ -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ -+ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ -+ | --oldin | --oldi | --old | --ol | --o) -+ ac_prev=oldincludedir ;; -+ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ -+ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ -+ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) -+ oldincludedir="$ac_optarg" ;; -+ -+ -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) -+ ac_prev=prefix ;; -+ -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) -+ prefix="$ac_optarg" ;; -+ -+ -program-prefix | --program-prefix | --program-prefi | --program-pref \ -+ | --program-pre | --program-pr | --program-p) -+ ac_prev=program_prefix ;; -+ -program-prefix=* | --program-prefix=* | --program-prefi=* \ -+ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) -+ program_prefix="$ac_optarg" ;; -+ -+ -program-suffix | --program-suffix | --program-suffi | --program-suff \ -+ | --program-suf | --program-su | --program-s) -+ ac_prev=program_suffix ;; -+ -program-suffix=* | --program-suffix=* | --program-suffi=* \ -+ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) -+ program_suffix="$ac_optarg" ;; -+ -+ -program-transform-name | --program-transform-name \ -+ | --program-transform-nam | --program-transform-na \ -+ | --program-transform-n | --program-transform- \ -+ | --program-transform | --program-transfor \ -+ | --program-transfo | --program-transf \ -+ | --program-trans | --program-tran \ -+ | --progr-tra | --program-tr | --program-t) -+ ac_prev=program_transform_name ;; -+ -program-transform-name=* | --program-transform-name=* \ -+ | --program-transform-nam=* | --program-transform-na=* \ -+ | --program-transform-n=* | --program-transform-=* \ -+ | --program-transform=* | --program-transfor=* \ -+ | --program-transfo=* | --program-transf=* \ -+ | --program-trans=* | --program-tran=* \ -+ | --progr-tra=* | --program-tr=* | --program-t=*) -+ program_transform_name="$ac_optarg" ;; -+ -+ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ -+ | -silent | --silent | --silen | --sile | --sil) -+ silent=yes ;; -+ -+ -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) -+ ac_prev=sbindir ;; -+ -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ -+ | --sbi=* | --sb=*) -+ sbindir="$ac_optarg" ;; -+ -+ -sharedstatedir | --sharedstatedir | --sharedstatedi \ -+ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ -+ | --sharedst | --shareds | --shared | --share | --shar \ -+ | --sha | --sh) -+ ac_prev=sharedstatedir ;; -+ -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ -+ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ -+ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ -+ | --sha=* | --sh=*) -+ sharedstatedir="$ac_optarg" ;; -+ -+ -site | --site | --sit) -+ ac_prev=site ;; -+ -site=* | --site=* | --sit=*) -+ site="$ac_optarg" ;; -+ -+ -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) -+ ac_prev=srcdir ;; -+ -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) -+ srcdir="$ac_optarg" ;; -+ -+ -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ -+ | --syscon | --sysco | --sysc | --sys | --sy) -+ ac_prev=sysconfdir ;; -+ -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ -+ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) -+ sysconfdir="$ac_optarg" ;; -+ -+ -target | --target | --targe | --targ | --tar | --ta | --t) -+ ac_prev=target ;; -+ -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) -+ target="$ac_optarg" ;; -+ -+ -v | -verbose | --verbose | --verbos | --verbo | --verb) -+ verbose=yes ;; -+ -+ -version | --version | --versio | --versi | --vers) -+ echo "configure generated by autoconf version 2.13" -+ exit 0 ;; -+ -+ -with-* | --with-*) -+ ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` -+ # Reject names that are not valid shell variable names. -+ if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then -+ { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } -+ fi -+ ac_package=`echo $ac_package| sed 's/-/_/g'` -+ case "$ac_option" in -+ *=*) ;; -+ *) ac_optarg=yes ;; -+ esac -+ eval "with_${ac_package}='$ac_optarg'" ;; -+ -+ -without-* | --without-*) -+ ac_package=`echo $ac_option|sed -e 's/-*without-//'` -+ # Reject names that are not valid shell variable names. -+ if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then -+ { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } -+ fi -+ ac_package=`echo $ac_package| sed 's/-/_/g'` -+ eval "with_${ac_package}=no" ;; -+ -+ --x) -+ # Obsolete; use --with-x. -+ with_x=yes ;; -+ -+ -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ -+ | --x-incl | --x-inc | --x-in | --x-i) -+ ac_prev=x_includes ;; -+ -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ -+ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) -+ x_includes="$ac_optarg" ;; -+ -+ -x-libraries | --x-libraries | --x-librarie | --x-librari \ -+ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) -+ ac_prev=x_libraries ;; -+ -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ -+ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) -+ x_libraries="$ac_optarg" ;; -+ -+ -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } -+ ;; -+ -+ *) -+ if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then -+ echo "configure: warning: $ac_option: invalid host type" 1>&2 -+ fi -+ if test "x$nonopt" != xNONE; then -+ { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } -+ fi -+ nonopt="$ac_option" -+ ;; -+ -+ esac -+done -+ -+if test -n "$ac_prev"; then -+ { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -+fi -+ -+trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 -+ -+# File descriptor usage: -+# 0 standard input -+# 1 file creation -+# 2 errors and warnings -+# 3 some systems may open it to /dev/tty -+# 4 used on the Kubota Titan -+# 6 checking for... messages and results -+# 5 compiler messages saved in config.log -+if test "$silent" = yes; then -+ exec 6>/dev/null -+else -+ exec 6>&1 -+fi -+exec 5>./config.log -+ -+echo "\ -+This file contains any messages produced by compilers while -+running configure, to aid debugging if configure makes a mistake. -+" 1>&5 -+ -+# Strip out --no-create and --no-recursion so they do not pile up. -+# Also quote any args containing shell metacharacters. -+ac_configure_args= -+for ac_arg -+do -+ case "$ac_arg" in -+ -no-create | --no-create | --no-creat | --no-crea | --no-cre \ -+ | --no-cr | --no-c) ;; -+ -no-recursion | --no-recursion | --no-recursio | --no-recursi \ -+ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; -+ *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) -+ ac_configure_args="$ac_configure_args '$ac_arg'" ;; -+ *) ac_configure_args="$ac_configure_args $ac_arg" ;; -+ esac -+done -+ -+# NLS nuisances. -+# Only set these to C if already set. These must not be set unconditionally -+# because not all systems understand e.g. LANG=C (notably SCO). -+# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! -+# Non-C LC_CTYPE values break the ctype check. -+if test "${LANG+set}" = set; then LANG=C; export LANG; fi -+if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -+if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi -+if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi -+ -+# confdefs.h avoids OS command line length limits that DEFS can exceed. -+rm -rf conftest* confdefs.h -+# AIX cpp loses on an empty file, so make sure it contains at least a newline. -+echo > confdefs.h -+ -+# A filename unique to this package, relative to the directory that -+# configure is in, which we can look for to find out if srcdir is correct. -+ac_unique_file=setjmp.S -+ -+# Find the source files, if location was not specified. -+if test -z "$srcdir"; then -+ ac_srcdir_defaulted=yes -+ # Try the directory containing this script, then its parent. -+ ac_prog=$0 -+ ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` -+ test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. -+ srcdir=$ac_confdir -+ if test ! -r $srcdir/$ac_unique_file; then -+ srcdir=.. -+ fi -+else -+ ac_srcdir_defaulted=no -+fi -+if test ! -r $srcdir/$ac_unique_file; then -+ if test "$ac_srcdir_defaulted" = yes; then -+ { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } -+ else -+ { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } -+ fi -+fi -+srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` -+ -+# Prefer explicitly selected file to automatically selected ones. -+if test -z "$CONFIG_SITE"; then -+ if test "x$prefix" != xNONE; then -+ CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" -+ else -+ CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" -+ fi -+fi -+for ac_site_file in $CONFIG_SITE; do -+ if test -r "$ac_site_file"; then -+ echo "loading site script $ac_site_file" -+ . "$ac_site_file" -+ fi -+done -+ -+if test -r "$cache_file"; then -+ echo "loading cache $cache_file" -+ . $cache_file -+else -+ echo "creating cache $cache_file" -+ > $cache_file -+fi -+ -+ac_ext=c -+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. -+ac_cpp='$CPP $CPPFLAGS' -+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' -+cross_compiling=$ac_cv_prog_cc_cross -+ -+ac_exeext= -+ac_objext=o -+if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then -+ # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. -+ if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then -+ ac_n= ac_c=' -+' ac_t=' ' -+ else -+ ac_n=-n ac_c= ac_t= -+ fi -+else -+ ac_n= ac_c='\c' ac_t= -+fi -+ -+ -+ -+ac_aux_dir= -+for ac_dir in ../../../.. $srcdir/../../../..; do -+ if test -f $ac_dir/install-sh; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install-sh -c" -+ break -+ elif test -f $ac_dir/install.sh; then -+ ac_aux_dir=$ac_dir -+ ac_install_sh="$ac_aux_dir/install.sh -c" -+ break -+ fi -+done -+if test -z "$ac_aux_dir"; then -+ { echo "configure: error: can not find install-sh or install.sh in ../../../.. $srcdir/../../../.." 1>&2; exit 1; } -+fi -+ac_config_guess=$ac_aux_dir/config.guess -+ac_config_sub=$ac_aux_dir/config.sub -+ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. -+ -+ -+am__api_version="1.4" -+# Find a good install program. We prefer a C program (faster), -+# so one script is as good as another. But avoid the broken or -+# incompatible versions: -+# SysV /etc/install, /usr/sbin/install -+# SunOS /usr/etc/install -+# IRIX /sbin/install -+# AIX /bin/install -+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -+# AFS /usr/afsws/bin/install, which mishandles nonexistent args -+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -+# ./install, which can be erroneously created by make from ./install.sh. -+echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -+echo "configure:582: checking for a BSD compatible install" >&5 -+if test -z "$INSTALL"; then -+if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" -+ for ac_dir in $PATH; do -+ # Account for people who put trailing slashes in PATH elements. -+ case "$ac_dir/" in -+ /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; -+ *) -+ # OSF1 and SCO ODT 3.0 have their own names for install. -+ # Don't use installbsd from OSF since it installs stuff as root -+ # by default. -+ for ac_prog in ginstall scoinst install; do -+ if test -f $ac_dir/$ac_prog; then -+ if test $ac_prog = install && -+ grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then -+ # AIX install. It has an incompatible calling convention. -+ : -+ else -+ ac_cv_path_install="$ac_dir/$ac_prog -c" -+ break 2 -+ fi -+ fi -+ done -+ ;; -+ esac -+ done -+ IFS="$ac_save_IFS" -+ -+fi -+ if test "${ac_cv_path_install+set}" = set; then -+ INSTALL="$ac_cv_path_install" -+ else -+ # As a last resort, use the slow shell script. We don't cache a -+ # path for INSTALL within a source directory, because that will -+ # break other packages using the cache if that directory is -+ # removed, or if the path is relative. -+ INSTALL="$ac_install_sh" -+ fi -+fi -+echo "$ac_t""$INSTALL" 1>&6 -+ -+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -+# It thinks the first close brace ends the variable substitution. -+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -+ -+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' -+ -+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -+ -+echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 -+echo "configure:635: checking whether build environment is sane" >&5 -+# Just in case -+sleep 1 -+echo timestamp > conftestfile -+# Do `set' in a subshell so we don't clobber the current shell's -+# arguments. Must try -L first in case configure is actually a -+# symlink; some systems play weird games with the mod time of symlinks -+# (eg FreeBSD returns the mod time of the symlink's containing -+# directory). -+if ( -+ set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` -+ if test "$*" = "X"; then -+ # -L didn't work. -+ set X `ls -t $srcdir/configure conftestfile` -+ fi -+ if test "$*" != "X $srcdir/configure conftestfile" \ -+ && test "$*" != "X conftestfile $srcdir/configure"; then -+ -+ # If neither matched, then we have a broken ls. This can happen -+ # if, for instance, CONFIG_SHELL is bash and it inherits a -+ # broken ls alias from the environment. This has actually -+ # happened. Such a system could not be considered "sane". -+ { echo "configure: error: ls -t appears to fail. Make sure there is not a broken -+alias in your environment" 1>&2; exit 1; } -+ fi -+ -+ test "$2" = conftestfile -+ ) -+then -+ # Ok. -+ : -+else -+ { echo "configure: error: newly created file is older than distributed files! -+Check your system clock" 1>&2; exit 1; } -+fi -+rm -f conftest* -+echo "$ac_t""yes" 1>&6 -+if test "$program_transform_name" = s,x,x,; then -+ program_transform_name= -+else -+ # Double any \ or $. echo might interpret backslashes. -+ cat <<\EOF_SED > conftestsed -+s,\\,\\\\,g; s,\$,$$,g -+EOF_SED -+ program_transform_name="`echo $program_transform_name|sed -f conftestsed`" -+ rm -f conftestsed -+fi -+test "$program_prefix" != NONE && -+ program_transform_name="s,^,${program_prefix},; $program_transform_name" -+# Use a double $ so make ignores it. -+test "$program_suffix" != NONE && -+ program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" -+ -+# sed with no file args requires a program. -+test "$program_transform_name" = "" && program_transform_name="s,x,x," -+ -+echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 -+echo "configure:692: checking whether ${MAKE-make} sets \${MAKE}" >&5 -+set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` -+if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ cat > conftestmake <<\EOF -+all: -+ @echo 'ac_maketemp="${MAKE}"' -+EOF -+# GNU make sometimes prints "make[1]: Entering...", which would confuse us. -+eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` -+if test -n "$ac_maketemp"; then -+ eval ac_cv_prog_make_${ac_make}_set=yes -+else -+ eval ac_cv_prog_make_${ac_make}_set=no -+fi -+rm -f conftestmake -+fi -+if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then -+ echo "$ac_t""yes" 1>&6 -+ SET_MAKE= -+else -+ echo "$ac_t""no" 1>&6 -+ SET_MAKE="MAKE=${MAKE-make}" -+fi -+ -+if test $host != $build; then -+ ac_tool_prefix=${host_alias}- -+else -+ ac_tool_prefix= -+fi -+ -+echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 -+echo "configure:725: checking for Cygwin environment" >&5 -+if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ cat > conftest.$ac_ext <<EOF -+#line 730 "configure" -+#include "confdefs.h" -+ -+int main() { -+ -+#ifndef __CYGWIN__ -+#define __CYGWIN__ __CYGWIN32__ -+#endif -+return __CYGWIN__; -+; return 0; } -+EOF -+if { (eval echo configure:741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then -+ rm -rf conftest* -+ ac_cv_cygwin=yes -+else -+ echo "configure: failed program was:" >&5 -+ cat conftest.$ac_ext >&5 -+ rm -rf conftest* -+ ac_cv_cygwin=no -+fi -+rm -f conftest* -+rm -f conftest* -+fi -+ -+echo "$ac_t""$ac_cv_cygwin" 1>&6 -+CYGWIN= -+test "$ac_cv_cygwin" = yes && CYGWIN=yes -+echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 -+echo "configure:758: checking for mingw32 environment" >&5 -+if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ cat > conftest.$ac_ext <<EOF -+#line 763 "configure" -+#include "confdefs.h" -+ -+int main() { -+return __MINGW32__; -+; return 0; } -+EOF -+if { (eval echo configure:770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then -+ rm -rf conftest* -+ ac_cv_mingw32=yes -+else -+ echo "configure: failed program was:" >&5 -+ cat conftest.$ac_ext >&5 -+ rm -rf conftest* -+ ac_cv_mingw32=no -+fi -+rm -f conftest* -+rm -f conftest* -+fi -+ -+echo "$ac_t""$ac_cv_mingw32" 1>&6 -+MINGW32= -+test "$ac_cv_mingw32" = yes && MINGW32=yes -+ -+# Check whether --enable-multilib or --disable-multilib was given. -+if test "${enable_multilib+set}" = set; then -+ enableval="$enable_multilib" -+ case "${enableval}" in -+ yes) multilib=yes ;; -+ no) multilib=no ;; -+ *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;; -+ esac -+else -+ multilib=yes -+fi -+ -+# Check whether --enable-target-optspace or --disable-target-optspace was given. -+if test "${enable_target_optspace+set}" = set; then -+ enableval="$enable_target_optspace" -+ case "${enableval}" in -+ yes) target_optspace=yes ;; -+ no) target_optspace=no ;; -+ *) { echo "configure: error: bad value ${enableval} for target-optspace option" 1>&2; exit 1; } ;; -+ esac -+else -+ target_optspace= -+fi -+ -+# Check whether --enable-malloc-debugging or --disable-malloc-debugging was given. -+if test "${enable_malloc_debugging+set}" = set; then -+ enableval="$enable_malloc_debugging" -+ case "${enableval}" in -+ yes) malloc_debugging=yes ;; -+ no) malloc_debugging=no ;; -+ *) { echo "configure: error: bad value ${enableval} for malloc-debugging option" 1>&2; exit 1; } ;; -+ esac -+else -+ malloc_debugging= -+fi -+ -+# Check whether --enable-newlib-mb or --disable-newlib-mb was given. -+if test "${enable_newlib_mb+set}" = set; then -+ enableval="$enable_newlib_mb" -+ case "${enableval}" in -+ yes) newlib_mb=yes ;; -+ no) newlib_mb=no ;; -+ *) { echo "configure: error: bad value ${enableval} for newlib-mb option" 1>&2; exit 1; } ;; -+ esac -+else -+ newlib_mb= -+fi -+ -+# Check whether --enable-newlib-iconv or --disable-newlib-iconv was given. -+if test "${enable_newlib_iconv+set}" = set; then -+ enableval="$enable_newlib_iconv" -+ case "${enableval}" in -+ yes) newlib_iconv=yes ;; -+ no) newlib_iconv=no ;; -+ *) { echo "configure: error: bad value ${enableval} for newlib-iconv option" 1>&2; exit 1; } ;; -+ esac -+else -+ newlib_iconv= -+fi -+ -+# Check whether --enable-newlib-builtin-converters or --disable-newlib-builtin-converters was given. -+if test "${enable_newlib_builtin_converters+set}" = set; then -+ enableval="$enable_newlib_builtin_converters" -+ if test x${enableval} = x; then -+ { echo "configure: error: bad value ${enableval} for newlib-builtin-converters option - use comma-separated list" 1>&2; exit 1; } -+ fi -+ builtin_converters=${enableval} -+ -+else -+ builtin_converters= -+fi -+ -+# Check whether --enable-newlib-multithread or --disable-newlib-multithread was given. -+if test "${enable_newlib_multithread+set}" = set; then -+ enableval="$enable_newlib_multithread" -+ case "${enableval}" in -+ yes) newlib_multithread=yes ;; -+ no) newlib_multithread=no ;; -+ *) { echo "configure: error: bad value ${enableval} for newlib-multithread option" 1>&2; exit 1; } ;; -+ esac -+else -+ newlib_multithread=yes -+fi -+ -+# Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given. -+if test "${enable_newlib_elix_level+set}" = set; then -+ enableval="$enable_newlib_elix_level" -+ case "${enableval}" in -+ 0) newlib_elix_level=0 ;; -+ 1) newlib_elix_level=1 ;; -+ 2) newlib_elix_level=2 ;; -+ 3) newlib_elix_level=3 ;; -+ 4) newlib_elix_level=4 ;; -+ *) { echo "configure: error: bad value ${enableval} for newlib-elix-level option" 1>&2; exit 1; } ;; -+ esac -+else -+ newlib_elix_level=0 -+fi -+ -+# Check whether --enable-newlib-io-float or --disable-newlib-io-float was given. -+if test "${enable_newlib_io_float+set}" = set; then -+ enableval="$enable_newlib_io_float" -+ case "${enableval}" in -+ yes) newlib_io_float=yes ;; -+ no) newlib_io_float=no ;; -+ *) { echo "configure: error: bad value ${enableval} for newlib-io-float option" 1>&2; exit 1; } ;; -+ esac -+else -+ newlib_io_float=yes -+fi -+ -+# Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given. -+if test "${enable_newlib_supplied_syscalls+set}" = set; then -+ enableval="$enable_newlib_supplied_syscalls" -+ case "${enableval}" in -+ yes) newlib_may_supply_syscalls=yes ;; -+ no) newlib_may_supply_syscalls=no ;; -+ *) { echo "configure: error: bad value ${enableval} for newlib-supplied-syscalls option" 1>&2; exit 1; } ;; -+ esac -+else -+ newlib_may_supply_syscalls=yes -+fi -+ -+ -+ -+if test x${newlib_may_supply_syscalls} = xyes; then -+ MAY_SUPPLY_SYSCALLS_TRUE= -+ MAY_SUPPLY_SYSCALLS_FALSE='#' -+else -+ MAY_SUPPLY_SYSCALLS_TRUE='#' -+ MAY_SUPPLY_SYSCALLS_FALSE= -+fi -+ -+ -+test -z "${with_target_subdir}" && with_target_subdir=. -+ -+if test "${srcdir}" = "."; then -+ if test "${with_target_subdir}" != "."; then -+ newlib_basedir="${srcdir}/${with_multisrctop}../../../.." -+ else -+ newlib_basedir="${srcdir}/${with_multisrctop}../../.." -+ fi -+else -+ newlib_basedir="${srcdir}/../../.." -+fi -+ -+ -+ -+# Do some error checking and defaulting for the host and target type. -+# The inputs are: -+# configure --host=HOST --target=TARGET --build=BUILD NONOPT -+# -+# The rules are: -+# 1. You are not allowed to specify --host, --target, and nonopt at the -+# same time. -+# 2. Host defaults to nonopt. -+# 3. If nonopt is not specified, then host defaults to the current host, -+# as determined by config.guess. -+# 4. Target and build default to nonopt. -+# 5. If nonopt is not specified, then target and build default to host. -+ -+# The aliases save the names the user supplied, while $host etc. -+# will get canonicalized. -+case $host---$target---$nonopt in -+NONE---*---* | *---NONE---* | *---*---NONE) ;; -+*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; -+esac -+ -+ -+# Make sure we can run config.sub. -+if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : -+else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } -+fi -+ -+echo $ac_n "checking host system type""... $ac_c" 1>&6 -+echo "configure:962: checking host system type" >&5 -+ -+host_alias=$host -+case "$host_alias" in -+NONE) -+ case $nonopt in -+ NONE) -+ if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : -+ else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } -+ fi ;; -+ *) host_alias=$nonopt ;; -+ esac ;; -+esac -+ -+host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` -+host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -+host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -+host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -+echo "$ac_t""$host" 1>&6 -+ -+echo $ac_n "checking target system type""... $ac_c" 1>&6 -+echo "configure:983: checking target system type" >&5 -+ -+target_alias=$target -+case "$target_alias" in -+NONE) -+ case $nonopt in -+ NONE) target_alias=$host_alias ;; -+ *) target_alias=$nonopt ;; -+ esac ;; -+esac -+ -+target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` -+target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -+target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -+target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -+echo "$ac_t""$target" 1>&6 -+ -+echo $ac_n "checking build system type""... $ac_c" 1>&6 -+echo "configure:1001: checking build system type" >&5 -+ -+build_alias=$build -+case "$build_alias" in -+NONE) -+ case $nonopt in -+ NONE) build_alias=$host_alias ;; -+ *) build_alias=$nonopt ;; -+ esac ;; -+esac -+ -+build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` -+build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` -+build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` -+build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` -+echo "$ac_t""$build" 1>&6 -+ -+test "$host_alias" != "$target_alias" && -+ test "$program_prefix$program_suffix$program_transform_name" = \ -+ NONENONEs,x,x, && -+ program_prefix=${target_alias}- -+ -+ -+ -+PACKAGE=newlib -+ -+VERSION=1.12.0 -+ -+if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then -+ { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } -+fi -+cat >> confdefs.h <<EOF -+#define PACKAGE "$PACKAGE" -+EOF -+ -+cat >> confdefs.h <<EOF -+#define VERSION "$VERSION" -+EOF -+ -+ -+ -+missing_dir=`cd $ac_aux_dir && pwd` -+echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6 -+echo "configure:1044: checking for working aclocal-${am__api_version}" >&5 -+# Run test in a subshell; some versions of sh will print an error if -+# an executable is not found, even if stderr is redirected. -+# Redirect stdin to placate older versions of autoconf. Sigh. -+if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then -+ ACLOCAL=aclocal-${am__api_version} -+ echo "$ac_t""found" 1>&6 -+else -+ ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" -+ echo "$ac_t""missing" 1>&6 -+fi -+ -+echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 -+echo "configure:1057: checking for working autoconf" >&5 -+# Run test in a subshell; some versions of sh will print an error if -+# an executable is not found, even if stderr is redirected. -+# Redirect stdin to placate older versions of autoconf. Sigh. -+if (autoconf --version) < /dev/null > /dev/null 2>&1; then -+ AUTOCONF=autoconf -+ echo "$ac_t""found" 1>&6 -+else -+ AUTOCONF="$missing_dir/missing autoconf" -+ echo "$ac_t""missing" 1>&6 -+fi -+ -+echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6 -+echo "configure:1070: checking for working automake-${am__api_version}" >&5 -+# Run test in a subshell; some versions of sh will print an error if -+# an executable is not found, even if stderr is redirected. -+# Redirect stdin to placate older versions of autoconf. Sigh. -+if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then -+ AUTOMAKE=automake-${am__api_version} -+ echo "$ac_t""found" 1>&6 -+else -+ AUTOMAKE="$missing_dir/missing automake-${am__api_version}" -+ echo "$ac_t""missing" 1>&6 -+fi -+ -+echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 -+echo "configure:1083: checking for working autoheader" >&5 -+# Run test in a subshell; some versions of sh will print an error if -+# an executable is not found, even if stderr is redirected. -+# Redirect stdin to placate older versions of autoconf. Sigh. -+if (autoheader --version) < /dev/null > /dev/null 2>&1; then -+ AUTOHEADER=autoheader -+ echo "$ac_t""found" 1>&6 -+else -+ AUTOHEADER="$missing_dir/missing autoheader" -+ echo "$ac_t""missing" 1>&6 -+fi -+ -+echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 -+echo "configure:1096: checking for working makeinfo" >&5 -+# Run test in a subshell; some versions of sh will print an error if -+# an executable is not found, even if stderr is redirected. -+# Redirect stdin to placate older versions of autoconf. Sigh. -+if (makeinfo --version) < /dev/null > /dev/null 2>&1; then -+ MAKEINFO=makeinfo -+ echo "$ac_t""found" 1>&6 -+else -+ MAKEINFO="$missing_dir/missing makeinfo" -+ echo "$ac_t""missing" 1>&6 -+fi -+ -+ -+ -+# FIXME: We temporarily define our own version of AC_PROG_CC. This is -+# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We -+# are probably using a cross compiler, which will not be able to fully -+# link an executable. This should really be fixed in autoconf -+# itself. -+ -+ -+ -+# Extract the first word of "gcc", so it can be a program name with args. -+set dummy gcc; ac_word=$2 -+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -+echo "configure:1121: checking for $ac_word" >&5 -+if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -+ ac_dummy="$PATH" -+ for ac_dir in $ac_dummy; do -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/$ac_word; then -+ ac_cv_prog_CC="gcc" -+ break -+ fi -+ done -+ IFS="$ac_save_ifs" -+fi -+fi -+CC="$ac_cv_prog_CC" -+if test -n "$CC"; then -+ echo "$ac_t""$CC" 1>&6 -+else -+ echo "$ac_t""no" 1>&6 -+fi -+ -+if test -z "$CC"; then -+ # Extract the first word of "cc", so it can be a program name with args. -+set dummy cc; ac_word=$2 -+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -+echo "configure:1151: checking for $ac_word" >&5 -+if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ if test -n "$CC"; then -+ ac_cv_prog_CC="$CC" # Let the user override the test. -+else -+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -+ ac_prog_rejected=no -+ ac_dummy="$PATH" -+ for ac_dir in $ac_dummy; do -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/$ac_word; then -+ if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then -+ ac_prog_rejected=yes -+ continue -+ fi -+ ac_cv_prog_CC="cc" -+ break -+ fi -+ done -+ IFS="$ac_save_ifs" -+if test $ac_prog_rejected = yes; then -+ # We found a bogon in the path, so make sure we never use it. -+ set dummy $ac_cv_prog_CC -+ shift -+ if test $# -gt 0; then -+ # We chose a different compiler from the bogus one. -+ # However, it has the same basename, so the bogon will be chosen -+ # first if we set CC to just the basename; use the full file name. -+ shift -+ set dummy "$ac_dir/$ac_word" "$@" -+ shift -+ ac_cv_prog_CC="$@" -+ fi -+fi -+fi -+fi -+CC="$ac_cv_prog_CC" -+if test -n "$CC"; then -+ echo "$ac_t""$CC" 1>&6 -+else -+ echo "$ac_t""no" 1>&6 -+fi -+ -+ test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } -+fi -+ -+echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -+echo "configure:1200: checking whether we are using GNU C" >&5 -+if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ cat > conftest.c <<EOF -+#ifdef __GNUC__ -+ yes; -+#endif -+EOF -+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1209: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then -+ ac_cv_prog_gcc=yes -+else -+ ac_cv_prog_gcc=no -+fi -+fi -+ -+echo "$ac_t""$ac_cv_prog_gcc" 1>&6 -+ -+if test $ac_cv_prog_gcc = yes; then -+ GCC=yes -+ ac_test_CFLAGS="${CFLAGS+set}" -+ ac_save_CFLAGS="$CFLAGS" -+ CFLAGS= -+ echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -+echo "configure:1224: checking whether ${CC-cc} accepts -g" >&5 -+if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ echo 'void f(){}' > conftest.c -+if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then -+ ac_cv_prog_cc_g=yes -+else -+ ac_cv_prog_cc_g=no -+fi -+rm -f conftest* -+ -+fi -+ -+echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 -+ if test "$ac_test_CFLAGS" = set; then -+ CFLAGS="$ac_save_CFLAGS" -+ elif test $ac_cv_prog_cc_g = yes; then -+ CFLAGS="-g -O2" -+ else -+ CFLAGS="-O2" -+ fi -+else -+ GCC= -+ test "${CFLAGS+set}" = set || CFLAGS="-g" -+fi -+ -+ -+# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. -+set dummy ${ac_tool_prefix}as; ac_word=$2 -+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -+echo "configure:1255: checking for $ac_word" >&5 -+if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ if test -n "$AS"; then -+ ac_cv_prog_AS="$AS" # Let the user override the test. -+else -+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -+ ac_dummy="$PATH" -+ for ac_dir in $ac_dummy; do -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/$ac_word; then -+ ac_cv_prog_AS="${ac_tool_prefix}as" -+ break -+ fi -+ done -+ IFS="$ac_save_ifs" -+ test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as" -+fi -+fi -+AS="$ac_cv_prog_AS" -+if test -n "$AS"; then -+ echo "$ac_t""$AS" 1>&6 -+else -+ echo "$ac_t""no" 1>&6 -+fi -+ -+ -+ -+# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. -+set dummy ${ac_tool_prefix}ar; ac_word=$2 -+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -+echo "configure:1287: checking for $ac_word" >&5 -+if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ if test -n "$AR"; then -+ ac_cv_prog_AR="$AR" # Let the user override the test. -+else -+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -+ ac_dummy="$PATH" -+ for ac_dir in $ac_dummy; do -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/$ac_word; then -+ ac_cv_prog_AR="${ac_tool_prefix}ar" -+ break -+ fi -+ done -+ IFS="$ac_save_ifs" -+ test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar" -+fi -+fi -+AR="$ac_cv_prog_AR" -+if test -n "$AR"; then -+ echo "$ac_t""$AR" 1>&6 -+else -+ echo "$ac_t""no" 1>&6 -+fi -+ -+ -+ -+# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. -+set dummy ${ac_tool_prefix}ranlib; ac_word=$2 -+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -+echo "configure:1319: checking for $ac_word" >&5 -+if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ if test -n "$RANLIB"; then -+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -+else -+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -+ ac_dummy="$PATH" -+ for ac_dir in $ac_dummy; do -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/$ac_word; then -+ ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" -+ break -+ fi -+ done -+ IFS="$ac_save_ifs" -+fi -+fi -+RANLIB="$ac_cv_prog_RANLIB" -+if test -n "$RANLIB"; then -+ echo "$ac_t""$RANLIB" 1>&6 -+else -+ echo "$ac_t""no" 1>&6 -+fi -+ -+ -+if test -z "$ac_cv_prog_RANLIB"; then -+if test -n "$ac_tool_prefix"; then -+ # Extract the first word of "ranlib", so it can be a program name with args. -+set dummy ranlib; ac_word=$2 -+echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -+echo "configure:1351: checking for $ac_word" >&5 -+if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ if test -n "$RANLIB"; then -+ ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. -+else -+ IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" -+ ac_dummy="$PATH" -+ for ac_dir in $ac_dummy; do -+ test -z "$ac_dir" && ac_dir=. -+ if test -f $ac_dir/$ac_word; then -+ ac_cv_prog_RANLIB="ranlib" -+ break -+ fi -+ done -+ IFS="$ac_save_ifs" -+ test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" -+fi -+fi -+RANLIB="$ac_cv_prog_RANLIB" -+if test -n "$RANLIB"; then -+ echo "$ac_t""$RANLIB" 1>&6 -+else -+ echo "$ac_t""no" 1>&6 -+fi -+ -+else -+ RANLIB=":" -+fi -+fi -+ -+ -+# Find a good install program. We prefer a C program (faster), -+# so one script is as good as another. But avoid the broken or -+# incompatible versions: -+# SysV /etc/install, /usr/sbin/install -+# SunOS /usr/etc/install -+# IRIX /sbin/install -+# AIX /bin/install -+# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -+# AFS /usr/afsws/bin/install, which mishandles nonexistent args -+# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -+# ./install, which can be erroneously created by make from ./install.sh. -+echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -+echo "configure:1396: checking for a BSD compatible install" >&5 -+if test -z "$INSTALL"; then -+if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" -+ for ac_dir in $PATH; do -+ # Account for people who put trailing slashes in PATH elements. -+ case "$ac_dir/" in -+ /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; -+ *) -+ # OSF1 and SCO ODT 3.0 have their own names for install. -+ # Don't use installbsd from OSF since it installs stuff as root -+ # by default. -+ for ac_prog in ginstall scoinst install; do -+ if test -f $ac_dir/$ac_prog; then -+ if test $ac_prog = install && -+ grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then -+ # AIX install. It has an incompatible calling convention. -+ : -+ else -+ ac_cv_path_install="$ac_dir/$ac_prog -c" -+ break 2 -+ fi -+ fi -+ done -+ ;; -+ esac -+ done -+ IFS="$ac_save_IFS" -+ -+fi -+ if test "${ac_cv_path_install+set}" = set; then -+ INSTALL="$ac_cv_path_install" -+ else -+ # As a last resort, use the slow shell script. We don't cache a -+ # path for INSTALL within a source directory, because that will -+ # break other packages using the cache if that directory is -+ # removed, or if the path is relative. -+ INSTALL="$ac_install_sh" -+ fi -+fi -+echo "$ac_t""$INSTALL" 1>&6 -+ -+# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -+# It thinks the first close brace ends the variable substitution. -+test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' -+ -+test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' -+ -+test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -+ -+ -+echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 -+echo "configure:1450: checking whether to enable maintainer-specific portions of Makefiles" >&5 -+ # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. -+if test "${enable_maintainer_mode+set}" = set; then -+ enableval="$enable_maintainer_mode" -+ USE_MAINTAINER_MODE=$enableval -+else -+ USE_MAINTAINER_MODE=no -+fi -+ -+ echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6 -+ -+ -+if test $USE_MAINTAINER_MODE = yes; then -+ MAINTAINER_MODE_TRUE= -+ MAINTAINER_MODE_FALSE='#' -+else -+ MAINTAINER_MODE_TRUE='#' -+ MAINTAINER_MODE_FALSE= -+fi -+ MAINT=$MAINTAINER_MODE_TRUE -+ -+ -+ -+# We need AC_EXEEXT to keep automake happy in cygnus mode. However, -+# at least currently, we never actually build a program, so we never -+# need to use $(EXEEXT). Moreover, the test for EXEEXT normally -+# fails, because we are probably configuring with a cross compiler -+# which can't create executables. So we include AC_EXEEXT to keep -+# automake happy, but we don't execute it, since we don't care about -+# the result. -+if false; then -+ -+ -+echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 -+echo "configure:1484: checking for executable suffix" >&5 -+if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then -+ echo $ac_n "(cached) $ac_c" 1>&6 -+else -+ if test "$CYGWIN" = yes || test "$MINGW32" = yes; then -+ ac_cv_exeext=.exe -+else -+ rm -f conftest* -+ echo 'int main () { return 0; }' > conftest.$ac_ext -+ ac_cv_exeext= -+ if { (eval echo configure:1494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then -+ for file in conftest.*; do -+ case $file in -+ *.c | *.o | *.obj) ;; -+ *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; -+ esac -+ done -+ else -+ { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; } -+ fi -+ rm -f conftest* -+ test x"${ac_cv_exeext}" = x && ac_cv_exeext=no -+fi -+fi -+ -+EXEEXT="" -+test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} -+echo "$ac_t""${ac_cv_exeext}" 1>&6 -+ac_exeext=$EXEEXT -+ -+fi -+ -+. ${newlib_basedir}/configure.host -+ -+newlib_cflags="${newlib_cflags} -fno-builtin" -+ -+NEWLIB_CFLAGS=${newlib_cflags} -+ -+ -+LDFLAGS=${ldflags} -+ -+ -+ -+ -+if test x${newlib_elix_level} = x0; then -+ ELIX_LEVEL_0_TRUE= -+ ELIX_LEVEL_0_FALSE='#' -+else -+ ELIX_LEVEL_0_TRUE='#' -+ ELIX_LEVEL_0_FALSE= -+fi -+ -+ -+if test x${newlib_elix_level} = x1; then -+ ELIX_LEVEL_1_TRUE= -+ ELIX_LEVEL_1_FALSE='#' -+else -+ ELIX_LEVEL_1_TRUE='#' -+ ELIX_LEVEL_1_FALSE= -+fi -+ -+ -+if test x${newlib_elix_level} = x2; then -+ ELIX_LEVEL_2_TRUE= -+ ELIX_LEVEL_2_FALSE='#' -+else -+ ELIX_LEVEL_2_TRUE='#' -+ ELIX_LEVEL_2_FALSE= -+fi -+ -+ -+if test x${newlib_elix_level} = x3; then -+ ELIX_LEVEL_3_TRUE= -+ ELIX_LEVEL_3_FALSE='#' -+else -+ ELIX_LEVEL_3_TRUE='#' -+ ELIX_LEVEL_3_FALSE= -+fi -+ -+ -+if test x${newlib_elix_level} = x4; then -+ ELIX_LEVEL_4_TRUE= -+ ELIX_LEVEL_4_FALSE='#' -+else -+ ELIX_LEVEL_4_TRUE='#' -+ ELIX_LEVEL_4_FALSE= -+fi -+ -+ -+ -+if test x${use_libtool} = xyes; then -+ USE_LIBTOOL_TRUE= -+ USE_LIBTOOL_FALSE='#' -+else -+ USE_LIBTOOL_TRUE='#' -+ USE_LIBTOOL_FALSE= -+fi -+ -+# Hard-code OBJEXT. Normally it is set by AC_OBJEXT, but we -+# use oext, which is set in configure.host based on the target platform. -+OBJEXT=${oext} -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+extra_objs= -+extra_sources= -+ -+ -+ -+trap '' 1 2 15 -+cat > confcache <<\EOF -+# This file is a shell script that caches the results of configure -+# tests run on this system so they can be shared between configure -+# scripts and configure runs. It is not useful on other systems. -+# If it contains results you don't want to keep, you may remove or edit it. -+# -+# By default, configure uses ./config.cache as the cache file, -+# creating it if it does not exist already. You can give configure -+# the --cache-file=FILE option to use a different cache file; that is -+# what configure does when it calls configure scripts in -+# subdirectories, so they share the cache. -+# Giving --cache-file=/dev/null disables caching, for debugging configure. -+# config.status only pays attention to the cache file if you give it the -+# --recheck option to rerun configure. -+# -+EOF -+# The following way of writing the cache mishandles newlines in values, -+# but we know of no workaround that is simple, portable, and efficient. -+# So, don't put newlines in cache variables' values. -+# Ultrix sh set writes to stderr and can't be redirected directly, -+# and sets the high bit in the cache file unless we assign to the vars. -+(set) 2>&1 | -+ case `(ac_space=' '; set | grep ac_space) 2>&1` in -+ *ac_space=\ *) -+ # `set' does not quote correctly, so add quotes (double-quote substitution -+ # turns \\\\ into \\, and sed turns \\ into \). -+ sed -n \ -+ -e "s/'/'\\\\''/g" \ -+ -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" -+ ;; -+ *) -+ # `set' quotes correctly as required by POSIX, so do not add quotes. -+ sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' -+ ;; -+ esac >> confcache -+if cmp -s $cache_file confcache; then -+ : -+else -+ if test -w $cache_file; then -+ echo "updating cache $cache_file" -+ cat confcache > $cache_file -+ else -+ echo "not updating unwritable cache $cache_file" -+ fi -+fi -+rm -f confcache -+ -+trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 -+ -+test "x$prefix" = xNONE && prefix=$ac_default_prefix -+# Let make expand exec_prefix. -+test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -+ -+# Any assignment to VPATH causes Sun make to only execute -+# the first set of double-colon rules, so remove it if not needed. -+# If there is a colon in the path, we need to keep it. -+if test "x$srcdir" = x.; then -+ ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' -+fi -+ -+trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 -+ -+# Transform confdefs.h into DEFS. -+# Protect against shell expansion while executing Makefile rules. -+# Protect against Makefile macro expansion. -+cat > conftest.defs <<\EOF -+s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g -+s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g -+s%\[%\\&%g -+s%\]%\\&%g -+s%\$%$$%g -+EOF -+DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` -+rm -f conftest.defs -+ -+ -+# Without the "./", some shells look in PATH for config.status. -+: ${CONFIG_STATUS=./config.status} -+ -+echo creating $CONFIG_STATUS -+rm -f $CONFIG_STATUS -+cat > $CONFIG_STATUS <<EOF -+#! /bin/sh -+# Generated automatically by configure. -+# Run this file to recreate the current configuration. -+# This directory was configured as follows, -+# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -+# -+# $0 $ac_configure_args -+# -+# Compiler output produced by configure, useful for debugging -+# configure, is in ./config.log if it exists. -+ -+ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -+for ac_option -+do -+ case "\$ac_option" in -+ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) -+ echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" -+ exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -+ -version | --version | --versio | --versi | --vers | --ver | --ve | --v) -+ echo "$CONFIG_STATUS generated by autoconf version 2.13" -+ exit 0 ;; -+ -help | --help | --hel | --he | --h) -+ echo "\$ac_cs_usage"; exit 0 ;; -+ *) echo "\$ac_cs_usage"; exit 1 ;; -+ esac -+done -+ -+ac_given_srcdir=$srcdir -+ac_given_INSTALL="$INSTALL" -+ -+trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -+EOF -+cat >> $CONFIG_STATUS <<EOF -+ -+# Protect against being on the right side of a sed subst in config.status. -+sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; -+ s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF -+$ac_vpsub -+$extrasub -+s%@SHELL@%$SHELL%g -+s%@CFLAGS@%$CFLAGS%g -+s%@CPPFLAGS@%$CPPFLAGS%g -+s%@CXXFLAGS@%$CXXFLAGS%g -+s%@FFLAGS@%$FFLAGS%g -+s%@DEFS@%$DEFS%g -+s%@LDFLAGS@%$LDFLAGS%g -+s%@LIBS@%$LIBS%g -+s%@exec_prefix@%$exec_prefix%g -+s%@prefix@%$prefix%g -+s%@program_transform_name@%$program_transform_name%g -+s%@bindir@%$bindir%g -+s%@sbindir@%$sbindir%g -+s%@libexecdir@%$libexecdir%g -+s%@datadir@%$datadir%g -+s%@sysconfdir@%$sysconfdir%g -+s%@sharedstatedir@%$sharedstatedir%g -+s%@localstatedir@%$localstatedir%g -+s%@libdir@%$libdir%g -+s%@includedir@%$includedir%g -+s%@oldincludedir@%$oldincludedir%g -+s%@infodir@%$infodir%g -+s%@mandir@%$mandir%g -+s%@MAY_SUPPLY_SYSCALLS_TRUE@%$MAY_SUPPLY_SYSCALLS_TRUE%g -+s%@MAY_SUPPLY_SYSCALLS_FALSE@%$MAY_SUPPLY_SYSCALLS_FALSE%g -+s%@newlib_basedir@%$newlib_basedir%g -+s%@host@%$host%g -+s%@host_alias@%$host_alias%g -+s%@host_cpu@%$host_cpu%g -+s%@host_vendor@%$host_vendor%g -+s%@host_os@%$host_os%g -+s%@target@%$target%g -+s%@target_alias@%$target_alias%g -+s%@target_cpu@%$target_cpu%g -+s%@target_vendor@%$target_vendor%g -+s%@target_os@%$target_os%g -+s%@build@%$build%g -+s%@build_alias@%$build_alias%g -+s%@build_cpu@%$build_cpu%g -+s%@build_vendor@%$build_vendor%g -+s%@build_os@%$build_os%g -+s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -+s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g -+s%@INSTALL_DATA@%$INSTALL_DATA%g -+s%@PACKAGE@%$PACKAGE%g -+s%@VERSION@%$VERSION%g -+s%@ACLOCAL@%$ACLOCAL%g -+s%@AUTOCONF@%$AUTOCONF%g -+s%@AUTOMAKE@%$AUTOMAKE%g -+s%@AUTOHEADER@%$AUTOHEADER%g -+s%@MAKEINFO@%$MAKEINFO%g -+s%@SET_MAKE@%$SET_MAKE%g -+s%@CC@%$CC%g -+s%@AS@%$AS%g -+s%@AR@%$AR%g -+s%@RANLIB@%$RANLIB%g -+s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g -+s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g -+s%@MAINT@%$MAINT%g -+s%@EXEEXT@%$EXEEXT%g -+s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g -+s%@ELIX_LEVEL_0_TRUE@%$ELIX_LEVEL_0_TRUE%g -+s%@ELIX_LEVEL_0_FALSE@%$ELIX_LEVEL_0_FALSE%g -+s%@ELIX_LEVEL_1_TRUE@%$ELIX_LEVEL_1_TRUE%g -+s%@ELIX_LEVEL_1_FALSE@%$ELIX_LEVEL_1_FALSE%g -+s%@ELIX_LEVEL_2_TRUE@%$ELIX_LEVEL_2_TRUE%g -+s%@ELIX_LEVEL_2_FALSE@%$ELIX_LEVEL_2_FALSE%g -+s%@ELIX_LEVEL_3_TRUE@%$ELIX_LEVEL_3_TRUE%g -+s%@ELIX_LEVEL_3_FALSE@%$ELIX_LEVEL_3_FALSE%g -+s%@ELIX_LEVEL_4_TRUE@%$ELIX_LEVEL_4_TRUE%g -+s%@ELIX_LEVEL_4_FALSE@%$ELIX_LEVEL_4_FALSE%g -+s%@USE_LIBTOOL_TRUE@%$USE_LIBTOOL_TRUE%g -+s%@USE_LIBTOOL_FALSE@%$USE_LIBTOOL_FALSE%g -+s%@OBJEXT@%$OBJEXT%g -+s%@oext@%$oext%g -+s%@aext@%$aext%g -+s%@libm_machine_dir@%$libm_machine_dir%g -+s%@machine_dir@%$machine_dir%g -+s%@sys_dir@%$sys_dir%g -+s%@extra_objs@%$extra_objs%g -+s%@extra_sources@%$extra_sources%g -+ -+CEOF -+EOF -+ -+cat >> $CONFIG_STATUS <<\EOF -+ -+# Split the substitutions into bite-sized pieces for seds with -+# small command number limits, like on Digital OSF/1 and HP-UX. -+ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. -+ac_file=1 # Number of current file. -+ac_beg=1 # First line for current file. -+ac_end=$ac_max_sed_cmds # Line after last line for current file. -+ac_more_lines=: -+ac_sed_cmds="" -+while $ac_more_lines; do -+ if test $ac_beg -gt 1; then -+ sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file -+ else -+ sed "${ac_end}q" conftest.subs > conftest.s$ac_file -+ fi -+ if test ! -s conftest.s$ac_file; then -+ ac_more_lines=false -+ rm -f conftest.s$ac_file -+ else -+ if test -z "$ac_sed_cmds"; then -+ ac_sed_cmds="sed -f conftest.s$ac_file" -+ else -+ ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" -+ fi -+ ac_file=`expr $ac_file + 1` -+ ac_beg=$ac_end -+ ac_end=`expr $ac_end + $ac_max_sed_cmds` -+ fi -+done -+if test -z "$ac_sed_cmds"; then -+ ac_sed_cmds=cat -+fi -+EOF -+ -+cat >> $CONFIG_STATUS <<EOF -+ -+CONFIG_FILES=\${CONFIG_FILES-"Makefile"} -+EOF -+cat >> $CONFIG_STATUS <<\EOF -+for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then -+ # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". -+ case "$ac_file" in -+ *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` -+ ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; -+ *) ac_file_in="${ac_file}.in" ;; -+ esac -+ -+ # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. -+ -+ # Remove last slash and all that follows it. Not all systems have dirname. -+ ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` -+ if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then -+ # The file is in a subdirectory. -+ test ! -d "$ac_dir" && mkdir "$ac_dir" -+ ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" -+ # A "../" for each directory in $ac_dir_suffix. -+ ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` -+ else -+ ac_dir_suffix= ac_dots= -+ fi -+ -+ case "$ac_given_srcdir" in -+ .) srcdir=. -+ if test -z "$ac_dots"; then top_srcdir=. -+ else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; -+ /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; -+ *) # Relative path. -+ srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" -+ top_srcdir="$ac_dots$ac_given_srcdir" ;; -+ esac -+ -+ case "$ac_given_INSTALL" in -+ [/$]*) INSTALL="$ac_given_INSTALL" ;; -+ *) INSTALL="$ac_dots$ac_given_INSTALL" ;; -+ esac -+ -+ echo creating "$ac_file" -+ rm -f "$ac_file" -+ configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." -+ case "$ac_file" in -+ *Makefile*) ac_comsub="1i\\ -+# $configure_input" ;; -+ *) ac_comsub= ;; -+ esac -+ -+ ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` -+ sed -e "$ac_comsub -+s%@configure_input@%$configure_input%g -+s%@srcdir@%$srcdir%g -+s%@top_srcdir@%$top_srcdir%g -+s%@INSTALL@%$INSTALL%g -+" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file -+fi; done -+rm -f conftest.s* -+ -+EOF -+cat >> $CONFIG_STATUS <<EOF -+ -+EOF -+cat >> $CONFIG_STATUS <<\EOF -+ -+exit 0 -+EOF -+chmod +x $CONFIG_STATUS -+rm -fr confdefs* $ac_clean_files -+test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 -+ -diff -urN newlib-1.14.0/newlib/libc/machine/spu/configure.in newlib-1.14.0.spe/newlib/libc/machine/spu/configure.in ---- newlib-1.14.0/newlib/libc/machine/spu/configure.in 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/machine/spu/configure.in 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,17 @@ -+dnl This is the newlib/libc/machine/spu configure.in file. -+dnl Process this file with autoconf to produce a configure script. -+ -+AC_PREREQ(2.5) -+AC_INIT(setjmp.S) -+ -+dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. -+AC_CONFIG_AUX_DIR(../../../..) -+ -+NEWLIB_CONFIGURE(../../..) -+ -+extra_objs= -+extra_sources= -+AC_SUBST(extra_objs) -+AC_SUBST(extra_sources) -+ -+AC_OUTPUT(Makefile) -diff -urN newlib-1.14.0/newlib/libc/machine/spu/memcpy.c newlib-1.14.0.spe/newlib/libc/machine/spu/memcpy.c ---- newlib-1.14.0/newlib/libc/machine/spu/memcpy.c 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/machine/spu/memcpy.c 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,46 @@ -+/* -+(C) Copyright IBM Corp. 2005, 2006 -+ -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions are met: -+ -+ * Redistributions of source code must retain the above copyright notice, -+this list of conditions and the following disclaimer. -+ * Redistributions in binary form must reproduce the above copyright -+notice, this list of conditions and the following disclaimer in the -+documentation and/or other materials provided with the distribution. -+ * Neither the name of IBM nor the names of its contributors may be -+used to endorse or promote products derived from this software without -+specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -+POSSIBILITY OF SUCH DAMAGE. -+ -+Author: Andreas Neukoetter (ti95neuk@de.ibm.com) -+*/ -+ -+void * memcpy (void *dst, const void *src, size_t len) -+{ -+ /* TODO: copying byte by byte is far to inefficient */ -+ int i = 0; -+ char *d = ( char* )dst; -+ char *s = ( char* )src; -+ -+ while( i< len ){ -+ *( d++ )= *( s++ ); -+ i++; -+ } -+ -+ return( dst ); -+} -diff -urN newlib-1.14.0/newlib/libc/machine/spu/setjmp.S newlib-1.14.0.spe/newlib/libc/machine/spu/setjmp.S ---- newlib-1.14.0/newlib/libc/machine/spu/setjmp.S 1970-01-01 01:00:00.000000000 +0100 -+++ newlib-1.14.0.spe/newlib/libc/machine/spu/setjmp.S 2006-06-11 02:19:17.000000000 +0200 -@@ -0,0 +1,313 @@ -+/* -+(C) Copyright IBM Corp. 2005, 2006 -+ -+All rights reserved. -+ -+Redistribution and use in source and binary forms, with or without -+modification, are permitted provided that the following conditions are met: -+ -+ * Redistributions of source code must retain the above copyright notice, -+this list of conditions and the following disclaimer. -+ * Redistributions in binary form must reproduce the above copyright -+notice, this list of conditions and the following disclaimer in the -+documentation and/or other materials provided with the distribution. -+ * Neither the name of IBM nor the names of its contributors may be -+used to endorse or promote products derived from this software without -+specific prior written permission. -+ -+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -+POSSIBILITY OF SUCH DAMAGE. -+ -+Author: Andreas Neukoetter (ti95neuk@de.ibm.com) -+*/ -+ -+/* -+ int setjmp( jmp_buf env ); -+*/ -+ .text -+ .align 2 -+ .global setjmp -+setjmp: -+ -+/* store registers in provided buffer */ -+/* 15 -> 0 */ -+/* 16 -> 1 */ -+/* ... */ -+/* 127 -> 112 */ -+ -+/* 0 -> 113 */ -+/* 1 -> 114 */ -+/* 2 -> 115 */ -+ -+ stqd $15, 0*16($3) -+ stqd $16, 1*16($3) -+ stqd $17, 2*16($3) -+ stqd $18, 3*16($3) -+ stqd $19, 4*16($3) -+ stqd $20, 5*16($3) -+ stqd $21, 6*16($3) -+ stqd $22, 7*16($3) -+ stqd $23, 8*16($3) -+ stqd $24, 9*16($3) -+ stqd $25, 10*16($3) -+ stqd $26, 11*16($3) -+ stqd $27, 12*16($3) -+ stqd $28, 13*16($3) -+ stqd $29, 14*16($3) -+ stqd $30, 15*16($3) -+ stqd $31, 16*16($3) -+ stqd $32, 17*16($3) -+ stqd $33, 18*16($3) -+ stqd $34, 19*16($3) -+ stqd $35, 20*16($3) -+ stqd $36, 21*16($3) -+ stqd $37, 22*16($3) -+ stqd $38, 23*16($3) -+ stqd $39, 24*16($3) -+ stqd $40, 25*16($3) -+ stqd $41, 26*16($3) -+ stqd $42, 27*16($3) -+ stqd $43, 28*16($3) -+ stqd $44, 29*16($3) -+ stqd $45, 30*16($3) -+ stqd $46, 31*16($3) -+ stqd $47, 32*16($3) -+ stqd $48, 33*16($3) -+ stqd $49, 34*16($3) -+ stqd $50, 35*16($3) -+ stqd $51, 36*16($3) -+ stqd $52, 37*16($3) -+ stqd $53, 38*16($3) -+ stqd $54, 39*16($3) -+ stqd $55, 40*16($3) -+ stqd $56, 41*16($3) -+ stqd $57, 42*16($3) -+ stqd $58, 43*16($3) -+ stqd $59, 44*16($3) -+ stqd $60, 45*16($3) -+ stqd $61, 46*16($3) -+ stqd $62, 47*16($3) -+ stqd $63, 48*16($3) -+ stqd $64, 49*16($3) -+ stqd $65, 50*16($3) -+ stqd $66, 51*16($3) -+ stqd $67, 52*16($3) -+ stqd $68, 53*16($3) -+ stqd $69, 54*16($3) -+ stqd $70, 55*16($3) -+ stqd $71, 56*16($3) -+ stqd $72, 57*16($3) -+ stqd $73, 58*16($3) -+ stqd $74, 59*16($3) -+ stqd $75, 60*16($3) -+ stqd $76, 61*16($3) -+ stqd $77, 62*16($3) -+ stqd $78, 63*16($3) -+ stqd $79, 64*16($3) -+ stqd $80, 65*16($3) -+ stqd $81, 66*16($3) -+ stqd $82, 67*16($3) -+ stqd $83, 68*16($3) -+ stqd $84, 69*16($3) -+ stqd $85, 70*16($3) -+ stqd $86, 71*16($3) -+ stqd $87, 72*16($3) -+ stqd $88, 73*16($3) -+ stqd $89, 74*16($3) -+ stqd $90, 75*16($3) -+ stqd $91, 76*16($3) -+ stqd $92, 77*16($3) -+ stqd $93, 78*16($3) -+ stqd $94, 79*16($3) -+ stqd $95, 80*16($3) -+ stqd $96, 81*16($3) -+ stqd $97, 82*16($3) -+ stqd $98, 83*16($3) -+ stqd $99, 84*16($3) -+ stqd $100, 85*16($3) -+ stqd $101, 86*16($3) -+ stqd $102, 87*16($3) -+ stqd $103, 88*16($3) -+ stqd $104, 89*16($3) -+ stqd $105, 90*16($3) -+ stqd $106, 91*16($3) -+ stqd $107, 92*16($3) -+ stqd $108, 93*16($3) -+ stqd $109, 94*16($3) -+ stqd $110, 95*16($3) -+ stqd $111, 96*16($3) -+ stqd $112, 97*16($3) -+ stqd $113, 98*16($3) -+ stqd $114, 99*16($3) -+ stqd $115, 100*16($3) -+ stqd $116, 101*16($3) -+ stqd $117, 102*16($3) -+ stqd $118, 103*16($3) -+ stqd $119, 104*16($3) -+ stqd $120, 105*16($3) -+ stqd $121, 106*16($3) -+ stqd $122, 107*16($3) -+ stqd $123, 108*16($3) -+ stqd $124, 109*16($3) -+ stqd $125, 110*16($3) -+ stqd $126, 111*16($3) -+ stqd $127, 112*16($3) -+/* TODO: do we really need to store them all ? */ -+ -+ stqd $0, 113*16($3) -+ stqd $1, 114*16($3) -+ stqd $2, 115*16($3) -+ -+/* return 0 */ -+ il $3, 0 -+ bi $0 -+ -+/* -+ int longjmp( jmp_buf env, int val ); -+*/ -+ .text -+ .align 2 -+ .global longjmp -+longjmp: -+ lqd $15, 0*16($3) -+ lqd $16, 1*16($3) -+ lqd $17, 2*16($3) -+ lqd $18, 3*16($3) -+ lqd $19, 4*16($3) -+ lqd $20, 5*16($3) -+ lqd $21, 6*16($3) -+ lqd $22, 7*16($3) -+ lqd $23, 8*16($3) -+ lqd $24, 9*16($3) -+ lqd $25, 10*16($3) -+ lqd $26, 11*16($3) -+ lqd $27, 12*16($3) -+ lqd $28, 13*16($3) -+ lqd $29, 14*16($3) -+ lqd $30, 15*16($3) -+ lqd $31, 16*16($3) -+ lqd $32, 17*16($3) -+ lqd $33, 18*16($3) -+ lqd $34, 19*16($3) -+ lqd $35, 20*16($3) -+ lqd $36, 21*16($3) -+ lqd $37, 22*16($3) -+ lqd $38, 23*16($3) -+ lqd $39, 24*16($3) -+ lqd $40, 25*16($3) -+ lqd $41, 26*16($3) -+ lqd $42, 27*16($3) -+ lqd $43, 28*16($3) -+ lqd $44, 29*16($3) -+ lqd $45, 30*16($3) -+ lqd $46, 31*16($3) -+ lqd $47, 32*16($3) -+ lqd $48, 33*16($3) -+ lqd $49, 34*16($3) -+ lqd $50, 35*16($3) -+ lqd $51, 36*16($3) -+ lqd $52, 37*16($3) -+ lqd $53, 38*16($3) -+ lqd $54, 39*16($3) -+ lqd $55, 40*16($3) -+ lqd $56, 41*16($3) -+ lqd $57, 42*16($3) -+ lqd $58, 43*16($3) -+ lqd $59, 44*16($3) -+ lqd $60, 45*16($3) -+ lqd $61, 46*16($3) -+ lqd $62, 47*16($3) -+ lqd $63, 48*16($3) -+ lqd $64, 49*16($3) -+ lqd $65, 50*16($3) -+ lqd $66, 51*16($3) -+ lqd $67, 52*16($3) -+ lqd $68, 53*16($3) -+ lqd $69, 54*16($3) -+ lqd $70, 55*16($3) -+ lqd $71, 56*16($3) -+ lqd $72, 57*16($3) -+ lqd $73, 58*16($3) -+ lqd $74, 59*16($3) -+ lqd $75, 60*16($3) -+ lqd $76, 61*16($3) -+ lqd $77, 62*16($3) -+ lqd $78, 63*16($3) -+ lqd $79, 64*16($3) -+ lqd $80, 65*16($3) -+ lqd $81, 66*16($3) -+ lqd $82, 67*16($3) -+ lqd $83, 68*16($3) -+ lqd $84, 69*16($3) -+ lqd $85, 70*16($3) -+ lqd $86, 71*16($3) -+ lqd $87, 72*16($3) -+ lqd $88, 73*16($3) -+ lqd $89, 74*16($3) -+ lqd $90, 75*16($3) -+ lqd $91, 76*16($3) -+ lqd $92, 77*16($3) -+ lqd $93, 78*16($3) -+ lqd $94, 79*16($3) -+ lqd $95, 80*16($3) -+ lqd $96, 81*16($3) -+ lqd $97, 82*16($3) -+ lqd $98, 83*16($3) -+ lqd $99, 84*16($3) -+ lqd $100, 85*16($3) -+ lqd $101, 86*16($3) -+ lqd $102, 87*16($3) -+ lqd $103, 88*16($3) -+ lqd $104, 89*16($3) -+ lqd $105, 90*16($3) -+ lqd $106, 91*16($3) -+ lqd $107, 92*16($3) -+ lqd $108, 93*16($3) -+ lqd $109, 94*16($3) -+ lqd $110, 95*16($3) -+ lqd $111, 96*16($3) -+ lqd $112, 97*16($3) -+ lqd $113, 98*16($3) -+ lqd $114, 99*16($3) -+ lqd $115, 100*16($3) -+ lqd $116, 101*16($3) -+ lqd $117, 102*16($3) -+ lqd $118, 103*16($3) -+ lqd $119, 104*16($3) -+ lqd $120, 105*16($3) -+ lqd $121, 106*16($3) -+ lqd $122, 107*16($3) -+ lqd $123, 108*16($3) -+ lqd $124, 109*16($3) -+ lqd $125, 110*16($3) -+ lqd $126, 111*16($3) -+ lqd $127, 112*16($3) -+ -+ lqd $0, 113*16($3) -+ lqd $1, 114*16($3) -+ lqd $2, 115*16($3) -+ -+/* we cannot return 0 */ -+/* if the user tries to, we have to return 1 */ -+ -+// $3 = $4 -+ ai $3,$4, 0 -+// if $3 != 0 -+// branch -+ brnz $3, .L1 -+// else -+// set $3 = 1 -+ ila $3, 1 -+.L1: -+ -+ bi $0 -+ diff --git a/sys-libs/newlib/newlib-1.14.0.ebuild b/sys-libs/newlib/newlib-1.14.0.ebuild deleted file mode 100644 index 7a8b6fd..0000000 --- a/sys-libs/newlib/newlib-1.14.0.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils flag-o-matic gnuconfig autotools - -export CBUILD=${CBUILD:-${CHOST}} -export CTARGET=${CTARGET:-${CHOST}} -if [[ ${CTARGET} == ${CHOST} ]] ; then - if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then - export CTARGET=${CATEGORY/cross-} - fi -fi - -# Handle the case where we want newlib on glibc ... -if [[ ${CTARGET} == ${CHOST} ]] && [[ ${CHOST} != *-newlib ]] ; then - export CTARGET=${CHOST%%-*}-pc-linux-newlib -fi - -DESCRIPTION="Newlib is a C library intended for use on embedded systems" -HOMEPAGE="http://sourceware.org/newlib/" -SRC_URI="ftp://sources.redhat.com/pub/newlib/${P}.tar.gz" - -LICENSE="NEWLIB" -[[ ${CTARGET} != ${CHOST} ]] \ - && SLOT="${CTARGET}" \ - || SLOT="0" -KEYWORDS="-* ~ppc64 ~ppc" -IUSE="nls threads unicode multilib" - -DEPEND=">=sys-devel/gnuconfig" -RDEPEND="" - -RESTRICT="nostrip" - -NEWLIBBUILD="${WORKDIR}/build" - -alt_build_kprefix() { - if [[ ${CBUILD} == ${CHOST} && ${CTARGET} == ${CHOST} ]] \ - || [[ -n ${UCLIBC_AND_GLIBC} ]] - then - echo /usr - else - echo /usr/${CTARGET}/usr - fi -} - -src_unpack() { - unpack ${A} - epatch ${FILESDIR}/${P}-spe-vanilla.patch - einfo "Workarounding broken configure.in" - cd ${S} - gnuconfig_update - export WANT_AUTOCONF=2.1 - for a in libgloss libgloss/doc libgloss/libnosys - do - pushd ${S}/${a} - aclocal 2>/dev/null - autoconf 2>/dev/null - popd - done - mkdir -p ${NEWLIBBUILD} -} - -src_compile() { - local myconf="" -#hardwired to avoid breakages - [[ ${CTARGET} == *-softfloat-* ]] \ - && myconf="--disable-newlib-hw-fp" \ - || myconf="--enable-newlib-hw-fp" - -#to the user discretion - myconf="${myconf} `use_enable unicode newlib-mb`" - myconf="${myconf} `use_enable nls`" - myconf="${myconf} `use_enable multilib`" - [[ ${CTARGET} == "spu" ]] \ - && myconf="${myconf} --disable-threads" \ - || myconf="${myconf} `use_enable threads`" - - cd ${NEWLIBBUILD} - -# --prefix=$(alt_build_kprefix) \ -# it will install on $prefix/$CTARGET by itself - - ../${P}/configure \ - --host=${CHOST} \ - --target=${CTARGET} \ - --prefix=/usr \ - ${myconf} || die "econf failed" - emake || die "emake failed" -} - -src_install() { - cd ${NEWLIBBUILD} - emake -j1 DESTDIR=${D} install - env -uRESTRICT CHOST=${CTARGET} prepallstrip - # minor hack to keep things clean - rm -fR ${D}/usr/info -} - |