From 0b494dbb8e58cb7cbd00aa018a540ef7f7acbc90 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Thu, 29 Jul 2021 11:02:38 -0400 Subject: [PATCH] fix build for lasso/utils.h and various LASSO_SIGNATURE_METHOD_ options (#70) --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e62768e..06c9915 100644 --- a/configure.ac +++ b/configure.ac @@ -106,15 +106,15 @@ AC_SUBST(XMLSEC_LIBS) # found in the LASSO_CFLAGS. Save and restore CFLAGS and CPPFLAGS. saved_CFLAGS=$CFLAGS saved_CPPFLAGS=$CPPFLAGS -CFLAGS="$CFLAGS $pkg_cv_LASSO_CFLAGS" -CPPFLAGS="$CPPFLAGS $pkg_cv_LASSO_CFLAGS" +CFLAGS="$CFLAGS $pkg_cv_LASSO_CFLAGS $GLIB_CFLAGS $XMLSEC_CFLAGS" +CPPFLAGS="$CPPFLAGS $pkg_cv_LASSO_CFLAGS $GLIB_CFLAGS $XMLSEC_CFLAGS" AC_CHECK_HEADER([lasso/utils.h], LASSO_CFLAGS="$LASSO_CFLAGS -DHAVE_LASSO_UTILS_H") CFLAGS=$saved_CFLAGS CPPFLAGS=$saved_CPPFLAGS # Determine what definitions exist in Lasso saved_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS $pkg_cv_LASSO_CFLAGS" +CFLAGS="$CFLAGS $pkg_cv_LASSO_CFLAGS $GLIB_CFLAGS $LIBXML2_CFLAGS" AC_CHECK_DECLS([LASSO_SIGNATURE_METHOD_RSA_SHA256, LASSO_SIGNATURE_METHOD_RSA_SHA384, LASSO_SIGNATURE_METHOD_RSA_SHA512,