[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05
Clint Adams
schizo at debian.org
Sun Nov 15 03:17:27 UTC 2009
The following commit has been merged in the upstream branch:
commit f0cb5bb5c8b6b5899bde6028518788b868499767
Author: Clint Adams <schizo at debian.org>
Date: Sat Jan 5 19:14:40 2008 +0000
autoupdate and reformat
git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-155
diff --git a/configure.ac b/configure.ac
index 9160dab..313b7e2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -422,11 +422,9 @@ AC_CHECK_DECLS([setenv, unsetenv])
AC_REPLACE_FUNCS([setenv])
dnl Checks for __builtin_expect
-AC_TRY_LINK(
- [int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }],
- [],
- [AC_DEFINE([HAVE_BUILTIN_EXPECT], 1,
- [Define to 1 if the compiler understands __builtin_expect.])])
+AC_LINK_IFELSE([AC_LANG_PROGRAM([[int foo (int a) { a = __builtin_expect (a, 10); return a == 10 ? 0 : 1; }]],
+ [[]])],[AC_DEFINE([HAVE_BUILTIN_EXPECT], 1,
+ [Define to 1 if the compiler understands __builtin_expect.])],[])
dnl kludge
AH_VERBATIM([WRAP_STAT],
--
fakeroot
More information about the Fakeroot-commits
mailing list