diff options
author | Vadim Zeitlin <vz-swig@zeitlins.org> | 2011-03-20 23:24:32 +0000 |
---|---|---|
committer | Vadim Zeitlin <vz-swig@zeitlins.org> | 2011-03-20 23:24:32 +0000 |
commit | ae6aef5d8f7831cc68326f5934c861f08eb7767c (patch) | |
tree | 7573ed0cc2c206cab8e80414f0fd4be843498e0e /README | |
parent | c339c0b4f78f9a59b3be8bc2941ec0c6b239fc94 (diff) | |
download | swig-ae6aef5d8f7831cc68326f5934c861f08eb7767c.tar.gz |
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
Diffstat (limited to 'README')
-rw-r--r-- | README | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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: |