diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 5ef82123..1e1fdba7 100644 --- a/configure.in +++ b/configure.in @@ -1,12 +1,13 @@ dnl ** This is a configure script template for BIRD dnl ** Process it with autoconf to get ./configure -dnl ** (c) 1999 Martin Mares <mj@ucw.cz> +dnl ** (c) 1999--2000 Martin Mares <mj@ucw.cz> AC_REVISION($Id$) AC_INIT(conf/confbase.Y) AC_CONFIG_AUX_DIR(tools) AC_ARG_ENABLE(debug,[ --enable-debug enable internal debugging routines (default: enabled)],,enable_debug=yes) +AC_ARG_ENABLE(client,[ --enable-client enable building of BIRD client (default: enabled)],,enable_client=yes) AC_ARG_WITH(sysconfig,[ --with-sysconfig=FILE use specified BIRD system configuration file]) AC_ARG_WITH(protocols,[ --with-protocols=LIST include specified routing protocols (default: rip,static,pipe)],,[with_protocols="rip,static,pipe"]) AC_ARG_WITH(sysinclude,[ --with-sysinclude=PATH search for system includes on specified place]) @@ -133,6 +134,13 @@ else AC_DEFINE_UNQUOTED(PATH_CONTROL_SOCKET_DIR, "$localstatedir") fi +if test "$enable_client" = yes ; then + CLIENT=client +else + CLIENT= +fi +AC_SUBST(CLIENT) + mkdir -p $objdir/sysdep AC_CONFIG_HEADER($objdir/sysdep/autoconf.h:sysdep/autoconf.h.in) AC_OUTPUT_COMMANDS(,[CPP="$CPP" $srcdir/tools/mergedirs $srcdir $srcdir_rel $objdir $sysdep_dirs]) @@ -146,5 +154,6 @@ BIRD was configured with the following options: System configuration: $sysdesc Debugging: $enable_debug Routing protocols: $protocols + Client: $enable_client EOF rm -f $objdir/.*-stamp |