diff options
Diffstat (limited to '0131-configure.ac-don-t-check-for-clock_-functions.patch')
-rw-r--r-- | 0131-configure.ac-don-t-check-for-clock_-functions.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/0131-configure.ac-don-t-check-for-clock_-functions.patch b/0131-configure.ac-don-t-check-for-clock_-functions.patch deleted file mode 100644 index e77f120f29a2..000000000000 --- a/0131-configure.ac-don-t-check-for-clock_-functions.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 839f384b8d3f1b77bef639609246f67e979d8159 Mon Sep 17 00:00:00 2001 -From: Christoph Reiter <reiter.christoph@gmail.com> -Date: Sun, 1 Aug 2021 18:35:17 +0200 -Subject: [PATCH 131/N] configure.ac: don't check for clock_ functions - -They shouldn't be exposed on Windows and lead to winpthread being linked in ---- - configure.ac | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 0497199..23dd59b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -4369,6 +4369,9 @@ char *r = crypt_r("", "", &d); - []) - ) - -+case $host in -+ *-*-mingw*) ;; -+ *) - AC_CHECK_FUNCS(clock_gettime, [], [ - AC_CHECK_LIB(rt, clock_gettime, [ - LIBS="$LIBS -lrt" -@@ -4389,6 +4392,8 @@ AC_CHECK_FUNCS(clock_settime, [], [ - AC_DEFINE(HAVE_CLOCK_SETTIME, 1) - ]) - ]) -+ ;; -+esac - - AC_MSG_CHECKING(for major, minor, and makedev) - AC_LINK_IFELSE([AC_LANG_PROGRAM([[ --- -2.32.0 - |