crypto/gc-hmac-sha1: Fix recent regression.
[pspp] / modules / getlogin_r
index 1d5c20b8365554b5d93beeec80160b02ba763ce5..5406d9472da874fe9eb8f55693004995cd5ca81e 100644 (file)
@@ -6,12 +6,16 @@ lib/getlogin_r.c
 m4/getlogin_r.m4
 
 Depends-on:
-extensions
 unistd
-memchr
+extensions
+memchr          [test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1]
 
 configure.ac:
 gl_FUNC_GETLOGIN_R
+if test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1; then
+  AC_LIBOBJ([getlogin_r])
+  gl_PREREQ_GETLOGIN_R
+fi
 gl_UNISTD_MODULE_INDICATOR([getlogin_r])
 
 Makefile.am: