bridge-utils update to 1.5
[tomato.git] / release / src-rt-6.x.4708 / router / bridge / configure.in
blob5e3f89bb5f3c7a53b728b93d9c191046853aad33
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(bridge-utils, 1.5)
3 AC_CONFIG_HEADERS(libbridge/config.h)
5 AC_ARG_WITH( linux-headers, [  --with-linux-headers     Location of the linux headers to use], 
6     KERNEL_HEADERS=$withval, KERNEL_HEADERS="/usr/src/linux/include")
8 dnl Checks for programs.
9 AC_PROG_CC
10 AC_PROG_INSTALL
11 AC_PROG_RANLIB
13 dnl Checks for header files.
14 AC_HEADER_STDC
15 AC_CHECK_HEADERS(sys/ioctl.h sys/time.h)
17 dnl Checks for typedefs, structures, and compiler characteristics.
18 AC_C_CONST
19 AC_HEADER_TIME
21 dnl Checks for library functions.
22 AC_CHECK_FUNCS(gethostname socket strdup uname)
23 AC_CHECK_FUNCS(if_nametoindex if_indextoname)
25 AC_SUBST(KERNEL_HEADERS)
27 AC_OUTPUT(doc/Makefile libbridge/Makefile brctl/Makefile Makefile bridge-utils.spec)