PAC_FUNC_CRYPT

Check that the function crypt is defined

Synopsis

PAC_FUNC_CRYPT

Output Effects

In Solaris, the crypt function is not defined in unistd unless _XOPEN_SOURCE is defines and _XOPEN_VERSION is 4 or greater. We test by looking for a missing crypt by defining our own incompatible one and trying to compile it. Defines NEED_CRYPT_PROTOTYPE if no prototype is found.