diff -Nru rp-pppoe-3.8.orig/src/configure.in rp-pppoe-3.8/src/configure.in --- rp-pppoe-3.8.orig/src/configure.in 2008-06-15 16:59:01.000000000 +0300 +++ rp-pppoe-3.8/src/configure.in 2008-06-15 17:12:02.000000000 +0300 @@ -44,7 +44,7 @@ AC_MSG_RESULT($ac_cv_struct_sockaddr_ll) if test "$ac_cv_struct_sockaddr_ll" = yes ; then -AC_DEFINE(HAVE_STRUCT_SOCKADDR_LL) +AC_DEFINE(HAVE_STRUCT_SOCKADDR_LL, 1, [Define if you have struct sockaddr_ll]) fi dnl Check for N_HDLC line discipline @@ -55,7 +55,7 @@ ac_cv_n_hdlc=no) AC_MSG_RESULT($ac_cv_n_hdlc) if test "$ac_cv_n_hdlc" = yes ; then -AC_DEFINE(HAVE_N_HDLC) +AC_DEFINE(HAVE_N_HDLC, 1, [Define if you have the N_HDLC line discipline in linux/termios.h]) fi AC_ARG_ENABLE(plugin, [ --enable-plugin=pppd_src_path build pppd plugin], ac_cv_pluginpath=$enableval, ac_cv_pluginpath=no) @@ -100,13 +100,13 @@ if test "$ac_cv_header_linux_if_pppox_h" = yes ; then if test "$ac_cv_pluginpath" != no ; then LINUX_KERNELMODE_PLUGIN=rp-pppoe.so - AC_DEFINE(HAVE_LINUX_KERNEL_PPPOE) + AC_DEFINE(HAVE_LINUX_KERNEL_PPPOE, 1, [Define if you have kernel-mode PPPoE in Linux file]) PPPD_INCDIR=$ac_cv_pluginpath fi fi if test "$ac_cv_debugging" = "yes" ; then - AC_DEFINE(DEBUGGING_ENABLED) + AC_DEFINE(DEBUGGING_ENABLED, 1, [Define to include debugging code]) fi AC_SUBST(LINUX_KERNELMODE_PLUGIN) @@ -248,7 +248,7 @@ if test "$rpppoe_cv_pack_bitfields" = "rev" ; then AC_MSG_RESULT(reversed) - AC_DEFINE(PACK_BITFIELDS_REVERSED) + AC_DEFINE(PACK_BITFIELDS_REVERSED, 1, [Define if bitfields are packed in reverse order]) else AC_MSG_RESULT(normal) fi