summaryrefslogtreecommitdiff
path: root/m4macros
diff options
context:
space:
mode:
Diffstat (limited to 'm4macros')
-rw-r--r--m4macros/xdt-features.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4macros/xdt-features.m4 b/m4macros/xdt-features.m4
index f258822..c0d65ac 100644
--- a/m4macros/xdt-features.m4
+++ b/m4macros/xdt-features.m4
@@ -42,7 +42,7 @@ AC_DEFUN([XDT_SUPPORTED_FLAGS],
AC_MSG_CHECKING([if $CC supports $flag])
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $flag"
- AC_COMPILE_IFELSE([ ], [flag_supported=yes], [flag_supported=no])
+ AC_COMPILE_IFELSE(AC_LANG_SOURCE([ ]), [flag_supported=yes], [flag_supported=no])
CFLAGS="$saved_CFLAGS"
AC_MSG_RESULT([$flag_supported])