Added configuration tests for presence of alarm(), pause(), and getpwent()
diff --git a/Modules/pwdmodule.c b/Modules/pwdmodule.c
index 4b09312..b7e0c92 100644
--- a/Modules/pwdmodule.c
+++ b/Modules/pwdmodule.c
@@ -90,6 +90,7 @@
 	return mkpwent(p);
 }
 
+#ifdef HAVE_GETPWENT
 static PyObject *
 pwd_getpwall(self, args)
 	PyObject *self;
@@ -113,11 +114,14 @@
 	}
 	return d;
 }
+#endif
 
 static PyMethodDef pwd_methods[] = {
 	{"getpwuid",	pwd_getpwuid},
 	{"getpwnam",	pwd_getpwnam},
+#ifdef HAVE_GETPWENT
 	{"getpwall",	pwd_getpwall},
+#endif
 	{NULL,		NULL}		/* sentinel */
 };