Commit graph

175 commits

Author SHA1 Message Date
William S Fulton
12e1ab0e93 Bump version to 3.0.12 2016-12-30 23:49:46 +00:00
William S Fulton
bdad87a242 Detect pep8 for both python 2 and python 3 and show version 2016-12-11 22:27:15 +00:00
William S Fulton
3546d096a7 Test php 7.0 and 7.1 on Travis
- php-7.1 set as failing for now due to one broken example (references)
- Look for php 7.1 in configure.ac.
2016-12-04 22:48:09 +00:00
Olly Betts
1169874f59 [PHP] Add support for PHP7.
PHP5's C extension API has changed substantially so you need to use
-php7 to specify you want PHP7 compatible wrappers.
Fixes https://github.com/swig/swig/issues/571
2016-11-30 13:05:59 +13:00
William S Fulton
84b06fa21b Bump version to 3.0.11 2016-06-12 10:14:11 +01:00
William S Fulton
8aea57c704 Bump version to 3.0.10 2016-05-29 15:46:46 +01:00
William S Fulton
2fdd4e10ad configure to only test Go 1.2 and later
Go 1.1 does not seem to work with the -cgo option which is turned on during testing
and 'make check'
2016-05-28 19:01:11 +01:00
William S Fulton
eaf74df22f Fix failure to detect lua.h on some systems
Fixes "present but cannot be compiled" autoconf failure looking for lua.h
2016-05-28 10:37:19 +01:00
Olly Betts
1e718c2ad0 Fix php-config name in error message 2016-05-27 22:50:18 +12:00
William S Fulton
b062d998e9 Improve missing php-config error message during configure 2016-05-14 21:32:24 +01:00
William S Fulton
57f1c378b2 Remove JNI checks due to numerous spurious warnings in some versions of jdk-1.8
Was happening with openjdk-1.9 on Ubuntu 16.04 Xenial Xerus and also seen in jdk-1.8 on Fedora 23 (jdk-1.8.0_65-b17)
2016-05-01 17:35:55 +01:00
William S Fulton
07b2f5ac09 Detect newer versions of Lua during configure 2016-05-01 11:53:29 +01:00
William S Fulton
8dcbbe8b6c Merge branch 'travis-ruby2.3'
* travis-ruby2.3:
  Disable tests broken in python 2.4 and 2.5
  Remove Travis 'gem pristine --all'
  Fix Travis Ruby gem pristine warnings
  Improve Ruby configure detection when multiple versions installed
  Use set -e in Travis scripts to ensure the scripts fail on error
  Travis: ensure the requested language version is being tested
  Add ruby-2.3 testing to Travis
2016-02-04 18:58:14 +00:00
William S Fulton
271ef9ab5c Improve Ruby configure detection when multiple versions installed 2016-02-04 08:35:41 +00:00
Olly Betts
33c17b6d5e configure.ac: Stop probing for Python versions < 2.0 2016-02-03 12:06:05 +13:00
Olly Betts
22b72d5da3 [Javascript] Look for "nodejs" as well as "node", as it's packaged
as the former on Debian.
2016-01-12 09:33:39 +13:00
William S Fulton
a8cf1eddf8 Bump version to 3.0.9 2015-12-31 18:04:16 +00:00
William S Fulton
64dcd50b99 Remove dependency on yodl tools and remove ccache-swig man page
Use the CCache.html docs instead of the ccache-swig man page.
The yodl2man and yodl2html tools are no longer used and so SWIG no
longer has a dependency on these packages which were required when
building from git.

Closes #286
Closes #128
2015-12-17 02:36:48 +00:00
William S Fulton
4c0db9d83d Python 3 on windows configure fix
For Appveyor, don't use python-config which comes from Cygwin
2015-11-28 18:52:27 +00:00
Olly Betts
efcaa8fdac Drop code to handle compilers lacking the 'bool' type.
SWIG requires an ISO C++ compiler, so this is no longer useful.  Fixes
issue#513.
2015-09-02 09:40:55 +12:00
Olly Betts
11c422529e Remove superfluous trailing ; 2015-09-02 09:35:07 +12:00
Olly Betts
578ab10365 Remove configure probes for ranlib and ar
These haven't been used by the SWIG build system for many years.
2015-09-01 16:09:35 +12:00
William S Fulton
abe52396b2 Leave preinst-swig as a convenience only script for ad-hoc use 2015-08-21 22:48:34 +01:00
William S Fulton
7192b1c735 Remove SWIG_LIB variable from Makefile 2015-08-21 22:48:33 +01:00
William S Fulton
ca1431f4cf Prototype removal of swig-preinst in the test-suite and examples
Prototype for Java test-suite and Java class example.

SWIG_LIB_DIR and SWIGEXE must now instead be set by all Makefiles.
SWIG_LIB is explicitly set where necessary.
Allows use of 'make SWIGTOOL="gdb --args"' to work as gdb can't be used
to debug a shell script, for both examples and test-suite.

See issue #473.
2015-08-18 08:00:01 +01:00
William S Fulton
5d363276f5 Bump version to 3.0.8 2015-08-03 22:33:52 +01:00
William S Fulton
c6f8aadc64 Cosmetic corrections - Mac OS X 2015-08-02 20:14:20 +01:00
William S Fulton
442ed8812b Merge branch 'vadz-better-no-all'
* vadz-better-no-all:
  Don't check for all the languages in Travis language-specific builds.
  Skip check for pep8 if Python is disabled in configure.
  Make configure --without-alllang option actually useful.
  Cosmetic: fix wrong configure options indentation in --help.
2015-08-02 19:42:27 +01:00
William S Fulton
2d4416136b Tweak configure output for Java 2015-08-02 19:41:10 +01:00
William S Fulton
fa16701d5c Merge branch 'vadz-java-home'
* vadz-java-home:
  Don't duplicate Java headers path under OS X in configure.
  Use JAVA_HOME value in configure to detect Java.
  Remove executable permission from appveyor.yml.
2015-08-02 19:18:56 +01:00
Vadim Zeitlin
a9c6edb3fb Skip check for pep8 if Python is disabled in configure.
There is no need for it, nor any other Python-related variables, to be defined
if Python is not used.
2015-08-02 19:57:59 +02:00
Vadim Zeitlin
1824cabcbc Make configure --without-alllang option actually useful.
Use it to disable all languages by default, but still allow enabling
individual languages by explicitly using --with-lang options for them.

E.g. to enable tests for Java only "--without-alllang --with-java" can now be
used to skip the configure checks for all the other languages.
2015-08-02 19:57:59 +02:00
Vadim Zeitlin
11974efe2e Cosmetic: fix wrong configure options indentation in --help.
Ensure that help for all options starts in the same column (unless the options
are too long, as --with-guile-config=path, but at least avoid indenting it by
a tab stop then).
2015-08-02 19:57:33 +02:00
Vadim Zeitlin
651ad3030c Don't duplicate Java headers path under OS X in configure.
Use /System/Library/Frameworks/JavaVM.framework/Headers in a single place only
to make it easier to change it later and, hopefully, make the rather
convoluted process of Java detection under OS X slightly more clear.
2015-08-02 15:40:41 +02:00
William S Fulton
130834aac2 Merge branch 'vadz-msw-srcdir'
* vadz-msw-srcdir:
  SWIG_LIB fix for out of source MinGW builds
  Use "mixed" path to source directory under Cygwin.
2015-08-02 10:07:59 +01:00
William S Fulton
f5db2b43e6 SWIG_LIB fix for out of source MinGW builds 2015-08-02 10:05:09 +01:00
William S Fulton
026d879058 Move MinGW mixed path conversion code to the pathconvert tool
In preparation for adding MinGW support to patch #438.
2015-08-01 23:08:53 +01:00
Vadim Zeitlin
2e7331964a Use JAVA_HOME value in configure to detect Java.
This is simpler than having to use --with-java, --with-javac and
--with-javaincl options and, even more importantly, will usually just work by
default.
2015-08-01 18:50:27 +02:00
William S Fulton
cc6804724f Improve configure output when python is not installed 2015-08-01 17:43:36 +01:00
William S Fulton
4ffbe8fc2c Merge branch 'kkaempf-fix-configure-ocamlc-setting'
* kkaempf-fix-configure-ocamlc-setting:
  Ocaml configure changes
  Set OCAMLC to empty if Ocaml compiler not found
2015-07-30 23:35:12 +01:00
William S Fulton
a3f0921c57 Ocaml configure changes
Remove use of peculiar ':' default for OCAML in AC_CHECK_PROGS.
Further refinement of issue #458.
2015-07-30 23:32:54 +01:00
Mike Miller
5ab9563c2a Octave: use correct mkoctfile executable
Allow a versioned Octave executable to be configured via --with-octave
and the correct corresponding mkoctfile executable to be used.
2015-07-11 19:05:30 -04:00
William S Fulton
701f8d4bae Configuring C++11 compiler flags for testing fix 2015-07-09 00:12:28 +01:00
Klaus Kämpf
0350e6abce Set OCAMLC to empty if Ocaml compiler not found
OCAMLC is tested for 'empty string' when setting SKIP_OCAML
(configure.ac:2677), setting it to ':' will not skip ocaml.
2015-07-06 10:33:26 +02:00
William S Fulton
55686fbe56 Bump version to 3.0.7 2015-07-06 06:55:43 +01:00
Vadim Zeitlin
0de11efdd3 Use "mixed" path to source directory under Cygwin.
This allows build to work with both native and Cygwin builds of SWIG and
doesn't restrict us to building in the source directory as was the case
previously because SWIG_LIB was explicitly not set under Windows.
2015-06-24 23:59:32 +02:00
Ian Lance Taylor
c6b3088e58 [Go] Add Makefile testing support for changes in upcoming Go 1.5 release.
No effect on the SWIG program itself.
2015-06-19 14:29:38 -07:00
William S Fulton
d62aad9de9 Remove unwanted x bit in configure.ac 2015-04-04 10:23:44 +01:00
William S Fulton
62fdff1bf3 Python 2 and 3 testing on Windows 2015-04-04 02:17:57 +01:00
William S Fulton
0f1e8f75da Detect Java on 64 bit windows 2015-04-04 02:17:57 +01:00