]> eyrie.org Git - kerberos/kftgt.git/blob - configure.ac
Fix POD syntax errors in kftgt man page
[kerberos/kftgt.git] / configure.ac
1 dnl Process this file with autoconf to produce a configure script.
2 dnl $Id: configure.ac 3214 2007-06-06 07:19:30Z rra $
3
4 AC_REVISION([$Revision: 3214 $])
5 AC_PREREQ(2.57)
6 AC_INIT([kftgt], [1.14], [rra@stanford.edu])
7
8 m4_include([m4/krb5.m4])
9
10 dnl Checks for programs.
11 AC_PROG_CC
12 AC_PROG_INSTALL
13
14 dnl Checks for libraries.
15 AC_SEARCH_LIBS([gethostbyname], [nsl])
16 AC_SEARCH_LIBS([socket], [socket], ,
17     [AC_CHECK_LIB([nsl], [socket], [LIBS="-lnsl -lsocket $LIBS"], ,
18         [-lsocket])])
19 RRA_LIB_KRB5([krb4], [false])
20
21 dnl Checks for variable declarations.
22 AC_CHECK_DECLS([krb_ignore_ip_address], , ,
23 [#ifdef HAVE_KERBEROSIV_KRB_H
24 # include <kerberosIV/krb.h>
25 #else
26 # include <krb.h>
27 #endif])
28
29 dnl Checks for functions.
30 AC_TYPE_SIGNAL
31 AC_REPLACE_FUNCS([unsetenv])
32
33 dnl Output the results.
34 AC_CONFIG_HEADER([config.h])
35 AC_CONFIG_FILES([Makefile])
36 AC_OUTPUT