summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-03-14 16:48:00 -0400
committerMatt Turner <mattst88@gmail.com>2012-03-15 16:49:29 -0400
commitee6bac11c28b350c183f190b6c648c316ee1109d (patch)
tree2c6ab13e5553f7bb5352eb35bfdb7332e73ae1a8 /configure.ac
parent21eeecffa93ba5912487d88851b1a5c60fc37768 (diff)
Use AC_LANG_SOURCE for DSPr2 configure program
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index d51f9045..ad0f3fa1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -609,7 +609,7 @@ AC_MSG_CHECKING(whether to use MIPS DSPr2 assembler)
xserver_save_CFLAGS=$CFLAGS
CFLAGS="-mdspr2 $CFLAGS"
-AC_COMPILE_IFELSE([[
+AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
#if !(defined(__mips__) && __mips_isa_rev >= 2)
#error MIPS DSPr2 is currently only available on MIPS32r2 platforms.
#endif
@@ -623,7 +623,7 @@ main ()
: [a] "r" (a), [b] "r" (b)
);
return c;
-}]], have_mips_dspr2=yes)
+}]])], have_mips_dspr2=yes)
CFLAGS=$xserver_save_CFLAGS
AC_ARG_ENABLE(mips-dspr2,