diff --git a/configure.ac b/configure.ac
index e3b69d0fa36edd110dc5995b4a572e4a0fe52263..55f4ea7fed17ec24da81d2085a9776c0b829fa04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2689,6 +2689,7 @@ AC_HELP_STRING([--disable-tls-srp],[Disable TLS-SRP authentication]),
 
 if test "$want_tls_srp" = "yes" && test "x$HAVE_GNUTLS_SRP" = "x1"; then
    AC_DEFINE(USE_TLS_SRP, 1, [Use TLS-SRP authentication])
+   USE_TLS_SRP=1
    curl_tls_srp_msg="enabled"
 fi