summaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | AX_CPU_FREQ: include <cstring>, <unistd.h> for memset(), usleep()Sam James2022-10-301-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Sam James <sam@gentoo.org>
| * | | AX_FUNC_MEMMOVE: add missing includes for strcmp(), exit()Sam James2022-10-301-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | Clang 16 makes -Wimplicit-function-declaration an error by default. Signed-off-by: Sam James <sam@gentoo.org>
| * | | AX_CHECK_STRFTIME: add missing includes for strcmp()Sam James2022-10-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Clang 16 makes -Wimplicit-function-declaration an error by default. Signed-off-by: Sam James <sam@gentoo.org>
| * | | AX_FUNC_SNPRINTF: add missing includes for strcmp(), exit()Sam James2022-10-301-2/+5
| |/ / | | | | | | | | | | | | | | | Clang 16 makes -Wimplicit-function-declaration an error by default. Signed-off-by: Sam James <sam@gentoo.org>
* | | ax_ms_cpprest: add loongarch64 to list of lib64 archesWANG Xuerui2023-02-161-2/+2
| | |
* | | ax_boost_base: add loongarch64 to list of lib64 archesWANG Xuerui2023-02-161-2/+2
|/ /
* | AX_R_PACKAGE: bump serial numberPeter Simons2022-09-071-1/+1
| |
* | AX_R_PACKAGE: Use packageDescription.Ricardo Wurmus2022-09-071-1/+1
| | | | | | | | | | * m4/ax_r_package.m4 (AX_R_PACKAGE): Use packageDescription instead of the inappropriate system.file.
* | AX_R_PACKAGE: Fix version comparison.Ricardo Wurmus2022-09-071-2/+2
| | | | | | | | | | * m4/ax_r_package.m4 (AX_R_PACKAGE): Use compareVersion instead of comparing strings.
* | Fix broken e-mail addresses in copyright lines.Peter Simons2022-09-0312-24/+24
| |
* | Merge remote-tracking branch 'github/master'.Peter Simons2022-09-031-7/+7
|\ \
| * \ Merge pull request #260 from fanquake/opt_brew_boost_basePeter Simons2022-09-031-7/+7
| |\ \ | | | | | | | | boost_base: add /opt/homebrew to search paths
| | * | boost_base: add /opt/homebrew to search pathsfanquake2022-08-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Users with Boost installed via homebrew on arm64 (M1) hardware will have the libs under this path. Not sure if this is something you'd want to accomodate, but we currently patch this into the macro, so have decided to upstream.
| | * | fix typo in boost_base.m4fanquake2022-08-311-2/+2
| | | |
* | | | fix serial numbersPeter Simons2022-09-033-4/+4
|/ / /
* | | AX_PYTHON_DEVEL: fix for Python 3.10+Yaakov Selkowitz2022-08-311-1/+1
|/ /
* | Add more python versionBastien Roucariès2022-08-291-2/+2
| | | | | | | | | | | | Add a few python version 3.12 3.11 3.10 Signed-off-by: Bastien Roucariès <rouca@debian.org>
* | Fix typo, check for PYTHON_PLATFORM_SITE_PKG not PYTHON_SITE_PKGStefano Rivera2022-08-291-2/+2
| |
* | Support Debian's posix_local sysconfig scheme in ax_python_develStefano Rivera2022-08-291-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Debian adds a custom sysconfig scheme to system python installs, "posix_local". This is the default scheme, and it redirects local users' Python module installs to /usr/local even though Python is installed with a /usr prefix. Both are on Debian's python's sys.path module search path. Autoconf and its users understand prefixes, and are likely to select /usr/local, explicitly. Select the "posix_prefix" scheme, with the user-supplied prefix. Previously this custom sysconfig scheme was specified in distutils.sysconfig, but not sysconfig itself. As distutils is being deprecated, the custom scheme is now specified in sysconfig, since Debian's Python 3.10 (3.10.2-4).
* | Merge pull request #257 from lukem/ax_boost_jsonPeter Simons2022-08-131-0/+129
|\ \ | | | | | | ax_boost_json: implement for Boost::JSON library
| * | ax_boost_json: implement for Boost::JSON libraryLuke Mewburn2022-08-061-0/+129
| | | | | | | | | | | | | | | | | | | | | Add AX_BOOST_JSON() to search for Boost::JSON (which is in boost 1.75 or newer) Macro derived from AX_BOOST_RANDOM().
* | | Fix FTCBFS with lib mysqlHelmut Grohne2022-08-131-9/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apophenia fails to cross build from source, because it fails to locate the mysql client libraries. It does so via the AX_LIB_MYSQL macro, which consults mysql_config, which cannot work during cross builds. This patch extends the AX_LIB_MYSQL macro to try pkg-config before mysql_config. Signed-off-by: Bastien Roucariès <rouca@debian.org>
* | | FIX FTCBSHelmut Grohne2022-08-131-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | projectm fails to cross build from source, because it uses AX_HAVE_QT from autoconf-archive and that macro hard codes the build architecture qmake. We use the host architecture for qmake. Signed-off-by: Bastien Roucariès <rouca@debian.org>
* | | Fix AX_LUA_HEADERS uses AC_RUN_IFELSEHelmut Grohne2022-08-131-15/+10
|/ / | | | | | | | | | | | | | | | | | | | | telegram-cli fails to cross build from source, because it uses AX_LUA_HEADERS, which happens to use AC_RUN_IFELSE to compute the lua version. As it turns out, the version is also available as an integer, which allows using the cross-friendly AC_COMPUTE_INT. The attached patch updates AX_LUA_HEADERS to use AC_COMPUTE_INT. Signed-off-by: Bastien Roucariès <rouca@debian.org> debian-bug: https://bugs.debian.org/956713
* | Merge pull request #255 from ojwb/fix-AX_CXX_COMPILE_STDCXX-for-MSVCPeter Simons2022-08-011-7/+11
|\ \ | | | | | | ax_cxx_compile_stdcxx: Fix for MSVC
| * | ax_cxx_compile_stdcxx: Fix for MSVCOlly Betts2022-07-251-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MSVC always sets __cplusplus to 199711L in older versions; newer versions do the same unless /Zc:__cplusplus is specified as well as a /std:c++<NN> switch: https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/ This fixes a regression compared to the old separate AX_CXX_COMPILE_STDCXX_11, etc macros which didn't check the value of __cplusplus so worked OK with MSVC.
* | | Merge pull request #254 from dnicolson/remove-duplicate-variablePeter Simons2022-08-011-2/+2
|\ \ \ | | | | | | | | Remove duplicate $PYTHON_EXTRA_LIBS variable
| * | | Remove duplicate variableDave Nicolson2022-04-031-1/+1
| | | |
| * | | Make indentation consistentDave Nicolson2022-04-031-1/+1
| | | |
* | | | ax_lib_netcdf4: enable NF_CONFIG run-time definition.SAITO Fuyuki2022-07-281-2/+5
| |/ / |/| | | | | | | | | | | | | | nf-config may not be installed under the same directory as nc-config. To avoid the automatic definition of nf-config, setting of NF_CONFIG variable is introduced for a workaround.
* | | Make assembler-option macros more portable and exit early if assembler not foundBogdan Drozdowski2022-06-066-66/+108
| | |
* | | Make assembler-finding macros more portableBogdan Drozdowski2022-06-066-48/+42
| | |
* | | ax_prog_cc_for_build: Properly restore ac_cv_c_compiler_gnuOndřej Surý2022-04-261-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ac_cv_c_compiler_gnu wasn't properly restored to original state (f.e. yes), but value of the "save" variable was used: ac_cv_c_compiler_gnu=${ac_cv_c_compiler_gnu=saved_ac_cv_c_compiler_gnu} Additionally, we don't need to cache the saved_ac_cv_c_compiler_gnu and was_set_ac_cv_c_compiler_gnu, so remove the ac_cv_ from their names. This would not manifest on a single run, but any repeated run with cache file (./configure -C) would be broken.
* | | ax_python_devel: bump serial number after recent changesPeter Simons2022-04-251-1/+1
| | |
* | | Merge pull request #249 from bogdro/ax_prototypePeter Simons2022-04-251-10/+14
|\ \ \ | | | | | | | | Fix deprecated things in ax_prototype.m4
| * | | Fix deprecated things in ax_prototype.m4bogdro2022-03-301-10/+14
| |/ / | | | | | | Fix deprecated things in ax_prototype.m4, other small changes.
* | | Merge pull request #250 from agbuckley/ax_python_devel-safe-pyversionPeter Simons2022-04-251-4/+28
|\ \ \ | | | | | | | | Fix Python version-string comparisons in ax_devel_python.m4
| * | | Add a shim class to ax_devel_python.m4 to make the Python version-string ↵Andy Buckley2022-04-051-4/+28
| |/ / | | | | | | | | | comparisons evaluate correctly between < .10 and >= .10 micro version numbers
* | | m4/ax_cc_maxopt.m4: add missing ;; to end of caseReuben Thomas2022-04-251-1/+2
|/ /
* | Re-format macros into the canonical format.Peter Simons2022-02-118-16/+15
| |
* | Merge pull request #246 from vapier/masterPeter Simons2022-02-111-31/+9
|\ \ | | | | | | AX_CC_FOR_BUILD: deprecate in favor of AX_PROG_CC_FOR_BUILD
| * | AX_CC_FOR_BUILD: deprecate in favor of AX_PROG_CC_FOR_BUILDMike Frysinger2022-01-191-31/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AX_PROG_CC_FOR_BUILD has seen a lot more updates than AX_CC_FOR_BUILD, and is generally way more complete. The latter hardcoded `gcc` as the native compiler fallback and lacks any of the standard $build- prefix searches. It also uses non-standard cache vars -- it's using the bfd_cv_xxx namespace instead of the ax_cv_xxx namespace everything else does. Otherwise, the macros largely have the same intention: to find a compiler for the build system, and setup the exe extension. So deprecate AX_CC_FOR_BUILD and have it redirect automatically.
* | | Merge pull request #244 from manxorist/cxx20Peter Simons2022-02-111-4/+48
|\ \ \ | | | | | | | | AX_CXX_COMPILE_STDCXX: add C++20 support
| * | | AX_CXX_COMPILE_STDCXX: add C++20 supportJörn Heusipp2021-12-251-4/+48
| |/ /
* | | Merge pull request #243 from rmathar/masterPeter Simons2022-02-111-8/+15
|\ \ \ | | | | | | | | detect qtmake-qt5, moc-qt5 etc in ax_have_qt.m4
| * | | detect qtmake-qt5, moc-qt5 etc in ax_have_qt.m4mathar2021-12-101-8/+15
| |/ /
* | | Merge pull request #242 from ossama-othman/fix-ax-valgrind-checkPeter Simons2022-02-111-8/+8
|\ \ \ | | | | | | | | AX_VALGRIND_CHECK: Fix "nothing to be done".
| * | | AX_VALGRIND_CHECK: Bump the M4 serial number.Ossama Othman2021-11-301-1/+1
| | | |
| * | | AX_VALGRIND_CHECK: Correct recursive target names.Ossama Othman2021-11-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recursive targets associated with AM_EXTRA_RECURSIVE_TARGETS() macro calls should end with "-local", not "-am". Correct the check-valgrind{-vgtool}-am rules accordingly. This addresses a problem where the calling "make check-valgrind" resulted in "nothing to be done". See the Automake manual Section "Recursing subdirectories" for details: https://www.gnu.org/software/automake/manual/automake.html#Subdirectories
| * | | AX_VALGRIND_CHECK: Fix recursive rule generation.Ossama Othman2021-11-301-4/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Move the AM_EXTRA_RECURSIVE_TARGETS() macro calls inside of the AX_VALGRIND_CHECK definition to force the AM_EXTRA_RECURSIVE_TARGETS() macro calls to be processed as part of AX_VALGRIND_CHECK. The recursive targets were otherwise not generated by Automake when using an installed copy of the `ax_valgrind_check.m4' file (e.g. `/usr/share/aclocal/ax_valgrind_check.m4').