mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
When libidn is detected without explicitly told to, we provide -L/lib and
-I/include options. Not anymore.
This commit is contained in:
parent
2467f814a8
commit
7bb6d76d14
@ -968,7 +968,9 @@ case "$LIBIDN" in
|
|||||||
|
|
||||||
idn=""
|
idn=""
|
||||||
dnl if there is a given path, check that FIRST
|
dnl if there is a given path, check that FIRST
|
||||||
|
if test -n "$LIBIDN"; then
|
||||||
if test "x$LIBIDN" != "xyes"; then
|
if test "x$LIBIDN" != "xyes"; then
|
||||||
|
AC_MSG_WARN([moo moo $LIBIDN])
|
||||||
oldLDFLAGS=$LDFLAGS
|
oldLDFLAGS=$LDFLAGS
|
||||||
oldCPPFLAGS=$CPPFLAGS
|
oldCPPFLAGS=$CPPFLAGS
|
||||||
LDFLAGS="$LDFLAGS -L$LIBIDN/lib"
|
LDFLAGS="$LDFLAGS -L$LIBIDN/lib"
|
||||||
@ -979,6 +981,7 @@ case "$LIBIDN" in
|
|||||||
LDFLAGS=$oldLDFLAGS
|
LDFLAGS=$oldLDFLAGS
|
||||||
CPPFLAGS=$oldCPPFLAGS)
|
CPPFLAGS=$oldCPPFLAGS)
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if test "x$idn" != "xyes"; then
|
if test "x$idn" != "xyes"; then
|
||||||
dnl check with default paths
|
dnl check with default paths
|
||||||
|
Loading…
Reference in New Issue
Block a user