Mercurial > hg > octave-nkf > gnulib-hg
changeset 2117:e42471ea7843
(jm_PREREQ_READUTMP): New macro.
(jm_PREREQ): Use it.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Wed, 12 Jan 2000 08:17:30 +0000 |
parents | 3452e04c3ee9 |
children | b9195ae11a43 |
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 @@ -8,6 +8,7 @@ jm_PREREQ_CANON_HOST jm_PREREQ_ERROR jm_PREREQ_QUOTEARG + jm_PREREQ_READUTMP jm_PREREQ_REGEX ]) @@ -35,6 +36,14 @@ AM_C_PROTOTYPES ]) +AC_DEFUN(jm_PREREQ_READUTMP, +[ + AC_HEADER_STDC + AC_CHECK_HEADERS(string.h utmpx.h sys/param.h) + AC_CHECK_FUNCS(utmpname) + AM_C_PROTOTYPES +]) + AC_DEFUN(jm_PREREQ_REGEX, [ dnl FIXME: Maybe provide a btowc replacement someday: solaris-2.5.1 lacks it.