Mercurial > hg > octave-kai > gnulib-hg
changeset 3214:5a60c289935d
(jm_PREREQ): Add jm_PREREQ_TEMPNAME.
(jm_PREREQ_TEMPNAME): New function.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 16 Mar 2001 16:38:52 +0000 |
parents | 05f1db71f151 |
children | 5914e836a0dd |
files | m4/prereq.m4 |
diffstat | 1 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/prereq.m4 +++ b/m4/prereq.m4 @@ -1,4 +1,4 @@ -#serial 17 +#serial 18 dnl These are the prerequisite macros for files in the lib/ dnl directories of the fileutils, sh-utils, and textutils packages. @@ -17,6 +17,7 @@ jm_PREREQ_QUOTEARG jm_PREREQ_READUTMP jm_PREREQ_REGEX + jm_PREREQ_TEMPNAME # called by mkstemp ]) AC_DEFUN(jm_PREREQ_ADDEXT, @@ -122,3 +123,11 @@ AC_HEADER_STDC AC_FUNC_ALLOCA ]) + +AC_DEFUN(jm_PREREQ_TEMPNAME, +[ + AC_HEADER_STDC + AC_HEADER_STAT + AC_CHECK_HEADERS(fcntl.h sys/time.h stdint.h unistd.h) + AC_CHECK_FUNCS(__secure_getenv gettimeofday) +])