summaryrefslogtreecommitdiff
path: root/lib/socket/wscript
blob: d8c269a59a88ab3a693801ef682042c88cf09e42 (plain)
1
2
3
4
5
6
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)