[rs-commit] r243 - in /mod_csr/trunk: configure configure.ac

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Jan 5 01:00:56 CET 2020


Author: minfrin at redwax.eu
Date: Sun Jan  5 01:00:56 2020
New Revision: 243

Log:
Check for structures in openssl/x509.h.

Modified:
    mod_csr/trunk/configure
    mod_csr/trunk/configure.ac

Modified: mod_csr/trunk/configure
==============================================================================
--- mod_csr/trunk/configure	(original)
+++ mod_csr/trunk/configure	Sun Jan  5 01:00:56 2020
@@ -4915,7 +4915,11 @@
 
 
 # Checks for typedefs, structures, and compiler characteristics.
-ac_fn_c_check_member "$LINENO" "struct X509_req_st" "sig_alg" "ac_cv_member_struct_X509_req_st_sig_alg" "$ac_includes_default"
+ac_fn_c_check_member "$LINENO" "struct X509_req_st" "sig_alg" "ac_cv_member_struct_X509_req_st_sig_alg" "
+$ac_includes_default
+#include <openssl/x509.h>
+
+"
 if test "x$ac_cv_member_struct_X509_req_st_sig_alg" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF
@@ -4924,7 +4928,11 @@
 
 
 fi
-ac_fn_c_check_member "$LINENO" "struct X509_req_info_st" "st_blksize" "ac_cv_member_struct_X509_req_info_st_st_blksize" "$ac_includes_default"
+ac_fn_c_check_member "$LINENO" "struct X509_req_info_st" "st_blksize" "ac_cv_member_struct_X509_req_info_st_st_blksize" "
+$ac_includes_default
+#include <openssl/x509.h>
+
+"
 if test "x$ac_cv_member_struct_X509_req_info_st_st_blksize" = xyes; then :
 
 cat >>confdefs.h <<_ACEOF

Modified: mod_csr/trunk/configure.ac
==============================================================================
--- mod_csr/trunk/configure.ac	(original)
+++ mod_csr/trunk/configure.ac	Sun Jan  5 01:00:56 2020
@@ -58,7 +58,10 @@
 AC_CHECK_HEADERS([mod_ca.h])
 
 # Checks for typedefs, structures, and compiler characteristics.
-AC_CHECK_MEMBERS([struct X509_req_st.sig_alg, struct X509_req_info_st.st_blksize])
+AC_CHECK_MEMBERS([struct X509_req_st.sig_alg, struct X509_req_info_st.st_blksize], [], [], [
+AC_INCLUDES_DEFAULT
+#include <openssl/x509.h>
+])
 
 # Checks for library functions.
 AC_CHECK_FUNCS([X509_REQ_get0_signature X509_REQ_set1_signature])



More information about the rs-commit mailing list