diff options
author | Gilles Chehade <gilles@poolp.org> | 2020-01-09 15:50:28 +0100 |
---|---|---|
committer | Gilles Chehade <gilles@poolp.org> | 2020-01-09 15:50:28 +0100 |
commit | 619fe8e5f25bf710d7b959794f3fa1ba142c4593 (patch) | |
tree | 0ddbb4ce5f66a5c7ee135d59c6bce4e0b7b67643 | |
parent | Merge branch 'portable' of ssh://github.com/OpenSMTPD/OpenSMTPD into portable (diff) | |
download | OpenSMTPD-619fe8e5f25bf710d7b959794f3fa1ba142c4593.tar.xz OpenSMTPD-619fe8e5f25bf710d7b959794f3fa1ba142c4593.zip |
if asr is installed AND we're not on OpenBSD ... add -lasr
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 57a31027..d485da5e 100644 --- a/configure.ac +++ b/configure.ac @@ -1973,6 +1973,12 @@ AM_CONDITIONAL([HAVE_DB_API], [test "x$use_db_api" = "x1"]) AM_COND_IF([HAVE_DB_API], [AC_DEFINE([HAVE_DB_API], [1], [Define to 1 if HAVE_DB_API])]) + +if test "$need_libasr" = "no" -a "x$ac_cv_search_event_asr_run" = "xno"; then + LIBS="$LIBS -lasr" +fi + + LIBS="$LIBS ${SMTPDLIBS}" ##end of chl |