From: Paul Mackerras Date: Fri, 1 Aug 2014 11:40:18 +0000 (+1000) Subject: winbind plugin: Add -DMPPE=1 to eliminate compiler warnings X-Git-Tag: ppp-2.4.7~2 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=2b05e22c62095e97dd0a97e4b5588402c2185071;hp=36733a891fb56594fcee580f667b33a64b990981 winbind plugin: Add -DMPPE=1 to eliminate compiler warnings When compiling the winbind plugin, we need an equivalent definition of the MPPE symbol to that which applied when the main pppd was compiled. This adds that to Makefile.linux. Reported-by: Mike Gilbert Signed-off-by: Paul Mackerras --- diff --git a/pppd/plugins/Makefile.linux b/pppd/plugins/Makefile.linux index 0a7ec7b..ab8cf50 100644 --- a/pppd/plugins/Makefile.linux +++ b/pppd/plugins/Makefile.linux @@ -14,6 +14,13 @@ SUBDIRS := rp-pppoe pppoatm pppol2tp SUBDIRS += radius PLUGINS := minconn.so passprompt.so passwordfd.so winbind.so +# This setting should match the one in ../Makefile.linux +MPPE=y + +ifdef MPPE +CFLAGS += -DMPPE=1 +endif + # include dependencies if present ifeq (.depend,$(wildcard .depend)) include .depend