diff options
author | Stef Walter <stef@memberwebs.com> | 2009-03-20 17:49:16 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2009-03-20 17:49:16 +0000 |
commit | f1ac1edac99c9c4b3dddecb575b3ef520b14dff2 (patch) | |
tree | 1ff3ae8db60ef89395604d8831904ec0a93a5cfa /configure.in | |
parent | dcc4fbe0b1576d44fcc0f1417e13c11793efab84 (diff) |
Add support for FreeBSD 7.2 jails.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 581748f..69207cb 100644 --- a/configure.in +++ b/configure.in @@ -52,6 +52,14 @@ AC_CHECK_HEADERS([bsnmp/snmpmod.h], , AC_CHECK_HEADERS([pcap.h], , [echo "ERROR: required pcap header not found." exit 1]) +AC_CHECK_MEMBER([struct xprison_v1.pr_version], + AC_DEFINE_UNQUOTED(HAVE_XPRISON_V1, 1, [Have prison V1 structure defined]), [], + [[ + #include <sys/types.h> + #include <sys/param.h> + #include <sys/jail.h> + ]]) + # Check for libraries AC_SEARCH_LIBS(pcap_open_live, pcap, , [ echo "Must have a pcap library available"; exit 2 ] ) |