Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / modules / getlogin
index 1e0c77a..379052a 100644 (file)
@@ -9,7 +9,10 @@ Depends-on:
 unistd
 
 configure.ac:
-gl_GETLOGIN
+gl_FUNC_GETLOGIN
+if test $HAVE_GETLOGIN = 0; then
+  AC_LIBOBJ([getlogin])
+fi
 gl_UNISTD_MODULE_INDICATOR([getlogin])
 
 Makefile.am: