File: configure.ac

package info (click to toggle)
kftgt 1.12-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 496 kB
  • ctags: 139
  • sloc: ansic: 916; perl: 307; sh: 170; makefile: 139
file content (36 lines) | stat: -rw-r--r-- 856 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
dnl Process this file with autoconf to produce a configure script.
dnl $Id: configure.ac 2442 2006-02-09 00:59:27Z rra $

AC_REVISION([$Revision: 2442 $])
AC_PREREQ(2.57)
AC_INIT([kftgt], [1.12], [rra@stanford.edu])

m4_include([m4/krb5.m4])

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL

dnl Checks for libraries.
AC_SEARCH_LIBS([gethostbyname], [nsl])
AC_SEARCH_LIBS([socket], [socket], ,
    [AC_CHECK_LIB([nsl], [socket], [LIBS="-lnsl -lsocket $LIBS"], ,
        [-lsocket])])
RRA_LIB_KRB5([krb4], [false])

dnl Checks for variable declarations.
AC_CHECK_DECLS([krb_ignore_ip_address], , ,
[#ifdef HAVE_KERBEROSIV_KRB_H
# include <kerberosIV/krb.h>
#else
# include <krb.h>
#endif])

dnl Checks for functions.
AC_TYPE_SIGNAL
AC_REPLACE_FUNCS([unsetenv])

dnl Output the results.
AC_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT