summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-07 13:29:55 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:41 +1000
commit22fbe8cb701123e799fb9e16543963abc1645a82 (patch)
treeda4206e33647af65023a383cab2589c549cee909 /lib/replace
parentca56fc286766098271182b4cd5f2bf1eb6e005c1 (diff)
downloadsamba-22fbe8cb701123e799fb9e16543963abc1645a82.tar.gz
samba-22fbe8cb701123e799fb9e16543963abc1645a82.tar.bz2
samba-22fbe8cb701123e799fb9e16543963abc1645a82.zip
build: check for pkgconfig
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/wscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 28283cb0a4..482873b2cc 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -42,7 +42,10 @@ def configure(conf):
conf.env.BINDIR = Options.options.BINDIR
conf.env.SBINDIR = Options.options.SBINDIR
- conf.env['RPATH_ON_INSTALL'] = Options.options.enable_rpath
+ conf.env.RPATH_ON_INSTALL = Options.options.enable_rpath
+
+ # check for pkgconfig
+ conf.check_cfg(atleast_pkgconfig_version='0.0.0')
conf.DEFINE('_GNU_SOURCE', 1)
conf.DEFINE('_XOPEN_SOURCE_EXTENDED', 1)