📄 tftp-hpa-0.29-http-1.diff
字号:
-if { (eval echo "$as_me:1612: \"$ac_compile\"") >&5+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$?- echo "$as_me:1615: \$? = $ac_status" >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext'- { (eval echo "$as_me:1618: \"$ac_try\"") >&5+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$?- echo "$as_me:1621: \$? = $ac_status" >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ ''\@@ -1630,7 +1859,7 @@ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF-#line 1633 "configure"+#line $LINENO "configure" #include "confdefs.h" #include <stdlib.h> $ac_declaration@@ -1649,16 +1878,16 @@ } _ACEOF rm -f conftest.$ac_objext-if { (eval echo "$as_me:1652: \"$ac_compile\"") >&5+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$?- echo "$as_me:1655: \$? = $ac_status" >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext'- { (eval echo "$as_me:1658: \"$ac_try\"") >&5+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$?- echo "$as_me:1661: \$? = $ac_status" >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else@@ -1668,7 +1897,7 @@ fi rm -f conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF-#line 1671 "configure"+#line $LINENO "configure" #include "confdefs.h" $ac_declaration #ifdef F77_DUMMY_MAIN@@ -1686,16 +1915,16 @@ } _ACEOF rm -f conftest.$ac_objext-if { (eval echo "$as_me:1689: \"$ac_compile\"") >&5+if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$?- echo "$as_me:1692: \$? = $ac_status" >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -s conftest.$ac_objext'- { (eval echo "$as_me:1695: \"$ac_try\"") >&5+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$?- echo "$as_me:1698: \$? = $ac_status" >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else@@ -1722,70 +1951,155 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:1725: checking for POSIXized ISC" >&5-echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6-if test -d /etc/conf/kconfig.d &&- grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1-then- echo "$as_me:1730: result: yes" >&5-echo "${ECHO_T}yes" >&6- ISC=yes # If later tests want to check for ISC.--cat >>confdefs.h <<\_ACEOF-#define _POSIX_SOURCE 1-_ACEOF-- if test "$GCC" = yes; then- CC="$CC -posix"- else- CC="$CC -Xp"- fi-else- echo "$as_me:1744: result: no" >&5-echo "${ECHO_T}no" >&6- ISC=-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-echo "$as_me:1754: checking how to run the C preprocessor" >&5-echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6-# On Suns, sometimes $CPP names a directory.-if test -n "$CPP" && test -d "$CPP"; then- CPP=-fi-if test -z "$CPP"; then- if test "${ac_cv_prog_CPP+set}" = set; then+echo "$as_me:$LINENO: checking for library containing strerror" >&5+echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6+if test "${ac_cv_search_strerror+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else- # Double quotes because CPP needs to be expanded- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"- do- ac_preproc_ok=false-for ac_c_preproc_warn_flag in '' yes-do- # Use a header file that comes with gcc, so configuring glibc- # with a fresh cross-compiler works.- # On the NeXT, cc -E runs the code through the compiler's parser,- # not just through cpp. "Syntax error" is here to catch this case.- cat >conftest.$ac_ext <<_ACEOF-#line 1775 "configure"+ ac_func_search_save_LIBS=$LIBS+ac_cv_search_strerror=no+cat >conftest.$ac_ext <<_ACEOF+#line $LINENO "configure" #include "confdefs.h"-#include <assert.h>- Syntax error++/* Override any gcc2 internal prototype to avoid an error. */+#ifdef __cplusplus+extern "C"+#endif+/* We use char because int might match the return type of a gcc2+ builtin and then its argument prototype would still apply. */+char strerror ();+#ifdef F77_DUMMY_MAIN+# ifdef __cplusplus+ extern "C"+# endif+ int F77_DUMMY_MAIN() { return 1; }+#endif+int+main ()+{+strerror ();+ ;+ return 0;+} _ACEOF-if { (eval echo "$as_me:1780: \"$ac_cpp conftest.$ac_ext\"") >&5- (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1+rm -f conftest.$ac_objext conftest$ac_exeext+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5+ (eval $ac_link) 2>&5 ac_status=$?- egrep -v '^ *\+' conftest.er1 >conftest.err- rm -f conftest.er1- cat conftest.err >&5- echo "$as_me:1786: \$? = $ac_status" >&5- (exit $ac_status); } >/dev/null; then- if test -s conftest.err; then+ echo "$as_me:$LINENO: \$? = $ac_status" >&5+ (exit $ac_status); } &&+ { ac_try='test -s conftest$ac_exeext'+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5+ (eval $ac_try) 2>&5+ ac_status=$?+ echo "$as_me:$LINENO: \$? = $ac_status" >&5+ (exit $ac_status); }; }; then+ ac_cv_search_strerror="none required"+else+ echo "$as_me: failed program was:" >&5+cat conftest.$ac_ext >&5+fi+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext+if test "$ac_cv_search_strerror" = no; then+ for ac_lib in cposix; do+ LIBS="-l$ac_lib $ac_func_search_save_LIBS"+ cat >conftest.$ac_ext <<_ACEOF+#line $LINENO "configure"+#include "confdefs.h"++/* Override any gcc2 internal prototype to avoid an error. */+#ifdef __cplusplus+extern "C"+#endif+/* We use char because int might match the return type of a gcc2+ builtin and then its argument prototype would still apply. */+char strerror ();+#ifdef F77_DUMMY_MAIN+# ifdef __cplusplus+ extern "C"+# endif+ int F77_DUMMY_MAIN() { return 1; }+#endif+int+main ()+{+strerror ();+ ;+ return 0;+}+_ACEOF+rm -f conftest.$ac_objext conftest$ac_exeext+if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5+ (eval $ac_link) 2>&5+ ac_status=$?+ echo "$as_me:$LINENO: \$? = $ac_status" >&5+ (exit $ac_status); } &&+ { ac_try='test -s conftest$ac_exeext'+ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5+ (eval $ac_try) 2>&5+ ac_status=$?+ echo "$as_me:$LINENO: \$? = $ac_status" >&5+ (exit $ac_status); }; }; then+ ac_cv_search_strerror="-l$ac_lib"+break+else+ echo "$as_me: failed program was:" >&5+cat conftest.$ac_ext >&5+fi+rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext+ done+fi+LIBS=$ac_func_search_save_LIBS+fi+echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5+echo "${ECHO_T}$ac_cv_search_strerror" >&6+if test "$ac_cv_search_strerror" != no; then+ test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"++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+echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5+echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6+# On Suns, sometimes $CPP names a directory.+if test -n "$CPP" && test -d "$CPP"; then+ CPP=+fi+if test -z "$CPP"; then+ if test "${ac_cv_prog_CPP+set}" = set; then+ echo $ECHO_N "(cached) $ECHO_C" >&6+else+ # Double quotes because CPP needs to be expanded+ for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"+ do+ ac_preproc_ok=false+for ac_c_preproc_warn_flag in '' yes+do+ # Use a header file that comes with gcc, so configuring glibc+ # with a fresh cross-compiler works.+ # On the NeXT, cc -E runs the code through the compiler's parser,+ # not just through cpp. "Syntax error" is here to catch this case.+ cat >conftest.$ac_ext <<_ACEOF+#line $LINENO "configure"+#include "confdefs.h"+#include <assert.h>+ Syntax error+_ACEOF+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5+ (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1+ ac_status=$?+ egrep -v '^ *\+' conftest.er1 >conftest.err+ rm -f conftest.er1+ cat conftest.err >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5+ (exit $ac_status); } >/dev/null; then+ if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag else ac_cpp_err=@@ -1806,17 +2120,17 @@ # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF-#line 1809 "configure"+#line $LINENO "configure" #include "confdefs.h" #include <ac_nonexistent.h> _ACEOF-if { (eval echo "$as_me:1813: \"$ac_cpp conftest.$ac_ext\"") >&5+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5- echo "$as_me:1819: \$? = $ac_status" >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag@@ -1853,7 +2167,7 @@ else ac_cv_prog_CPP=$CPP fi-echo "$as_me:1856: result: $CPP" >&5+echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6 ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes@@ -1863,18 +2177,18 @@ # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF-#line 1866 "configure"+#line $LINENO "configure" #include "confdefs.h" #include <assert.h> Syntax error _ACEOF-if { (eval echo "$as_me:1871: \"$ac_cpp conftest.$ac_ext\"") >&5+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5- echo "$as_me:1877: \$? = $ac_status" >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag@@ -1897,17 +2211,17 @@ # OK, works on sane cases. Now check whether non-existent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF-#line 1900 "configure"+#line $LINENO "configure" #include "confdefs.h" #include <ac_nonexistent.h> _ACEOF-if { (eval echo "$as_me:1904: \"$ac_cpp conftest.$ac_ext\"") >&5+if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 ac_status=$? egrep -v '^ *\+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5- echo "$as_me:1910: \$? = $ac_status" >&5+ echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag@@ -1935,7 +2249,7 @@ if $ac_preproc_ok; then : else- { { echo "$as_me:1938: error: C preprocessor \"$CPP\" fails sanity check" >&5+ { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} { (exit 1); exit 1; }; } fi@@ -1946,10 +2260,12 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -echo "$as_me:1949: checking for AIX" >&5+++echo "$as_me:$LINENO: checking for AIX" >&5 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF-#line 1952 "configure"+#line $LINENO "configure" #include "confdefs.h" #ifdef _AIX yes@@ -1958,25 +2274,26 @@ _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | egrep "yes" >/dev/null 2>&1; then- echo "$as_me:1961: result: yes" >&5+ echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 cat >>confdefs.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -