]> andersk Git - openssh.git/blame - configure.in
Doc fixes
[openssh.git] / configure.in
CommitLineData
5881cd60 1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(auth-krb4.c)
3
4AC_CONFIG_HEADER(config.h)
5
6dnl Checks for programs.
7AC_PROG_CC
8AC_PROG_RANLIB
9
10dnl Checks for libraries.
11dnl Replace `main' with a function in -lcrypto:
12AC_CHECK_LIB(crypto, CRYPTO_lock, ,AC_MSG_ERROR([*** libcrypto missing - please install first ***]))
13dnl Replace `main' with a function in -lutil:
14AC_CHECK_LIB(util, logout, ,AC_MSG_ERROR([*** -lutil missing - this is part of libc. ***]))
15dnl Replace `main' with a function in -lz:
16AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***]))
4ecd19ea 17dnl check for nsl
18AC_CHECK_LIB(nsl, yp_match, , )
5881cd60 19dnl check for dl
e1a9c08d 20AC_CHECK_LIB(dl, dlopen, , )
5881cd60 21dnl check for pam
e1a9c08d 22AC_CHECK_LIB(pam, pam_authenticate, , )
5881cd60 23
24dnl Check for stuff in path.
25AC_CHECK_PROG(AR, ar, ar)
4ecd19ea 26AC_CHECK_PROG(RANLIB, ranlib, ranlib)
5881cd60 27
28dnl Check for ssl headers
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 ***])])])
30
31dnl Checks for header files.
e1a9c08d 32AC_CHECK_HEADERS(pty.h)
5881cd60 33
34dnl Checks for typedefs, structures, and compiler characteristics.
35AC_C_CONST
36AC_TYPE_UID_T
37AC_C_INLINE
38AC_TYPE_MODE_T
39AC_TYPE_OFF_T
40AC_TYPE_SIZE_T
41AC_STRUCT_ST_BLKSIZE
42AC_HEADER_TIME
43
44dnl Checks for library functions.
45AC_PROG_GCC_TRADITIONAL
e1a9c08d 46AC_CHECK_FUNCS(openpty strlcpy mkdtemp arc4random setproctitle)
5881cd60 47
48AC_OUTPUT(Makefile)
This page took 0.054405 seconds and 5 git commands to generate.