mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
improved libidn detection to correct the false positives we got
This commit is contained in:
parent
e218811ca3
commit
cf3cf413c8
@ -939,7 +939,9 @@ case "$LIBIDN" in
|
|||||||
AC_CHECK_LIB(idn, idna_to_ascii_lz, ,
|
AC_CHECK_LIB(idn, idna_to_ascii_lz, ,
|
||||||
[
|
[
|
||||||
dnl if there was a given path, try it
|
dnl if there was a given path, try it
|
||||||
|
nolibidn="true"
|
||||||
if test "x$LIBIDN" != "x"; then
|
if test "x$LIBIDN" != "x"; then
|
||||||
|
nolibidn="" dnl reset to test again
|
||||||
oldLDFLAGS=$LDFLAGS
|
oldLDFLAGS=$LDFLAGS
|
||||||
oldCPPFLAGS=$CPPFLAGS
|
oldCPPFLAGS=$CPPFLAGS
|
||||||
LDFLAGS="$LDFLAGS -L$LIBIDN/lib"
|
LDFLAGS="$LDFLAGS -L$LIBIDN/lib"
|
||||||
|
Loading…
Reference in New Issue
Block a user