summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/check-decl.m420
1 files changed, 16 insertions, 4 deletions
diff --git a/m4/check-decl.m4 b/m4/check-decl.m4
index d72218574..45dfc5da3 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.