Darshit Shah <dar...@gmail.com> writes: > This patch seems to break for normal builds. > > > I get the following error on running make: > > configure: error: conditional "HAVE_NETTLE" was never defined. > Usually this means the macro was only invoked conditionally. > make: *** [config.status] Error 1
Thanks to have reported it. Does this patch help you? Giuseppe diff --git a/configure.ac b/configure.ac index c26dae6..33547c6 100644 --- a/configure.ac +++ b/configure.ac @@ -340,7 +340,6 @@ then fi else AC_CHECK_LIB(nettle, nettle_md4_init, [HAVE_NETTLE=yes], [HAVE_NETTLE=no; AC_MSG_WARN(*** libnettle was not found. You will not be able to use NTLM)]) - AM_CONDITIONAL([HAVE_NETTLE], [test "x$HAVE_NETTLE" = "xyes"]) if test x"$HAVE_NETTLE" = xyes then @@ -363,6 +362,8 @@ else fi fi +AM_CONDITIONAL([HAVE_NETTLE], [test "x$HAVE_NETTLE" = "xyes"]) + dnl ********************************************************************** dnl Checks for IPv6 dnl **********************************************************************