aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-09-08 11:52:55 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-09-09 15:06:23 +0200
commit775135d724a6b17de21bfb23da9e844c7c7f3683 (patch)
treec6bcc128f3a48bcc189d6ae0b96cdfd0076feec7
parent7717c9e4d8b74c2535b0fc06db62eabf6cdc2b03 (diff)
downloadrpm-setup-775135d724a6b17de21bfb23da9e844c7c7f3683.tar
rpm-setup-775135d724a6b17de21bfb23da9e844c7c7f3683.tar.gz
rpm-setup-775135d724a6b17de21bfb23da9e844c7c7f3683.tar.bz2
rpm-setup-775135d724a6b17de21bfb23da9e844c7c7f3683.tar.xz
rpm-setup-775135d724a6b17de21bfb23da9e844c7c7f3683.zip
sync with upstream (1/8): Require pkg-config 0.24
for creating pkgconfig() dependencies
-rwxr-xr-xpkgconfigdeps.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgconfigdeps.sh b/pkgconfigdeps.sh
index 0b7179e..75c8fa1 100755
--- a/pkgconfigdeps.sh
+++ b/pkgconfigdeps.sh
@@ -11,6 +11,11 @@ test -x $pkgconfig || {
exit 0
}
+$pkgconfig --atleast-pkgconfig-version="0.24" || {
+ cat > /dev/null
+ exit 0
+}
+
case $1 in
-P|--provides)
while read filename ; do