wok annotate valgrind/stuff/valgrind-3.6.0-glibc211.u @ rev 20727
updated audit and audit-dev (2.2.1 -> 2.8.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 09 11:30:07 2019 +0100 (2019-02-09) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@6915 | 1 Submitted By: Agathoklis Hatzimanikas <ag at linuxfromscratch dot org> |
slaxemulator@6915 | 2 Date: 2010-01-06 |
slaxemulator@6915 | 3 Initial Package Version: 3.5.0 |
slaxemulator@6915 | 4 Upstream Status: Uknown |
slaxemulator@6915 | 5 Origin: Gentoo |
slaxemulator@6915 | 6 Description: Allows Valgring to build with glibc-2.11 |
slaxemulator@6915 | 7 |
slaxemulator@6915 | 8 diff -ruN valgrind-3.5.0/configure.in valgrind-3.5.0-fixed/configure.in |
slaxemulator@6915 | 9 --- valgrind-3.5.0/configure.in 2009-11-07 23:34:37.000000000 +0100 |
slaxemulator@6915 | 10 +++ valgrind-3.5.0-fixed/configure.in 2009-11-07 23:38:14.000000000 +0100 |
slaxemulator@6915 | 11 @@ -656,6 +656,16 @@ |
slaxemulator@6915 | 12 ], |
slaxemulator@6915 | 13 GLIBC_VERSION="2.10") |
slaxemulator@6915 | 14 |
slaxemulator@6915 | 15 +AC_EGREP_CPP([GLIBC_211], [ |
slaxemulator@6915 | 16 +#include <features.h> |
slaxemulator@6915 | 17 +#ifdef __GNU_LIBRARY__ |
slaxemulator@6915 | 18 + #if (__GLIBC__ == 2 && __GLIBC_MINOR__ == 11) |
slaxemulator@6915 | 19 + GLIBC_211 |
slaxemulator@6915 | 20 + #endif |
slaxemulator@6915 | 21 +#endif |
slaxemulator@6915 | 22 +], |
slaxemulator@6915 | 23 +GLIBC_VERSION="2.11") |
slaxemulator@6915 | 24 + |
slaxemulator@6915 | 25 AC_EGREP_CPP([AIX5_LIBC], [ |
slaxemulator@6915 | 26 #include <standards.h> |
slaxemulator@6915 | 27 #if defined(_AIXVERSION_510) || defined(_AIXVERSION_520) || defined(_AIXVERSION_530) |
slaxemulator@6915 | 28 @@ -742,6 +752,13 @@ |
slaxemulator@6915 | 29 DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" |
slaxemulator@6915 | 30 DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" |
slaxemulator@6915 | 31 ;; |
slaxemulator@6915 | 32 + 2.11) |
slaxemulator@6915 | 33 + AC_MSG_RESULT(2.11 family) |
slaxemulator@6915 | 34 + AC_DEFINE([GLIBC_2_11], 1, [Define to 1 if you're using glibc 2.11.x]) |
slaxemulator@6915 | 35 + DEFAULT_SUPP="glibc-2.X.supp ${DEFAULT_SUPP}" |
slaxemulator@6915 | 36 + DEFAULT_SUPP="glibc-2.34567-NPTL-helgrind.supp ${DEFAULT_SUPP}" |
slaxemulator@6915 | 37 + DEFAULT_SUPP="glibc-2.X-drd.supp ${DEFAULT_SUPP}" |
slaxemulator@6915 | 38 + ;; |
slaxemulator@6915 | 39 aix5) |
slaxemulator@6915 | 40 AC_MSG_RESULT(AIX 5.1 or 5.2 or 5.3) |
slaxemulator@6915 | 41 AC_DEFINE([AIX5_LIBC], 1, [Define to 1 if you're using AIX 5.1 or 5.2 or 5.3]) |
slaxemulator@6915 | 42 @@ -755,7 +772,7 @@ |
slaxemulator@6915 | 43 |
slaxemulator@6915 | 44 *) |
slaxemulator@6915 | 45 AC_MSG_RESULT([unsupported version ${GLIBC_VERSION}]) |
slaxemulator@6915 | 46 - AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.12]) |
slaxemulator@6915 | 47 + AC_MSG_ERROR([Valgrind requires glibc version 2.2 - 2.11]) |
slaxemulator@6915 | 48 AC_MSG_ERROR([or AIX 5.1 or 5.2 or 5.3 GLIBC_VERSION]) |
slaxemulator@6915 | 49 AC_MSG_ERROR([or Darwin libc]) |
slaxemulator@6915 | 50 ;; |
slaxemulator@6915 | 51 |