Commit graph

116 commits

Author SHA1 Message Date
William S Fulton
7fa1058a8a Configure fix and warning fix for Go 2015-03-14 23:40:30 +00:00
Ian Lance Taylor
9ad497c08e [Go] Add -cgo option, required for Go version 1.5 and later. 2015-03-02 14:03:33 -08:00
Jitka Plesnikova
60f2640087 Fix build on S390(x)-architecture 2015-02-11 22:26:00 +01:00
William S Fulton
d834202695 Bump version to 3.0.6
[skip ci]
2015-02-01 00:55:35 +00:00
Simon Marchetto
adc4b788df Merge remote-tracking branch 'origin/master' into gsoc2012-scilab
Conflicts:
	.gitignore
	.travis.yml
	configure.ac
2015-01-26 10:50:20 +01:00
William S Fulton
733851bdab Remove needless Lua checking during configure 2015-01-17 23:17:57 +00:00
William S Fulton
bedff70793 Bump version to 3.0.5 2015-01-14 23:58:49 +00:00
Olly Betts
4fed2e6690 Use -rrbconfig rather than -rmkmf to load rbconfig
Both seem to work, but it's better to ask for the module we actually
want rather than rely on it being pulled in indirectly.  See #305.
2015-01-14 09:31:41 +00:00
Klaus Kämpf
112499eb39 Ruby: Replace Config::CONFIG with RbConfig::CONFIG in configure.ac
The Config namespace was deprecated for a long time and Ruby 2.2
finally removed it. Adapt configure.ac accordingly.

This fixes issue #304
2015-01-12 15:17:10 +01:00
William S Fulton
73222a1cd1 Bump version to 3.0.4 2014-12-31 01:22:16 +00:00
William S Fulton
2b04d37b94 Tidy up Javascript build system 2014-12-28 16:13:22 +00:00
William S Fulton
d79f11501d Don't delete checked in files with 'make distclean'
Occurs when ruby is not detected.
Fixes #290.
2014-12-28 15:26:27 +00:00
Robert Stone
c432073626 Issue #282 perl5 archlib vs archlibexp 2014-12-27 12:48:58 -08:00
William S Fulton
9cbdf69fdc Correctly detect Go1 during configure 2014-12-07 21:53:17 +00:00
William S Fulton
5b480847dd Improve Javascript Webkit detection
pkg-config detection was missing. Use pkg-config for the link flags.
2014-12-04 06:23:43 +00:00
David Nadlinger
86276568df D: Fix out-of-source build for examples. 2014-11-06 23:04:36 +01:00
William S Fulton
f52f4c6e10 Check for pkg-config before attempting to use it in configure
Fixes configure when pkg-config is missing and looking for Scilab and
Javascript
2014-10-31 22:46:52 +00:00
Karl Wette
18a9c095f8 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-22 12:03:49 +02:00
Simon Marchetto
8561d36392 scilab: fix scilab include search regression in configure.ac 2014-10-20 15:26:11 +02:00
Simon Marchetto
c0741a7269 scilab: build now examples/tests with standard tools in (no more builder.sce) 2014-10-20 14:57:32 +02: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
Ian Lance Taylor
0d6cebc7c4 [Go] In configure script, require Go 1.1 or later. 2014-09-30 12:42:21 -07:00
Richard
bbecefc6d0 * Fixed typo --with-jsv8inc and --with-jsv8lib * Fixed locating of libv8 on osx 2014-08-28 19:46:49 -05:00
Simon Marchetto
7cc6a58afb scilab: in configure, use pkg-config + disable scilab if headers not found 2014-06-26 09:48:51 +02:00
William S Fulton
e32956434b Tidy up configure.ac for Scilab 2014-06-20 08:09:20 +01:00
Simon Marchetto
9f88061cd9 scilab: configure checks version >= 5.3.3 and disables scilab if check fails 2014-06-12 18:09:19 +02:00
Olly Betts
8d226e39dc Merge pull request #188 from jschueller/python_pep8
Python PEP-8 conformity
2014-06-10 23:48:38 +12:00
Julien Schueller
7a4cef998c Enable pep8 check 2014-06-07 13:10:27 +02:00
William S Fulton
8728a97dc6 Bump version to 3.0.3 2014-06-06 19:56:38 +01:00
Simon Marchetto
62b50a9002 scilab: add scilab in the list of displayed configured langages 2014-06-06 17:11:07 +02:00
Simon Marchetto
07b06a4089 Merge branch 'master' into gsoc2012-scilab
Conflicts:
	.gitignore
	.travis.yml
	COPYRIGHT
	Examples/Makefile.in
	Examples/test-suite/constructor_copy.i
	Makefile.in
	configure.ac
2014-06-06 16:33:16 +02:00
William S Fulton
79c9160736 Search for 64bit webkit during configure
For some Linux distributions (SUSE)
2014-05-29 16:54:56 +01:00
William S Fulton
68347cb723 Bump version to 3.0.2 2014-05-28 18:51:46 +01:00
Simon Marchetto
a11a3bdd66 scilab: in configure.ac SCILABSTARTOPT => SCILABOPT 2014-05-22 10:04:15 +02:00
William S Fulton
b8b61be301 Detect Javascript v8 on 64 bit Linux 2014-05-17 23:32:09 +01:00
William S Fulton
81335c5a91 Configured languages display improvement 2014-05-15 23:28:47 +01:00
Karl Wette
f574a34155 Allow examples and test-suite to be built out of source tree
- Examples/Makefile.in rules use SRCDIR as the relative source directory

- ./config.status replicates Examples/ source directory tree in build
  directory, and copies each Makefile to build directory, prefixed with
  a header which sets SRCDIR to source directory

- Examples/test-suite/.../Makefile.in set SRCDIR from Autoconf-set srcdir

- Examples/test-suite/errors/Makefile.in needs to filter out source
  directory from SWIG error messages

- Lua: embedded interpreters are passed location of run-time test

- Python: copy run-time scripts to build directory because of 2to3
  conversion; import_packages example copies __init__.py from source
  directory; test-suite sets SCRIPTDIR to location of run-time tests

- Javascript: binding.gyp renamed to binding.gyp.in so that $srcdir
  can be substituted with SRCDIR; removed './' from require() statements
  so that NODE_PATH can be used to point Node.js to build directory
2014-05-11 23:21:10 +02:00
Karl Wette
4fe6622f64 configure.ac: print configured languages at end of configuration 2014-05-11 21:31:31 +02:00
Karl Wette
a6d71e6c57 configure.ac: fix to Javascript configuration
- setting SKIP_JAVASCRIPT assumes that JSCENABLED/JSV8ENABLED
  are empty when jsc/v8 are not available
2014-05-09 23:39:03 +01:00
William S Fulton
8d01b145f7 Cosmetic rewording to workaround syntax highlighting bug in vim. 2014-05-09 23:39:02 +01:00
Karl Wette
66555ad2a7 Fix go configuration and SWIG_GCC_VERSION
- in configure.ac: modify sed expression to only look at first line of
  gccgo --version, extract the last numeric token, and remove periods;
  this parses e.g. "gccgo (Debian 4.7.2-5) 4.7.2"
- in goruntime.swg: fix typo in __GNUC_PATCHLEVEL__ (SF Bug #1298)
2014-05-02 21:44:52 +02:00
William S Fulton
f51be1ca5c Merge branch 'master' into javascript
* master:
  Fix some typos
  [PHP] The generated __isset() method now returns true for read-only properties.
  Eliminate needless casting away const from string constants
  Fix typos
  Fix missing ")" in code example
  Fix comment typos
  Fix m4 quoting of checks for yodl2man and yodl2html versions
  Fixed errors from previous commit.
  Removed all unnecessary asserts
  Remove unused variable
  Another go html fix
  Fix intgosize arg documentation
  Optimize metamethods inheritance resolving
  Updating documentation
  Whitespace cleanup of Example Makefiles
  .gitignore: ignore Lib/swigwarn.swg
  Fixing unused variable warnings
  Finish implementation with proxy functions
  Remove duplicate declarations of strtoimax and strtoumax in inttypes.i
  Ignored enum fixes.
  Further shift operator regression fixes
  Fix use of shift operators in expressions regression since 3.0.0
  Fix seg fault with extra ) brackets and >>
  More efficient end of template bracket (>>) handling
  beautify scanner.c
  Tidy up scanner.c
  DOH readme correction
  Fix typo in -lua -help output
  Remove extra </div>
  Update documentation for deprecation and removal of Close()
  Fix segfault when there are too many closing round brackets in parsed code
  Refix operator<< definition giving a syntax error
  Fix regression in 3.0.0 where legal code following an operator<< definition might give a syntax error.
  Remove unnecessary block from PHP version of SWIG_exception macro
  [PHP] Fix wrapping director constructors with default parameters with a ZTS-enabled build of PHP.
  Fix potential bugs found by Coverity analysis
  Eliminate unused parameter from SWIG_Php_GetModule()
  Fix comment typo
  Fix compiler warnings in generated Lua code
  [PHP] Pass the ZTS context we already have to avoid needing to call TSRMLS_FETCH, which is relatively expensive.
  [PHP] Pass ZTS context through to t_output_helper() so it works with a ZTS-enabled build of PHP.  Reported by Pierre Labastie in github PR#155.
  Lua test-suite can now be run out of source
  Fix out of source test-suite runs for Octave
  Add runtime test for commit 7a96fba836
  Add C++11 constexpr runtime test
2014-05-01 19:01:20 +01:00
Olly Betts
e1088ab221 Fix m4 quoting of checks for yodl2man and yodl2html versions 2014-04-28 13:13:47 +12:00
Oliver Buchtala
1ab7a2359c SKIP_JAVASCRIPT only when there is none of v8/node/jsc. 2014-04-23 02:27:21 +02:00
William S Fulton
e6d5abb766 Only disable javascript tests if node-gyp is missing when testing node 2014-04-21 11:37:19 +01:00
William S Fulton
efc5af04e0 Detect node-gyp at configure time and show version in javascript_version target 2014-04-19 16:44:21 +01:00
William S Fulton
547454684e a few Javascript clarifications in configure.ac 2014-04-16 07:39:25 +01:00
William S Fulton
a3ad811cee Makefile and autoconf file tidy up for Javascript 2014-04-16 07:38:52 +01:00
William S Fulton
0e0f65aead Tidy up Example makefile for Javascript 2014-04-10 08:13:06 +01:00