summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in17
1 files changed, 4 insertions, 13 deletions
diff --git a/configure.in b/configure.in
index b6038523b..8df3ffc76 100644
--- a/configure.in
+++ b/configure.in
@@ -16,12 +16,10 @@ dnl Replace `main' with a function in -lz:
16AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) 16AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
17dnl check for nsl 17dnl check for nsl
18AC_CHECK_LIB(nsl, yp_match, , ) 18AC_CHECK_LIB(nsl, yp_match, , )
19dnl check for pwdb
20AC_CHECK_LIB(pwdb, pwdb_new, , )
21dnl check for dl 19dnl check for dl
22AC_CHECK_LIB(dl, dlopen, ,AC_MSG_ERROR([*** libdl missing - please install first ***])) 20AC_CHECK_LIB(dl, dlopen, , )
23dnl check for pam 21dnl check for pam
24AC_CHECK_LIB(pam, pam_authenticate, ,AC_MSG_ERROR([*** PAM missing - please install first ***])) 22AC_CHECK_LIB(pam, pam_authenticate, , )
25 23
26dnl Check for stuff in path. 24dnl Check for stuff in path.
27AC_CHECK_PROG(AR, ar, ar) 25AC_CHECK_PROG(AR, ar, ar)
@@ -31,10 +29,7 @@ dnl Check for ssl headers
31AC_CHECK_HEADER(openssl/bn.h, [AC_DEFINE(HAVE_OPENSSL)], [AC_CHECK_HEADER(ssl/bn.h, [AC_DEFINE(HAVE_SSL)], [AC_MSG_ERROR([*** ssl library missing - please install first ***])])]) 29AC_CHECK_HEADER(openssl/bn.h, [AC_DEFINE(HAVE_OPENSSL)], [AC_CHECK_HEADER(ssl/bn.h, [AC_DEFINE(HAVE_SSL)], [AC_MSG_ERROR([*** ssl library missing - please install first ***])])])
32 30
33dnl Checks for header files. 31dnl Checks for header files.
34AC_HEADER_DIRENT 32AC_CHECK_HEADERS(pty.h)
35AC_HEADER_STDC
36AC_HEADER_SYS_WAIT
37AC_CHECK_HEADERS(fcntl.h paths.h sys/ioctl.h sys/time.h syslog.h unistd.h)
38 33
39dnl Checks for typedefs, structures, and compiler characteristics. 34dnl Checks for typedefs, structures, and compiler characteristics.
40AC_C_CONST 35AC_C_CONST
@@ -48,10 +43,6 @@ AC_HEADER_TIME
48 43
49dnl Checks for library functions. 44dnl Checks for library functions.
50AC_PROG_GCC_TRADITIONAL 45AC_PROG_GCC_TRADITIONAL
51AC_FUNC_MEMCMP 46AC_CHECK_FUNCS(openpty strlcpy mkdtemp arc4random setproctitle)
52AC_TYPE_SIGNAL
53AC_FUNC_UTIME_NULL
54AC_FUNC_VPRINTF
55AC_CHECK_FUNCS(gethostname gettimeofday mkdir rmdir select socket strerror strspn strtol strlcpy mkdtemp arc4random setproctitle)
56 47
57AC_OUTPUT(Makefile) 48AC_OUTPUT(Makefile)