summaryrefslogtreecommitdiff
path: root/config/math.m4
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-10-31 17:10:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-10-31 17:10:56 +0000
commitb555fb21f98143582541e1a3bf58695037ca617b (patch)
treea5570958e7e8f36baaa0b510058c5e03681efb23 /config/math.m4
parent1443936e967d4a0a49acb8756e3f808dc3628318 (diff)
downloadbinutils-gdb-b555fb21f98143582541e1a3bf58695037ca617b.tar.gz
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.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/config/math.m4 b/config/math.m4
index 23835f230cb..155967e5071 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