Annotation of embedaddon/pcre/doc/pcre-config.txt, revision 1.1.1.2
1.1 misho 1: PCRE-CONFIG(1) PCRE-CONFIG(1)
2:
3:
4:
5: NAME
6: pcre-config - program to return PCRE configuration
7:
8: SYNOPSIS
9:
10: pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
1.1.1.2 ! misho 11: [--libs16] [--libs-cpp] [--libs-posix] [--cflags]
! 12: [--cflags-posix]
1.1 misho 13:
14:
15: DESCRIPTION
16:
17: pcre-config returns the configuration of the installed PCRE libraries
1.1.1.2 ! misho 18: and the options required to compile a program to use them. Some of the
! 19: options apply only to the 8-bit or 16-bit libraries, respectively, and
! 20: are not available if only one of those libraries has been built. If an
! 21: unavailable option is encountered, the "usage" information is output.
1.1 misho 22:
23:
24: OPTIONS
25:
26: --prefix Writes the directory prefix used in the PCRE installation for
1.1.1.2 ! misho 27: architecture independent files (/usr on many systems,
1.1 misho 28: /usr/local on some systems) to the standard output.
29:
30: --exec-prefix
31: Writes the directory prefix used in the PCRE installation for
1.1.1.2 ! misho 32: architecture dependent files (normally the same as --prefix)
1.1 misho 33: to the standard output.
34:
1.1.1.2 ! misho 35: --version Writes the version number of the installed PCRE libraries to
1.1 misho 36: the standard output.
37:
1.1.1.2 ! misho 38: --libs Writes to the standard output the command line options
! 39: required to link with the 8-bit PCRE library (-lpcre on many
! 40: systems).
! 41:
! 42: --libs16 Writes to the standard output the command line options
! 43: required to link with the 16-bit PCRE library (-lpcre16 on
! 44: many systems).
! 45:
! 46: --libs-cpp
! 47: Writes to the standard output the command line options
! 48: required to link with PCRE's C++ wrapper library (-lpcrecpp
! 49: -lpcre on many systems).
1.1 misho 50:
51: --libs-posix
52: Writes to the standard output the command line options
1.1.1.2 ! misho 53: required to link with PCRE's POSIX API wrapper library
1.1 misho 54: (-lpcreposix -lpcre on many systems).
55:
56: --cflags Writes to the standard output the command line options
57: required to compile files that use PCRE (this may include
58: some -I options, but is blank on many systems).
59:
60: --cflags-posix
61: Writes to the standard output the command line options
1.1.1.2 ! misho 62: required to compile files that use PCRE's POSIX API wrapper
1.1 misho 63: library (this may include some -I options, but is blank on
64: many systems).
65:
66:
67: SEE ALSO
68:
69: pcre(3)
70:
71:
72: AUTHOR
73:
74: This manual page was originally written by Mark Baker for the Debian
1.1.1.2 ! misho 75: GNU/Linux system. It has been subsequently revised as a generic PCRE
! 76: man page.
1.1 misho 77:
78:
79: REVISION
80:
1.1.1.2 ! misho 81: Last updated: 01 January 2012
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>