apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r1346865 - /apr/apr/trunk/build/crypto.m4
Date Wed, 06 Jun 2012 12:53:33 GMT
Author: jorton
Date: Wed Jun  6 12:53:33 2012
New Revision: 1346865

URL: http://svn.apache.org/viewvc?rev=1346865&view=rev
Log:
* build/crypto.m4: Always define apu_have_openssl, apu_have_nss to avoid
  sh warning when testing these variables if modular-dso is disabled.

Modified:
    apr/apr/trunk/build/crypto.m4

Modified: apr/apr/trunk/build/crypto.m4
URL: http://svn.apache.org/viewvc/apr/apr/trunk/build/crypto.m4?rev=1346865&r1=1346864&r2=1346865&view=diff
==============================================================================
--- apr/apr/trunk/build/crypto.m4 (original)
+++ apr/apr/trunk/build/crypto.m4 Wed Jun  6 12:53:33 2012
@@ -23,6 +23,8 @@ dnl APU_CHECK_CRYPTO: look for crypto li
 dnl
 AC_DEFUN([APU_CHECK_CRYPTO], [
   apu_have_crypto=0
+  apu_have_openssl=0
+  apu_have_nss=0
 
   old_libs="$LIBS"
   old_cppflags="$CPPFLAGS"
@@ -48,7 +50,6 @@ AC_DEFUN([APU_CHECK_CRYPTO], [
 dnl
 
 AC_DEFUN([APU_CHECK_CRYPTO_OPENSSL], [
-  apu_have_openssl=0
   openssl_have_headers=0
   openssl_have_libs=0
 
@@ -137,7 +138,6 @@ AC_DEFUN([APU_CHECK_CRYPTO_OPENSSL], [
 ])
 
 AC_DEFUN([APU_CHECK_CRYPTO_NSS], [
-  apu_have_nss=0
   nss_have_headers=0
   nss_have_libs=0
 



Mime
View raw message