From dced05942c5a28450dfa8de02f58f8b6ac66de4e Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 3 Dec 2006 10:27:08 +0000 Subject: Search for dlfcn.h and dlsym() (needed for new intercept code) (refs #3, refs #9) --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 99165a38..8b0cf7d0 100644 --- a/configure.ac +++ b/configure.ac @@ -94,7 +94,7 @@ esac AC_HEADER_STDC AC_HEADER_SYS_WAIT -AC_CHECK_HEADERS([execinfo.h process.h pwd.h signal.h]) +AC_CHECK_HEADERS([dlfcn.h execinfo.h process.h pwd.h signal.h]) AC_CHECK_HEADERS([syslog.h time.h]) AC_CHECK_HEADERS([netinet/in.h]) AC_CHECK_HEADERS([sys/param.h sys/socket.h sys/time.h sys/types.h sys/wait.h]) @@ -107,6 +107,8 @@ if test "$have_regex_h" = "yes"; then AC_SEARCH_LIBS([regcomp], ["pcreposix -lpcre"]) fi +AC_SEARCH_LIBS([dlsym], ["dl"]) + ### Checks for typedefs, structures, and compiler characteristics. AC_CHECK_TYPES([u_int8_t, u_int16_t, u_int32_t, u_int64_t]) -- cgit v1.2.3