Blame pcap-config.1

Packit Service c0f7c7
.\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997
Packit Service c0f7c7
.\"	The Regents of the University of California.  All rights reserved.
Packit Service c0f7c7
.\" All rights reserved.
Packit Service c0f7c7
.\"
Packit Service c0f7c7
.\" Redistribution and use in source and binary forms, with or without
Packit Service c0f7c7
.\" modification, are permitted provided that: (1) source code distributions
Packit Service c0f7c7
.\" retain the above copyright notice and this paragraph in its entirety, (2)
Packit Service c0f7c7
.\" distributions including binary code include the above copyright notice and
Packit Service c0f7c7
.\" this paragraph in its entirety in the documentation or other materials
Packit Service c0f7c7
.\" provided with the distribution, and (3) all advertising materials mentioning
Packit Service c0f7c7
.\" features or use of this software display the following acknowledgement:
Packit Service c0f7c7
.\" ``This product includes software developed by the University of California,
Packit Service c0f7c7
.\" Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
Packit Service c0f7c7
.\" the University nor the names of its contributors may be used to endorse
Packit Service c0f7c7
.\" or promote products derived from this software without specific prior
Packit Service c0f7c7
.\" written permission.
Packit Service c0f7c7
.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
Packit Service c0f7c7
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
Packit Service c0f7c7
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Packit Service c0f7c7
.\"
Packit Service c0f7c7
.TH PCAP-CONFIG 1 "15 February 2015"
Packit Service c0f7c7
.SH NAME
Packit Service c0f7c7
pcap-config \- write libpcap compiler and linker flags to standard output
Packit Service c0f7c7
.SH SYNOPSIS
Packit Service c0f7c7
.na
Packit Service c0f7c7
.B pcap-config
Packit Service c0f7c7
[
Packit Service c0f7c7
.B \-\-static
Packit Service c0f7c7
]
Packit Service c0f7c7
[
Packit Service c0f7c7
.B \-\-cflags | \-\-libs | \-\-additional-libs
Packit Service c0f7c7
]
Packit Service c0f7c7
.ad
Packit Service c0f7c7
.SH DESCRIPTION
Packit Service c0f7c7
.LP
Packit Service c0f7c7
When run with the
Packit Service c0f7c7
.B \-\-cflags
Packit Service c0f7c7
option,
Packit Service c0f7c7
.I pcap-config
Packit Service c0f7c7
writes to the standard output the
Packit Service c0f7c7
.B \-I
Packit Service c0f7c7
compiler flags required to include libpcap's header files.
Packit Service c0f7c7
When run with the
Packit Service c0f7c7
.B \-\-libs
Packit Service c0f7c7
option,
Packit Service c0f7c7
.I pcap-config
Packit Service c0f7c7
writes to the standard output the
Packit Service c0f7c7
.B \-L
Packit Service c0f7c7
and
Packit Service c0f7c7
.B \-l
Packit Service c0f7c7
linker flags required to link with libpcap, including
Packit Service c0f7c7
.B \-l
Packit Service c0f7c7
flags for libraries required by libpcap.
Packit Service c0f7c7
When run with the
Packit Service c0f7c7
.B \-\-additional-libs
Packit Service c0f7c7
option,
Packit Service c0f7c7
.I pcap-config
Packit Service c0f7c7
writes to the standard output the
Packit Service c0f7c7
.B \-L
Packit Service c0f7c7
and
Packit Service c0f7c7
.B \-l
Packit Service c0f7c7
flags for libraries required by libpcap, but not the
Packit Service c0f7c7
.B \-lpcap
Packit Service c0f7c7
flag to link with libpcap itself.
Packit Service c0f7c7
.LP
Packit Service c0f7c7
By default, it writes flags appropriate for compiling with a
Packit Service c0f7c7
dynamically-linked version of libpcap; the
Packit Service c0f7c7
.B \-\-static
Packit Service c0f7c7
flag causes it to write flags appropriate for compiling with a
Packit Service c0f7c7
statically-linked version of libpcap.
Packit Service c0f7c7
.SH "SEE ALSO"
Packit Service c0f7c7
pcap(3PCAP)