diff options
author | shemminger <shemminger> | 2004-05-21 17:41:48 +0000 |
---|---|---|
committer | shemminger <shemminger> | 2004-05-21 17:41:48 +0000 |
commit | 328f4711bbc369dcccf8f8cfba2adf5dd0f74479 (patch) | |
tree | 8dd07660534f32407d249d0259e2e8f3a62f2ae5 /configure.in | |
parent | 064717a4d7e47b47ba42e658abfd36acaa4a65d6 (diff) | |
download | android_external_brctl-328f4711bbc369dcccf8f8cfba2adf5dd0f74479.tar.gz android_external_brctl-328f4711bbc369dcccf8f8cfba2adf5dd0f74479.tar.bz2 android_external_brctl-328f4711bbc369dcccf8f8cfba2adf5dd0f74479.zip |
New version of command and library that use sysfs.
Update make system to build with or without sysfs.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 0ed11cc..53c0eac 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(brctl/brctl.c) +AC_CONFIG_HEADER(libbridge/config.h) +AM_INIT_AUTOMAKE(bridge-utils,1.0) AC_ARG_WITH( linux, [ --with-linux-headers Location of the linux headers to use], KERNEL_HEADERS=$withval, KERNEL_HEADERS="/usr/src/linux/include") @@ -22,6 +24,7 @@ AC_PROG_GCC_TRADITIONAL AC_FUNC_MEMCMP AC_CHECK_FUNCS(gethostname socket strdup uname) AC_CHECK_FUNCS(if_nametoindex if_indextoname) +AC_CHECK_LIB(sysfs, sysfs_open_directory) AC_SUBST(KERNEL_HEADERS) |