From 203b0af5636065b6ea2af5f139da57fd8e782373 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 9 May 2011 18:49:54 +0100 Subject: [PATCH 5/5] When checking for __sync_sub_and_fetch, don't underquote, to shut up recent autoconf Without the correct number of levels of quoting, autoconf mistakenly believes we didn't use AC_LANG_SOURCE where required. (In fact, AC_LANG_PROGRAM calls AC_LANG_SOURCE.) Bug: https://bugs.freedesktop.org/show_bug.cgi?id=19681 --- configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6df79fd..7001a87 100644 --- a/configure.ac +++ b/configure.ac @@ -441,8 +441,8 @@ fi AC_CACHE_CHECK([whether $CC knows __sync_sub_and_fetch()], dbus_cv_sync_sub_and_fetch, - [AC_LINK_IFELSE( - AC_LANG_PROGRAM([], [[int a = 4; int b = __sync_sub_and_fetch(&a, 4); exit(b); ]]), + [AC_LINK_IFELSE([ + AC_LANG_PROGRAM([[]], [[int a = 4; int b = __sync_sub_and_fetch(&a, 4); exit(b); ]])], [dbus_cv_sync_sub_and_fetch=yes], [dbus_cv_sync_sub_and_fetch=no]) ]) -- 1.7.5.1