Added detection of getlogin() and getlogin_r().
diff --git a/config.h.in b/config.h.in
index a2f9f96..8996e32 100644
--- a/config.h.in
+++ b/config.h.in
@@ -272,6 +272,12 @@
 /* Define if you have the getgroups function.  */
 #undef HAVE_GETGROUPS
 
+/* Define if you have the getlogin function.  */
+#undef HAVE_GETLOGIN
+
+/* Define if you have the getlogin_r function.  */
+#undef HAVE_GETLOGIN_R
+
 /* Define if you have the getpgrp function.  */
 #undef HAVE_GETPGRP