aboutsummaryrefslogtreecommitdiff
path: root/gprofng/libcollector/configure.ac
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-03-18 15:45:34 +0000
committerNick Clifton <nickc@redhat.com>2022-03-18 15:46:33 +0000
commit0a30596cfad9cd221a81eea984b6fe3fabb20b95 (patch)
treeb688d33f46d2507a16dc89d7f057cba01618c355 /gprofng/libcollector/configure.ac
parentf0cf07f341f565978228c9a2cfa73d2a9f3001c3 (diff)
downloadfsf-binutils-gdb-0a30596cfad9cd221a81eea984b6fe3fabb20b95.zip
fsf-binutils-gdb-0a30596cfad9cd221a81eea984b6fe3fabb20b95.tar.gz
fsf-binutils-gdb-0a30596cfad9cd221a81eea984b6fe3fabb20b95.tar.bz2
Fix Build issues due to patch "gprofng: a new GNU profiler"
Find and fix more places where clock_gettime() and CLOCK_MONOTONIC_RAW are used.
Diffstat (limited to 'gprofng/libcollector/configure.ac')
-rw-r--r--gprofng/libcollector/configure.ac13
1 files changed, 0 insertions, 13 deletions
diff --git a/gprofng/libcollector/configure.ac b/gprofng/libcollector/configure.ac
index 1da916e..f49d120 100644
--- a/gprofng/libcollector/configure.ac
+++ b/gprofng/libcollector/configure.ac
@@ -58,19 +58,6 @@ AC_SUBST(GPROFNG_VARIANT)
ACX_PROG_CC_WARNING_OPTS([-Wno-nonnull-compare], [GPROFNG_NO_NONNULL_COMPARE_CFLAGS])
AC_SUBST(GPROFNG_NO_NONNULL_COMPARE_CFLAGS)
-clock_gettime_link=
-# At least for glibc, clock_gettime is in librt. But don't
-# pull that in if it still doesn't give us the function we want. This
-# test is copied from libgomp, and modified to not link in -lrt as
-# we're using this for test timing only.
-if test "$ac_cv_func_clock_gettime" = no; then
- AC_CHECK_LIB(rt, clock_gettime,
- [CLOCK_GETTIME_LINK=-lrt
- AC_DEFINE(HAVE_CLOCK_GETTIME, 1,
- [Define to 1 if you have the `clock_gettime' function.])])
-fi
-AC_SUBST(CLOCK_GETTIME_LINK)
-
AC_CONFIG_FILES([Makefile])
AC_CONFIG_HEADERS([lib-config.h:../common/config.h.in])
AC_OUTPUT