Commit graph

189 commits

Author SHA1 Message Date
William S Fulton
0e4f2dad0f C# examples to use debug flags when using mono interpreter 2014-02-16 15:20:14 +00:00
Marvin Greenberg
fd85d12a2c Allow csharp examples to run under mono 2014-02-05 15:31:57 -08:00
Marvin Greenberg
49d73c56d0 Move setting required -stdlib argument into configure.ac 2014-02-05 15:18:51 -08:00
Marvin Greenberg
7c5275a0f1 Make sure tests are built with same stdlib flag as used to configure swig 2014-01-30 16:17:30 -05:00
Ian Lance Taylor
3785454a87 [Go] Add support for Go 1.3, not yet released. 2014-01-21 11:18:55 -08:00
William S Fulton
32ad89668a Use RUNME consistently in examples makefile 2013-12-20 18:52:19 +00:00
Ian Lance Taylor
01ebdc0995 In Examples/Makefile.in, compile and link the program in go and
go_cpp, rather than in go_run.  This permits eliminating go_run_cpp.
2013-12-20 08:14:45 -08:00
Ian Lance Taylor
8dba8b1fde Go: Don't require that Go environment variables be set when running
examples or testsuite.
2013-12-18 11:03:39 -08:00
Ian Lance Taylor
1dca0af024 Update for Go 1.2 release. Add support for linking SWIG code directly
into executable, rather than using a shared library.
2013-12-16 19:50:17 -08:00
William S Fulton
7b08378145 Minor cleanup prior to merging to master 2013-10-11 21:48:45 +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
William S Fulton
d0cb2b73db Remove X11 detection during configure
X11 is not used anywhere.
2013-09-18 00:40:24 +01:00
William S Fulton
f618a69990 Better detection of Ruby shared library extension
Use Config to detect dll extension (needs to be .so for Ruby 1.9 on Cygwin)
2013-09-14 17:32:54 -07:00
Karl Wette
479df82616 Octave: more robust configuration
- do not rely on --eval argument to find mkoctfile, instead assume it
  is in the same directory as octave itself (which it always should be)
- check Octave options to make sure they are supported, including
  --no-window-system to prevent warnings if building without an X server
- disable Octave if any vital tests fail
2013-07-16 20:59:50 +01:00
William S Fulton
af8f77a627 Fix to ensure 2to3 for Python 3 examples is run 2013-05-27 00:27:31 +01:00
William S Fulton
dd36f28ac7 Migrate Guile examples build into common Examples makefile
- Now Guile examples are built in a consistent way to other target
languages.
- Also set GUILE_AUTO_COMPILE=0 to remove auto-compilation is enabled
  warnings
2013-05-09 19:28:09 +01:00
William S Fulton
d974e9aced Guile examples consistency changes
Use new guile_embedded_run target or guile_run target for running the
examples like the other target languages (for suppressing stdout if run
from top level).

Consistency with other target language file renames: use runme.scm for
scripts and example.i, example.c for example code.

Add class example to examples being tested.
2013-05-09 18:35:18 +01:00
William S Fulton
7964ebe34f Tidy up pike version display 2013-05-08 17:36:03 +01:00
William S Fulton
cd4c1d3c3f Tidy up target language versions display 2013-05-08 16:48:27 +01:00
William S Fulton
10acae18d2 Correct Guile Makefile to fix test-suite/examples on Cygwin 2013-05-08 13:05:11 +01:00
William S Fulton
7d29f88641 Cosmetic on unknown javac version display 2013-05-03 19:55:41 +01:00
William S Fulton
5690323b8f Rework perl5 compiler and linker flags
This fixes perl on cygwin. Probably on other platforms too.
2013-05-03 19:39:11 +01:00
Geert Janssens
7297f5aa51 Don't use obsolete -scm option in own makefiles 2013-04-28 22:38:20 +02:00
Geert Janssens
b819d2a91e Drop guilegh interface
All of guile's interface files now use the scm interface.
This should not affect any users. Swig generated code
using the scm interface can be mixed with gh interface
using user code.
It does simplify maintenance of the guile swig code though.
2013-04-28 22:06:24 +02:00
Geert Janssens
b072f22930 Add support for guile 2.0: configure and makefiles.
Note: guile-config is badly broken for guile 2. So
the guile configure  section has been rewritten to
use pkg-config instead.

Manually resolved conflicts:
	Examples/Makefile.in
2013-04-28 22:06:22 +02:00
William S Fulton
205d50a8c9 Ruby 1.9 fixes: use ruby -I in Makefile and workaround clash with 1.9 builtin Complex numbers in the operator example. 2013-04-21 14:05:56 +01:00
William S Fulton
58a59919dd Chicken - make check-examples run like other examples - not all run very well though! 2013-04-20 02:28:48 +01:00
William S Fulton
2b2305cce9 Mzscheme - fix for running examples during 'make check-examples' - they don't run very well though\! 2013-04-20 02:28:48 +01:00
William S Fulton
7fd18b361e Ocaml example makefiles - run examples - there are plenty of problems currently though 2013-04-20 02:28:48 +01:00
William S Fulton
ea84fe6445 Allegrocl, clisp, cffi, uffi makefile targets added for running examples - untested. 2013-04-19 22:47:29 +01:00
William S Fulton
e3d0947058 D example makefiles tweaks for consistency with other languages. 2013-04-19 22:47:29 +01:00
William S Fulton
9a6167822b Pike example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:29 +01:00
William S Fulton
280cd16b7e Ocaml example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:28 +01:00
William S Fulton
238554fe61 Mzscheme example makefiles tweaks for consistency with other languages. Attempt to add runtime tests to 'make check' - untested. 2013-04-19 22:47:28 +01:00
William S Fulton
2e48e5b852 Guile example makefiles tweaks for consistency with other languages. 'make check' still incomplete. 2013-04-19 22:47:28 +01:00
William S Fulton
897b2361cb Chicken makefiles tweaks for consistency with other languages - still more to be done though 2013-04-19 22:47:28 +01:00
William S Fulton
24c28b061e Add in make -s (silent) detection and keep Android builds quiet when run from top level makefile
Fix parallel make for Android example makefiles
2013-04-19 22:47:27 +01:00
William S Fulton
1d77a1b981 Android makefiles rewrite to use common code 2013-04-19 22:47:27 +01:00
William S Fulton
6a48eb5e47 Lua examples now run during 'make check' and makefile tidyup. 2013-04-19 22:47:27 +01:00
William S Fulton
3489d0db32 Tcl examples now run during 'make check' and makefile tidyup. 2013-04-19 22:47:27 +01:00
William S Fulton
bdf38a8507 Ruby examples makefiles and use RUNPIPE and tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
bfb695c512 R examples makefile tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
cc4ac0a9e9 Python examples makefiles clean target fixed and use RUNPIPE and tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
0fa791d1ea PHP examples makefiles clean target fixed and use RUNPIPE and tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
92ffedceb5 Perl examples makefiles clean target fixed and use RUNPIPE and tidyup 2013-04-19 22:47:26 +01:00
William S Fulton
14a89fac86 Octave examples clean target fixed and makefiles use new RUNPIPE and general consistency tidyup 2013-04-19 22:47:25 +01:00
William S Fulton
6acfda55d1 Go examples makefiles clean target fixed and use RUNPIPE and tidyup 2013-04-19 22:47:25 +01:00
William S Fulton
760c398c49 Run csharp examples during 'make check-examples' 2013-04-19 22:28:03 +01:00
William S Fulton
8713199267 Move javac compile for examples into common Makefile for examples 2013-04-19 22:28:03 +01:00
William S Fulton
05adcee56f Run java examples during 'make check-examples' 2013-04-19 22:28:02 +01:00