From e0bdc5d6523c2a26a9eb689bdbb1d7a2b591a821 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Sun, 3 Apr 2011 16:23:13 +0100 Subject: [PATCH] configure: Check for localtime_r properly Fix our check for localtime_r so that it actually picks up if it's missing on Unix platforms, and gets libroken to build it. Change-Id: Ibf6e3a0272b08aa55e0ee9493f68b3c53a5b6938 Reviewed-on: http://gerrit.openafs.org/4425 Tested-by: BuildBot Reviewed-by: Jeffrey Altman --- acinclude.m4 | 2 +- src/roken/librokenafs.map | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 7234677..84669f0 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1371,7 +1371,6 @@ AC_CHECK_FUNCS([ \ fchown \ gethostname \ gettimeofday \ - localtime_r \ lstat \ inet_aton \ inet_ntop \ @@ -1408,6 +1407,7 @@ AC_REPLACE_FUNCS([ \ getdtablesize \ getopt \ getprogname \ + localtime_r \ mkstemp \ strcasecmp \ strlcat \ diff --git a/src/roken/librokenafs.map b/src/roken/librokenafs.map index 1cd8fad..2cf5d9f 100644 --- a/src/roken/librokenafs.map +++ b/src/roken/librokenafs.map @@ -20,6 +20,7 @@ rk_erealloc; rk_flock; rk_hex_encode; + rk_localtime_r; rk_mkstemp; rk_print_version; rk_snprintf; -- 1.9.4