📄 configure
字号:
echo "$ac_t""$ac_cv_type_size_t" 1>&6if test $ac_cv_type_size_t = no; then cat >> confdefs.h <<\EOF#define size_t unsignedEOFfi##AC_CHECK_TYPE(socklen_t, unsigned) # doesn't search <sys/socket.h>echo $ac_n "checking for socklen_t""... $ac_c" 1>&6echo "configure:1768: checking for socklen_t" >&5if eval "test \"`echo '$''{'ac_cv_httptunnel_type_socklen_t'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1774 "configure"#include "confdefs.h"#include <sys/types.h> #include <sys/socket.h>int main() {socklen_t len = 42; return 0;; return 0; }EOFif { (eval echo configure:1782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_httptunnel_type_socklen_t=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_httptunnel_type_socklen_t=nofirm -f conftest*fiecho "$ac_t""$ac_cv_httptunnel_type_socklen_t" 1>&6 if test $ac_cv_httptunnel_type_socklen_t != yes; then cat >> confdefs.h <<\EOF#define socklen_t intEOF fiecho $ac_n "checking whether INADDR_NONE is defined""... $ac_c" 1>&6echo "configure:1804: checking whether INADDR_NONE is defined" >&5if eval "test \"`echo '$''{'ac_cv_httptunnel_define_inaddr_none'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 1810 "configure"#include "confdefs.h"#include <sys/types.h> #include <netinet/in.h>int main() {return INADDR_NONE;; return 0; }EOFif { (eval echo configure:1818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_httptunnel_define_inaddr_none=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_httptunnel_define_inaddr_none=nofirm -f conftest*fiecho "$ac_t""$ac_cv_httptunnel_define_inaddr_none" 1>&6 if test $ac_cv_httptunnel_define_inaddr_none != yes; then cat >> confdefs.h <<\EOF#define INADDR_NONE 0xffffffffEOF fiecho $ac_n "checking size of char""... $ac_c" 1>&6echo "configure:1840: checking size of char" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test "$cross_compiling" = yes; then ac_cv_sizeof_char=1else cat > conftest.$ac_ext <<EOF#line 1848 "configure"#include "confdefs.h"#include <stdio.h>main(){ FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(char)); exit(0);}EOFif { (eval echo configure:1859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen ac_cv_sizeof_char=`cat conftestval`else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_sizeof_char=0firm -fr conftest*fifiecho "$ac_t""$ac_cv_sizeof_char" 1>&6cat >> confdefs.h <<EOF#define SIZEOF_CHAR $ac_cv_sizeof_charEOFecho $ac_n "checking size of short""... $ac_c" 1>&6echo "configure:1879: checking size of short" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test "$cross_compiling" = yes; then ac_cv_sizeof_short=2else cat > conftest.$ac_ext <<EOF#line 1887 "configure"#include "confdefs.h"#include <stdio.h>main(){ FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(short)); exit(0);}EOFif { (eval echo configure:1898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen ac_cv_sizeof_short=`cat conftestval`else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_sizeof_short=0firm -fr conftest*fifiecho "$ac_t""$ac_cv_sizeof_short" 1>&6cat >> confdefs.h <<EOF#define SIZEOF_SHORT $ac_cv_sizeof_shortEOFecho $ac_n "checking size of int""... $ac_c" 1>&6echo "configure:1918: checking size of int" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test "$cross_compiling" = yes; then ac_cv_sizeof_int=4else cat > conftest.$ac_ext <<EOF#line 1926 "configure"#include "confdefs.h"#include <stdio.h>main(){ FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(int)); exit(0);}EOFif { (eval echo configure:1937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen ac_cv_sizeof_int=`cat conftestval`else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_sizeof_int=0firm -fr conftest*fifiecho "$ac_t""$ac_cv_sizeof_int" 1>&6cat >> confdefs.h <<EOF#define SIZEOF_INT $ac_cv_sizeof_intEOFecho $ac_n "checking size of long""... $ac_c" 1>&6echo "configure:1957: checking size of long" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test "$cross_compiling" = yes; then ac_cv_sizeof_long=4else cat > conftest.$ac_ext <<EOF#line 1965 "configure"#include "confdefs.h"#include <stdio.h>main(){ FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(long)); exit(0);}EOFif { (eval echo configure:1976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen ac_cv_sizeof_long=`cat conftestval`else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_sizeof_long=0firm -fr conftest*fifiecho "$ac_t""$ac_cv_sizeof_long" 1>&6cat >> confdefs.h <<EOF#define SIZEOF_LONG $ac_cv_sizeof_longEOFecho $ac_n "checking size of long long""... $ac_c" 1>&6echo "configure:1996: checking size of long long" >&5if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test "$cross_compiling" = yes; then ac_cv_sizeof_long_long=8else cat > conftest.$ac_ext <<EOF#line 2004 "configure"#include "confdefs.h"#include <stdio.h>main(){ FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(long long)); exit(0);}EOFif { (eval echo configure:2015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen ac_cv_sizeof_long_long=`cat conftestval`else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_sizeof_long_long=0firm -fr conftest*fifiecho "$ac_t""$ac_cv_sizeof_long_long" 1>&6cat >> confdefs.h <<EOF#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_longEOFecho $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6echo "configure:2036: checking for 8-bit clean memcmp" >&5if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else if test "$cross_compiling" = yes; then ac_cv_func_memcmp_clean=noelse cat > conftest.$ac_ext <<EOF#line 2044 "configure"#include "confdefs.h"main(){ char c0 = 0x40, c1 = 0x80, c2 = 0x81; exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);}EOFif { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen ac_cv_func_memcmp_clean=yeselse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -fr conftest* ac_cv_func_memcmp_clean=nofirm -fr conftest*fifiecho "$ac_t""$ac_cv_func_memcmp_clean" 1>&6test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.${ac_objext}"echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6echo "configure:2072: checking return type of signal handlers" >&5if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2077 "configure"#include "confdefs.h"#include <sys/types.h>#include <signal.h>#ifdef signal#undef signal#endif#ifdef __cplusplusextern "C" void (*signal (int, void (*)(int)))(int);#elsevoid (*signal ()) ();#endifint main() {int i;; return 0; }EOFif { (eval echo configure:2094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=voidelse echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* ac_cv_type_signal=intfirm -f conftest*fiecho "$ac_t""$ac_cv_type_signal" 1>&6cat >> confdefs.h <<EOF#define RETSIGTYPE $ac_cv_type_signalEOFecho $ac_n "checking for vprintf""... $ac_c" 1>&6echo "configure:2113: checking for vprintf" >&5if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2118 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char vprintf(); 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 vprintf();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_vprintf) || defined (__stub___vprintf)choke me#elsevprintf();#endif; return 0; }EOFif { (eval echo configure:2141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_vprintf=yes"else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* eval "ac_cv_func_vprintf=no"firm -f conftest*fiif eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF#define HAVE_VPRINTF 1EOFelse echo "$ac_t""no" 1>&6fiif test "$ac_cv_func_vprintf" != yes; thenecho $ac_n "checking for _doprnt""... $ac_c" 1>&6echo "configure:2165: checking for _doprnt" >&5if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6else cat > conftest.$ac_ext <<EOF#line 2170 "configure"#include "confdefs.h"/* System header to define __stub macros and hopefully few prototypes, which can conflict with char _doprnt(); 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 _doprnt();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__doprnt) || defined (__stub____doprnt)choke me#else_doprnt();#endif; return 0; }EOFif { (eval echo configure:2193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func__dopr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -