From: Jim Meyering Date: Thu, 2 Mar 2000 09:05:28 +0000 (+0000) Subject: (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dce9198ed616166f4b568e46ac39d7ca75b54bd6;p=pspp (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid. --- diff --git a/m4/check-decl.m4 b/m4/check-decl.m4 index d722185745..45dfc5da3c 100644 --- a/m4/check-decl.m4 +++ b/m4/check-decl.m4 @@ -1,4 +1,4 @@ -#serial 8 +#serial 9 dnl This is just a wrapper function to encapsulate this kludge. dnl Putting it in a separate file like this helps share it between @@ -39,9 +39,21 @@ AC_DEFUN(jm_CHECK_DECLS, #endif ' - AC_CHECK_DECLS((free, getenv, lseek, malloc, memchr, nanosleep, - realloc, stpcpy, strstr, strtoul, strtoull), - , , $headers) + AC_CHECK_DECLS(( + free, + getenv, + geteuid, + getlogin, + lseek, + malloc, + memchr, + nanosleep, + realloc, + stpcpy, + strstr, + strtoul, + strtoull, + ttyname), , , $headers) ]) dnl FIXME: when autoconf has support for it.