From 00649a9c6266f959dbc7d857180e43f2b1363844 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 23 Mar 2010 09:29:51 +1100 Subject: build: updated configure checks or new syntax --- lib/popt/wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/popt') diff --git a/lib/popt/wscript b/lib/popt/wscript index ccdb290703..af432c4d4e 100644 --- a/lib/popt/wscript +++ b/lib/popt/wscript @@ -8,8 +8,7 @@ def set_options(opt): def configure(conf): conf.CHECK_HEADERS('float.h') if not Options.options.INCLUDED_POPT: - if (conf.CHECK_HEADERS('popt.h') and - conf.CHECK_FUNCS_IN('poptGetContext', 'popt')): + if conf.CHECK_FUNCS_IN('poptGetContext', 'popt', headers='popt.h'): conf.DEFINE('HAVE_SYSTEM_POPT', 1) def build(bld): -- cgit