Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix the check for the ``crypt()`` function in the configure script. Patch by
Paul Smith and Victor Stinner.
6 changes: 4 additions & 2 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5237,12 +5237,14 @@ WITH_SAVE_ENV([
#include <crypt.h>
#endif
#include <unistd.h>
volatile void *func;
], [
#ifdef HAVE_CRYPT_R
void *x = crypt_r;
func = crypt_r;
#else
void *x = crypt;
func = crypt;
#endif
return (func != NULL);
])
], [ac_cv_crypt_crypt=yes], [ac_cv_crypt_crypt=no])
])
Expand Down
Loading