pkg: we already behave like pkg-config 0.27 anyway

pull/29/head
William Pitcock 2012-07-21 14:24:26 -05:00
parent 840ecc846d
commit 475719ec3a
2 changed files with 3 additions and 3 deletions

4
pkg.h
View File

@ -23,8 +23,8 @@
#define BUFSIZ 65535
#endif
/* we are compatible with 0.26 of pkg-config */
#define PKG_PKGCONFIG_VERSION_EQUIV "0.26"
/* we are compatible with 0.27 of pkg-config */
#define PKG_PKGCONFIG_VERSION_EQUIV "0.27"
typedef enum {
PKG_ANY = 0,

View File

@ -92,7 +92,7 @@ run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=includedir foo" \
# 6) tests for builtins
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --modversion pkg-config" \
'0.26'
'0.27'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --variable=prefix foo" \
'/usr'
run_test "PKG_CONFIG_PATH=${selfdir}/lib1 ${1} --define-variable=prefix=/test --variable=prefix foo" \