From cae32d41c1889d03af6585f2d97234f3c374c93a Mon Sep 17 00:00:00 2001 From: Darshit Shah Date: Tue, 22 Jul 2014 22:05:55 +0530 Subject: [PATCH] Fix broken check for libpsl --- ChangeLog | 4 ++++ configure.ac | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0cba66da..c7d7aefd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-07-22 Darshit Shah + + * configure.ac: Fix broken code for detecting libpsl + 2014-07-21 Darshit Shah * configure.ac: Fix check for Libpsl diff --git a/configure.ac b/configure.ac index 56edc001..9cd0d5f8 100644 --- a/configure.ac +++ b/configure.ac @@ -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