# Linux distributions: Please leave TDB ENABLED in your builds.
USE_TDB=y
+# Uncomment the next line to enable Type=notify services in systemd
+# If enabled, and the user sets the up_sdnotify option, then
+# pppd will not detach and will notify systemd when up.
+#SYSTEMD=y
+
HAS_SHADOW=y
#USE_PAM=y
HAVE_INET6=y
# Enable EAP SRP-SHA1 authentication (requires libsrp)
#USE_SRP=y
+# Use libutil
+USE_LIBUTIL=y
+
MAXOCTETS=y
INCLUDE_DIRS= -I../include
LIBS += -lcrypt
endif
+ifdef USE_LIBUTIL
+CFLAGS += -DHAVE_LOGWTMP=1
+LIBS += -lutil
+endif
+
ifdef NEEDDES
ifndef USE_CRYPT
LIBS += -ldes $(LIBS)
CFLAGS += -DLOCKLIB=1
endif
+ifdef SYSTEMD
+LIBS += -lsystemd
+CFLAGS += -DSYSTEMD=1
+endif
+
ifdef PLUGIN
CFLAGS += -DPLUGIN
LDFLAGS += -Wl,-E