mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix libpsl configure code
This commit is contained in:
parent
35bfcb34b0
commit
fdd8b8c997
@ -1,3 +1,7 @@
|
||||
2014-11-01 Darshit Shah <darnir@gmail.com>
|
||||
|
||||
* configure.ac: Fix check for libpsl
|
||||
|
||||
2014-11-01 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* configure.ac: Use pkg-config to check for zlib presence and
|
||||
|
@ -61,15 +61,17 @@ dnl
|
||||
dnl Process features.
|
||||
dnl
|
||||
|
||||
ENABLE_PSL=no
|
||||
AC_ARG_WITH(libpsl,
|
||||
AS_HELP_STRING([--without-libpsl],
|
||||
[disable support for libpsl cookie checking.]),
|
||||
[],
|
||||
[with_libpsl=yes])
|
||||
|
||||
AS_IF([test "x$with_libpsl" = xyes],
|
||||
[AC_SEARCH_LIBS(psl_builtin, psl,
|
||||
[ENABLE_PSL=yes; AC_DEFINE([HAVE_LIBPSL], [1], [PSL Support Enabled])],
|
||||
[AC_MSG_WARN(*** libpsl not found. Falling back to Wget builtin cookie checking.)])
|
||||
])
|
||||
[ENABLE_PSL=no; AC_MSG_WARN(*** libpsl not found. Falling back to Wget builtin cookie checking.)])],
|
||||
[ENABLE_PSL=no])
|
||||
|
||||
AC_ARG_WITH(ssl,
|
||||
[[ --without-ssl disable SSL autodetection
|
||||
|
Loading…
Reference in New Issue
Block a user