summaryrefslogtreecommitdiff
path: root/source4/build/scons/pkgconfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/scons/pkgconfig.py')
-rw-r--r--source4/build/scons/pkgconfig.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/source4/build/scons/pkgconfig.py b/source4/build/scons/pkgconfig.py
deleted file mode 100644
index 6a0c82fd35..0000000000
--- a/source4/build/scons/pkgconfig.py
+++ /dev/null
@@ -1,13 +0,0 @@
-# Based on the examples from the scons wiki
-
-def CheckPKGConfig(context, version):
- context.Message('Checking for pkg-config... ')
- ret = context.TryAction('pkg-config --atleast-pkgconfig-version=%s' % version)[0]
- context.Result(ret)
- return ret
-
-def CheckPackage(context, name):
- context.Message('Checking for %s... ' % name)
- ret = context.TryAction('pkg-config --exists \'%s\'' % name)[0]
- context.Result(ret)
- return ret