⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 newlib-1.15.0.patch.svn-base

📁 PSP开发环境(Linux) 包含PSPLINK 请自行选择需要安装的库及源代码
💻 SVN-BASE
📖 第 1 页 / 共 5 页
字号:
+# restrict ourselves to GNU make (using the --version option ensures+# this.)+AC_DEFUN([AM_PROG_MKDIR_P],+[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then+  # We used to keeping the `.' as first argument, in order to+  # allow $(mkdir_p) to be used without argument.  As in+  #   $(mkdir_p) $(somedir)+  # where $(somedir) is conditionally defined.  However this is wrong+  # for two reasons:+  #  1. if the package is installed by a user who cannot write `.'+  #     make install will fail,+  #  2. the above comment should most certainly read+  #     $(mkdir_p) $(DESTDIR)$(somedir)+  #     so it does not work when $(somedir) is undefined and+  #     $(DESTDIR) is not.+  #  To support the latter case, we have to write+  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),+  #  so the `.' trick is pointless.+  mkdir_p='mkdir -p --'+else+  # On NextStep and OpenStep, the `mkdir' command does not+  # recognize any option.  It will interpret all options as+  # directories to create, and then abort because `.' already+  # exists.+  for d in ./-p ./--version;+  do+    test -d $d && rmdir $d+  done+  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.+  if test -f "$ac_aux_dir/mkinstalldirs"; then+    mkdir_p='$(mkinstalldirs)'+  else+    mkdir_p='$(install_sh) -d'+  fi+fi+AC_SUBST([mkdir_p])])++# Helper functions for option handling.                     -*- Autoconf -*-++# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.+#+# This file 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.++# serial 3++# _AM_MANGLE_OPTION(NAME)+# -----------------------+AC_DEFUN([_AM_MANGLE_OPTION],+[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])++# _AM_SET_OPTION(NAME)+# ------------------------------+# Set option NAME.  Presently that only means defining a flag for this option.+AC_DEFUN([_AM_SET_OPTION],+[m4_define(_AM_MANGLE_OPTION([$1]), 1)])++# _AM_SET_OPTIONS(OPTIONS)+# ----------------------------------+# OPTIONS is a space-separated list of Automake options.+AC_DEFUN([_AM_SET_OPTIONS],+[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])++# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])+# -------------------------------------------+# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.+AC_DEFUN([_AM_IF_OPTION],+[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])++# Check to make sure that the build environment is sane.    -*- Autoconf -*-++# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005+# Free Software Foundation, Inc.+#+# This file 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.++# serial 4++# AM_SANITY_CHECK+# ---------------+AC_DEFUN([AM_SANITY_CHECK],+[AC_MSG_CHECKING([whether build environment is sane])+# Just in case+sleep 1+echo timestamp > conftest.file+# 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 conftest.file 2> /dev/null`+   if test "$[*]" = "X"; then+      # -L didn't work.+      set X `ls -t $srcdir/configure conftest.file`+   fi+   rm -f conftest.file+   if test "$[*]" != "X $srcdir/configure conftest.file" \+      && test "$[*]" != "X conftest.file $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".+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken+alias in your environment])+   fi++   test "$[2]" = conftest.file+   )+then+   # Ok.+   :+else+   AC_MSG_ERROR([newly created file is older than distributed files!+Check your system clock])+fi+AC_MSG_RESULT(yes)])++# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.+#+# This file 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.++# AM_PROG_INSTALL_STRIP+# ---------------------+# One issue with vendor `install' (even GNU) is that you can't+# specify the program used to strip binaries.  This is especially+# annoying in cross-compiling environments, where the build's strip+# is unlikely to handle the host's binaries.+# Fortunately install-sh will honor a STRIPPROG variable, so we+# always use install-sh in `make install-strip', and initialize+# STRIPPROG with the value of the STRIP variable (set by the user).+AC_DEFUN([AM_PROG_INSTALL_STRIP],+[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl+# Installed binaries are usually stripped using `strip' when the user+# run `make install-strip'.  However `strip' might not be the right+# tool to use in cross-compilation environments, therefore Automake+# will honor the `STRIP' environment variable to overrule this program.+dnl Don't test for $cross_compiling = yes, because it might be `maybe'.+if test "$cross_compiling" != no; then+  AC_CHECK_TOOL([STRIP], [strip], :)+fi+INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"+AC_SUBST([INSTALL_STRIP_PROGRAM])])++# Check how to create a tarball.                            -*- Autoconf -*-++# Copyright (C) 2004, 2005  Free Software Foundation, Inc.+#+# This file 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.++# serial 2++# _AM_PROG_TAR(FORMAT)+# --------------------+# Check how to create a tarball in format FORMAT.+# FORMAT should be one of `v7', `ustar', or `pax'.+#+# Substitute a variable $(am__tar) that is a command+# writing to stdout a FORMAT-tarball containing the directory+# $tardir.+#     tardir=directory && $(am__tar) > result.tar+#+# Substitute a variable $(am__untar) that extract such+# a tarball read from stdin.+#     $(am__untar) < result.tar+AC_DEFUN([_AM_PROG_TAR],+[# Always define AMTAR for backward compatibility.+AM_MISSING_PROG([AMTAR], [tar])+m4_if([$1], [v7],+     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],+     [m4_case([$1], [ustar],, [pax],,+              [m4_fatal([Unknown tar format])])+AC_MSG_CHECKING([how to create a $1 tar archive])+# Loop over all known methods to create a tar archive until one works.+_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'+_am_tools=${am_cv_prog_tar_$1-$_am_tools}+# Do not fold the above two line into one, because Tru64 sh and+# Solaris sh will not grok spaces in the rhs of `-'.+for _am_tool in $_am_tools+do+  case $_am_tool in+  gnutar)+    for _am_tar in tar gnutar gtar;+    do+      AM_RUN_LOG([$_am_tar --version]) && break+    done+    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'+    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'+    am__untar="$_am_tar -xf -"+    ;;+  plaintar)+    # Must skip GNU tar: if it does not support --format= it doesn't create+    # ustar tarball either.+    (tar --version) >/dev/null 2>&1 && continue+    am__tar='tar chf - "$$tardir"'+    am__tar_='tar chf - "$tardir"'+    am__untar='tar xf -'+    ;;+  pax)+    am__tar='pax -L -x $1 -w "$$tardir"'+    am__tar_='pax -L -x $1 -w "$tardir"'+    am__untar='pax -r'+    ;;+  cpio)+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'+    am__untar='cpio -i -H $1 -d'+    ;;+  none)+    am__tar=false+    am__tar_=false+    am__untar=false+    ;;+  esac++  # If the value was cached, stop now.  We just wanted to have am__tar+  # and am__untar set.+  test -n "${am_cv_prog_tar_$1}" && break++  # tar/untar a dummy directory, and stop if the command works+  rm -rf conftest.dir+  mkdir conftest.dir+  echo GrepMe > conftest.dir/file+  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])+  rm -rf conftest.dir+  if test -s conftest.tar; then+    AM_RUN_LOG([$am__untar <conftest.tar])+    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break+  fi+done+rm -rf conftest.dir++AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])+AC_MSG_RESULT([$am_cv_prog_tar_$1])])+AC_SUBST([am__tar])+AC_SUBST([am__untar])+]) # _AM_PROG_TAR++m4_include([../../../acinclude.m4])diff -burN newlib-1.15.0/newlib/libc/sys/psp/arpa/inet.h newlib-psp/newlib/libc/sys/psp/arpa/inet.h--- newlib-1.15.0/newlib/libc/sys/psp/arpa/inet.h	1970-01-01 01:00:00.000000000 +0100+++ newlib-psp/newlib/libc/sys/psp/arpa/inet.h	2007-03-10 18:02:39.000000000 +0100@@ -0,0 +1,26 @@+/* arpa/inet.h - Functions for converting IP addresses between strings and numbers */++#ifndef _ARPA_INET_H_+#define _ARPA_INET_H_++#ifdef __cplusplus+extern "C" {+#endif++#include <netinet/in.h>++in_addr_t sceNetInetInetAddr(const char *ip);+int sceNetInetInetAton(const char *ip, struct in_addr *in);+const char* sceNetInetInetNtop(int af, const void *src, char *dst, socklen_t cnt);+int sceNetInetInetPton(int af, const char *src, void *dst);++char *inet_ntoa(struct in_addr in);+#define inet_addr sceNetInetInetAddr+#define inet_aton sceNetInetInetAton+#define inet_ntop sceNetInetInetNtop+#define inet_pton sceNetInetInetPton++#ifdef __cplusplus+}+#endif+#endif /* _ARPA_INET_H_ */diff -burN newlib-1.15.0/newlib/libc/sys/psp/confdefs.h newlib-psp/newlib/libc/sys/psp/confdefs.h--- newlib-1.15.0/newlib/libc/sys/psp/confdefs.h	1970-01-01 01:00:00.000000000 +0100+++ newlib-psp/newlib/libc/sys/psp/confdefs.h	2007-03-10 18:02:39.000000000 +0100@@ -0,0 +1 @@+diff -burN newlib-1.15.0/newlib/libc/sys/psp/configure newlib-psp/newlib/libc/sys/psp/configure--- newlib-1.15.0/newlib/libc/sys/psp/configure	1970-01-01 01:00:00.000000000 +0100+++ newlib-psp/newlib/libc/sys/psp/configure	2007-03-10 18:02:39.000000000 +0100@@ -0,0 +1,4085 @@+#! /bin/sh+# Guess values for system-dependent variables and create Makefiles.+# Generated by GNU Autoconf 2.59 for newlib 1.15.0.+#+# 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 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -