X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=configure.ac;h=5a134fa4cf59f29e4a80edf6cc874982313def7f;hb=fb3529ccfc1868e8563a2dcfbae7b386125fccbc;hp=ae69aa7f45d0de93f2e5d6b74e2bf8a1d57afb60;hpb=bfebf96caf375ab52e4df396f3383851d5ed2647;p=ppp.git diff --git a/configure.ac b/configure.ac index ae69aa7..5a134fa 100644 --- a/configure.ac +++ b/configure.ac @@ -11,7 +11,7 @@ AM_MAINTAINER_MODE([enable]) AC_LANG(C) AC_CONFIG_SRCDIR([pppd/main.c]) -AC_CONFIG_HEADERS([pppd/config.h pppd/pppdconf.h]) +AC_CONFIG_HEADERS([pppd/config.h pppd/pppdconf.h pppd/plugins/pppoe/config.h]) # Checks for programs. AC_PROG_CC @@ -116,13 +116,6 @@ AM_CONDITIONAL(PPP_WITH_CBCP, test "x${enable_cbcp}" = "xyes") AM_COND_IF([PPP_WITH_CBCP], AC_DEFINE([PPP_WITH_CBCP], 1, [Have Callback Protocol support])) -# -# Disable support for limiting session duration by maximum octets -AC_ARG_ENABLE([maxoctets], - AS_HELP_STRING([--disable-maxoctets], [Disable support for limiting session by maximum octets])) -AS_IF([test "x$enable_maxoctets" != "xno"], - AC_DEFINE([PPP_WITH_MAXOCTETS], 1, [Limit sessions by maximum number of octets])) - # # Disable Microsoft extensions will remove CHAP and MPPE support AC_ARG_ENABLE([microsoft-extensions], @@ -305,6 +298,7 @@ if test "x${with_gtk}" = "xyes"; then fi AM_CONDITIONAL([WITH_GTK], test "x${with_gtk}" = "xyes") +AC_DEFINE_UNQUOTED(PPPD_VERSION, "$VERSION", [Version of pppd]) AC_CONFIG_FILES([ Makefile