mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
replace: remove unused configure checks for port_create()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15298 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
15b1afc917
commit
488aa22758
@ -34,10 +34,6 @@
|
||||
#include <sys/epoll.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SOLARIS_PORTS
|
||||
#include <port.h>
|
||||
#endif
|
||||
|
||||
#ifndef SELECT_CAST
|
||||
#define SELECT_CAST
|
||||
#endif
|
||||
|
@ -44,7 +44,6 @@ def configure(conf):
|
||||
conf.CHECK_HEADERS('locale.h ndir.h pwd.h')
|
||||
conf.CHECK_HEADERS('shadow.h sys/acl.h')
|
||||
conf.CHECK_HEADERS('sys/attributes.h attr/attributes.h sys/capability.h sys/dir.h sys/epoll.h')
|
||||
conf.CHECK_HEADERS('port.h')
|
||||
conf.CHECK_HEADERS('sys/fcntl.h sys/filio.h sys/filsys.h sys/fs/s5param.h')
|
||||
conf.CHECK_HEADERS('sys/id.h sys/ioctl.h sys/ipc.h sys/mman.h sys/mode.h sys/ndir.h sys/priv.h')
|
||||
conf.CHECK_HEADERS('sys/resource.h sys/security.h sys/shm.h sys/statfs.h sys/statvfs.h sys/termio.h')
|
||||
@ -482,7 +481,6 @@ def configure(conf):
|
||||
conf.CHECK_FUNCS('timegm getifaddrs freeifaddrs mmap setgroups syscall setsid')
|
||||
conf.CHECK_FUNCS('getgrent_r getgrgid_r getgrnam_r getgrouplist getpagesize')
|
||||
conf.CHECK_FUNCS('getpwent_r getpwnam_r getpwuid_r epoll_create')
|
||||
conf.CHECK_FUNCS('port_create')
|
||||
conf.CHECK_FUNCS('getprogname')
|
||||
if not conf.CHECK_FUNCS('copy_file_range'):
|
||||
conf.CHECK_CODE('''
|
||||
@ -708,9 +706,6 @@ syscall(SYS_copy_file_range,0,NULL,0,NULL,0,0);
|
||||
if conf.CONFIG_SET('HAVE_EPOLL_CREATE') and conf.CONFIG_SET('HAVE_SYS_EPOLL_H'):
|
||||
conf.DEFINE('HAVE_EPOLL', 1)
|
||||
|
||||
if conf.CONFIG_SET('HAVE_PORT_CREATE') and conf.CONFIG_SET('HAVE_PORT_H'):
|
||||
conf.DEFINE('HAVE_SOLARIS_PORTS', 1)
|
||||
|
||||
if conf.CHECK_FUNCS('eventfd', headers='sys/eventfd.h'):
|
||||
conf.DEFINE('HAVE_EVENTFD', 1)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user