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

c04070
From 3edb83ca607bdf091cf46035b8e09e10b781f48a Mon Sep 17 00:00:00 2001
c04070
From: Mark Reynolds <mreynolds@redhat.com>
c04070
Date: Fri, 21 Jun 2019 11:40:57 -0400
c04070
Subject: [PATCH] BZ1518320 - entry cache crash fix cherry-pick error
c04070
c04070
---
c04070
 configure.ac | 3 +++
c04070
 1 file changed, 3 insertions(+)
c04070
c04070
diff --git a/configure.ac b/configure.ac
c04070
index ea528ff2b..91d6d398b 100644
c04070
--- a/configure.ac
c04070
+++ b/configure.ac
c04070
@@ -72,6 +72,9 @@ AC_FUNC_STRFTIME
c04070
 AC_FUNC_VPRINTF
c04070
 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])
c04070
 
c04070
+# These functions are *required* without option.
c04070
+AC_CHECK_FUNCS([clock_gettime], [], AC_MSG_ERROR([unable to locate required symbol clock_gettime]))
c04070
+
c04070
 # This will detect if we need to add the LIBADD_DL value for us.
c04070
 LT_LIB_DLLOAD
c04070
 
c04070
-- 
c04070
2.21.0
c04070