switch4g: completely re-writen
[tomato.git] / release / src / router / pcre / doc / pcre-config.txt
blob8503ab0ef0ce3eb43dd53944a516e070e2dab630
1 PCRE-CONFIG(1)              General Commands Manual             PCRE-CONFIG(1)
5 NAME
6        pcre-config - program to return PCRE configuration
8 SYNOPSIS
10        pcre-config [--prefix] [--exec-prefix] [--version] [--libs]
11                    [--libs16] [--libs32] [--libs-cpp] [--libs-posix]
12                    [--cflags] [--cflags-posix]
15 DESCRIPTION
17        pcre-config  returns  the configuration of the installed PCRE libraries
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, or 32-bit libraries,
20        respectively, and are not available if only one of those libraries  has
21        been built. If an unavailable option is encountered, the "usage" infor-
22        mation is output.
25 OPTIONS
27        --prefix  Writes the directory prefix used in the PCRE installation for
28                  architecture   independent   files  (/usr  on  many  systems,
29                  /usr/local on some systems) to the standard output.
31        --exec-prefix
32                  Writes the directory prefix used in the PCRE installation for
33                  architecture  dependent files (normally the same as --prefix)
34                  to the standard output.
36        --version Writes the version number of the installed PCRE libraries  to
37                  the standard output.
39        --libs    Writes  to  the  standard  output  the  command  line options
40                  required to link with the 8-bit PCRE library (-lpcre on  many
41                  systems).
43        --libs16  Writes  to  the  standard  output  the  command  line options
44                  required to link with the 16-bit PCRE  library  (-lpcre16  on
45                  many systems).
47        --libs32  Writes  to  the  standard  output  the  command  line options
48                  required to link with the 32-bit PCRE  library  (-lpcre32  on
49                  many systems).
51        --libs-cpp
52                  Writes  to  the  standard  output  the  command  line options
53                  required to link with PCRE's C++ wrapper  library  (-lpcrecpp
54                  -lpcre on many systems).
56        --libs-posix
57                  Writes  to  the  standard  output  the  command  line options
58                  required to  link  with  PCRE's  POSIX  API  wrapper  library
59                  (-lpcreposix -lpcre on many systems).
61        --cflags  Writes  to  the  standard  output  the  command  line options
62                  required to compile files that use  PCRE  (this  may  include
63                  some -I options, but is blank on many systems).
65        --cflags-posix
66                  Writes  to  the  standard  output  the  command  line options
67                  required to compile files that use PCRE's POSIX  API  wrapper
68                  library  (this  may  include some -I options, but is blank on
69                  many systems).
72 SEE ALSO
74        pcre(3)
77 AUTHOR
79        This manual page was originally written by Mark Baker  for  the  Debian
80        GNU/Linux  system.  It  has been subsequently revised as a generic PCRE
81        man page.
84 REVISION
86        Last updated: 24 June 2012