summaryrefslogtreecommitdiff
path: root/lib/popt/wscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-02-20 13:40:52 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-02-20 15:13:32 +0100
commit3992182fec4d46d4340fe038b7d3386b78701857 (patch)
tree4bc627e96b96e62a16dad848fe1c0e828cc5b6b4 /lib/popt/wscript
parentf260596206882a085fd43e5204acaecde72c3bab (diff)
downloadsamba-3992182fec4d46d4340fe038b7d3386b78701857.tar.gz
samba-3992182fec4d46d4340fe038b7d3386b78701857.tar.bz2
samba-3992182fec4d46d4340fe038b7d3386b78701857.zip
popt: Check for popt manually as well, not just using pkg-config.
Older systems don't provide a pkg-config file for popt. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Feb 20 15:13:32 CET 2012 on sn-devel-104
Diffstat (limited to 'lib/popt/wscript')
-rw-r--r--lib/popt/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/popt/wscript b/lib/popt/wscript
index 6aa8e70339..7fd15ed53a 100644
--- a/lib/popt/wscript
+++ b/lib/popt/wscript
@@ -5,7 +5,7 @@ import Options
def configure(conf):
conf.CHECK_HEADERS('float.h')
- if conf.CHECK_BUNDLED_SYSTEM_PKG('popt'):
+ if conf.CHECK_BUNDLED_SYSTEM('popt', checkfunctions='poptGetContext', headers='popt.h'):
conf.define('USING_SYSTEM_POPT', 1)
def build(bld):