mirror of
https://github.com/mirror/wget.git
synced 2025-01-16 07:10:23 +08: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>
|
2014-11-01 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* configure.ac: Use pkg-config to check for zlib presence and
|
* configure.ac: Use pkg-config to check for zlib presence and
|
||||||
|
@ -61,15 +61,17 @@ dnl
|
|||||||
dnl Process features.
|
dnl Process features.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
ENABLE_PSL=no
|
|
||||||
AC_ARG_WITH(libpsl,
|
AC_ARG_WITH(libpsl,
|
||||||
AS_HELP_STRING([--without-libpsl],
|
AS_HELP_STRING([--without-libpsl],
|
||||||
[disable support for libpsl cookie checking.]),
|
[disable support for libpsl cookie checking.]),
|
||||||
[],
|
[],
|
||||||
|
[with_libpsl=yes])
|
||||||
|
|
||||||
|
AS_IF([test "x$with_libpsl" = xyes],
|
||||||
[AC_SEARCH_LIBS(psl_builtin, psl,
|
[AC_SEARCH_LIBS(psl_builtin, psl,
|
||||||
[ENABLE_PSL=yes; AC_DEFINE([HAVE_LIBPSL], [1], [PSL Support Enabled])],
|
[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,
|
AC_ARG_WITH(ssl,
|
||||||
[[ --without-ssl disable SSL autodetection
|
[[ --without-ssl disable SSL autodetection
|
||||||
|
Loading…
Reference in New Issue
Block a user