mirror of
https://github.com/znc/znc.git
synced 2026-08-08 09:52:55 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user