You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#MIN_CONFIG
|
|
|
|
|
|
|
|
# Check for pkg-config manually first, as if its not installed the
|
|
|
|
# PKG_PROG_PKG_CONFIG macro won't be defined.
|
|
|
|
m4_pattern_allow(PKG_CONFIG_MIN_VERSION)
|
|
|
|
AC_CHECK_PROG(have_pkg_config, pkg-config, yes, no)
|
|
|
|
|
|
|
|
if test x"$have_pkg_config" == xno; then
|
|
|
|
AC_MSG_ERROR(pkg-config is required to install this program)
|
|
|
|
fi
|
|
|
|
|
|
|
|
PKG_PROG_PKG_CONFIG
|
|
|
|
|
|
|
|
PKG_CHECK_MODULES( AVAHI, [ avahi-qt3 >= 0.4 , avahi-client >= 0.4 ])
|
|
|
|
AC_SUBST(AVAHI_CFLAGS)
|
|
|
|
AC_SUBST(AVAHI_LIBS)
|
|
|
|
PKG_CHECK_EXISTS( [ avahi-client >= 0.6], AC_DEFINE(AVAHI_API_0_6,1,[Avahi API 0.6] ) )
|