# HG changeset patch # User Jim Meyering # Date 1232021285 -3600 # Node ID 5d3e28b13bb3c8b53f3082913b3eaeb8fed707e8 # Parent 1b3e52ed017e8ba99bf4aff067285a497b5820b9 openmp.m4: revert quote-adding change, for portability to older autoconf * m4/openmp.m4: Remove the quotes added on 2009-01-14. This reverts part of 42d1eda5dcce2d68deab7a642e7f29bcd7144a0d. Simon Josefsson noticed the problem when using autoconf-2.61. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-15 Jim Meyering + + openmp.m4: revert quote-adding change, for portability to older autoconf + * m4/openmp.m4: Remove the quotes added on 2009-01-14. + This reverts part of 42d1eda5dcce2d68deab7a642e7f29bcd7144a0d. + Simon Josefsson noticed the problem when using autoconf-2.61. + 2009-01-15 Bruno Haible * tests/test-fflush2.sh: Invoke test-fflush2 twice. diff --git a/m4/openmp.m4 b/m4/openmp.m4 --- a/m4/openmp.m4 +++ b/m4/openmp.m4 @@ -1,4 +1,4 @@ -# openmp.m4 serial 6 +# openmp.m4 serial 7 dnl Copyright (C) 2006-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -15,11 +15,11 @@ # Expands to some language dependent source code for testing the presence of # OpenMP. AC_DEFUN([_AC_LANG_OPENMP], -[_AC_LANG_DISPATCH([$0], [_AC_LANG], [$@])]) +[_AC_LANG_DISPATCH([$0], _AC_LANG, $@)]) # _AC_LANG_OPENMP(C) # ------------------ -m4_define([_AC_LANG_OPENMP([C])], +m4_define([_AC_LANG_OPENMP(C)], [ #ifndef _OPENMP choke me @@ -30,16 +30,16 @@ # _AC_LANG_OPENMP(C++) # -------------------- -m4_copy([_AC_LANG_OPENMP([C])], [_AC_LANG_OPENMP([C++])]) +m4_copy([_AC_LANG_OPENMP(C)], [_AC_LANG_OPENMP(C++)]) # _AC_LANG_OPENMP(Fortran 77) # --------------------------- -m4_define([_AC_LANG_OPENMP([Fortran 77])], +m4_define([_AC_LANG_OPENMP(Fortran 77)], [AC_LANG_FUNC_LINK_TRY([omp_get_num_threads])]) # _AC_LANG_OPENMP(Fortran) # --------------------------- -m4_copy([_AC_LANG_OPENMP([Fortran 77])], [_AC_LANG_OPENMP([Fortran])]) +m4_copy([_AC_LANG_OPENMP(Fortran 77)], [_AC_LANG_OPENMP(Fortran)]) # AC_OPENMP # ---------