summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d15ec71..c2ee23d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -18,12 +18,15 @@ AC_PROG_CPP
AM_PROG_CC_C_O
dnl Checks for libraries.
-
AC_CHECK_LIB(pthread, pthread_mutex_lock,,
[AC_MSG_ERROR([could not find pthread_mutex_lock])])
AC_CHECK_LIB(dl, dlopen,,
[AC_MSG_ERROR([could not find dlopen])])
+
+dnl Checks for typedefs, structures, and compiler characteristics.
+AC_CHECK_MEMBERS([struct dirent.d_type],,,[#include <dirent.h>])
+
# --------------------------------------------------------------------
# PAM Module Directory