We use standard AX_PATH_GENERIC() macro from Autoconf archive to do the check
to keep our own code as simple as possible. Notice that this script must be
used, just adding the include and library directories to {C,LD}FLAGS is not
enough, notably -DPCRE_STATIC which is output by pcre-config for static builds
only is crucial. Also use LIBS instead of LDFLAGS to fix linking when using
static libraries.
Also note that this allows to pass PCRE_CONFIG variable value to configure to
force the use of the specified script (and not the one first found in PATH),
which is especially important when cross-compiling.
Finally, PCRE is required by default now, --without-pcre must be explicitly
used to build without it.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
camlp4 bug was caught by Michael Ethier <methier@cgr.harvard.edu>
- director.swg: fix a typo
- ocamldec.swg, ocaml.swg: new macros
- ac_compare_version.m4: arty's own more liberally licensed version compare
autoconf macro.
- configure.in: use version_compare and make swigp4.ml generated by
configure based on ocaml version. This is due to an incompatible change
in camlp4.
- ocaml.cxx: use new return macros in the right places
(returning non-value)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9518 626c5289-ae23-0410-ae9c-e8d60b6d4f22
automake --add-missing.
This started since removing libtool. Bug will be fixed in Automake 1.10, but until then we will have to keep these files in cvs.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6091 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This affects the source code only, not the test-suite or examples.
It does affect the compilation of the runtime libraries, but they are history anyway.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5644 626c5289-ae23-0410-ae9c-e8d60b6d4f22
The approach is not to have any autotool generated files checked into cvs.
Anyone using CVS must have the autotools installed and so all the required files will be generated during bootstrapping (running autogen.sh)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4729 626c5289-ae23-0410-ae9c-e8d60b6d4f22