summaryrefslogtreecommitdiff
path: root/pcap-config.1
diff options
context:
space:
mode:
Diffstat (limited to 'pcap-config.1')
-rw-r--r--pcap-config.122
1 files changed, 14 insertions, 8 deletions
diff --git a/pcap-config.1 b/pcap-config.1
index 66b65b11..8f0fdd62 100644
--- a/pcap-config.1
+++ b/pcap-config.1
@@ -18,7 +18,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH PCAP\-CONFIG 1 "18 February 2023"
+.TH PCAP\-CONFIG 1 "10 April 2023"
.SH NAME
pcap-config \- write libpcap compiler and linker flags to standard output
.SH SYNOPSIS
@@ -52,13 +52,9 @@ pcap-config \- write libpcap compiler and linker flags to standard output
.I pcap\-config
writes to the standard output various compiler and linker flags required to
build a user program with libpcap. By default, it writes flags appropriate
-for building with a dynamically\-linked version of libpcap; see the
-.B \-\-static
-and
-.B \-\-static\-pcap\-only
-options for building with a statically\-linked version. Depending on the
-manner of libpcap installation, some options or their combinations may
-produce empty output \- this is by design.
+for building with a dynamically\-linked version of libpcap; see below
+for static linking. Depending on the manner of libpcap installation, some
+options or their combinations may produce empty output \- this is by design.
.SH OPTIONS
.TP
@@ -121,6 +117,16 @@ libpcap.
exits with a non-zero status when invoked with an invalid command\-line
option, and with status 0 otherwise.
+.SH BACKWARD COMPATIBILITY
+.PP
+Before libpcap release 1.10.2
+.I pcap\-config
+did not treat invalid command\-line options as an error. The
+.B \-\-static\-pcap\-only
+flag became available in libpcap release 1.10.2. The
+.B \-\-static
+flag became available in libpcap release 1.1.0.
+
.SH SEE ALSO
.BR pkg\-config (1),
.BR pcap (3PCAP)