source: m4/ax_avahi.m4@ 4835

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

avahi optional

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