mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 17:31:46 -05:00
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
This commit is contained in:
parent
71ce2470dc
commit
11e52ef0a1
@ -2377,6 +2377,10 @@ case "$LIBIDN" in
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$idn" != "xyes"; then
|
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
|
dnl check with pkg-config
|
||||||
PKG_CHECK_MODULES(LIBIDN_PC, libidn >= 0.0.0, [idn=yes], [idn=no])
|
PKG_CHECK_MODULES(LIBIDN_PC, libidn >= 0.0.0, [idn=yes], [idn=no])
|
||||||
if test "x$idn" = "xyes"; then
|
if test "x$idn" = "xyes"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user