[build] Fix a typo in configure.ac.
Update and clean up autoconf template files. This is needed for compatibility with newer autoconf: * Removed macro GINAC_STD_CXX_HEADERS (we use AX_CXX_COMPILE_STDCXX). * Updated m4/* files from upstream. * Ran autoupdate on acinclude.m4 and configure.ac. Tested successfully with autoconf 1.69 and 1.71.
[build] Fix Python detection in Autotools build. This was a latent bug: the PYTHON variable was not set in Makefiles, only PYTHON3 was, but scripts were still invoked with $(PYTHON). While at it, let's also accept python2 >= 2.7.
[build] Check for python3 command, not python. PEP 394 does not require the python command to be installed.
Change www.ginac.de urls to https.
Remove configure check for type 'long long'. This type with at least 64 bits is mandatory since C++11.
Infrastructure: Update baseline language check M4 macros. Use the more general ax_cxx_compile_stdcxx.m4 macro from gnu.org instead of the old ax_cxx_compile_stdcxx_11.m4.
Use AX_CXX_COMPILE_STDCXX_11 macro to force C++11 compilation.
Add subdir-objects to Automake options. This option is needed to keep automake 1.14 happy.
[build] fix ginsh build for automake <=1.11. automake <=1.11 and automake >=1.12 have different conventions for naming C++ header files made by yacc. To work with both, we write our own rule rather than using automake's.
[build] Move library version info into the version.h file. The point is to have this info easily available for both build systems.
[build] Move archive version info into version.h (for non autotools build). The canonical location for all version info is the ginac/version.h file now (so we can have two build systems without duplicating the version info in configure.ac and CMakeLists.txt).
[build] Define package version number in version.h (for non autotools build).
Convert function.pl into C++ (well, almost) source and header. The code is much more readable now, as it's (almost) plain C++ (except simple pythonic `preprocessor' instructions). As a side effect perl is no longer necessary for building GiNaC.
configure: correctly set rpath for linking with CLN ... ... as to not break tests for libreadline and dlopen(). Problem: When using GCC 4.6 the configure script fails to find libreadline and libdl, although both libraries are definitely installed. See http://www.ginac.de/pipermail/ginac-list/2012-January/001868.html for more details. Reason: Apparently GCC 4.6 dislikes the -R/the/path switch (libtool way to say -Wl,-rpath,/the/path in a cross platform manner). Previous versions of GCC used to ignore the -R switch, however, GCC 4.6 errors out instead. Thus the configure script fails to detect readline and dlopen. Solution: Set the rpath (for linking with CLN) using the compiler friendly syntax (i.e. -Wl,-rpath -Wl,/the/path instead of -R/the/path).
Preparing for release 1.6.2.
Preparing for release.
configure: correctly warn about missing flex and/or bison. This version correctly handles out of source builds, does not break cross compilation, and contains no bashisms.
[build] configure: don't abuse AC_CHECK_FILE. Unbreaks the cross-compilation. Checking for ginsh_parser.h in configure is not a good idea, since it 1) produces a bogus warning during an out of source build, 2) breaks cross-compilation. Solution: just skip that bogus check (auto* tools do a similar check in the run-time *for a reason*).
Preparing for release 1.6.0.