Merge autoconf / automake update changes from GCC.
[deliverable/binutils-gdb.git] / config / math.m4
index 23835f230cb42ecb05612590708551bc8646a86c..155967e5071faa26ddcc94ad1f82599cd3c7d19b 100644 (file)
@@ -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
This page took 0.033614 seconds and 4 git commands to generate.