--- configure
+++ configure
@@ -2695,7 +2695,7 @@
 if test "${with_perl+set}" = set; then :
   withval=$with_perl; PROGRAM=PERL; \
 if test "$withval" = "no"; then \
-	if test -n ""; then \
+	if test -n "allow-without"; then \
 		PERL_PATH=$withval; \
 		{ $as_echo "$as_me:${as_lineno-$LINENO}: Disabling use of ${PROGRAM}" >&5
 $as_echo "$as_me: Disabling use of ${PROGRAM}" >&6;}; \
