From 4bfb0ce61f7a528287d316b702e4e5d332d95fb7 Mon Sep 17 00:00:00 2001 From: Iker Pedrosa Date: Thu, 13 Apr 2023 09:56:50 +0200 Subject: pam_timestamp: Only build hmacfile when no openssl * modules/pam_timestamp/Makefile.am: Only build hmacfile target when openssl isn't enabled. Signed-off-by: Iker Pedrosa --- modules/pam_timestamp/Makefile.am | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'modules/pam_timestamp') diff --git a/modules/pam_timestamp/Makefile.am b/modules/pam_timestamp/Makefile.am index bc2f3617..27d61237 100644 --- a/modules/pam_timestamp/Makefile.am +++ b/modules/pam_timestamp/Makefile.am @@ -49,14 +49,11 @@ pam_timestamp_check_CFLAGS = $(AM_CFLAGS) @EXE_CFLAGS@ pam_timestamp_check_LDADD = $(top_builddir)/libpam/libpam.la $(SYSTEMD_LIBS) pam_timestamp_check_LDFLAGS = @EXE_LDFLAGS@ -if COND_USE_OPENSSL -hmacfile_SOURCES = hmac_openssl_wrapper.c -else +if !COND_USE_OPENSSL hmacfile_SOURCES = hmacfile.c hmacsha1.c sha1.c -endif hmacfile_LDADD = $(top_builddir)/libpam/libpam.la - check_PROGRAMS = hmacfile +endif if ENABLE_REGENERATE_MAN dist_noinst_DATA = README -- cgit v1.2.3