File: libwrap.m4

package info (click to toggle)
mpd 0.16.7-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,440 kB
  • sloc: ansic: 44,071; sh: 4,241; xml: 3,185; makefile: 1,032; cpp: 301
file content (14 lines) | stat: -rw-r--r-- 255 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
dnl
dnl Usage:
dnl AC_CHECK_LIBWRAP([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
dnl

AC_DEFUN([AC_CHECK_LIBWRAP],[
	AC_CHECK_HEADERS([tcpd.h],
		AC_CHECK_LIB([wrap], [request_init],
			[LIBWRAP_CFLAGS=""
			LIBWRAP_LDFLAGS="-lwrap"
			$1],
			$2),
		$2)
])