[rs-commit] r218 - in /mod_ca/trunk: configure configure.ac

rs-commit at redwax.eu rs-commit at redwax.eu
Sat Jan 4 18:41:09 CET 2020


Author: minfrin at redwax.eu
Date: Sat Jan  4 18:41:08 2020
New Revision: 218

Log:
Pass LIBS flag to get openssl detected correctly.

Modified:
    mod_ca/trunk/configure
    mod_ca/trunk/configure.ac

Modified: mod_ca/trunk/configure
==============================================================================
--- mod_ca/trunk/configure	(original)
+++ mod_ca/trunk/configure	Sat Jan  4 18:41:08 2020
@@ -4304,9 +4304,10 @@
 
 fi
 
-CFLAGS="$CFLAGS $openssl_CFLAGS"
-CPPFLAGS="$CPPFLAGS $openssl_CPPFLAGS"
-LDFLAGS="$LDFLAGS $openssl_LIBS"
+#CFLAGS="$CFLAGS $openssl_CFLAGS"
+#CPPFLAGS="$CPPFLAGS $openssl_CPPFLAGS"
+#LDFLAGS="$LDFLAGS $openssl_LIBS"
+LIBS="$LIBS $openssl_LIBS"
 
 # Checks for header files.
 

Modified: mod_ca/trunk/configure.ac
==============================================================================
--- mod_ca/trunk/configure.ac	(original)
+++ mod_ca/trunk/configure.ac	Sat Jan  4 18:41:08 2020
@@ -50,10 +50,7 @@
 
 # Checks for libraries.
 PKG_CHECK_MODULES([openssl], [openssl >= 0.9.8])
-
-CFLAGS="$CFLAGS $openssl_CFLAGS"
-CPPFLAGS="$CPPFLAGS $openssl_CPPFLAGS"
-LDFLAGS="$LDFLAGS $openssl_LIBS"
+LIBS="$LIBS $openssl_LIBS"
 
 # Checks for header files.
 AC_CHECK_HEADERS([apr_strings.h apr_hash.h openssl/err.h openssl/pem.h openssl/x509.h openssl/x509v3.h openssl/asn1.h time.h])



More information about the rs-commit mailing list