[gegl] Use AC_CONF_PROGRAM in AC_COMPILE_IFELSE to silence autoconf 2.68



commit fd07dc64ce3dc6ab4d667d5d2bb1636cbbe859c0
Author: Martin Nordholts <martinn src gnome org>
Date:   Thu Sep 30 20:05:05 2010 +0200

    Use AC_CONF_PROGRAM in AC_COMPILE_IFELSE to silence autoconf 2.68

 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8595dea..e8e80ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -351,7 +351,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)
@@ -364,7 +364,7 @@ if test "x$enable_mmx" = "xyes"; then
       sse_save_CFLAGS="$CFLAGS"
       CFLAGS="$sse_save_CFLAGS $SSE_EXTRA_CFLAGS"
 
-      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)
       ,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]