Mercurial > hg > octave-kai > gnulib-hg
changeset 3450:d8e5268f202c
(jm_PREREQ): Add jm_PREREQ_XGETCWD.
(jm_PREREQ_XGETCWD): New macro.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 03 Sep 2001 07:45:11 +0000 |
parents | 931a2ba3bea3 |
children | c613b4d20a05 |
files | m4/prereq.m4 |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/prereq.m4 +++ b/m4/prereq.m4 @@ -19,6 +19,7 @@ jm_PREREQ_READUTMP jm_PREREQ_REGEX jm_PREREQ_TEMPNAME # called by mkstemp + jm_PREREQ_XGETCWD ]) AC_DEFUN([jm_PREREQ_ADDEXT], @@ -139,3 +140,11 @@ AC_CHECK_HEADERS(fcntl.h sys/time.h stdint.h unistd.h) AC_CHECK_FUNCS(__secure_getenv gettimeofday) ]) + +AC_DEFUN([jm_PREREQ_XGETCWD], +[ + AC_C_PROTOTYPES + AC_CHECK_HEADERS(stdlib.h unistd.h) + AC_CHECK_FUNCS(getcwd) + AC_FUNC_GETCWD_NULL +])