~ubuntu-branches/ubuntu/vivid/libpam-tacplus/vivid

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Jeroen Nijhof
  • Date: 2011-09-05 16:01:00 UTC
  • Revision ID: james.westby@ubuntu.com-20110905160100-7o4aqefbiflj4232
Tags: upstream-1.3.5
ImportĀ upstreamĀ versionĀ 1.3.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl
 
2
dnl File:        configure.in
 
3
dnl Revision:    $Id: configure.ac,v 1.4 2010/06/11 12:04:29 j-nijhof Exp $
 
4
dnl Created:     2010/06/09
 
5
dnl Author:      Jeroen Nijhof <jeroen@nijhofnet.nl>
 
6
dnl              Benoit Donneaux <benoit.donneaux@gmail.com>
 
7
dnl
 
8
dnl Process this file with autoconf to produce a configure script
 
9
dnl You need autoconf 2.59 or better!
 
10
dnl
 
11
dnl ---------------------------------------------------------------------------
 
12
 
 
13
AC_PREREQ(2.59)
 
14
AC_COPYRIGHT([
 
15
See the included file: COPYING for copyright information.
 
16
])
 
17
AC_INIT(pam_tacplus, 1.3.5, [jeroen@nijhofnet.nl,pawel.krawczyk@hush.com])
 
18
AC_CONFIG_AUX_DIR(config)
 
19
AM_INIT_AUTOMAKE
 
20
AC_CONFIG_SRCDIR([pam_tacplus.c])
 
21
AC_CONFIG_HEADER([config.h])
 
22
 
 
23
dnl --------------------------------------------------------------------
 
24
dnl Checks for programs.
 
25
AC_PROG_CC
 
26
AC_PROG_INSTALL
 
27
AC_PROG_LN_S
 
28
AC_PROG_MAKE_SET
 
29
AM_PROG_LIBTOOL
 
30
 
 
31
dnl --------------------------------------------------------------------
 
32
dnl Checks for libraries.
 
33
AC_CHECK_LIB(pam, pam_start)
 
34
AC_CHECK_LIB(tac, tac_connect)
 
35
 
 
36
case "$host" in
 
37
        sparc-* | sparc64-*)
 
38
                LIBS="$LIBS -lresolv";;
 
39
esac
 
40
 
 
41
dnl --------------------------------------------------------------------
 
42
dnl Checks for header files.
 
43
AC_HEADER_STDC
 
44
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/socket.h sys/time.h syslog.h unistd.h])
 
45
 
 
46
dnl --------------------------------------------------------------------
 
47
dnl Checks for typedefs, structures, and compiler characteristics.
 
48
AC_C_CONST
 
49
AC_TYPE_SIZE_T
 
50
AC_HEADER_TIME
 
51
 
 
52
dnl --------------------------------------------------------------------
 
53
dnl Checks for library functions.
 
54
AC_FUNC_REALLOC
 
55
AC_FUNC_SELECT_ARGTYPES
 
56
AC_TYPE_SIGNAL
 
57
AC_CHECK_FUNCS([bzero gethostbyname gettimeofday inet_ntoa select socket])
 
58
 
 
59
dnl --------------------------------------------------------------------
 
60
dnl Generate made files
 
61
AC_CONFIG_FILES([Makefile
 
62
                 pam_tacplus.spec])
 
63
AC_OUTPUT