summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2019-11-10 20:06:56 +0100
committerGilles Chehade <gilles@poolp.org>2019-11-10 20:06:56 +0100
commitd1f574e336627914995363a147614067bd939ca6 (patch)
tree01d1b32d4c9e945887603f997405115b43582392
parentremove bsd-waitpid.c from build (diff)
downloadOpenSMTPD-d1f574e336627914995363a147614067bd939ca6.tar.xz
OpenSMTPD-d1f574e336627914995363a147614067bd939ca6.zip
Revert "woops:"
This reverts commit 27bd00e22df900c69aa3a4f1bffeeeeefcfd7fc8.
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 13c8aa5f..c2b25711 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1727,6 +1727,7 @@ fi
AC_CHECK_HEADER([event.h], ,[AC_MSG_ERROR([*** event.h missing - please install libevent ***])],
[#include <sys/types.h>])
+LIBS_BACKUP=$LIBS
LIBS="-levent $LIBS"
AC_MSG_CHECKING([if programs using libevent functions will link])
AC_LINK_IFELSE(
@@ -1742,6 +1743,7 @@ AC_LINK_IFELSE(
AC_MSG_RESULT([no])
]
)
+LIBS=$LIBS_BACKUP
#l2174 (customized, bu adding -lssl to LIBS)