summaryrefslogtreecommitdiff
path: root/xorg-macros.m4.in
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-macros.m4.in')
-rw-r--r--xorg-macros.m4.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-macros.m4.in b/xorg-macros.m4.in
index ed908e2..3fd5348 100644
--- a/xorg-macros.m4.in
+++ b/xorg-macros.m4.in
@@ -1492,7 +1492,7 @@ m4_foreach([flag], m4_cdr($@), [
CFLAGS="$CFLAGS ]flag["
AC_MSG_CHECKING([if $CC supports ]flag[])
- AC_COMPILE_IFELSE([AC_LANG_SOURCE([int i;])],
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([int i;])],
[supported=yes], [supported=no])
AC_MSG_RESULT([$supported])
CFLAGS="$xorg_testset_save_CFLAGS"