pkg: we already behave like pkg-config 0.27 anyway

feature/tap-sh
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 #define BUFSIZ 65535
#endif #endif
/* we are compatible with 0.26 of pkg-config */ /* we are compatible with 0.27 of pkg-config */
#define PKG_PKGCONFIG_VERSION_EQUIV "0.26" #define PKG_PKGCONFIG_VERSION_EQUIV "0.27"
typedef enum { typedef enum {
PKG_ANY = 0, PKG_ANY = 0,

View File

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