diff options
author | Jim Meyering <jim@meyering.net> | 2001-03-16 16:38:52 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-03-16 16:38:52 +0000 |
commit | 0a0306d1493033caa29c133657f6618af25e2491 (patch) | |
tree | e2f1ff0dfcb0759f3ac0d45062a5cc04e91b4953 | |
parent | fdc624ee8c47e9e4e5ab28fd9af0a3d0341154fa (diff) | |
download | coreutils-0a0306d1493033caa29c133657f6618af25e2491.tar.xz |
(jm_PREREQ): Add jm_PREREQ_TEMPNAME.
(jm_PREREQ_TEMPNAME): New function.
-rw-r--r-- | m4/prereq.m4 | 11 |
1 files changed, 10 insertions, 1 deletions
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) +]) |