num_exp: RPN calculator
[m6w6/ext-psi] / m4 / posix / stdlib.m4
index 60a301558726182f2d05fdb1e1565816131692db..a2a85be7e9b27b36c94564a2178a08ef4f371dd7 100644 (file)
@@ -49,7 +49,7 @@ PSI_CHECK_STDLIB() {
        PSI_DECL(long nrand48, [(unsigned short xsubi@<:@3@:>@)])
        PSI_DECL(int posix_openpt, [(int flags)])
        PSI_DECL(char *ptsname, [(int fd)])
-       PSI_DECL(char *pstname_r, [(int fd, char *buf, size_t buflen)])
+       PSI_DECL(int ptsname_r, [(int fd, char *buf, size_t buflen)])
        PSI_DECL(int putenv, [(char *var)])
        PSI_DECL(int rand, [()])
        PSI_DECL(int rand_r, [(unsigned *seed_p)])
@@ -57,11 +57,7 @@ PSI_CHECK_STDLIB() {
        PSI_DECL(char *realpath, [(char *path, char *resolved)])
        PSI_DECL(unsigned short *seed48, [(unsigned short seed16v@<:@3@:>@)])
        PSI_DECL(int setenv, [(char *var, char *val, int overwrite)])
-       
-       AC_SEARCH_LIBS(setkey, crypt, [
-               PSI_DECL(void setkey, [(char *key)])
-       ])
-       
+       PSI_DECL(void setkey, [(char *key)], [], [-lcrypt])
        PSI_DECL(char *setstate, [(char *state)])
        PSI_DECL(void srand, [(unsigned seed)])
        PSI_DECL(void srand48, [(long seed)])