From 20db71113e46355d14debdbcfa4b10de717ff471 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Aug 2016 17:28:35 -0400 Subject: Check for getopt_long --- wscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 239197f..b95240d 100644 --- a/wscript +++ b/wscript @@ -40,6 +40,10 @@ def configure(conf): lib = 'dl', mandatory = False) + conf.check_cc(define_name = 'HAVE_GETOPT_LONG', + header_name = 'getopt.h', + function_name = 'getopt_long') + conf.write_config_header('blop_config.h', remove=False) # Set env.pluginlib_PATTERN -- cgit v1.2.1