Various automake pitfalls fixed.
---
configure.ac | 2 +-
extras/wip/filters/filter-dnsbl/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index c1c2b88..0258389 100644
--- a/configure.ac
+++ b/configure.ac
@@ -368,7 +368,7 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 <<
16))
asr_in_libc=1
;;
esac
-AM_CONDITIONAL([NO_LIBASR], [test $asr_in_libc=1])
+AM_CONDITIONAL([NO_LIBASR], [test x$asr_in_libc = x1])
AC_MSG_CHECKING([compiler and flags for sanity])
AC_RUN_IFELSE([AC_LANG_PROGRAM([[ #include <stdio.h> ]], [[ exit(0); ]])],
diff --git a/extras/wip/filters/filter-dnsbl/Makefile.am
b/extras/wip/filters/filter-dnsbl/Makefile.am
index 74267d0..f195562 100644
--- a/extras/wip/filters/filter-dnsbl/Makefile.am
+++ b/extras/wip/filters/filter-dnsbl/Makefile.am
@@ -7,5 +7,5 @@ filter_dnsbl_SOURCES = $(SRCS)
filter_dnsbl_SOURCES += $(filters_srcdir)/filter-dnsbl/filter_dnsbl.c
if !NO_LIBASR
-filter_dnsbl_LDADD = -lasr
+LDADD += -lasr
endif
--
2.4.2
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]