configure: Really automatically disable perl if it's not found

Since r1895 configure tries to disable perl if it doesn't find the perl binary
or libperl, but there was a bug. If the perl binary existed but libperl wasn't
found, it pretended to disable modperl but didn't really. Whoops.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2017 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-06-07 19:05:51 +00:00
parent 7b240d5330
commit 39a215f35b
2 changed files with 2 additions and 0 deletions
Vendored
+1
View File
@@ -3457,6 +3457,7 @@ fi
$as_echo "$as_me: WARNING: perl was not found and thus disabled" >&2;}
fi
PERL_BINARY=""
else
PERL=yes
fi
+1
View File
@@ -264,6 +264,7 @@ if test "x$PERL" != "xno"; then
ZNC_AUTO_FAIL([PERL],
[perl not found. Try --disable-perl.],
[perl was not found and thus disabled])
PERL_BINARY=""
else
PERL=yes
fi