summaryrefslogtreecommitdiffstats
path: root/lib/socket/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'lib/socket/wscript')
-rw-r--r--lib/socket/wscript7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/socket/wscript b/lib/socket/wscript
new file mode 100644
index 0000000..d8c269a
--- /dev/null
+++ b/lib/socket/wscript
@@ -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)