diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2023-01-07 11:15:39 +0100 |
---|---|---|
committer | fxlb <devel.fx.lebail@orange.fr> | 2023-01-30 21:51:02 +0000 |
commit | 17ff63e88ea99112a905eefc6f862dac20de09e1 (patch) | |
tree | 470c5e43daa6a715a4b966aec57bc9e237e6b72e /INSTALL.md | |
parent | 7ea5bcd0f05cbcb0621a6ce0e6312a97bbb4d13e (diff) |
autoconf: Add autogen.sh, remove configure and config.h.in
Put autoconf-generated files in the release tarball.
Remove the corresponding task from the TODO file.
The minimum required version of autoconf is currently 2.69.
If version 2.69 or later is already installed and there is no
autoconf default, it may be necessary to set the AUTORECONF
environment variable to enable the one to use, like:
AUTORECONF=autoreconf-2.69 ./autogen.sh
or
AUTORECONF=autoreconf-2.71 ./autogen.sh
Diffstat (limited to 'INSTALL.md')
-rw-r--r-- | INSTALL.md | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -4,6 +4,14 @@ with CMake and any build system supported by CMake. To build libpcap with the configure script and `make`: +* If you build from a git clone rather than from a release archive, +run `./autogen.sh` (a shell script). The autogen.sh script will +build the `configure` and `config.h.in` files. + +On some system, you may need to set the `AUTORECONF` variable, like: +`AUTORECONF=autoreconf-2.69 ./autogen.sh` +to select the `autoreconf` version you want to use. + * Run `./configure` (a shell script). The configure script will determine your system attributes and generate an appropriate `Makefile` from `Makefile.in`. The configure script has a number of options to @@ -15,6 +23,10 @@ them. libpcap if you just want to build tcpdump; just make sure the tcpdump and libpcap directory trees have the same parent directory. +On OpenBSD, you may need to set, before the `make`, the `AUTOCONF_VERSION` +variable like: +`AUTOCONF_VERSION=2.69 make` + To build libpcap with CMake and the build system of your choice, from the command line: @@ -202,13 +214,12 @@ in `/usr/include/sys/dlpi.h`, and find the corresponding value. aclocal.m4 - autoconf macros arcnet.h - ARCNET definitions atmuni31.h - ATM Q.2931 definitions + autogen.sh - build configure and config.h.in (run this first) bpf_dump.c - BPF program printing routines bpf_filter.c - BPF filtering routines bpf_image.c - BPF disassembly routine config.guess - autoconf support - config.h.in - autoconf input config.sub - autoconf support - configure - configure script (run this first) configure.ac - configure script source dlpisubs.c - DLPI-related functions for pcap-dlpi.c and pcap-libdlpi.c dlpisubs.h - DLPI-related function declarations |