@ -1096,16 +1096,15 @@ endif( WITH_LUA )
# # # # # c h e c k f o r a v a h i # # # # # # # # # # # # # # # # # # # # # # # # # # #
# # # # # c h e c k f o r a v a h i # # # # # # # # # # # # # # # # # # # # # # # # # # #
if ( WITH_AVAHI )
if ( WITH_AVAHI )
if ( WITH_QT4 )
pkg_search_module ( AVAHI_TQT avahi-tqt )
endif ( WITH_QT4 )
pkg_search_module ( AVAHI_CLIENT avahi-client )
if ( NOT AVAHI_TQT_FOUND OR NOT AVAHI_CLIENT_FOUND )
if ( WITH_QT3 )
tde_message_fatal ( "avahi support is requested, but not found on your system" )
pkg_search_module ( AVAHI avahi-tqt )
endif ( NOT AVAHI_TQT_FOUND OR NOT AVAHI_CLIENT_FOUND )
if ( NOT AVAHI_FOUND )
if ( NOT AVAHI_CLIENT_VERSION VERSION_LESS "0.6" )
message ( FATAL_ERROR "\navahi support are requested, but not found on your system" )
set ( AVAHI_API_0_6 1 )
endif ( NOT AVAHI_FOUND )
endif ( )
set ( AVAHI_API_0_6 1 )
set ( HAVE_DNSSD 1 )
endif ( WITH_QT3 )
endif ( )
endif ( )