X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=m4%2Fposix%2Funistd.m4;fp=m4%2Fposix%2Funistd.m4;h=fde0fe9fc5272abbbe992d29381c2bf93f9418c0;hb=fb1661f43586388050fd42b9702c7beefaae08f3;hp=21265005fef8320ffd6d1055b0baa453859eae71;hpb=5ed7e51eb19a16f6f4e280abc33a2a4281b45166;p=m6w6%2Fext-psi diff --git a/m4/posix/unistd.m4 b/m4/posix/unistd.m4 index 2126500..fde0fe9 100644 --- a/m4/posix/unistd.m4 +++ b/m4/posix/unistd.m4 @@ -289,18 +289,10 @@ PSI_CHECK_UNISTD() { PSI_DECL(int chown, [(const char *path, uid_t owner, gid_t group)]) PSI_DECL(int close, [(int fildes)]) PSI_DECL(size_t confstr, [(int name, char *buf, size_t len)]) - - AC_SEARCH_LIBS(crypt, crypt, [ - PSI_DECL(char *crypt, [(const char *key, const char *salt)]) - ]) - + PSI_DECL(char *crypt, [(const char *key, const char *salt)], [], [-lcrypt]) PSI_DECL(int dup, [(int fildes)]) PSI_DECL(int dup2, [(int fildes, int fildes2)]) - - AC_SEARCH_LIBS(encrypt, crypt, [ - PSI_DECL(void encrypt, [(char block@<:@64@:>@, int edflag)]) - ]) - + PSI_DECL(void encrypt, [(char block@<:@64@:>@, int edflag)], [], [-lcrypt]) PSI_DECL(void _exit, [(int status)]) PSI_DECL(int execl, [(const char *path, const char *arg)], vararg) PSI_DECL(int execle, [(const char *path, const char *arg)], vararg)