📄 100-uclibc-conf.patch
字号:
+ cat >> confdefs.h <<EOF+#define $ac_tr_func 1+EOF+ +else+ echo "$ac_t""no" 1>&6+LIBMATHOBJS="$LIBMATHOBJS signbit.lo"+fi+done++ for ac_func in __signbitf+do+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6+echo "configure:4520: 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 4525 "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:4548: \"$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+ +else+ echo "$ac_t""no" 1>&6+LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"+fi+done+++ if test x$ac_cv_func_copysignl = x"yes"; then+ for ac_func in __signbitl+do+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6+echo "configure:4578: 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 4583 "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:4606: \"$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+ +else+ echo "$ac_t""no" 1>&6+LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"+fi+done++ fi++ if test -n "$LIBMATHOBJS"; then+ need_libmath=yes+ fi+ + ++if test "$need_libmath" = yes; then+ GLIBCPP_BUILD_LIBMATH_TRUE=+ GLIBCPP_BUILD_LIBMATH_FALSE='#'+else+ GLIBCPP_BUILD_LIBMATH_TRUE='#'+ GLIBCPP_BUILD_LIBMATH_FALSE=+fi++ + enable_wchar_t=no++ echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6+echo "configure:4651: checking for mbstate_t" >&5+ cat > conftest.$ac_ext <<EOF+#line 4653 "configure"+#include "confdefs.h"+#include <wchar.h>+int main() {+mbstate_t teststate;+; return 0; }+EOF+if { (eval echo configure:4660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then+ rm -rf conftest*+ have_mbstate_t=yes+else+ echo "configure: failed program was:" >&5+ cat conftest.$ac_ext >&5+ rm -rf conftest*+ have_mbstate_t=no+fi+rm -f conftest*+ echo "$ac_t""$have_mbstate_t" 1>&6+ if test x"$have_mbstate_t" = xyes; then+ cat >> confdefs.h <<\EOF+#define HAVE_MBSTATE_T 1+EOF++ fi++ for ac_hdr in wchar.h+do+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6+echo "configure:4682: checking for $ac_hdr" >&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 4687 "configure"+#include "confdefs.h"+#include <$ac_hdr>+EOF+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"+{ (eval echo configure:4692: \"$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_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`+ cat >> confdefs.h <<EOF+#define $ac_tr_hdr 1+EOF+ ac_has_wchar_h=yes+else+ echo "$ac_t""no" 1>&6+ac_has_wchar_h=no+fi+done++ for ac_hdr in wctype.h+do+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6+echo "configure:4723: checking for $ac_hdr" >&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 4728 "configure"+#include "confdefs.h"+#include <$ac_hdr>+EOF+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"+{ (eval echo configure:4733: \"$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_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`+ cat >> confdefs.h <<EOF+#define $ac_tr_hdr 1+EOF+ ac_has_wctype_h=yes+else+ echo "$ac_t""no" 1>&6+ac_has_wctype_h=no+fi+done++ + if test x"$ac_has_wchar_h" = xyes &&+ test x"$ac_has_wctype_h" = xyes &&+ test x"$enable_c_mbchar" != xno; then+ + echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6+echo "configure:4766: checking for WCHAR_MIN and WCHAR_MAX" >&5+ cat > conftest.$ac_ext <<EOF+#line 4768 "configure"+#include "confdefs.h"+#include <wchar.h>+int main() {+int i = WCHAR_MIN; int j = WCHAR_MAX;+; return 0; }+EOF+if { (eval echo configure:4775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then+ rm -rf conftest*+ has_wchar_minmax=yes+else+ echo "configure: failed program was:" >&5+ cat conftest.$ac_ext >&5+ rm -rf conftest*+ has_wchar_minmax=no+fi+rm -f conftest*+ echo "$ac_t""$has_wchar_minmax" 1>&6+ + echo $ac_n "checking for WEOF""... $ac_c" 1>&6+echo "configure:4788: checking for WEOF" >&5+ cat > conftest.$ac_ext <<EOF+#line 4790 "configure"+#include "confdefs.h"++ #include <wchar.h>+ #include <stddef.h>+int main() {+wint_t i = WEOF;+; return 0; }+EOF+if { (eval echo configure:4799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then+ rm -rf conftest*+ has_weof=yes+else+ echo "configure: failed program was:" >&5+ cat conftest.$ac_ext >&5+ rm -rf conftest*+ has_weof=no+fi+rm -f conftest*+ echo "$ac_t""$has_weof" 1>&6+ + ac_wfuncs=yes+ for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset+do+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6+echo "configure:4815: 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 4820 "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:4843: \"$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+ +else+ echo "$ac_t""no" 1>&6+\+ ac_wfuncs=no+fi+done++ + for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \+ fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \+ vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \+ mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \+ wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \+ wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr+do+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6+echo "configure:4878: 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 4883 "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:4906: \"$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*
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -