Changeset 4762 for m4


Ignore:
Timestamp:
Jul 6, 2009, 3:43:11 PM (15 years ago)
Author:
Christoph Mayer
Message:

avahi optional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • m4/ax_avahi.m4

    r4733 r4762  
    55# DESCRIPTION
    66#
    7 #   Test for the Avahi library
     7#   Test for the Avahi library. The library is optional!
    88#
    99# LAST MODIFICATION
     
    1313AC_DEFUN([AX_AVAHI],
    1414[
    15   AC_CHECK_HEADERS(avahi-client/client.h,,
    16     [AC_MSG_ERROR([Avahi Client Library not found. Install libavahi-client-dev])])
     15  AC_CHECK_HEADERS(avahi-client/client.h,
     16    [AC_MSG_NOTICE([Avahi Client Library found])], )
    1717   
    18   AC_CHECK_HEADERS(avahi-common/timeval.h,,
    19     [AC_MSG_ERROR([Avahi Common Library not found. Install libavahi-common-dev])])
     18  AC_CHECK_HEADERS(avahi-common/timeval.h,
     19    [AC_MSG_NOTICE([Avahi Common Library found])], )
    2020   
    21   AC_CHECK_LIB([avahi-client],[avahi_entry_group_new],,
    22     [AC_MSG_ERROR([Avahi Client Library not found. Install libavahi-client-dev])])
     21  AC_CHECK_LIB([avahi-client],[avahi_entry_group_new],
     22    [AC_MSG_NOTICE([Avahi Client Library found])], )
    2323   
    24   AC_CHECK_LIB([avahi-common],[avahi_free],,
    25     [AC_MSG_ERROR([Avahi Client Library not found. Install libavahi-client-dev])])
     24  AC_CHECK_LIB([avahi-common],[avahi_free],
     25    [AC_MSG_NOTICE([Avahi Client Library found])], )
    2626])
Note: See TracChangeset for help on using the changeset viewer.