summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Drop configure probe for popen()Olly Betts2023-02-031-8/+0
| | | | It was only used by the command encoder which we removed.
* configure: Check for php8.2 tooOlly Betts2023-01-181-1/+1
|
* Bump version to 4.2.0 and migrate CHANGES to CHANGES.currentWilliam S Fulton2022-11-041-1/+1
|
* Re-order language detection in configure.acWilliam S Fulton2022-10-061-1371/+1379
| | | | Check in alphabetical order to make looking at configure output a tad easier
* Use https for swig.org linksOlly Betts2022-10-061-1/+1
|
* Remove swig.spec fileWilliam S Fulton2022-09-201-1/+0
| | | | Discussion #2316
* Add -pthread to lua testingWilliam S Fulton2022-08-111-0/+1
| | | | Required to fix linker errors in li_std_auto_ptr and cpp11_std_unique_ptr test cases
* JavaScript Webkit testing and detection changesWilliam S Fulton2022-08-041-56/+47
| | | | | | Add testing for javascriptcoregtk-4.1. Simplify configure detection of JSC, relying only only pkg-config. Add javascriptcoregtk-4.1 tests to GHA.
* Fix configure messages when C++20 is not availableWilliam S Fulton2022-07-311-0/+2
|
* Add machinery for C++14, C++17 and C++20 testingOlly Betts2022-07-261-15/+30
| | | | | | | | Support running testcases conditional on the compiler supporting a each language version, like we already handle C++11. Currently no testcases are actually run in this way for these newer language versions.
* Set PYTHON*DYNAMICLINKING for AIXOlly Betts2022-07-181-0/+6
| | | | | | | | Changes based on supplied patch, but reworked version not tested as I don't have access to AIX and the submitter hasn't responded in 18 months. Fixes #1920
* configure.ac: Add missing shell quotingOlly Betts2022-04-131-1/+1
| | | | Fixes "./configure[4896]: test: argument expected" on stderr.
* Enable C++11 testing by default, Appveyor testing scaled backWilliam S Fulton2022-04-061-8/+10
| | | | | | | | | | | | | | | | | | | ./configure now enables C++11 and later C++ standards testing by default (when running: 'make check'). The options to control this testing are the same: ./configure --enable-cpp11-testing ./configure --disable-cpp11-testing But the former is now the default and the latter can be used to turn off C++11 and later C++ standards testing. Reduce the number of tests on Appveyor by only running 32-bit (x86) using latest Visual Studio (2022). Drop 32-bit Cygwin and MinGW testing. Add C# and Java testing on VS2022 and drop Java testing on older Visual Studio. This reduces the really long run times on Appveyor, however, VS2022 is somewhat slower than older compilers.
* D compiler detection enhancementsWilliam S Fulton2022-04-041-1/+1
| | | | | | Detect LLVM D compiler ldmd2 or ldc2. Show D version. Note that dmd does not have an explicit command line option to show version.
* Remove -browse command line optionOlly Betts2022-04-031-4/+0
| | | | | | | | | | | | | | | | | | | | This option was undocumented. If used it quietly did nothing unless you'd installed the SWILL library before building SWIG, but SWILL is no longer maintained and hasn't seen a release since 2008-04-10. It's clear nobody has used this functionality for some time as the code to support it in SWIG isn't actually valid ISO C++: Modules/browser.cxx: In member function ‘void Browser::show_attributes(Node*)’: Modules/browser.cxx:57:23: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 57 | char *trunc = ""; | ^~ Modules/browser.cxx:61:21: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 61 | trunc = "..."; | ^~~~~ Closes #2251
* Clarify messages where "Python" means 2.xOlly Betts2022-03-181-18/+18
| | | | See #2235
* Last resort to use /usr/lib in python linkingWilliam S Fulton2022-03-161-0/+7
|
* Fix detection of python .lib file for 2 digits in minor versionWilliam S Fulton2022-03-161-2/+2
|
* [Go] Make -intgosize optionalOlly Betts2022-03-161-16/+0
| | | | | | | | We no longer support Go < 1.2 so we can default intgo to ptrdiff_t and uintgo to size_t. Fixes #683 Fixes #2233
* Add Scilab 5.5.2 6.0.2 and 6.1.0 from upstreamClément DAVID2022-02-211-12/+18
| | | | | | | | | | | | | | | This commit log Scilab version at ./configure to ease maintenance. It uses Scilab include next to the bin directory which will work for both system-wide install and binaries from scilab.org. SCILAB_VERSION is define as an automake variable for easier failure investigation. Note: the Ubuntu Scilab version is used when available, in the current CI config there is: * Scilab 5.5 from scilab.org * Scilab 6.0 from Ubuntu 18.04 * Scilab 6.1 from Ubuntu 20.04
* Use CFLAGS for testcases on AIXOlly Betts2022-01-261-0/+1
| | | | | | | | | On AIX, one can compile applications either in 32bit or 64bit. With GCC, this is done by using: -maix64 or -maix32 (default). Thus, when building & testing Swig in 64bit, the -maix64 option must be passed to all calls to gcc. Fixes #1923
* Fix LDSHARED on AIXOlly Betts2022-01-261-1/+1
| | | | | | | Stop trying to use an ld_so_aix script which hasn't been present in the tree since at least the start of git history in 1999. Fixes #1919
* Few more PCRE to PCRE2 changesWilliam S Fulton2022-01-211-9/+9
|
* PCRE2Julien Schueller2022-01-211-9/+10
| | | | Closes #2120
* [perl] Require at least Perl 5.8.0Olly Betts2022-01-191-1/+1
| | | | | | | | | As discussed and agreed in #1629, it's become hard to test with Perl 5.6 or earlier, such old versions are no longer in active use, and 4.1.0 is an appropriate time to make such a change. I've dropped the compatibility code that was obvious to me, but there's probably more that can be cleaned up now.
* [python] Add 3.10 to Python versions in configureOlly Betts2021-12-241-1/+1
|
* [php] configure: Check for php8.1 binaryOlly Betts2021-12-081-1/+1
|
* Scilab testing: don't hang on errorWilliam S Fulton2021-11-161-0/+3
|
* CC and CXX override improvements in examplesWilliam S Fulton2021-11-151-18/+18
| | | | | | | | Use the overridden CC and CXX compiles when linking when overriding at make time. Previously the following would use CC and CXX specified at configure time when linking: make CC=gcc-11 CXX=g++-11
* Support testing on AIX for tclWilliam S Fulton2021-04-281-1/+10
| | | | | | Contributed by Tony Reix Closes #1922
* Correct disabling of c++11 testingWilliam S Fulton2021-04-261-1/+1
| | | | | | C++11 testing was not being turned off when the C++ compiler check for C++11 features failed and 'configure --enable-cpp11-testing' was used
* Remove AC_HEADER_STDC replacement codeWilliam S Fulton2021-04-261-10/+2
| | | | | | | | | | Remove replacement code added in by autoupdate. Go with recommendation to unconditionally include C headers (which we have been doing all along). Minimum autoconf version can be restored back to what it was. We do need AC_PROG_EGREP - used by AC_EGREP_CPP
* configure.ac updateWilliam S Fulton2021-04-261-3/+11
| | | | Updated using autoupdate from autoconf 2.71
* Clean configure output detecting JavascriptcoreWilliam S Fulton2021-04-261-3/+3
|
* Testing of C++14 and C++17 detection improvedWilliam S Fulton2021-04-261-3/+35
| | | | | | | Previously if the compiler was detected to support c++11, -std=c++11 was set preventing c++17 code from being properly tested. Now c++14 and c++17 support is looked for and the -std flag is appropriately set to the compiler's maximum supported version.
* Show CFLAGS and CXXFLAGS for SWIG executable buildWilliam S Fulton2021-03-231-0/+5
|
* Merge branch 'php8-support'Olly Betts2021-03-211-4/+6
|\ | | | | | | Fixes #1929, Fixes #1978
| * Add initial support for PHP8Olly Betts2021-03-191-4/+6
| | | | | | | | | | Testcase director_overload2 is failing, but the rest of the testsuite passes.
* | Modernise C++11 compiler support detection in autotoolsWilliam S Fulton2021-03-201-15/+13
|/ | | | | Replace AX_CXX_COMPILE_STDCXX_11 with AX_CXX_COMPILE_STDCXX from autoconf archive.
* Add php7.4 to list configure checks forOlly Betts2021-03-171-1/+1
|
* configure.ac: re-prioritize node.js detection.Andy Polyakov2021-03-021-1/+1
| | | | | Having 'node' taking priority over 'nodejs' make is easier to "sand-box" different node.js version by merely adjusting PATH.
* configure.ac: pick up javascriptcoregtk-4.0,3.0 if available.Andy Polyakov2021-03-011-1/+9
| | | | | Ubuntu 20 doesn't have libwebkitgtk-dev/libjavascriptcoregtk-1.0-dev, but it has 4.0. Ubuntu 18 provides 3.0 as option.
* Travis testing tcl for MacOSX10.14 and laterWilliam S Fulton2021-02-201-1/+3
| | | | | | | | | Used suggestion from https://www.postgresql-archive.org/PG-vs-macOS-Mojave-td6047357.html#a6056680 to add in sysroot. Note that the examples failed at runtime unless tcl was installed from homebrew: brew install --cask tcl
* Remove need for Python 2to3William S Fulton2020-08-151-24/+0
| | | | | | | | | | | | | | | | | | | | | All Python examples and tests have been written to be both Python 2 and Python 3 compatible, removing the need for 2to3 to run the examples or test-suite. The 2to3 executable is not always available and even when available does not always work, e.g. with pyenv. An alternative would be to use the lib2to3 Python module instead, but this isn't available in some older versions of Python 3. I had this problem on Ubuntu Bionic on Travis: checking Examples/python/callback pyenv: 2to3-3.8: command not found The `2to3-3.8' command exists in these Python versions: 3.8 3.8.1 Reference issues: https://github.com/pypa/virtualenv/issues/1399 https://travis-ci.community/t/2to3-command-not-found-in-venv-in-bionic/4495
* configure: use AC_PATH_TOOL for pkg-configMike Frysinger2020-06-121-1/+1
| | | | | | | | | | | | | | | | | | AC_CHECK_PROGS will find the tool using exactly the name given: it only searches for "pkg-config". When doing native builds, this is generally fine. However, when cross-compiling, this is not ideal as `pkg-config` is often configured for the build system, not the system we want to cross-compile for. Switch to using the AC_PATH_TOOL tool instead. This will look for "pkg-config" with a $host- prefix first before falling back to the plain "pkg-config". When doing native builds, things should still behave the same, but now things work better out of the box when we cross-compile. For example, `./configure --host=aarch64-linux-gnu` will first look for "aarch64-linux-gnu-pkg-config" before falling back to the plain "pkg-config".
* configure: change $PKGCONFIG to $PKG_CONFIGMike Frysinger2020-06-111-7/+7
| | | | | The PKG_CONFIG variable name aligns with the standard upstream value that the pkg-config project itself uses.
* Bump version to 4.1.0William S Fulton2020-06-081-1/+1
|
* Replace `-isystem` compile flag with `-I`Anatol Pomozov2020-06-021-16/+7
| | | | | | | | | Using `-isystem` flag causes compilation errors with GCC10. Replace it with `-I` flag. Fixes #1805 Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
* Minor configure.ac output display correction testing for octaveWilliam S Fulton2020-06-021-1/+1
|
* Octave: use pre-compiled headers to speed up test suite, if supportedKarl Wette2020-05-311-0/+33
|