diff options
author | SUZUKI, Shinsuke <suz@kame.net> | 2005-12-11 06:27:22 +0000 |
---|---|---|
committer | SUZUKI, Shinsuke <suz@kame.net> | 2005-12-11 06:27:22 +0000 |
commit | cb17573503a34437f4c43bf77951f7de57058616 (patch) | |
tree | 51a98831ae043026ca9831c376ba12a439437298 | |
parent | 013e805485be9c41cf89aeaba8b30a3403287de9 (diff) |
removes old prefix delegation options
-rw-r--r-- | configure.in | 56 |
1 files changed, 10 insertions, 46 deletions
diff --git a/configure.in b/configure.in index 3c91eb3..b32a0f9 100644 --- a/configure.in +++ b/configure.in @@ -193,43 +193,19 @@ else AC_MSG_RESULT(no) fi -dnl DHCP option type values not officially defined -AC_MSG_CHECKING(for DHCP prefix delegation option) -AC_ARG_WITH(opt-pdel, -[ --with-opt-pdel=VALUE specify DHCP option value for prefix delegation], - dhcpopt_pdel="$withval", dhcpopt_pdel=0) -if test $dhcpopt_pdel = 0 ; then - dhcpopt_pdel=30 - AC_MSG_RESULT(unspecified and using $dhcpopt_pdel) -else - AC_MSG_RESULT(using $dhcpopt_pdel) -fi -AC_SUBST(dhcpopt_pdel) - -AC_MSG_CHECKING(for DHCP prefix information option) -AC_ARG_WITH(opt-pinfo, -[ --with-opt-pinfo=VALUE specify DHCP option value for prefix information], - dhcpopt_pinfo="$withval", dhcpopt_pinfo=0) -if test $dhcpopt_pinfo = 0 ; then - dhcpopt_pinfo=31 - AC_MSG_RESULT(unspecified and using $dhcpopt_pinfo) -else - AC_MSG_RESULT(using $dhcpopt_pinfo) -fi -AC_SUBST(dhcpopt_pinfo) - -AC_MSG_CHECKING(for DHCP prefix request option) -AC_ARG_WITH(opt-preq, -[ --with-opt-preq=VALUE specify DHCP option value for prefix request], - dhcpopt_preq="$withval", dhcpopt_preq=0) -if test $dhcpopt_preq = 0 ; then - dhcpopt_preq=32 - AC_MSG_RESULT(unspecified and using $dhcpopt_preq) +AC_MSG_CHECKING(for DHCP information refresh time option) +AC_ARG_WITH(opt-refreshtime, +[ --with-opt-refreshtime=VALUE specify DHCP option value for refresh time], + dhcpopt_refreshtime="$withval", dhcpopt_refreshtime=0) +if test $dhcpopt_refreshtime != 0 ; then + AC_MSG_RESULT(using $dhcpopt_refresh) + DH6OPT_REFRESHTIME="-DDH6OPT_REFRESHTIME=$dhcpopt_refreshtime" + AC_SUBST(DH6OPT_REFRESHTIME) else - AC_MSG_RESULT(using $dhcpopt_preq) + AC_MSG_RESULT(no) fi -AC_SUBST(dhcpopt_preq) +dnl DHCP option type values not officially defined AC_MSG_CHECKING(for DHCP NTP option) AC_ARG_WITH(opt-ntp, [ --with-opt-ntp=VALUE specify DHCP option value for NTP], @@ -242,18 +218,6 @@ else fi AC_SUBST(dhcpopt_ntp) -AC_MSG_CHECKING(for DHCP information refresh time option) -AC_ARG_WITH(opt-refreshtime, -[ --with-opt-refreshtime=VALUE specify DHCP option value for refresh time], - dhcpopt_refreshtime="$withval", dhcpopt_refreshtime=0) -if test $dhcpopt_refreshtime = 0 ; then - dhcpopt_refreshtime=-1 - AC_MSG_RESULT(unspecified) -else - AC_MSG_RESULT(using $dhcpopt_refreshtime) -fi -AC_SUBST(dhcpopt_refreshtime) - AC_CHECK_HEADERS(stdarg.h) AC_OUTPUT(Makefile) |