~ubuntu-branches/ubuntu/raring/pam-pgsql/raring-proposed

« back to all changes in this revision

Viewing changes to tests/authenticate.c

  • Committer: Bazaar Package Importer
  • Author(s): Jan Dittberner
  • Date: 2010-04-02 12:51:17 UTC
  • mfrom: (1.1.4 upstream) (2.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100402125117-28caei1ses0vzdog
Tags: 0.7.1-1
* New upstream version
* disable debian/patches/ftbfs_544686.patch, upstream restructured
  configure.ac and it does not apply anymore
* debian/rules:
  - update configure call and make install call to match new upstream build
    system
  - remove sample.sql and CHANGELOG from installed files to let
    dh_installchangelogs and dh_installexamples do their jobs
* debian/control: update Standards-Version to 3.8.4 (no changes needed)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
#include <stdio.h>
6
6
#include <stdlib.h>
7
7
#include <security/pam_appl.h>
8
 
#ifdef __FreeBSD__
 
8
#if HAVE_SECURITY_OPENPAM_H
9
9
#include <security/openpam.h>
10
 
#else
 
10
#elif HAVE_SECURITY_PAM_MISC_H
11
11
#include <security/pam_misc.h>
12
12
#endif
13
13
 
14
14
static struct pam_conv conv = {
15
 
#ifdef __FreeBSD__
 
15
#if HAVE_OPENPAM_TTYCONV
16
16
        openpam_ttyconv,
17
 
#else
 
17
#elif HAVE_MISC_CONV
18
18
        misc_conv,
 
19
#else
 
20
# error "No PAM conversation found"
19
21
#endif
20
22
        NULL
21
23
};