projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Portability to BSD/OS 4.2.
[gnulib.git]
/
m4
/
getlogin_r.m4
diff --git
a/m4/getlogin_r.m4
b/m4/getlogin_r.m4
index
b1d9c59
..
2e99c96
100644
(file)
--- a/
m4/getlogin_r.m4
+++ b/
m4/getlogin_r.m4
@@
-1,6
+1,6
@@
-#serial
1
+#serial
2
-# Copyright (C) 2005 Free Software Foundation, Inc.
+# Copyright (C) 2005
, 2006
Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@
-21,7
+21,7
@@
AC_DEFUN([gl_GETLOGIN_R_SUBSTITUTE],
AC_DEFUN([gl_GETLOGIN_R],
[
AC_REPLACE_FUNCS([getlogin_r])
AC_DEFUN([gl_GETLOGIN_R],
[
AC_REPLACE_FUNCS([getlogin_r])
- if test $ac_cv_func_
strcasecmp
= no; then
+ if test $ac_cv_func_
getlogin_r
= no; then
gl_GETLOGIN_R_SUBSTITUTE
fi
])
gl_GETLOGIN_R_SUBSTITUTE
fi
])
@@
-29,5
+29,6
@@
AC_DEFUN([gl_GETLOGIN_R],
AC_DEFUN([gl_PREREQ_GETLOGIN_R],
[
AC_CHECK_HEADERS_ONCE([unistd.h])
AC_DEFUN([gl_PREREQ_GETLOGIN_R],
[
AC_CHECK_HEADERS_ONCE([unistd.h])
- AC_CHECK_DECLS_ONCE([getlogin getlogin_r])
+ AC_CHECK_DECLS_ONCE([getlogin])
+ AC_CHECK_DECLS_ONCE([getlogin_r])
])
])