summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Use '\\' instead of "\\""Vadim Zeitlin2020-05-251-3/+3
| | | | | This reverts commit ab8ecbc208071e1c2a6cf0b4ee1ee23351ae7ed3 as it broke AppVeyor CI builds.
* Merge branch 'master' of https://github.com/vapier/swigVadim Zeitlin2020-05-241-1/+1
|\ | | | | | | | | | | Use $PKGCONFIG instead of hard-coded pkg-config for JS test. See https://github.com/swig/swig/pull/1796
| * configure: fix pkg-config invocationMike Frysinger2020-05-211-1/+1
| | | | | | | | | | The code was already probing $PKGCONFIG but then still falls back to using the hardcoded `pkg-config` tool.
* | Use '\\' instead of "\\"Vadim Zeitlin2020-05-221-3/+3
|/ | | | | | No real changes, just use simpler quoting construct which is sufficient (as we don't need to expand any variables) and also happens not to break Vim 8 syntax highlighting in the entire file, unlike double quotes.
* Quote JAVAC expansion in configure to deal with spacesVadim Zeitlin2019-12-191-2/+2
| | | | | This avoids errors about unknown Java version format when JAVAC is in a path with spaces in it (as is often the case under Windows).
* Disable Doxygen tests when using Java 8 or olderVadim Zeitlin2019-12-181-0/+27
| | | | | | Check Java version in configure and define SKIP_DOXYGEN_TEST_CASES if it's less than 9, which is required by the new implementation of CommentParser used in the Doxygen tests.
* Rewrite Doxygen unit tests for Java using Java 9 APIVadim Zeitlin2019-12-181-10/+0
| | | | | | | | | | | | | | In particular, do not use com.sun.javadoc deprecated since Java 9 and finally removed in Java 13, to allow the tests to run under modern JRE. They don't run under Java 8 and earlier any more, but this shouldn't be a huge problem nowadays and as SWIG output is independent from the Java version used, it's enough to test it with modern Java versions. Note that the tests themselves were changed only in the most minimal way, to adapt them to the new way of running javadoc (which is now also integrated into CommentParser itself instead of being duplicated in every test).
* Bump version to 4.0.2William S Fulton2019-08-221-1/+1
|
* Fix Go version check and Go in-tree example testsIan Lance Taylor2019-08-091-2/+3
| | | | Fixes #1607
* Restore setting of GOVERSIONOPTIONIan Lance Taylor2019-08-081-0/+1
| | | | Accidentally removed in last commit.
* Fix all Go tests to build with "go build"Ian Lance Taylor2019-08-081-36/+2
| | | | | | Tested against Go 1.6 through Go 1.13beta1, and gccgo. Fixes #1607
* Fix Octave detection for non-GNU sed on MacOSWilliam S Fulton2019-05-241-9/+19
|
* Adapt OCTAVE_LDFLAGS for Octave 5.1Orion Poplawski2019-05-241-1/+4
|
* OCaml testing requires camlp4William S Fulton2019-05-021-12/+12
|
* Bump version to 4.0.1William S Fulton2019-04-281-1/+1
|
* Update ax_boost_base.m4 to latest from autoconf archiveWilliam S Fulton2019-04-111-9/+1
| | | | | | 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.
* configure: Look for php7.2 and php7.3Olly Betts2019-02-081-1/+1
|
* Disable CFFI Common Lisp target languageWilliam S Fulton2019-02-051-8/+0
| | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* Disable Allegrcol target languageWilliam S Fulton2019-02-051-31/+0
| | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* Disable Chicken target languageWilliam S Fulton2019-02-051-111/+0
| | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* Disable Common Lisp / CLISP target languageWilliam S Fulton2019-02-051-31/+0
| | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* Disable Common Lisp / UFFI target languageWilliam S Fulton2019-02-051-8/+0
| | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* Disable Pike target languageWilliam S Fulton2019-02-051-75/+0
| | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* Disable Modula3 target languageWilliam S Fulton2019-02-051-4/+0
| | | | | | | | Clean up to disable target languages that have been neglected/not functional. Target language be fully deleted in SWIG 4.1 unless a new maintainer brings it up to an acceptable status (experimental or supported). Issue #1447
* Stop defaulting to TclOlly Betts2019-02-011-3/+0
| | | | | | | SWIG now requires a target language to be specified instead of defaulting to wrapping for Tcl. Specifying swig --help without a target language now just shows the generic help. The -nolang option has been removed.
* Fix configure.ac to work again with version 2.58 testing the D compilerWilliam S Fulton2019-01-201-2/+2
| | | | | | Remove use of _AC_DO_STDERR which became available in autoconf 2.60. Closes #1405
* Make OCaml configure output more consistent with other languagesWilliam S Fulton2019-01-031-9/+9
|
* 2to3 detection for Windows Python distributionsWilliam S Fulton2018-11-201-0/+11
| | | | | The 2to3 standalone tool does not exist on Windows. Use the 2to3.py script instead.
* configure fix for msys2 + mingw PythonWilliam S Fulton2018-11-201-1/+2
| | | | | For some unknown reason msys2 and mingw adds trailing whitespace when running: python3-config --exec-prefix
* Don't attempt to detect Python 3.0 and 3.1William S Fulton2018-11-201-1/+1
|
* Don't attempt to detect versions of Python < 2.7William S Fulton2018-11-201-1/+1
|
* Fix to find tclConfig.sh on more recent versions of macOSWilliam S Fulton2018-08-061-8/+15
|
* Fix doxygen testing for jdk < 9William S Fulton2018-06-111-1/+22
|
* Merge branch 'vadz-doxygen'William S Fulton2018-06-071-0/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the Doxygen work begun in Google Summer of Code projects 2008 and 2012 and subsequently improved by numerous contributors. * vadz-doxygen: (314 commits) Add changes entry for Doxygen support Add some missing doctype tyemaps Doxygen warnings cleanup Move doxygen warning numbers Add Python doxygen example Doxygen example Add Doxygen to include paths Doxygen source rename More merge fixes from doxygen branches Correct python example headers Correct source code headers Another merge fix from doxygen branches Java enums output format fixes Add omitted doxygen_parsing_enums testcase PEP8 conformance for comment verifier module Clean up merge problem Doxygen html tweaks Update html chapter numbering for added Doxygen chapter Fixes to makechap.py to detect ill-formed headers html fixes for Doxygen Add missing CPlusPlus17.html file Format files to unix format Doxygen testcase tweak to match that in the html docs Doxygen html documentation updates and corrections Remove doxygen Examples subdirectory Beautify doxygen source code Code formatting fixes in doxygen code Remove unused doxygen code new_node refactor Various merge fixes in doxygen branches Unused variable warning fix Fix wrongly resetting indent after formulae in Doxygen comments Add support for doxygen:alias feature Get rid of meaningless return type of DoxygenParser methods Return enum, not untyped int, when classifying Doxygen commands Get rid of unnecessary "typedef enum" in C++ code Use slash, not backslash, in "C/C++" in the documentation Replace literal "<" with "&lt;" in HTML documentation Fix broken link to java.sun.com in Doxygen documentation Fix using com.sun.tools.javadoc package under macOS Fix error reporting for special characters in Doxygen parsing code Switch Python Doxygen unit tests to use inspect.getdoc() Use correct separator in Java class path under Windows. Remove executable permission from appveyor.yml. Use JAVA_HOME value in configure to detect Java. Display JAVA_HOME value in "make java_version". Fix harmless MSVC warning in DoxygenTranslator code. Reset "_last" for all but first enum elements. Don't duplicate Javadoc from global enum Doxygen comments twice. Move Doxygen comments concatenation from the parser to the lexer. Fix shift/reduce conflicts in Doxygen pre/post comment parsing. Rewrote part of the grammar dealing with Doxygen comments for enums. No changes, just remove spurious white space only differences. Move Doxygen comment mangling from the parser to the lexer. Merge "-builtin" autodoc bugs workarounds from master into test. Quote JAVA_HOME variable value in Java test suite makefile. Remove unused C_COMMENT_STRING terminal from the grammar. Fix missing returns in the Doxygen test suite code. Fix trimming whitespace from Doxygen comments. Remove code not doing anything from PyDocConverter. Remove unused <sstream> header. Remove unreferenced struct declaration. Remove unused Swig_warn() function. Remove any whitespace before ignored Doxygen commands. Remove trailing space from one of Doxygen tests. Fix autodoc strings generated in Python builtin case and the test. Fix Doxygen unit test in Python "-builtin" case. Use class docstrings in "-builtin" Python case. Don't indent Doxygen doc strings in generated Python code. Add a possibility to flexibly ignore custom Doxygen tags. Stop completely ignoring many Doxygen comments. Fix structural Doxygen comment recognition in the parser. No changes, just make checking for Doxygen structural tags more sane. Use "//", not "#", for comments in SWIG input. Allow upper case letters and digits in Doxygen words. Pass the node the Doxygen comment is attached to to DoxygenParser. Get rid of findCommand() which duplicaed commandBelongs(). Recognize unknown Doxygen tags correctly. No real changes, just pass original command to commandBelongs(). Describe Doxygen-specific %features in a single place. Give warnings for unknown Doxygen commands in Doxygen parser. Document the return type when translating Doxygen @return to Python. Fix translated Doxygen comments for overloaded functions in Python. Also merge Doxygen comments for overloaded constructors in Python. Allow using enum elements as default values for Python functions. Don't always use "*args" for all Python wrapper functions. No real changes, just make PYTHON::check_kwargs() const. Refactor: move makeParameterName() to common Language base class. Remove long line wrapping from Python parameter list generation code. Simplify and make more efficient building Python docstrings. Translate Doxygen code blocks to Sphinx code blocks. Add a simple test of multiple parameters to Doxygen test suite. Make Python parameters types hyperlinks in the doc strings. Make Language::classLookup() and enumLookup() static. Fix arguments of @param, @return etc translations to Python. Remove unused method from PyDocConverter. No real changes, just remove an unnecessary variable. Preserve relative indentation when parsing Doxygen comments. Use Sphinx-friendly formatting for overloaded functions documentation. Add poor man trailing white space detection to Doxygen Python tests. ...
| * Merge branch 'master' into vadz-doxygenWilliam S Fulton2018-05-171-28/+53
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: Add Octave 4.4 to Travis allow_failures Fixes for appveyor image changes Javascript test-suite Makefile parallel jobs Add changes entry for csconstruct, dconstruct and javaconstruct fix Fix lookup of csconstruct, dconstructor and javaconstruct typemaps Javascript %nspace fix in generated C++ code Add C++17 documentation chapter Add changes notes for C++17 nested namespaces support Test for invalid C++17 nested namespace aliases Test c++17 nested namespaces and %nspace Add c++17 nested namespaces runtime test for C# Add c++17 nested namespaces runtime test for Python Add support for c++17 nested namespaces Update CHANGES.current .travis.yml: test against Octave 4.4 Examples/test-suite/register_par.i: rename 'tree' to 'swig_tree' Examples/octave/module_load/runme.m: update 'exist()' statements for Octave >= 4.4 Examples/octave/module_load/runme.m: do not use duplicate function names Examples/Makefile.in: unset OCTAVE_PATH when running Octave for tests Lib/octave: fix getting/setting global variables for Octave >= 4.4 Lib/octave: use new class for function member dereference with Octave >= 4.4 Lib/octave: fix operator installation for Octave >= 4.4 Lib/Octave: in Octave >= 4.4, assign reference to base class in subclass Lib/octave: fix call to mlock() for Octave >= 4.4 Lib/octave: fix call to octave::call_stack::current() for Octave >= 4.4 Lib/octave: 'octave_exit' not longer exists in Octave >= 4.4 Lib/octave: replace is_bool_type() with islogical() for Octave >= 4.4 Lib/octave: replace is_numeric_type() with isnumeric() for Octave >= 4.4 Lib/octave: replace is_cell() with iscell() for Octave >= 4.4 Lib/octave: call octave::feval() instead of feval() for Octave >= 4.4 Lib/octave: fix function name passed to unwind_protect::begin_frame() C#, D, Java methodmodifiers on destructors Javascript assert.h - move to header section Appveyor cl compiler warning fixes during configure Java vector wrappers cast correction test-suite fixes (Java directors) for compilers that don't support varargs Go - use director.swg like other languages test-suite fixes (2) for compilers that don't support varargs Consistent spacing in generated exception specifications test-suite fixes for compilers that don't support vararg macros Enhance Travis testing to use gcc 8 and test C++17 and C17 Enhance SWIG_isfinite for older standards: C++03/C++98/C89 test-suite support for gcc-8 targeting C++11 and C++14 Scilab portability fixes - remove use of strdup Scilab array overbounds fix handling char type exceptions test-suite fix for c++17 and throw macro Remove use of 'register' in C source test-suite support for C++17: switch testing of the deprecated C++17 'register' keyword from C++ to C Examples update to support C++17: exception specification throw removal Cosmetic syntax tweak using throw in Octave directors test-suite support for C++17 (Java): exception specification throw removal test-suite support for C++17: exception specification throw removal __cplusplus macro usage tweak Improve detection of Python's 2to3 tool Correct C shared library creation when specifing CC to configure Remove superfluous parens in generated Python scripts. [ci] guile 2.2 build no longer expected to fail guile - resstructure some configure tests Disable guile configuration if guile-config and guile report a different version Fix guile executable detection on early 2.0.x guile versions guile - drop GDB_INTERFACE related stuff guile - replace obsolete scm_listify with scm_list_n guile - use more reliable method of finding guile executable based on guile-config Fix go version matching in configure for go1.10 [Python] Suppress new pycodestyle warning Add if-no-present action for jsv8inc arg Fix typo in help --with-jscoreinc and --with-jscorelib Fix off-by-one error * Makefile.in (configfiles): Update URLs for latest configfiles. Add changes entry for Ruby %alias fix for global functions [Ruby] Pass Qnil instead of NULL to rb_funcall() Fix typo Fix ruby %alias directive for native c functions Stop testing Python on Appveyor msys/mingw Fix -Wimplicit-fallthrough gcc-7.3 warning
| * \ Merge branch 'master' into doxygenVadim Zeitlin2018-03-191-45/+17
| |\ \
| * \ \ Merge branch 'master' into doxygenVadim Zeitlin2017-09-191-13/+19
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Fix the usual conflicts in autodoc unit test due to fixing the divergences in autodoc generation between builtin and default cases in this branch.
| * \ \ \ Merge branch 'master' into doxygenVadim Zeitlin2017-02-011-56/+92
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge 3.0.12 release changes from master.
| * | | | | Fix using com.sun.tools.javadoc package under macOSVadim Zeitlin2016-12-131-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Export JAVA_HOME found by configure, so that the Java test suite makefile could find this package under this directory.
| * | | | | Merge branch 'master' into doxygenVadim Zeitlin2016-12-121-149/+274
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The way Python docstrings are indented has changed on master, so use the standard inspect module in Python autodoc unit test to ignore the differences in their indentation level between -builtin and non-builtin cases to make the test still pass with the branch version, which avoids the use of different (but almost identical) values in the test itself.
| * | | | | | Use correct separator in Java class path under Windows.Vadim Zeitlin2015-07-281-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | A semicolon must be used there and not a colon as under Unix.
| * | | | | | Use JAVA_HOME value in configure to detect Java.Vadim Zeitlin2015-07-281-16/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | Remove support for PHP5Olly Betts2018-06-071-61/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHP5 is no longer actively supported by the PHP developers and security support for it ends completely at the end of 2018, so it doesn't make sense to include support for it in the upcoming SWIG 4.0.0 release. See #701.
* | | | | | | Clean up Lua probes for headers and libsOlly Betts2018-06-061-18/+26
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the version reported by LUABIN to look for headers and libs. Previously you could get mismatched binary and headers (e.g. if you install packages lua5.3 and liblua5.2-dev on Debian you would get LUABIN from 5.3 but headers and libraries from 5.2 - now configure will fail to find the matching headers and not try to run Lua tests), and do a versioned search in /usr/local/include which fixes the CI failure for Lua on macOS (presumably homebrew recently started to version this path).
* | | | | | Improve detection of Python's 2to3 toolWilliam S Fulton2018-05-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Distributions seem to install it as 2to3-X.Y where the interpreter is installed as pythonX.Y
* | | | | | Correct C shared library creation when specifing CC to configureWilliam S Fulton2018-05-041-5/+5
| | | | | |
* | | | | | Merge pull request #1235 from Rasie1/masterOlly Betts2018-04-211-5/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix go version matching in configure for go1.10
| * | | | | | Fix go version matching in configure for go1.10Vsevolod Kvachev2018-04-191-5/+5
| | | | | | |
* | | | | | | guile - resstructure some configure testsGeert Janssens2018-04-201-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. move the 'no executable found' message up to be with the executable tests 2. test for an (non-)empty GUILE variable for all other conditions after that An empty GUILE variable means guile is disabled and consistently using the same test makes the code more readable.
* | | | | | | Disable guile configuration if guile-config and guile report a different versionGeert Janssens2018-04-201-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In addition - inform the user when guile gets disabled while it was requested - skip unecessary configuration work if guile gets disabled