Revision 9fac310d configure.in

View differences:

configure.in
1 1
dnl ** This is a configure script template for BIRD
2 2
dnl ** Process it with autoconf to get ./configure
3
dnl ** (c) 1999 Martin Mares <mj@ucw.cz>
3
dnl ** (c) 1999--2000 Martin Mares <mj@ucw.cz>
4 4

  
5 5
AC_REVISION($Id$)
6 6
AC_INIT(conf/confbase.Y)
7 7
AC_CONFIG_AUX_DIR(tools)
8 8

  
9 9
AC_ARG_ENABLE(debug,[  --enable-debug          enable internal debugging routines (default: enabled)],,enable_debug=yes)
10
AC_ARG_ENABLE(client,[  --enable-client         enable building of BIRD client (default: enabled)],,enable_client=yes)
10 11
AC_ARG_WITH(sysconfig,[  --with-sysconfig=FILE   use specified BIRD system configuration file])
11 12
AC_ARG_WITH(protocols,[  --with-protocols=LIST   include specified routing protocols (default: rip,static,pipe)],,[with_protocols="rip,static,pipe"])
12 13
AC_ARG_WITH(sysinclude,[  --with-sysinclude=PATH  search for system includes on specified place])
......
133 134
	AC_DEFINE_UNQUOTED(PATH_CONTROL_SOCKET_DIR, "$localstatedir")
134 135
fi
135 136

  
137
if test "$enable_client" = yes ; then
138
	CLIENT=client
139
else
140
	CLIENT=
141
fi
142
AC_SUBST(CLIENT)
143

  
136 144
mkdir -p $objdir/sysdep
137 145
AC_CONFIG_HEADER($objdir/sysdep/autoconf.h:sysdep/autoconf.h.in)
138 146
AC_OUTPUT_COMMANDS(,[CPP="$CPP" $srcdir/tools/mergedirs $srcdir $srcdir_rel $objdir $sysdep_dirs])
......
146 154
	System configuration:	$sysdesc
147 155
	Debugging:		$enable_debug
148 156
	Routing protocols:	$protocols
157
	Client:			$enable_client
149 158
EOF
150 159
rm -f $objdir/.*-stamp

Also available in: Unified diff