X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fprereq.m4;h=e6979b460c8423c0eaa6fe2cb3af13a357bd7a0c;hb=cef1ec1099108e3adc426f56f5e1f4088fbbefbd;hp=01e23f120f88a991c00e38987969152a0de3fc13;hpb=7b64121be20043ededdeac46d6a14134305b58a3;p=gnulib.git diff --git a/m4/prereq.m4 b/m4/prereq.m4 index 01e23f120..e6979b460 100644 --- 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 @@ AC_DEFUN(jm_PREREQ, 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_DEFUN(jm_PREREQ_REGEX, 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) +])