source: m4/ax_avahi.m4@ 4758

Last change on this file since 4758 was 4733, checked in by Christoph Mayer, 15 years ago

-integrated avahi and a bootstrap manager and stuff (still not working, but compiling)

File size: 678 bytes
Line 
1# SYNOPSIS
2#
3# AX_AVAHI()
4#
5# DESCRIPTION
6#
7# Test for the Avahi library
8#
9# LAST MODIFICATION
10#
11# 2009-07-03
12
13AC_DEFUN([AX_AVAHI],
14[
15 AC_CHECK_HEADERS(avahi-client/client.h,,
16 [AC_MSG_ERROR([Avahi Client Library not found. Install libavahi-client-dev])])
17
18 AC_CHECK_HEADERS(avahi-common/timeval.h,,
19 [AC_MSG_ERROR([Avahi Common Library not found. Install libavahi-common-dev])])
20
21 AC_CHECK_LIB([avahi-client],[avahi_entry_group_new],,
22 [AC_MSG_ERROR([Avahi Client Library not found. Install libavahi-client-dev])])
23
24 AC_CHECK_LIB([avahi-common],[avahi_free],,
25 [AC_MSG_ERROR([Avahi Client Library not found. Install libavahi-client-dev])])
26])
Note: See TracBrowser for help on using the repository browser.