mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix broken check for libpsl
This commit is contained in:
parent
a44841cbe2
commit
cae32d41c1
@ -1,3 +1,7 @@
|
||||
2014-07-22 Darshit Shah <darnir@gmail.com>
|
||||
|
||||
* configure.ac: Fix broken code for detecting libpsl
|
||||
|
||||
2014-07-21 Darshit Shah <darnir@gmail.com>
|
||||
|
||||
* configure.ac: Fix check for Libpsl
|
||||
|
@ -61,16 +61,15 @@ dnl
|
||||
dnl Process features.
|
||||
dnl
|
||||
|
||||
ENABLE_PSL=no
|
||||
AC_ARG_WITH(libpsl,
|
||||
AS_HELP_STRING([--without-libpsl],
|
||||
[disable support for libpsl cookie checking.]),
|
||||
[],
|
||||
[AC_SEARCH_LIBS(psl_builtin, psl,
|
||||
[AC_DEFINE([WITH_LIBPSL], [1], [PSL Support Enabled])],
|
||||
[AC_MSG_WARN(*** libpsl not found. Falling back to tail matching)])
|
||||
[ENABLE_PSL=yes; AC_DEFINE([HAVE_LIBPSL], [1], [PSL Support Enabled])],
|
||||
[AC_MSG_WARN(*** libpsl not found. Falling back to Wget builtin cookie checking.)])
|
||||
])
|
||||
AS_IF([test x$ac_cv_search_psl_builtin != "x-psl"], [ENABLE_PSL=no],
|
||||
[ENABLE_PSL=yes])
|
||||
|
||||
AC_ARG_WITH(ssl,
|
||||
[[ --without-ssl disable SSL autodetection
|
||||
|
Loading…
Reference in New Issue
Block a user