diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -4,18 +4,21 @@ | |||
4 | 4 | ||
5 | * libpcap: Remove | 5 | * libpcap: Remove |
6 | * INSTALL: Remove | 6 | * INSTALL: Remove |
7 | * Makefile.am (SUBDIRS): Remove libpcap | 7 | * Makefile.am (SUBDIRS): Remove libpcap |
8 | * configure.ac: Remove libpcap | 8 | * configure.ac: Remove libpcap |
9 | Use LOG_FACILITY instead of --with-log-facility | 9 | Use LOG_FACILITY instead of --with-log-facility |
10 | Raise version no. to 1.0. | ||
10 | * ylwrap: Remove. | 11 | * ylwrap: Remove. |
11 | * src/Makefile.am (ipacct_LDADD): Use -lpcap. | 12 | * src/Makefile.am (ipacct_LDADD): Use -lpcap. |
12 | * src/ipacct.h: Do not include ip_var.h | 13 | * src/ipacct.h: Do not include ip_var.h |
13 | * src/main.c: Do not include pcap-int.h | 14 | * src/main.c: Do not include pcap-int.h |
14 | * src/run.c: Do not include pcap-int.h | 15 | * src/run.c: Do not include pcap-int.h |
15 | (run): Use pcap_fileno. | 16 | (run): Use pcap_fileno. |
17 | * AUTHORS: Update | ||
18 | * ylwrap, INSTALL: Remove. | ||
16 | 19 | ||
17 | * src/main.c (parse_opt): Remove leftover uses of optarg. | 20 | * src/main.c (parse_opt): Remove leftover uses of optarg. |
18 | (main): Do not use optind. | 21 | (main): Do not use optind. |
19 | 22 | ||
20 | 2005-08-04 Sergey Poznyakoff <gray@gnu.org.ua> | 23 | 2005-08-04 Sergey Poznyakoff <gray@gnu.org.ua> |
21 | 24 | ||
diff --git a/configure.ac b/configure.ac index a244400..b96ca94 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -48,13 +48,13 @@ AC_STRUCT_ST_RDEV | |||
48 | AC_HEADER_TIME | 48 | AC_HEADER_TIME |
49 | AC_STRUCT_TM | 49 | AC_STRUCT_TM |
50 | 50 | ||
51 | dnl Check for libraries | 51 | dnl Check for libraries |
52 | AC_CHECK_LIB(socket, main) | 52 | AC_CHECK_LIB(socket, main) |
53 | AC_CHECK_LIB(nsl, main) | 53 | AC_CHECK_LIB(nsl, main) |
54 | AC_CHECK_LIB(pcap, pcap_init, | 54 | AC_CHECK_LIB(pcap, pcap_compile, |
55 | [LIBS="-lpcap $LIBS"], | 55 | [LIBS="-lpcap $LIBS"], |
56 | [AC_MSG_ERROR([Required library libpcap not found])]) | 56 | [AC_MSG_ERROR([Required library libpcap not found])]) |
57 | 57 | ||
58 | dnl Checks for library functions. | 58 | dnl Checks for library functions. |
59 | AC_PROG_GCC_TRADITIONAL | 59 | AC_PROG_GCC_TRADITIONAL |
60 | AC_HEADER_MAJOR | 60 | AC_HEADER_MAJOR |