diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-11-27 20:00:30 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-11-27 20:00:30 +0100 |
commit | 11e52ef0a157acd6a6711b7635cda50467e606ae (patch) | |
tree | 3ecfde3c7240ea5927eb81d67b8a67f25897f658 | |
parent | 71ce2470dc8dce2a675f3b15d7256e5d380fa231 (diff) |
configure: fix to make older pkg-config play well
configure.ac:1349: error: possibly undefined macro: PKG_CONFIG_LIBDIR
Obviously this is not a problem with pkg-config 0.26 but older versions
seem to show this.
Fix suggested by: Kamil Dudka
Reported by: Guenter
Bug: http://curl.haxx.se/mail/lib-2011-11/0298.html
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 52158f119..7d2c7e4d5 100644 --- a/configure.ac +++ b/configure.ac @@ -2377,6 +2377,10 @@ case "$LIBIDN" in fi if test "x$idn" != "xyes"; then + + dnl to prevent errors with pkg-config < 0.26 + m4_pattern_allow(PKG_CONFIG_LIBDIR) + dnl check with pkg-config PKG_CHECK_MODULES(LIBIDN_PC, libidn >= 0.0.0, [idn=yes], [idn=no]) if test "x$idn" = "xyes"; then |