summaryrefslogtreecommitdiff
path: root/lib/popt
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-23 09:29:51 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:00 +1000
commit00649a9c6266f959dbc7d857180e43f2b1363844 (patch)
tree52fb65dfd462e2a4baf5865a1a6c662c7f9dffc0 /lib/popt
parentf95ca1afc984ecf295b9181b2f699a72afcb4772 (diff)
downloadsamba-00649a9c6266f959dbc7d857180e43f2b1363844.tar.gz
samba-00649a9c6266f959dbc7d857180e43f2b1363844.tar.bz2
samba-00649a9c6266f959dbc7d857180e43f2b1363844.zip
build: updated configure checks or new syntax
Diffstat (limited to 'lib/popt')
-rw-r--r--lib/popt/wscript3
1 files changed, 1 insertions, 2 deletions
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):