2022-04-03 19:02:06 +02:00
.TH xml2-config 1 "3 April 2022" Version 1 .2.0
2001-02-23 17:55:21 +00:00
.SH NAME
2022-04-03 19:02:06 +02:00
xml2-config - script to get information about the installed version of libxml2
2001-02-23 17:55:21 +00:00
.SH SYNOPSIS
2022-04-03 19:02:06 +02:00
.B xml2-config
2001-02-23 17:55:21 +00:00
[\- \- prefix\fI [=DIR]\fP ] [\- \- libs] [\- \- cflags] [\- \- version] [\- \- help]
.SH DESCRIPTION
2022-04-03 19:02:06 +02:00
\fI xml2-config\fP is a tool that is used to determine the compile and
2001-02-23 17:55:21 +00:00
linker flags that should be used to compile and link programs that use
2022-04-03 19:02:06 +02:00
\fI libxml2\fP .
2001-02-23 17:55:21 +00:00
.SH OPTIONS
2022-04-03 19:02:06 +02:00
\fI xml2-config\fP accepts the following options:
2001-02-23 17:55:21 +00:00
.TP 8
.B \- \- version
2022-04-03 19:02:06 +02:00
Print the currently installed version of \fI libxml2\fP on the standard output.
2001-02-23 17:55:21 +00:00
.TP 8
.B \- \- libs
2022-04-03 19:02:06 +02:00
Print the linker flags that are necessary to link a \fI libxml2\fP program.
Add \- \- dynamic after \- \- libs to print only shared library linking
information.
2001-02-23 17:55:21 +00:00
.TP 8
.B \- \- cflags
2022-04-03 19:02:06 +02:00
Print the compiler flags that are necessary to compile a \fI libxml2\fP program.
2001-02-23 17:55:21 +00:00
.TP 8
.B \- \- prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that
2022-04-03 19:02:06 +02:00
\fI libxml2\fP was built with when computing the output for the
2001-02-23 17:55:21 +00:00
\- \- cflags and \- \- libs options. This option must be specified before
any \- \- libs or \- \- cflags options.
.SH AUTHOR
This manual page was written by Fredrik Hallenberg <hallon@lysator.liu.se>,
for the Debian GNU/linux system (but may be used by others).