summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAliaksey Kandratsenka <alk@tut.by>2014-08-10 20:28:11 -0700
committerAliaksey Kandratsenka <alk@tut.by>2014-11-02 18:29:55 -0800
commit714bd93e42535e759716324a90fbb395506499d2 (patch)
tree23044611d22894b50252b9489a65cffa2e20ec2f
parent8de46e66fcd2577758ab297b553bb0f468d8a97a (diff)
downloadgperftools-714bd93e42535e759716324a90fbb395506499d2.tar.gz
drop workaround for too old redhat 7
Note that this is _not_ RHEL7 but original redhat 7 from early 2000s.
-rw-r--r--configure.ac7
1 files changed, 0 insertions, 7 deletions
diff --git a/configure.ac b/configure.ac
index e141ad4..65c2a11 100644
--- a/configure.ac
+++ b/configure.ac
@@ -449,13 +449,6 @@ AH_BOTTOM([
AM_CONDITIONAL(MINGW, expr $host : '.*-mingw' >/dev/null 2>&1)
AM_CONDITIONAL(OSX, expr $host : '.*-apple-darwin.*' >/dev/null 2>&1)
-# Redhat 7 (and below?) has sys/ucontext.h, but if you try to #include
-# it directly, the compiler gets upset. So we pretend we don't have
-# it.
-if cat /etc/redhat-release 2>/dev/null | grep "Red Hat Linux release 7" >/dev/null 2>&1; then
-AC_DEFINE(HAVE_SYS_UCONTEXT_H, 0, [<sys/ucontext.h> is broken on redhat 7])
-fi
-
# Export the --enable flags we set above. We do this at the end so
# other configure rules can enable or disable targets based on what
# they find.