• Bruno Haible's avatar
    getlogin, getlogin_r: Fix link errors on MSVC. · f9c744db
    Bruno Haible authored
    * m4/getlogin.m4 (gl_LIB_GETLOGIN): New macro.
    * modules/getlogin (configure.ac): Require gl_LIB_GETLOGIN.
    (Link): New section.
    * modules/getlogin_r (Files): Add m4/getlogin.m4.
    (configure.ac): Require gl_LIB_GETLOGIN.
    (Link): New section.
    * NEWS: Mention the new link requirements.
    * modules/getlogin-tests (test_getlogin_LDADD): New variable.
    * modules/getlogin_r-tests (test_getlogin_r_LDADD): New variable.
    f9c744db