~ubuntu-branches/ubuntu/saucy/mpd/saucy

« back to all changes in this revision

Viewing changes to m4/libwrap.m4

  • Committer: Bazaar Package Importer
  • Author(s): Angel Abad
  • Date: 2011-02-02 12:26:30 UTC
  • mfrom: (1.5.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110202122630-bdyx8w4k94doz4fs
Tags: 0.16.1-1ubuntu1
* Merge from debian unstable. Remaining changes:
  - debian/control:
    + Don't build-depend on libmikmod2-dev (Debian bug #510675).
    + Move avahi-daemon from Suggests field to Recommends field.
  - debian/mpd.init.d:
    + Read mpd user from mpd.conf.
  - debian/control, debian/rules:
    + Add libmp3lame-dev to the build dependencies and enable lame.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl
 
2
dnl Usage:
 
3
dnl AC_CHECK_LIBWRAP([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
 
4
dnl
 
5
 
 
6
AC_DEFUN([AC_CHECK_LIBWRAP],[
 
7
        AC_CHECK_HEADERS([tcpd.h],
 
8
                AC_CHECK_LIB([wrap], [request_init],
 
9
                        [LIBWRAP_CFLAGS=""
 
10
                        LIBWRAP_LDFLAGS="-lwrap"
 
11
                        $1],
 
12
                        $2),
 
13
                $2)
 
14
])