about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorClinton Bunch <cdb_zsh@zentaur.org>2024-08-30 08:06:06 -0500
committerOliver Kiddle <opk@zsh.org>2024-08-31 13:12:10 +0200
commit58bda5913007f53c91ae60cd22483dd222ea5618 (patch)
tree891af8168364b66248714320cec8793a52951799 /configure.ac
parent06e66b6b5af3778998aef0455aaaf6dfdf7e5145 (diff)
downloadzsh-58bda5913007f53c91ae60cd22483dd222ea5618.tar.gz
zsh-58bda5913007f53c91ae60cd22483dd222ea5618.tar.xz
zsh-58bda5913007f53c91ae60cd22483dd222ea5618.zip
53056: new zsh/random module defining an SRANDOM parameter and zrand_float() and zrand_int() math functions
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 78621042d..a88101f2b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -636,6 +636,7 @@ fi
 AC_CHECK_HEADERS(sys/time.h sys/times.h sys/select.h termcap.h termio.h \
 		 termios.h sys/param.h sys/filio.h string.h memory.h \
 		 limits.h fcntl.h libc.h sys/utsname.h sys/resource.h \
+		 sys/random.h \
 		 locale.h errno.h stdio.h stdarg.h varargs.h stdlib.h \
 		 unistd.h sys/capability.h \
 		 utmp.h utmpx.h sys/types.h pwd.h grp.h poll.h sys/mman.h \
@@ -1292,6 +1293,7 @@ AC_CHECK_FUNCS(strftime strptime mktime timelocal \
 	       cygwin_conv_path \
 	       nanosleep \
 	       srand_deterministic \
+	       getrandom arc4random_buf \
 	       setutxent getutxent endutxent getutent)
 AC_FUNC_STRCOLL