diff --git a/configure.in b/configure.in
index d44cfc2857e658a2f72a58e89458db7bc9a631d5..dd02442f725888d7134c900ccb37dac98436d3aa 100644
--- a/configure.in
+++ b/configure.in
@@ -305,6 +305,8 @@ else
   case "$OPT_SSL" in
   yes)
     EXTRA_SSL=/usr/local/ssl ;;
+  off)
+    EXTRA_SSL= ;;
   *)
     dnl check the given spot right away!
     EXTRA_SSL=$OPT_SSL