Bug #11648 Updated: Configure fails to detect crypt()

From: Date: Thu, 26 Jul 2001 06:20:04 +0000
Subject: Bug #11648 Updated: Configure fails to detect crypt()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61032@lists.php.net to get a copy of this message
ID: 11648 Updated by: andy Reported By: thomasdeniau@mac.com Old Status: Feedback Status: Closed Bug Type: *Encryption and hash functions Operating System: Mac OS X 10.0.4 (Darwin 1.3.7) PHP Version: 4.0.6 New Comment: no feedback... Previous Comments: ------------------------------------------------------------------------ [2001-06-25 10:11:28] sniper@php.net It also checks for unistd.h. But it doesn't affect whether or not crypt() is found. The check for crypt() is later in the configure and it shouldn't matter if crypt.h is found or not. Please send me your config.log file so I can see what might be the cause. I wonder if there is libcrypt in your system? Or is crypt() provided by some other library? --Jani ------------------------------------------------------------------------ [2001-06-25 03:30:08] thomasdeniau@mac.com When I run configure, it says : checking for crypt.h... no And so disables crypt() function. My system doesn't have crypt.h ; crypt() function is in unistd.h. I've managed to compile a small C program which includes unistd.h, and then uses crypt(), and everything works properly. Can configure check for crypt() in unistd.h ? ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=11648&edit=1

« previous php.dev (#61032) next »