Allow setting PCRE_{CFLAGS,LIBS} when building SWIG with PCRE.
These options can be used to override the values returned by pcre-config, e.g. to build using a static PCRE library even if pcre-config prefers to use the shared one by default. Use the updated AX_PATH_GENERIC macro from autoconf archive which was fixed to allow the options set by the user to override the ones returned by pcre-config (in fact, pcre-config isn't even called at all if these options are set). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c339c0b4f7
commit
ae6aef5d8f
3 changed files with 88 additions and 58 deletions
8
README
8
README
|
|
@ -57,8 +57,12 @@ You must use GNU `make' to build SWIG.
|
|||
|
||||
http://www.gnu.org/software/make/
|
||||
|
||||
PCRE needs to be installed on your system to build SWIG. The configure
|
||||
script will provide instructions for obtaining PCRE if it cannot be found.
|
||||
PCRE needs to be installed on your system to build SWIG, in particular
|
||||
pcre-config must be available. If you have PCRE headers and libraries but not
|
||||
pcre-config itself or, alternatively, wish to override the compiler or linker
|
||||
flags returned by pcre-config, you may set PCRE_LIBS and PCRE_CFLAGS variables
|
||||
to be used instead. And if you don't have PCRE at all, the configure script
|
||||
will provide instructions for obtaining it.
|
||||
|
||||
To build and install SWIG, simply type the following:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue