Clean up modules/Makefile.in for modperl

The HAVE_PERL define isn't used anymore and we had some compiler flags for
modperl mentioned multiple times. Plus IMHO this looks better now ;)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1235 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-09-30 18:07:25 +00:00
parent 5237a24747
commit 02e4d35085
+2 -4
View File
@@ -30,13 +30,11 @@ FILES := $(basename $(wildcard *.cpp))
endif
ifneq "$(PERL)" ""
PERLCC := -DHAVE_PERL `$(PERL) -MExtUtils::Embed -e perl_inc`
PERLLD := `$(PERL) -MExtUtils::Embed -e perl_inc -e ldopts`
PERLHOOK := modperl_install
modperlFLAGS := `$(PERL) -MExtUtils::Embed -e perl_inc -e ldopts`
PERLHOOK := modperl_install
else
FILES := $(shell echo $(FILES) | sed -e "s/modperl//")
endif
modperlFLAGS := $(PERLLD) $(PERLCC)
ifeq "@SASL@" ""
FILES := $(shell echo $(FILES) | sed -e "s/saslauth//")