Changeset 8149 for trunk/configure.ac


Ignore:
Timestamp:
Apr 5, 2009, 3:49:03 PM (13 years ago)
Author:
charles
Message:

(trunk) If avahi's zeroconf implementation is available, use it to advertise our web ui

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r8142 r8149  
    253253fi
    254254
     255PKG_CHECK_MODULES([AVAHI],
     256                  [avahi-client],
     257                  [have_avahi=yes],
     258                  [have_avahi=no])
     259AC_ARG_ENABLE([avahi],
     260              AS_HELP_STRING([--enable-avahi],[enable mDNS advertising for the web interface]),,
     261              [enable_avahi=yes])
     262use_avahi=no
     263if test "x$enable_avahi" = "xyes" ; then
     264    if test "x$have_avahi" = "xyes"; then
     265        use_avahi=yes
     266        AC_DEFINE([HAVE_AVAHI], 1)
     267    fi
     268fi
     269
    255270AC_ARG_ENABLE([nls],
    256271              AS_HELP_STRING([--enable-nls],[enable native language support]),,
     
    376391          ... dbus-glib support:    ${use_dbus_glib}
    377392          ... libnotify support:    ${use_libnotify}
     393          ... avahi support:        ${use_avahi}
    378394        Build OS X client:          ${build_mac}
    379395
Note: See TracChangeset for help on using the changeset viewer.