summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/apr_common.m437
-rw-r--r--configure.in4
2 files changed, 0 insertions, 41 deletions
diff --git a/build/apr_common.m4 b/build/apr_common.m4
index 73a435726..fc0ae5493 100644
--- a/build/apr_common.m4
+++ b/build/apr_common.m4
@@ -519,43 +519,6 @@ else
fi
AC_MSG_RESULT([$msg])
] )
-dnl
-dnl APR_CHECK_CRYPT_R_STYLE
-dnl
-dnl Decide which of a couple of flavors of crypt_r() is necessary for
-dnl this platform.
-dnl
-AC_DEFUN(APR_CHECK_CRYPT_R_STYLE,[
-AC_CACHE_CHECK(style of crypt_r, ac_cv_crypt_r_style,[
-dnl
-ac_cv_crypt_r_style=none
-dnl
-AC_TRY_COMPILE([
-#include <crypt.h>
-],[
-CRYPTD buffer;
-crypt_r("passwd", "hash", &buffer);
-], ac_cv_crypt_r_style=cryptd)
-dnl
-if test "$ac_cv_crypt_r_style" = "none"; then
-AC_TRY_COMPILE([
-#include <crypt.h>
-],[
-struct crypt_data buffer;
-crypt_r("passwd", "hash", &buffer);
-], ac_cv_crypt_r_style=struct_crypt_data)
-fi
-dnl
-])
-if test "$ac_cv_crypt_r_style" = "cryptd"; then
- AC_DEFINE(CRYPT_R_CRYPTD, 1, [Define if crypt_r has uses CRYPTD])
-fi
-# if we don't combine these conditions, CRYPT_R_STRUCT_CRYPT_DATA
-# will end up defined twice
-if test "$ac_cv_crypt_r_style" = "struct_crypt_data"; then
- AC_DEFINE(CRYPT_R_STRUCT_CRYPT_DATA, 1, [Define if crypt_r uses struct crypt_data])
-fi
-])
dnl
dnl APR_CHECK_DIRENT_INODE
diff --git a/configure.in b/configure.in
index 4645e5339..f7b9c99dd 100644
--- a/configure.in
+++ b/configure.in
@@ -848,10 +848,6 @@ AC_CHECK_FUNCS(strerror_r, [ strerror_r="1" ], [ strerror_r="0" ])
if test "$strerror_r" = "1"; then
APR_CHECK_STRERROR_R_RC
fi
-AC_CHECK_FUNCS(crypt_r, [ crypt_r="1" ], [ crypt_r="0" ])
-if test "$crypt_r" = "1"; then
- APR_CHECK_CRYPT_R_STYLE
-fi
AC_CHECK_FUNCS(mmap, [ mmap="1" ], [ mmap="0" ])
if test "$native_mmap_emul" = "1"; then
mmap="1"