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

📄 100-uclibc-conf.patch

📁 最新的文件系统生成工具
💻 PATCH
📖 第 1 页 / 共 4 页
字号:
+fi++if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then+  echo "$ac_t""yes" 1>&6+    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`+  cat >> confdefs.h <<EOF+#define $ac_tr_func 1+EOF+ +else+  echo "$ac_t""no" 1>&6+\+    ac_wfuncs=no+fi+done+++    echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6+echo "configure:4934: checking for ISO C99 wchar_t support" >&5+    if test x"$has_weof" = xyes &&+       test x"$has_wchar_minmax" = xyes &&+       test x"$ac_wfuncs" = xyes; then+      ac_isoC99_wchar_t=yes+    else+      ac_isoC99_wchar_t=no+    fi+    echo "$ac_t""$ac_isoC99_wchar_t" 1>&6+  +            ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`+echo $ac_n "checking for iconv.h""... $ac_c" 1>&6+echo "configure:4946: checking for iconv.h" >&5+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then+  echo $ac_n "(cached) $ac_c" 1>&6+else+  cat > conftest.$ac_ext <<EOF+#line 4951 "configure"+#include "confdefs.h"+#include <iconv.h>+EOF+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"+{ (eval echo configure:4956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`+if test -z "$ac_err"; then+  rm -rf conftest*+  eval "ac_cv_header_$ac_safe=yes"+else+  echo "$ac_err" >&5+  echo "configure: failed program was:" >&5+  cat conftest.$ac_ext >&5+  rm -rf conftest*+  eval "ac_cv_header_$ac_safe=no"+fi+rm -f conftest*+fi+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then+  echo "$ac_t""yes" 1>&6+  ac_has_iconv_h=yes+else+  echo "$ac_t""no" 1>&6+ac_has_iconv_h=no+fi++    ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`+echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6+echo "configure:4980: checking for langinfo.h" >&5+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then+  echo $ac_n "(cached) $ac_c" 1>&6+else+  cat > conftest.$ac_ext <<EOF+#line 4985 "configure"+#include "confdefs.h"+#include <langinfo.h>+EOF+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"+{ (eval echo configure:4990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`+if test -z "$ac_err"; then+  rm -rf conftest*+  eval "ac_cv_header_$ac_safe=yes"+else+  echo "$ac_err" >&5+  echo "configure: failed program was:" >&5+  cat conftest.$ac_ext >&5+  rm -rf conftest*+  eval "ac_cv_header_$ac_safe=no"+fi+rm -f conftest*+fi+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then+  echo "$ac_t""yes" 1>&6+  ac_has_langinfo_h=yes+else+  echo "$ac_t""no" 1>&6+ac_has_langinfo_h=no+fi+++        echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6+echo "configure:5014: checking for iconv in -liconv" >&5+ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then+  echo $ac_n "(cached) $ac_c" 1>&6+else+  ac_save_LIBS="$LIBS"+LIBS="-liconv  $LIBS"+cat > conftest.$ac_ext <<EOF+#line 5022 "configure"+#include "confdefs.h"+/* Override any gcc2 internal prototype to avoid an error.  */+/* We use char because int might match the return type of a gcc2+    builtin and then its argument prototype would still apply.  */+char iconv();++int main() {+iconv()+; return 0; }+EOF+if { (eval echo configure:5033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then+  rm -rf conftest*+  eval "ac_cv_lib_$ac_lib_var=yes"+else+  echo "configure: failed program was:" >&5+  cat conftest.$ac_ext >&5+  rm -rf conftest*+  eval "ac_cv_lib_$ac_lib_var=no"+fi+rm -f conftest*+LIBS="$ac_save_LIBS"++fi+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then+  echo "$ac_t""yes" 1>&6+  libiconv="-liconv"+else+  echo "$ac_t""no" 1>&6+fi++    ac_save_LIBS="$LIBS"+    LIBS="$LIBS $libiconv"++    for ac_func in iconv_open iconv_close iconv nl_langinfo+do+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6+echo "configure:5059: checking for $ac_func" >&5+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then+  echo $ac_n "(cached) $ac_c" 1>&6+else+  cat > conftest.$ac_ext <<EOF+#line 5064 "configure"+#include "confdefs.h"+/* System header to define __stub macros and hopefully few prototypes,+    which can conflict with char $ac_func(); below.  */+#include <assert.h>+/* Override any gcc2 internal prototype to avoid an error.  */+/* We use char because int might match the return type of a gcc2+    builtin and then its argument prototype would still apply.  */+char $ac_func();++int main() {++/* The GNU C library defines this for functions which it implements+    to always fail with ENOSYS.  Some functions are actually named+    something starting with __ and the normal name is an alias.  */+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)+choke me+#else+$ac_func();+#endif++; return 0; }+EOF+if { (eval echo configure:5087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then+  rm -rf conftest*+  eval "ac_cv_func_$ac_func=yes"+else+  echo "configure: failed program was:" >&5+  cat conftest.$ac_ext >&5+  rm -rf conftest*+  eval "ac_cv_func_$ac_func=no"+fi+rm -f conftest*+fi++if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then+  echo "$ac_t""yes" 1>&6+    ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`+  cat >> confdefs.h <<EOF+#define $ac_tr_func 1+EOF+ \+    ac_XPG2funcs=yes+else+  echo "$ac_t""no" 1>&6+ac_XPG2funcs=no+fi+done++  +    LIBS="$ac_save_LIBS"++    echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6+echo "configure:5117: checking for XPG2 wchar_t support" >&5+    if test x"$ac_has_iconv_h" = xyes &&+       test x"$ac_has_langinfo_h" = xyes &&+       test x"$ac_XPG2funcs" = xyes; then+      ac_XPG2_wchar_t=yes+    else+      ac_XPG2_wchar_t=no+    fi+    echo "$ac_t""$ac_XPG2_wchar_t" 1>&6+  +            if test x"$ac_isoC99_wchar_t" = xyes &&+       test x"$ac_XPG2_wchar_t" = xyes; then+       cat >> confdefs.h <<\EOF+#define _GLIBCPP_USE_WCHAR_T 1+EOF++       enable_wchar_t=yes +    fi+  fi+  echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6+echo "configure:5137: checking for enabled wchar_t specializations" >&5+  echo "$ac_t""$enable_wchar_t" 1>&6	+  ++if test "$enable_wchar_t" = yes; then+  GLIBCPP_TEST_WCHAR_T_TRUE=+  GLIBCPP_TEST_WCHAR_T_FALSE='#'+else+  GLIBCPP_TEST_WCHAR_T_TRUE='#'+  GLIBCPP_TEST_WCHAR_T_FALSE=+fi	+++      cat >> confdefs.h <<\EOF+#define HAVE_COPYSIGN 1+EOF++      cat >> confdefs.h <<\EOF+#define HAVE_FINITE 1+EOF++      cat >> confdefs.h <<\EOF+#define HAVE_FINITEF 1+EOF++      cat >> confdefs.h <<\EOF+#define HAVE_ISINF 1+EOF++      cat >> confdefs.h <<\EOF+#define HAVE_ISINFF 1+EOF++      cat >> confdefs.h <<\EOF+#define HAVE_ISNAN 1+EOF++      cat >> confdefs.h <<\EOF+#define HAVE_ISNANF 1+EOF+      ;;     *-linux*)       os_include_dir="os/gnu-linux"       for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \diff -urN gcc-3.3.3-dist/libstdc++-v3/configure.in gcc-3.3.3/libstdc++-v3/configure.in--- gcc-3.3.3-dist/libstdc++-v3/configure.in	2004-01-12 10:19:22.000000000 -0600+++ gcc-3.3.3/libstdc++-v3/configure.in	2004-08-12 04:47:51.000000000 -0500@@ -117,6 +117,36 @@   # GLIBCPP_CHECK_MATH_SUPPORT    case "$target" in+    *-uclibc*)+      os_include_dir="os/uclibc"+      AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \+        machine/endian.h machine/param.h sys/machine.h sys/types.h \+        fp.h locale.h float.h inttypes.h])+      SECTION_FLAGS='-ffunction-sections -fdata-sections'+      AC_SUBST(SECTION_FLAGS)+      GLIBCPP_CHECK_LINKER_FEATURES+      GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT+      GLIBCPP_CHECK_WCHAR_T_SUPPORT++      AC_DEFINE(HAVE_COPYSIGN)+      #AC_DEFINE(HAVE_COPYSIGNF)+      AC_DEFINE(HAVE_FINITE)+      AC_DEFINE(HAVE_FINITEF)+      #AC_DEFINE(HAVE_FREXPF)+      #AC_DEFINE(HAVE_HYPOTF)+      AC_DEFINE(HAVE_ISINF)+      AC_DEFINE(HAVE_ISINFF)+      AC_DEFINE(HAVE_ISNAN)+      AC_DEFINE(HAVE_ISNANF)+      #AC_DEFINE(HAVE_SINCOS)+      #AC_DEFINE(HAVE_SINCOSF)+      #if test x"long_double_math_on_this_cpu" = x"yes"; then+        #AC_DEFINE(HAVE_FINITEL)+        #AC_DEFINE(HAVE_HYPOTL)+        #AC_DEFINE(HAVE_ISINFL)+        #AC_DEFINE(HAVE_ISNANL)+      #fi+      ;;     *-linux*)       os_include_dir="os/gnu-linux"       AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \diff -urN gcc-3.3.3-dist/libstdc++-v3/configure.target gcc-3.3.3/libstdc++-v3/configure.target--- gcc-3.3.3-dist/libstdc++-v3/configure.target	2003-10-01 14:07:07.000000000 -0500+++ gcc-3.3.3/libstdc++-v3/configure.target	2004-08-12 04:47:51.000000000 -0500@@ -133,6 +133,9 @@   freebsd*)     os_include_dir="os/bsd/freebsd"     ;;+  linux-uclibc*)+    os_include_dir="os/uclibc"+    ;;   gnu* | linux*)     os_include_dir="os/gnu-linux"     ;;diff -urN gcc-3.3.3-dist/libstdc++-v3/include/c_std/std_cstdlib.h gcc-3.3.3/libstdc++-v3/include/c_std/std_cstdlib.h--- gcc-3.3.3-dist/libstdc++-v3/include/c_std/std_cstdlib.h	2003-04-18 05:08:05.000000000 -0500+++ gcc-3.3.3/libstdc++-v3/include/c_std/std_cstdlib.h	2004-08-12 04:47:51.000000000 -0500@@ -101,9 +101,11 @@   using ::labs;   using ::ldiv;   using ::malloc;+#if _GLIBCPP_USE_WCHAR_T   using ::mblen;   using ::mbstowcs;   using ::mbtowc;+#endif   using ::qsort;   using ::rand;   using ::realloc;@@ -112,8 +114,10 @@   using ::strtol;   using ::strtoul;   using ::system;+#if _GLIBCPP_USE_WCHAR_T   using ::wcstombs;   using ::wctomb;+#endif    inline long    abs(long __i) { return labs(__i); }diff -urN gcc-3.3.3-dist/libstdc++-v3/include/c_std/std_cwchar.h gcc-3.3.3/libstdc++-v3/include/c_std/std_cwchar.h--- gcc-3.3.3-dist/libstdc++-v3/include/c_std/std_cwchar.h	2003-04-18 05:08:05.000000000 -0500+++ gcc-3.3.3/libstdc++-v3/include/c_std/std_cwchar.h	2004-08-12 04:47:51.000000000 -0500@@ -165,7 +165,9 @@   using ::wcscoll;   using ::wcscpy;   using ::wcscspn;+#ifdef HAVE_WCSFTIME   using ::wcsftime;+#endif   using ::wcslen;   using ::wcsncat;   using ::wcsncmp;diff -urN gcc-3.3.3-dist/libtool.m4 gcc-3.3.3/libtool.m4--- gcc-3.3.3-dist/libtool.m4	2003-09-09 03:04:17.000000000 -0500+++ gcc-3.3.3/libtool.m4	2004-08-12 04:47:51.000000000 -0500@@ -687,6 +687,11 @@   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`   ;; +linux-uclibc*)+  lt_cv_deplibs_check_method=pass_all+  lt_cv_file_magic_test_file=`echo /lib/libuClibc-*.so`+  ;;+ netbsd*)   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then     [lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$']diff -urN gcc-3.3.3-dist/ltconfig gcc-3.3.3/ltconfig--- gcc-3.3.3-dist/ltconfig	2003-02-19 20:10:02.000000000 -0600+++ gcc-3.3.3/ltconfig	2004-08-12 04:47:51.000000000 -0500@@ -603,6 +603,7 @@ # Transform linux* to *-*-linux-gnu*, to support old configure scripts. case $host_os in linux-gnu*) ;;+linux-uclibc*) ;; linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` esac @@ -1247,6 +1248,24 @@   dynamic_linker='GNU/Linux ld.so'   ;; +linux-uclibc*)+  version_type=linux+  need_lib_prefix=no+  need_version=no+  library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'+  soname_spec='${libname}${release}.so$major'+  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'+  shlibpath_var=LD_LIBRARY_PATH+  shlibpath_overrides_runpath=no+  # This implies no fast_install, which is unacceptable.+  # Some rework will be needed to allow for fast_install+  # before this can be enabled.+  # Note: copied from linux-gnu, and may not be appropriate.+  hardcode_into_libs=yes+  # Assume using the uClibc dynamic linker.+  dynamic_linker="uClibc ld.so"+  ;;+ netbsd*)   need_lib_prefix=no   need_version=no

⌨️ 快捷键说明

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