|
@ -29,7 +29,7 @@ |
|
|
|
|
|
|
|
|
conf.CHECK_CODE(''' |
|
|
conf.CHECK_CODE(''' |
|
|
struct ucred cred; |
|
|
struct ucred cred; |
|
|
@@ -807,9 +798,6 @@ def configure(conf):
|
|
|
|
|
|
|
|
|
@@ -817,9 +808,6 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL
|
|
|
|
|
|
|
|
|
# look for a method of finding the list of network interfaces |
|
|
# look for a method of finding the list of network interfaces |
|
|
for method in ['HAVE_IFACE_GETIFADDRS', 'HAVE_IFACE_AIX', 'HAVE_IFACE_IFCONF', 'HAVE_IFACE_IFREQ']: |
|
|
for method in ['HAVE_IFACE_GETIFADDRS', 'HAVE_IFACE_AIX', 'HAVE_IFACE_IFCONF', 'HAVE_IFACE_IFREQ']: |
|
@ -39,7 +39,7 @@ |
|
|
if conf.CHECK_CODE(''' |
|
|
if conf.CHECK_CODE(''' |
|
|
#define %s 1 |
|
|
#define %s 1 |
|
|
#define NO_CONFIG_H 1 |
|
|
#define NO_CONFIG_H 1 |
|
|
@@ -822,7 +810,7 @@ def configure(conf):
|
|
|
|
|
|
|
|
|
@@ -832,7 +820,7 @@ syscall(SYS_copy_file_range,0,NULL,0,NUL
|
|
|
#include "tests/getifaddrs.c" |
|
|
#include "tests/getifaddrs.c" |
|
|
''' % method, |
|
|
''' % method, |
|
|
method, |
|
|
method, |
|
@ -48,7 +48,7 @@ |
|
|
addmain=False, |
|
|
addmain=False, |
|
|
execute=True): |
|
|
execute=True): |
|
|
break |
|
|
break |
|
|
@@ -870,7 +858,6 @@ def build(bld):
|
|
|
|
|
|
|
|
|
@@ -880,7 +868,6 @@ def build(bld):
|
|
|
break |
|
|
break |
|
|
|
|
|
|
|
|
extra_libs = '' |
|
|
extra_libs = '' |
|
|