diff options
Diffstat (limited to '')
-rw-r--r-- | lib/socket/wscript | 7 | ||||
-rw-r--r-- | lib/socket/wscript_build | 7 |
2 files changed, 14 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) diff --git a/lib/socket/wscript_build b/lib/socket/wscript_build new file mode 100644 index 0000000..92e5aef --- /dev/null +++ b/lib/socket/wscript_build @@ -0,0 +1,7 @@ +#!/usr/bin/env python + +bld.SAMBA_LIBRARY('interfaces', + source='interfaces.c', + deps='samba-util samba-debug', + private_library=True + ) |