Don't check if perl is enabled in modperl

The Makefile only compiles this module if it is enabled.
I think it's better to error out if for some reason this doesn't work instead
of silently producing an empty modperl.so.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1165 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-08-24 06:19:14 +00:00
parent b0903c0208
commit 074adc94c1
-11
View File
@@ -15,7 +15,6 @@
* PERL_DESTRUCT_LEVEL is a perl env flag to force the VM to cleanup, this also stops false alarms, but within perl
*/
#ifdef HAVE_PERL
#include "Chan.h"
#include "User.h"
#include "znc.h"
@@ -1223,13 +1222,3 @@ Csock *CPerlSock::GetSockObj(const CS_STRING & sHostname, u_short iPort)
return(p);
}
#endif /* HAVE_PERL */