mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-06 13:00:20 +01:00
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 Reviewed-by: Colin Walters <walters@verbum.org>
This commit is contained in:
parent
5a66520300
commit
dfb6affd68
1 changed files with 2 additions and 2 deletions
|
|
@ -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])
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue