third_party/popt: Initial support for popt.
[samba.git] / third_party / popt / wscript
index d6228418900f62cc625f8e00b52b4756d1eaef2a..e81572c7b71cb21251d24b5e47bedc0cd7f3b09c 100644 (file)
@@ -5,7 +5,7 @@ import Options
 def configure(conf):
     conf.CHECK_HEADERS('float.h')
 
-    if conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h'):
+    if conf.CHECK_POPT():
         conf.define('USING_SYSTEM_POPT', 1)
 
 def build(bld):