apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r657268 - /apr/apr-util/branches/1.3.x/configure.in
Date Sat, 17 May 2008 01:08:51 GMT
Author: bojan
Date: Fri May 16 18:08:51 2008
New Revision: 657268

URL: http://svn.apache.org/viewvc?rev=657268&view=rev
Log:
Backport r657266 from the trunk.
Check for crypt before other tests - they may need it.

Modified:
    apr/apr-util/branches/1.3.x/configure.in

Modified: apr/apr-util/branches/1.3.x/configure.in
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.3.x/configure.in?rev=657268&r1=657267&r2=657268&view=diff
==============================================================================
--- apr/apr-util/branches/1.3.x/configure.in (original)
+++ apr/apr-util/branches/1.3.x/configure.in Fri May 16 18:08:51 2008
@@ -142,6 +142,21 @@
   ])
 AC_SUBST(APR_ICONV_DIR)
 
+AC_SEARCH_LIBS(crypt, crypt ufc)
+AC_MSG_CHECKING(if system crypt() function is threadsafe)
+if test "x$apu_crypt_threadsafe" = "x1"; then
+  AC_DEFINE(APU_CRYPT_THREADSAFE, 1, [Define if the system crypt() function is threadsafe])
+  msg="yes"
+else
+  msg="no"
+fi
+AC_MSG_RESULT([$msg])
+
+AC_CHECK_FUNCS(crypt_r, [ crypt_r="1" ], [ crypt_r="0" ])
+if test "$crypt_r" = "1"; then
+  APU_CHECK_CRYPT_R_STYLE
+fi
+
 dnl Find LDAP library
 dnl Determine what DBM backend type to use.
 dnl Find Expat
@@ -159,21 +174,6 @@
 APU_FIND_EXPAT
 APU_FIND_ICONV
 
-AC_SEARCH_LIBS(crypt, crypt ufc)
-AC_MSG_CHECKING(if system crypt() function is threadsafe)
-if test "x$apu_crypt_threadsafe" = "x1"; then
-  AC_DEFINE(APU_CRYPT_THREADSAFE, 1, [Define if the system crypt() function is threadsafe])
-  msg="yes"
-else
-  msg="no"
-fi
-AC_MSG_RESULT([$msg])
-
-AC_CHECK_FUNCS(crypt_r, [ crypt_r="1" ], [ crypt_r="0" ])
-if test "$crypt_r" = "1"; then
-  APU_CHECK_CRYPT_R_STYLE
-fi
-
 so_ext=$APR_SO_EXT
 lib_target=$APR_LIB_TARGET
 AC_SUBST(so_ext)



Mime
View raw message