X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2FMakefile.linux;h=a74c914fd3acf84dbcaac360e6f5cabd3582f802;hb=ac682de4ec32d4cc8859b31366023e28012e23e6;hp=fd71454517e7ec7be2a29aa7fb3b3cdcddb9d25c;hpb=0b6118239615e98959f7e0b4e746bdd197533248;p=ppp.git diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index fd71454..a74c914 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -73,6 +73,9 @@ PLUGIN=y # Enable EAP SRP-SHA1 authentication (requires libsrp) #USE_SRP=y +# Use libutil +USE_LIBUTIL=y + MAXOCTETS=y INCLUDE_DIRS= -I../include @@ -122,6 +125,11 @@ CFLAGS += -DHAVE_CRYPT_H=1 LIBS += -lcrypt endif +ifdef USE_LIBUTIL +CFLAGS += -DHAVE_LOGWTMP=1 +LIBS += -lutil +endif + ifdef NEEDDES ifndef USE_CRYPT LIBS += -ldes $(LIBS)