From 01e6f573548ba55f19fce1ad6ae0cef854b45422 Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Sun, 3 Oct 2010 08:47:55 +0200 Subject: [PATCH] Use AC_CONF_PROGRAM in AC_COMPILE_IFELSE to silence autoconf 2.68 --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 8eafd69a38..0cfb537d8c 100644 --- a/configure.ac +++ b/configure.ac @@ -661,7 +661,7 @@ if test "x$enable_mmx" = xyes; then mmx_save_CFLAGS="$CFLAGS" CFLAGS="$mmx_save_CFLAGS $MMX_EXTRA_CFLAGS" - AC_COMPILE_IFELSE([asm ("movq 0, %mm0");], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[asm ("movq 0, %mm0");])], AC_DEFINE(USE_MMX, 1, [Define to 1 if MMX assembly is available.]) AC_MSG_RESULT(yes) @@ -674,7 +674,7 @@ if test "x$enable_mmx" = xyes; then CFLAGS="$CFLAGS $sse_flag" - AC_COMPILE_IFELSE([asm ("movntps %xmm0, 0");], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[asm ("movntps %xmm0, 0");])], AC_DEFINE(USE_SSE, 1, [Define to 1 if SSE assembly is available.]) AC_MSG_RESULT(yes) , @@ -737,7 +737,7 @@ if test "x$enable_altivec" = xyes; then [Define to 1 if the altivec runtime test should use a sysctl.]) ;; *) - AC_COMPILE_IFELSE([asm ("vand %v0, %v0, %v0");], + AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[asm ("vand %v0, %v0, %v0");])], can_use_altivec=yes, can_use_altivec=no) ;; esac