From 832517a97394250ee37db56cb98fac9960d5522f Mon Sep 17 00:00:00 2001 From: Ruud de Rooij Date: Sun, 28 May 2000 16:15:58 +0000 Subject: [PATCH] Added autoconf check for getutent(). --- config.h.in | 3 +++ configure.in | 2 +- stamp-h.in | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config.h.in b/config.h.in index a07a891..2690592 100644 --- a/config.h.in +++ b/config.h.in @@ -327,6 +327,9 @@ in libc.a the way AIX 4.1 does. */ #undef HAVE_SNPRINTF_PROTOTYPE +/* Define if you have the getutent function. */ +#undef HAVE_GETUTENT + /* Define if you have the killpg function. */ #undef HAVE_KILLPG diff --git a/configure.in b/configure.in index 613b2b0..bf57065 100644 --- a/configure.in +++ b/configure.in @@ -403,7 +403,7 @@ AC_FUNC_VFORK AC_CHECK_LIB(mkstemp,mkstemp) AC_CHECK_FUNCS(waitpid wait3 sigaction sigprocmask sigblock sigsetmask \ sighold sigrelse writev lstat uname tzset killpg mkstemp \ - sethostent) + sethostent getutent) dnl solaris screws this up AC_CHECK_FUNC(gethostbyname, [AC_DEFINE(HAVE_GETHOSTBYNAME)], diff --git a/stamp-h.in b/stamp-h.in index fe87a4a..ae7d530 100644 --- a/stamp-h.in +++ b/stamp-h.in @@ -1 +1 @@ -Thu May 11 22:57:41 EDT 2000 +Sun May 28 17:53:26 CEST 2000 -- 1.7.10.4