[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. debian/1.14.3-200-gb232f8a

Clint Adams schizo at debian.org
Tue Aug 23 13:06:06 UTC 2011


The following commit has been merged in the upstream branch:
commit 2f3385e51007e30f5fb0e03822f2300b2c1a029a
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