]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libatomic/acinclude.m4
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
[thirdparty/gcc.git] / libatomic / acinclude.m4
index bb6308bfa4fd621e91560780f167ce24e159622f..ab1d83825e5a8b371703d9892459e689107f3437 100644 (file)
@@ -25,7 +25,7 @@ dnl provide a builtin type for TImode.
 dnl
 AC_DEFUN([LIBAT_HAVE_INT_MODE],[
   AC_CACHE_CHECK([for $2 byte integer],[libat_cv_have_mode_$1],
-    [AC_COMPILE_IFELSE([int x __attribute__((mode($1)));],
+    [AC_COMPILE_IFELSE([AC_LANG_SOURCE([int x __attribute__((mode($1)));])],
       [libat_cv_have_mode_$1=yes],[libat_cv_have_mode_$1=no])])
   LIBAT_DEFINE_YESNO([HAVE_INT$2], [$libat_cv_have_mode_$1],
       [Have support for $2 byte integers.])