zrhoffman / rpms / 389-ds-base

Forked from rpms/389-ds-base 3 years ago
Clone

Blame SOURCES/0029-BZ1518320-entry-cache-crash-fix-cherry-pick-error.patch

d0a457
From 3edb83ca607bdf091cf46035b8e09e10b781f48a Mon Sep 17 00:00:00 2001
d0a457
From: Mark Reynolds <mreynolds@redhat.com>
d0a457
Date: Fri, 21 Jun 2019 11:40:57 -0400
d0a457
Subject: [PATCH] BZ1518320 - entry cache crash fix cherry-pick error
d0a457
d0a457
---
d0a457
 configure.ac | 3 +++
d0a457
 1 file changed, 3 insertions(+)
d0a457
d0a457
diff --git a/configure.ac b/configure.ac
d0a457
index ea528ff2b..91d6d398b 100644
d0a457
--- a/configure.ac
d0a457
+++ b/configure.ac
d0a457
@@ -72,6 +72,9 @@ AC_FUNC_STRFTIME
d0a457
 AC_FUNC_VPRINTF
d0a457
 AC_CHECK_FUNCS([endpwent ftruncate getcwd gethostbyname inet_ntoa localtime_r memmove memset mkdir munmap putenv rmdir setrlimit socket strcasecmp strchr strcspn strdup strerror strncasecmp strpbrk strrchr strstr strtol tzset])
d0a457
 
d0a457
+# These functions are *required* without option.
d0a457
+AC_CHECK_FUNCS([clock_gettime], [], AC_MSG_ERROR([unable to locate required symbol clock_gettime]))
d0a457
+
d0a457
 # This will detect if we need to add the LIBADD_DL value for us.
d0a457
 LT_LIB_DLLOAD
d0a457
 
d0a457
-- 
d0a457
2.21.0
d0a457