summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorCalin Velea <vcalinus@gemenii.ro>2007-04-09 15:29:51 -0500
committerJeffrey C. Ollie <jeff@ocjtech.us>2007-04-09 15:29:51 -0500
commit8d3e3ccfd0d0cb82b253f937339d1c6189a2bf54 (patch)
treeb8bc9ff4aad0c8e7933e91895f6f3cf7d93f8e24 /configure.ac
parentc15deb1b7428a2baedfb615b1a41fe28d48c598c (diff)
downloadquagga-8d3e3ccfd0d0cb82b253f937339d1c6189a2bf54.tar.bz2
quagga-8d3e3ccfd0d0cb82b253f937339d1c6189a2bf54.tar.xz
Appying patch from http://vcalinus.gemenii.ro/quagga-0.99.5-realms.diffquagga-0.99.5-realms.diff
Diffstat (limited to 'configure.ac')
-rwxr-xr-xconfigure.ac13
1 files changed, 11 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 4f5956e0..7c0b5df7 100755
--- a/configure.ac
+++ b/configure.ac
@@ -8,7 +8,7 @@
## $Id$
AC_PREREQ(2.53)
-AC_INIT(Quagga, 0.99.5, [http://bugzilla.quagga.net])
+AC_INIT(Quagga, 0.99.5-realms, [http://bugzilla.quagga.net])
AC_CONFIG_SRCDIR(lib/zebra.h)
dnl -----------------------------------
@@ -224,7 +224,8 @@ AC_ARG_ENABLE(configfile_mask,
[ --enable-configfile-mask=ARG set mask for config files])
AC_ARG_ENABLE(logfile_mask,
[ --enable-logfile-mask=ARG set mask for log files])
-
+AC_ARG_ENABLE(realms,
+[ --enable-realms enable REALMS support under Linux])
AC_ARG_ENABLE(rtadv,
[ --disable-rtadv disable IPV6 router advertisement feature])
AC_ARG_ENABLE(irdp,
@@ -432,6 +433,14 @@ case "$host" in
;;
esac
+if test "${enable_realms}" = "yes"; then
+ if test "${opsys}" != "gnu-linux"; then
+ echo "Sorry, only Linux has REALMS support"
+ exit 1
+ fi
+ AC_DEFINE(SUPPORT_REALMS,, Realms support)
+fi
+
dnl ---------------------
dnl Integrated VTY option
dnl ---------------------