diff options
author | Joseph Myers <joseph@codesourcery.com> | 2018-10-31 20:10:56 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-17 12:30:37 +0300 |
commit | 6cde47de67015ebe92b9a4fb6bbf74910fe26f05 (patch) | |
tree | 35045891021f8835e73ee4c992e1e80c372d477d /config/math.m4 | |
parent | 20e3103471f552f0a0d2b1f738213992dcf03657 (diff) |
Merge autoconf / automake update changes from GCC.
Top level:
Merge from GCC:
PR bootstrap/82856
* multilib.am: New file. From automake.
config:
Merge from GCC:
PR bootstrap/82856
* math.m4, tls.m4: Use AC_LANG_SOURCE.
zlib:
Merge from GCC.
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* Makefile.in: Regenerate.
Diffstat (limited to 'config/math.m4')
-rw-r--r-- | config/math.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/math.m4 b/config/math.m4 index 23835f230..155967e50 100644 --- a/config/math.m4 +++ b/config/math.m4 @@ -25,7 +25,7 @@ AC_DEFUN([GCC_CHECK_MATH_FUNC], AC_REQUIRE([GCC_CHECK_LIBM]) AC_REQUIRE([GCC_CHECK_MATH_HEADERS]) AC_CACHE_CHECK([for $1], [gcc_cv_math_func_$1], - [AC_LINK_IFELSE([ + [AC_LINK_IFELSE([AC_LANG_SOURCE([ #ifdef HAVE_COMPLEX_H #include <complex.h> #endif @@ -40,7 +40,7 @@ main () { return 0; } -], +])], [gcc_cv_math_func_$1=yes], [gcc_cv_math_func_$1=no])]) if test $gcc_cv_math_func_$1 = yes; then |