4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change
on this file since 47accf2 was
14e60c60,
checked in by Daniel Lawson <dlawson@…>, 18 years ago
|
adding various autotools snippets
|
-
Property mode set to
100644
|
File size:
985 bytes
|
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | AC_INIT(lib/trace.c) |
---|
3 | AM_INIT_AUTOMAKE(libtrace,[1.1.0],[libtrace@wand.net.nz]) |
---|
4 | |
---|
5 | AC_PREREQ(2.5) |
---|
6 | |
---|
7 | AM_CONFIG_HEADER(config.h) |
---|
8 | dnl Checks for programs. |
---|
9 | AC_PROG_CC |
---|
10 | AC_PROG_INSTALL |
---|
11 | AC_PROG_LIBTOOL |
---|
12 | |
---|
13 | dnl Checks for libraries. |
---|
14 | dnl Replace `main' with a function in -lpcap: |
---|
15 | AC_CHECK_LIB(pcap, pcap_open_dead) |
---|
16 | dnl Replace `main' with a function in -lz: |
---|
17 | AC_CHECK_LIB(z, gzread) |
---|
18 | |
---|
19 | dnl Checks for header files. |
---|
20 | AC_HEADER_STDC |
---|
21 | AC_CHECK_HEADERS(errno.h stdlib.h stdio.h assert.h string.h netinet/in.h assert.h errno.h fcntl.h net/ethernet.h netdb.h pcap.h stdio.h stdlib.h string.h sys/stat.h sys/types.h sys/socket.h sys/un.h unistd.h time.h sys/ioctl.h net/bpf.h pcap.h zlib.h pcap-bpf.h) |
---|
22 | |
---|
23 | dnl Checks for typedefs, structures, and compiler characteristics. |
---|
24 | AC_C_CONST |
---|
25 | AC_C_INLINE |
---|
26 | AC_TYPE_SIZE_T |
---|
27 | AC_HEADER_TIME |
---|
28 | |
---|
29 | dnl Checks for library functions. |
---|
30 | AC_PROG_GCC_TRADITIONAL |
---|
31 | AC_CHECK_FUNCS(socket strdup) |
---|
32 | |
---|
33 | AC_OUTPUT(Makefile lib/Makefile) |
---|
Note: See
TracBrowser
for help on using the repository browser.