--- configure
+++ configure
@@ -4123,7 +4123,7 @@
 # Check whether --with-perl was given.
 if test "${with_perl+set}" = set; then :
   withval=$with_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 PERL" >&5
 $as_echo "$as_me: Disabling use of PERL" >&6;}
