From 39a215f35b198faa0da0b90fa4b09f0960f7a8e3 Mon Sep 17 00:00:00 2001 From: psychon Date: Mon, 7 Jun 2010 19:05:51 +0000 Subject: [PATCH] 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 --- configure | 1 + configure.in | 1 + 2 files changed, 2 insertions(+) diff --git a/configure b/configure index 1d7b642d..30ec7b93 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index 2e7ef9ac..53b57c95 100644 --- a/configure.in +++ b/configure.in @@ -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