summaryrefslogtreecommitdiff
path: root/source4/lib/popt/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/popt/SConscript')
-rw-r--r--source4/lib/popt/SConscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/lib/popt/SConscript b/source4/lib/popt/SConscript
index fd13edc42f..78496e7e1a 100644
--- a/source4/lib/popt/SConscript
+++ b/source4/lib/popt/SConscript
@@ -1,8 +1,7 @@
-# tastes like -*- python -*-
-
Import('hostenv')
+# tastes like -*- python -*-
-conf = Configure(hostenv)
+conf = hostenv.Configure()
conf.env['HAVE_EXTERNAL_POPT'] = conf.CheckLibWithHeader('popt', 'popt.h', 'c', 'poptGetArgs(NULL);')
conf.Finish()