diff m4/ax_openmp.m4 @ 32567:7714577c87dd stable

build: Update autoconf macros with changes from upstream. * ax_blas.m4, ax_compare_version.m4, ax_cxx_compile_stdcxx.m4, ax_openmp.m4: Update with changes from upstream: https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=tree;hb=eb940c6cf25be8247f7efff4465fd1b770891c5b
author Markus Mützel <markus.muetzel@gmx.de>
date Sun, 10 Dec 2023 13:16:02 +0100
parents 9d2a4a270807
children
line wrap: on
line diff
--- a/m4/ax_openmp.m4	Sun Dec 10 12:35:20 2023 +0100
+++ b/m4/ax_openmp.m4	Sun Dec 10 13:16:02 2023 +0100
@@ -67,10 +67,10 @@
 #   modified version of the Autoconf Macro, you may extend this special
 #   exception to the GPL to apply to your modified version as well.
 
-#serial 13
+#serial 14
 
 AC_DEFUN([AX_OPENMP], [
-AC_PREREQ([2.59]) dnl for _AC_LANG_PREFIX
+AC_PREREQ([2.69]) dnl for _AC_LANG_PREFIX
 
 AC_CACHE_CHECK([for OpenMP flag of _AC_LANG compiler], ax_cv_[]_AC_LANG_ABBREV[]_openmp, [save[]_AC_LANG_PREFIX[]FLAGS=$[]_AC_LANG_PREFIX[]FLAGS
 ax_cv_[]_AC_LANG_ABBREV[]_openmp=unknown
@@ -101,7 +101,7 @@
 }
 
 int
-main()
+main(void)
 {
   int arr[100000];
   omp_set_num_threads(2);