source: m4/ax_avahi.m4@ 4762

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

avahi optional

File size: 580 bytes
Line 
1# SYNOPSIS
2#
3# AX_AVAHI()
4#
5# DESCRIPTION
6#
7# Test for the Avahi library. The library is optional!
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_NOTICE([Avahi Client Library found])], )
17
18 AC_CHECK_HEADERS(avahi-common/timeval.h,
19 [AC_MSG_NOTICE([Avahi Common Library found])], )
20
21 AC_CHECK_LIB([avahi-client],[avahi_entry_group_new],
22 [AC_MSG_NOTICE([Avahi Client Library found])], )
23
24 AC_CHECK_LIB([avahi-common],[avahi_free],
25 [AC_MSG_NOTICE([Avahi Client Library found])], )
26])
Note: See TracBrowser for help on using the repository browser.