aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index c2b25711..8641c50a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -168,13 +168,15 @@ AC_CHECK_HEADERS([bsd/libutil.h libutil.h])
AC_CHECK_HEADER([fts.h],
[],
- [AC_MSG_ERROR([*** fts.h missing - please install libfts ***])],
+ [AC_MSG_ERROR([*** fts.h missing - please install fts library ***])],
[
#include <sys/types.h>
#include <sys/stat.h>
])
+
+
#
# CHECKS FOR TYPES
#
@@ -584,6 +586,7 @@ AC_CHECK_DECL([strsep],
])
+
# These functions might be found in libressl
AC_CHECK_DECLS([strlcat, strlcpy],
[],
@@ -1617,7 +1620,7 @@ AC_ARG_WITH([libasr],
fi ]
)
-AC_CHECK_HEADER([asr.h], ,[AC_MSG_ERROR([*** asr.h missing - please install libasr ***])],
+AC_CHECK_HEADER([asr.h], ,[AC_MSG_ERROR([*** asr.h missing - please install first or check config.log ***])],
[#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>])
@@ -1725,10 +1728,8 @@ if test "x${need_libevent_autodetect}" != "xno"; then
done
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(
[AC_LANG_PROGRAM([[
@@ -1743,7 +1744,6 @@ AC_LINK_IFELSE(
AC_MSG_RESULT([no])
]
)
-LIBS=$LIBS_BACKUP
#l2174 (customized, bu adding -lssl to LIBS)