Commit graph

46 commits

Author SHA1 Message Date
William S Fulton
31b3b782a1 Possible fix for MinGW MSYS configure script error from ax_boost_base.m4
Issue #1435
2019-04-15 23:28:25 +01:00
William S Fulton
e15c112480 Update ax_compare_version.m4 to latest from autoconf archive
Purely cosmetic changes
Updated to serial #13
2019-04-11 19:56:30 +01:00
William S Fulton
1955758f27 Update ax_path_generic.m4 to latest from autoconf archive
Purely cosmetic change
Updated to serial #17.
2019-04-11 19:51:23 +01:00
William S Fulton
892f0fdc6b Update ax_boost_base.m4 to latest from autoconf archive
Updated to serial #45.
This is in preparation to a possible fix for issue #1435.
The use of AS_CASE requires autoconf-2.60 or later.
2019-04-11 19:48:06 +01:00
luz.paz
6f69830321 follow-up typos 2018-05-17 10:26:00 -04:00
William S Fulton
e544ce8f82 Update AX_PATH_GENERIC for spaces support
Fix when the _CFLAGS and _LIBS are provided and they contain a space

For example:
./configure PCRE_LIBS='-L/home/me/pcre/lib -lpcre'

Serial number 13 in autoconf macro archive
2015-04-04 02:17:57 +01:00
William S Fulton
e60445b280 Add support for Windows in AX_BOOST_BASE
Serial 26 in autoconf macro archive
2015-04-04 02:17:57 +01:00
Olly Betts
c7c6f2381e Eliminate AC_COMPARE_VERSION
We also have AX_COMPARE_VERSION which does essentially the same job.
2015-03-18 12:39:57 +13:00
William S Fulton
b1595014e7 Revert "Octave: disable optimization of tests for faster compiles/less memory usage"
This reverts commit 8e37bcf1a8.

Reverting a series of Octave commits for re-applying again without
incorrect whitespace changes.
2014-10-09 19:33:55 +01:00
Karl Wette
8e37bcf1a8 Octave: disable optimization of tests for faster compiles/less memory usage
- Filter out all but -g... and -W... flags from OCTAVE_CXXFLAGS
- Use AX_CHECK_COMPILE_FLAG() to check if -O0 is supported, if so
  add to end of OCTAVE_CXXFLAGS to ensure optimization is disabled
- Also run mkoctfile under "env -" to protect it from environment
- Also use more standard-compliant sed expressions
2014-10-05 14:56:33 +02:00
William S Fulton
36a6a0cbe0 Update AX_BOOST_BASE autoconf macro to serial 23 2014-05-29 19:54:13 +01:00
William S Fulton
bcb7aee022 Merge branch 'master' into gsoc2009-matevz
Conflicts:
	Examples/Makefile.in
	Examples/guile/Makefile.in
	Lib/php/php.swg
	Makefile.in
	Source/CParse/parser.y
	configure.ac
2013-10-10 07:26:09 +01:00
Olly Betts
12708c9241 Fix typos 2013-09-25 17:29:33 +12:00
William S Fulton
e805d5f925 Merge branch 'master' into gsoc2009-matevz
parser.y still to be fixed up

Conflicts:
	Doc/Devel/engineering.html
	Examples/Makefile.in
	Lib/allegrocl/allegrocl.swg
	Lib/csharp/csharp.swg
	Lib/csharp/enums.swg
	Lib/csharp/enumsimple.swg
	Lib/csharp/enumtypesafe.swg
	Lib/java/java.swg
	Lib/python/pydocs.swg
	Lib/r/rtype.swg
	Source/Include/swigwarn.h
	Source/Modules/octave.cxx
	Source/Modules/python.cxx
	Source/Modules/ruby.cxx
	Source/Swig/scanner.c
	Source/Swig/stype.c
	Source/Swig/swig.h
	configure.ac
2013-01-28 07:01:37 +00:00
William S Fulton
77ccb6f21c Modify autoconf macro to be more flexible about how it is used - sets CXX11FLAGS, HAVE_CXX11_COMPILER and option to not error out
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-10-07 18:50:41 +00:00
William S Fulton
81d0168e51 Autoconf archive macro to detect c++11 - as downloaded from archive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@13865 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-10-05 19:19:56 +00:00
Vadim Zeitlin
faa6be3bd9 Don't use non-portable "==" in shell tests.
Use POSIX "=" instead of "==" which is not supported at least by FreeBSD
/bin/sh.

Closes #3515925.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12971 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2012-04-09 20:58:10 +00:00
Vadim Zeitlin
ae6aef5d8f 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
2011-03-20 23:24:32 +00:00
William S Fulton
ae0683a2d3 SF #3173367 Better information during configure about Boost prerequisite for running the test-suite. BOOST_CPPFLAGS can only be used though once common.mk is created at configure time.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12434 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2011-02-05 12:47:56 +00:00
Vadim Zeitlin
6399502719 Add a check for PCRE library to configure.
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
2010-07-22 17:00:16 +00:00
William S Fulton
253e932816 make life easier for svn status updates as everyone has different autotool versions installed - use svn:ignore on config.sub and config.guess
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10610 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-06-29 10:08:14 +00:00
William S Fulton
f06222b993 Add partialcheck make targets. Also add RUNTOOL, COMPILETOOL and SWIGTOOL variables for invoking tools when running tests, compiling or invoking swig
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10482 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-05-20 21:27:22 +00:00
William S Fulton
75c882d074 update from latest autotools (automake-1.10)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2007-12-08 00:36:59 +00:00
Luigi Ballabio
e2b47efbe5 git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9601 626c5289-ae23-0410-ae9c-e8d60b6d4f22 2006-12-05 11:17:54 +00:00
John Lenz
6dda6f8321 Remove cvsignore files: this is stored on svn:igonre property now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9593 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-12-03 08:28:42 +00:00
Art Yerkes
8ad7605f16 Sorry i haven't been here in a while.
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
2006-11-03 07:28:42 +00:00
William S Fulton
685cf52490 updated version from autoconf macro archive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9209 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-07-08 00:55:55 +00:00
William S Fulton
4ce3b7acaf --without-maximum-compile-warnings option added so that these compiler options can be completely removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7177 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-04-30 06:48:14 +00:00
William S Fulton
878b699279 swig.m4 removed - use the new updated and maintained version derived from this at the Autoconf Macro archive
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6217 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-09-03 21:57:56 +00:00
William S Fulton
47fb0a0e52 Re added again
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6096 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 22:17:46 +00:00
William S Fulton
866ad45426 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6095 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 22:16:34 +00:00
William S Fulton
ffe38ba647 readding hopefully with executable permissions this time
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6094 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 21:47:58 +00:00
William S Fulton
40ad5e8042 removed
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6093 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 21:45:48 +00:00
William S Fulton
7c53442d6c Attempt to add executable permissons
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6092 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-08-12 21:44:22 +00:00
William S Fulton
8c2ed0f677 config.sub and config.guess are being added to the repository as automake will no longer generate these files when running
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
2004-08-12 21:34:14 +00:00
William S Fulton
412a8d9ca2 Default warning level for GCC increased from -Wall to -Wall -ansi -pedantic.
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
2004-01-19 21:31:56 +00:00
Luigi Ballabio
eee5c48929 Detection of Python library in installed macros (which probably should be synchronized with those used in configure.in)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5287 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-11-10 15:34:08 +00:00
William S Fulton
7fcf9e3f52 swig.m4 moved to Tools/config
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4924 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-06-25 09:33:00 +00:00
William S Fulton
81f898e2b7 Autoconf archive macro to maximise warnings (gcc only)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 21:59:45 +00:00
William S Fulton
21c6f3b37b Macro for configure.in from the autoconf macro archive. It allows one to define preprocessor definitions for swigconfig.h when the #define contains the installation directory. Autoconf won't normally expand installation directory variables.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4796 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-05-19 14:18:41 +00:00
William S Fulton
f7fb0b5db8 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4737 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-04-29 10:55:30 +00:00
William S Fulton
f79e57febd These autoconf generated files should not be in CVS.
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
2003-04-28 22:49:29 +00:00
Luigi Ballabio
ba50b7bf86 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4240 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2003-01-22 08:11:51 +00:00
William S Fulton
1468437d7b Autoconf generates these files. Removing from CVS.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4223 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-23 22:59:36 +00:00
William S Fulton
e363f6315f New autoconf files
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4207 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-16 21:47:15 +00:00
William S Fulton
a712b39bd9 Moved from root directory
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4206 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2002-12-16 21:46:55 +00:00