projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
acl: Avoid test failure on Cygwin-hosted mingw.
[gnulib.git]
/
m4
/
getlogin_r.m4
diff --git
a/m4/getlogin_r.m4
b/m4/getlogin_r.m4
index
455e081
..
5d6f1b2
100644
(file)
--- a/
m4/getlogin_r.m4
+++ b/
m4/getlogin_r.m4
@@
-1,4
+1,4
@@
-#serial
5
+#serial
7
# Copyright (C) 2005-2007, 2009-2010 Free Software Foundation, Inc.
#
# Copyright (C) 2005-2007, 2009-2010 Free Software Foundation, Inc.
#
@@
-11,11
+11,13
@@
dnl
dnl Provide getlogin_r when the system lacks it.
dnl
dnl Provide getlogin_r when the system lacks it.
dnl
-AC_DEFUN([gl_GETLOGIN_R],
+AC_DEFUN([gl_
FUNC_
GETLOGIN_R],
[
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
dnl Persuade glibc <unistd.h> to declare getlogin_r().
[
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
dnl Persuade glibc <unistd.h> to declare getlogin_r().
+ dnl Persuade Solaris <unistd.h> to provide the POSIX compliant declaration of
+ dnl getlogin_r().
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
AC_CHECK_FUNCS_ONCE([getlogin_r])
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
AC_CHECK_FUNCS_ONCE([getlogin_r])