X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fstdlib.m4;h=4f2f7397fb9dfc7919cf58a1fca6fff6551e7598;hb=7fa8158cfcdd526f247d063202dc57c7f76901d8;hp=99ca54eb81fd3d9f95e84e2227620d6892275e6c;hpb=c0999079ea85fecba8ab5eec386541fc1ce733b7;p=m6w6%2Fext-psi diff --git a/m4/stdlib.m4 b/m4/stdlib.m4 index 99ca54e..4f2f739 100644 --- a/m4/stdlib.m4 +++ b/m4/stdlib.m4 @@ -57,7 +57,11 @@ 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)]) - PSI_DECL(void setkey, [(char *key)]) + + AC_SEARCH_LIBS(setkey, crypt, [ + PSI_DECL(void setkey, [(char *key)]) + ]) + PSI_DECL(char *setstate, [(char *state)]) PSI_DECL(void srand, [(unsigned seed)]) PSI_DECL(void srand48, [(long seed)])