chiark / gitweb /
Import debian/ directory from 2:8.38-3.1
[pcre3.git] / debian / pcre-config.1
diff --git a/debian/pcre-config.1 b/debian/pcre-config.1
new file mode 100644 (file)
index 0000000..fbcd559
--- /dev/null
@@ -0,0 +1,57 @@
+.TH PCRE-CONFIG 1
+.SH NAME
+pcre-config \- program to return PCRE configuration
+.SH SYNOPSIS
+.B pcre-config
+.RB [ --prefix ] 
+.RB [ --exec-prefix ]
+.RB [ --version ]
+.RB [ --libs ] 
+.RB [ --libs-posix ]
+.RB [ --cflags ]
+.RB [ --cflags-posix ]
+
+.SH DESCRIPTION
+\fBpcre-config\fR returns the configuration of the installed PCRE
+libraries: the options required to compile a program to use them.
+
+.SH OPTIONS
+.TP 10
+\fB--prefix\fR
+Writes the directory prefix used in the PCRE installation for
+architecture independent files (e.g. \fI/usr\fR) to standard output.
+.TP
+\fB--exec-prefix\fR
+Writes the directory prefix used in the PCRE installation for
+architecture dependent files (normally the same as \fB--prefix\fR)
+to standard output.
+.TP
+\fB--version\fR
+Writes the version of PCRE installed to standard output.
+.TP
+\fB--libs\fR
+Writes to standard output the command line options required to link
+with PCRE (e.g. \fI-lpcre\fR).
+.TP
+\fB--libs-posix\fR
+Writes to standard output the command line options required to link
+with the PCRE POSIX emulation library (e.g. \fI-lpcreposix -lpcre\fR).
+.TP
+\fB--cflags\fR
+Writes to standard output the command line options required to compile 
+files that use PCRE (this often includes some \fI-I\fR options, but is blank 
+on debian systems).
+.TP
+\fB--cflags-posix\fR
+Writes to standard output the command line options required to compile
+files that use the PCRE POSIX emulation library (this often includes
+some -I options, but is blank on debian systems). Suppress printing of
+filenames when searching multiple files.
+.TP
+
+.SH AUTHOR
+This manual page was written by Mark Baker <mark@mnb.org.uk>,
+for the Debian GNU/Linux system (but may be used by others).
+
+.SH SEE ALSO
+\fBpcre(3)