about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-08-10 11:31:18 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-08-10 11:31:18 +0000
commitbbbaed2b5395e0a646dc618cd8c6bdd7dde25c81 (patch)
tree88bf10a027d3103814943c3bd80bc630457d46d5 /configure.ac
parent92ee9324a96cd503c2ebc82cf84c03ddb08bf434 (diff)
downloadzsh-bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81.tar.gz
zsh-bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81.tar.xz
zsh-bbbaed2b5395e0a646dc618cd8c6bdd7dde25c81.zip
29663: add $EPOCHREALTIME to zsh/datetime
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1ce815ca5..54999b164 100644
--- a/configure.ac
+++ b/configure.ac
@@ -693,6 +693,8 @@ AC_CHECK_LIB(c, printf, [LIBS="$LIBS -lc"])
 
 AC_CHECK_LIB(m, pow)
 
+AC_CHECK_LIB(rt, clock_gettime)
+
 dnl Various features of ncurses depend on having the right header
 dnl (the system's own curses.h may well not be good enough).
 dnl So don't search for ncurses unless we found the header.
@@ -1170,7 +1172,7 @@ dnl need to integrate this function
 dnl AC_FUNC_STRFTIME
 
 AC_CHECK_FUNCS(strftime strptime mktime timelocal \
-	       difftime gettimeofday \
+	       difftime gettimeofday clock_gettime \
 	       select poll \
 	       readlink faccessx fchdir ftruncate \
 	       fstat lstat lchown fchown fchmod \