| .TH xml2-config 1 "3 April 2022" Version 1.2.0 | |
| .SH NAME | |
| xml2-config - script to get information about the installed version of libxml2 | |
| .SH SYNOPSIS | |
| .B xml2-config | |
| [\-\-prefix\fI[=DIR]\fP] [\-\-libs] [\-\-cflags] [\-\-version] [\-\-help] | |
| .SH DESCRIPTION | |
| \fIxml2-config\fP is a tool that is used to determine the compile and | |
| linker flags that should be used to compile and link programs that use | |
| \fIlibxml2\fP. | |
| .SH OPTIONS | |
| \fIxml2-config\fP accepts the following options: | |
| .TP 8 | |
| .B \-\-version | |
| Print the currently installed version of \fIlibxml2\fP on the standard output. | |
| .TP 8 | |
| .B \-\-libs | |
| Print the linker flags that are necessary to link a \fIlibxml2\fP program. | |
| Add \-\-dynamic after \-\-libs to print only shared library linking | |
| information. | |
| .TP 8 | |
| .B \-\-cflags | |
| Print the compiler flags that are necessary to compile a \fIlibxml2\fP program. | |
| .TP 8 | |
| .B \-\-prefix=PREFIX | |
| If specified, use PREFIX instead of the installation prefix that | |
| \fIlibxml2\fP was built with when computing the output for the | |
| \-\-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 <[email protected]>, | |
| for the Debian GNU/linux system (but may be used by others). | |