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

📄 configure

📁 Windump3.6.2源代码
💻
📖 第 1 页 / 共 5 页
字号:
          if (strcmp(straddr, "::") != 0) {            goto bad;          }        } else {          if (strcmp(straddr, "::1") != 0) {            goto bad;          }        }        inet6++;        break;      case AF_UNSPEC:        goto bad;        break;#ifdef AF_UNIX      case AF_UNIX:#else#ifdef AF_LOCAL      case AF_LOCAL:#endif#endif      default:        /* another family support? */        break;      }    }  }  /* supported family should be 2, unsupported family should be 0 */  if (!(inet4 == 0 || inet4 == 2))    goto bad;  if (!(inet6 == 0 || inet6 == 2))    goto bad;  if (aitop)    freeaddrinfo(aitop);  exit(0); bad:  if (aitop)    freeaddrinfo(aitop);  exit(1);}EOFif { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/nullthen  echo "$ac_t""good" 1>&6	buggygetaddrinfo=noelse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -fr conftest*  echo "$ac_t""buggy" 1>&6	buggygetaddrinfo=yesfirm -fr conftest*fielse :  buggygetaddrinfo=yesfi	if test "$buggygetaddrinfo" = "yes"; then		if test "$ipv6type" != "linux"; then			echo 'Fatal: You must get working getaddrinfo() function.'			echo '       or you can specify "--disable-ipv6"'.			exit 1		else			echo 'Warning: getaddrinfo() implementation on your system seems be buggy.'			echo '         Better upgreade your system library to newest version'			echo '         of GNU C library (aka glibc).'		fi	fi	for ac_func in getaddrinfo getnameinfodoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:1974: checking for $ac_func" >&5if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 1979 "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; }EOFif { (eval echo configure:2002: \"$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"firm -f conftest*fiif 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 1EOF else  echo "$ac_t""no" 1>&6LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"fidonefiecho $ac_n "checking for inet_ntop""... $ac_c" 1>&6echo "configure:2030: checking for inet_ntop" >&5cat > conftest.$ac_ext <<EOF#line 2032 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>int main() {char src[4], dst[128];inet_ntop(AF_INET, src, dst, sizeof(dst));; return 0; }EOFif { (eval echo configure:2043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  echo "$ac_t""yes" 1>&6else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  echo "$ac_t""no" 1>&6	for ac_func in inet_ntopdoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:2054: checking for $ac_func" >&5if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2059 "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; }EOFif { (eval echo configure:2082: \"$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"firm -f conftest*fiif 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 1EOF else  echo "$ac_t""no" 1>&6LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"fidonefirm -f conftest*echo $ac_n "checking for inet_pton""... $ac_c" 1>&6echo "configure:2111: checking for inet_pton" >&5cat > conftest.$ac_ext <<EOF#line 2113 "configure"#include "confdefs.h"#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <arpa/inet.h>int main() {char src[128], dst[4];inet_pton(AF_INET, src, dst);; return 0; }EOFif { (eval echo configure:2124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  echo "$ac_t""yes" 1>&6else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  echo "$ac_t""no" 1>&6	for ac_func in inet_ptondoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:2135: checking for $ac_func" >&5if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2140 "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; }EOFif { (eval echo configure:2163: \"$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"firm -f conftest*fiif 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 1EOF else  echo "$ac_t""no" 1>&6LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"fidonefirm -f conftest*echo $ac_n "checking for inet_aton""... $ac_c" 1>&6echo "configure:2192: checking for inet_aton" >&5cat > conftest.$ac_ext <<EOF#line 2194 "configure"#include "confdefs.h"#include <sys/types.h>#include <netinet/in.h>#include <arpa/inet.h>int main() {char src[128];struct in_addr dst;inet_aton(src, &dst);; return 0; }EOFif { (eval echo configure:2205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  echo "$ac_t""yes" 1>&6else  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  echo "$ac_t""no" 1>&6	for ac_func in inet_atondoecho $ac_n "checking for $ac_func""... $ac_c" 1>&6echo "configure:2216: checking for $ac_func" >&5if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2221 "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; }EOFif { (eval echo configure:2244: \"$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"firm -f conftest*fiif 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 1EOF else  echo "$ac_t""no" 1>&6LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"fidonefirm -f conftest*	echo $ac_n "checking if sockaddr struct has sa_len member""... $ac_c" 1>&6echo "configure:2275: checking if sockaddr struct has sa_len member" >&5	if eval "test \"`echo '$''{'ac_cv_sockaddr_has_sa_len'+set}'`\" = set"; then  echo $ac_n "(cached) $ac_c" 1>&6else  cat > conftest.$ac_ext <<EOF#line 2280 "configure"#include "confdefs.h"#		include <sys/types.h>#		include <sys/socket.h>int main() {u_int i = sizeof(((struct sockaddr *)0)->sa_len); return 0; }EOFif { (eval echo configure:2289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -rf conftest*  ac_cv_sockaddr_has_sa_len=yeselse  echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5  rm -rf conftest*  ac_cv_sockaddr_has_sa_len=nofirm -f conftest*fi	echo "$ac_t""$ac_cv_sockaddr_has_sa_len" 1>&6		if test $ac_cv_sockaddr_has_sa_len = yes ; then			cat >> confdefs.h <<\EOF#define HAVE_SOCKADDR_SA_LEN 1EOF	fiif test "$ac_cv_sockaddr_has_sa_len" = no; then	missing_includes=yesfiecho $ac_n "checking size of char""... $ac_c" 1>&6echo "configure:2314: 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 2322 "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:2333: \"$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:2353: 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 2361 "configure"#include "confdefs.h"#include <stdio.h>main(){  FILE *f=fopen("conftestval", "w");  if (!f) exit(1);  fprintf(f, 

⌨️ 快捷键说明

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