mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
build: detect support for ethtool
Pair-Programmed-With: Anoop C S <anoopcs@redhat.com> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
64be8e73ff
commit
1862aa6c25
7
lib/socket/wscript
Normal file
7
lib/socket/wscript
Normal file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
def configure(conf):
|
||||
conf.CHECK_HEADERS('linux/sockios.h linux/ethtool.h')
|
||||
if (conf.CONFIG_SET('HAVE_LINUX_SOCKIOS_H') and \
|
||||
conf.CONFIG_SET('HAVE_LINUX_ETHTOOL_H')):
|
||||
conf.DEFINE('HAVE_ETHTOOL', 1)
|
Loading…
x
Reference in New Issue
Block a user