Changeset e11b2a73788040feee20b7c7812c1231adeb7b46

Show
Ignore:
Timestamp:
04/14/07 21:49:44 (6 years ago)
Author:
Philipp Kern <phil@…>
Parents:
48e41225251ed074f4ebef01116ac2b5eb306ee8
Children:
73098a354d7a40c8f1a0dab4f91501303586d330
git-committer:
Philipp Kern <phil@0x539.de> / 2007-04-14T19:49:44Z+0000
Message:

2007-04-14 Phliipp Kern <phil@…>

  • configure.ac, Makefile.am: check for Avahi in obby and link against avahi-glib if Avahi proper is used for Zeroconf support; provide an additional define WITH_AVAHI for usage within the code
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r48e4122 re11b2a7  
     12007-04-14  Phliipp Kern <phil@0x539.de> 
     2 
     3        * configure.ac, Makefile.am: check for Avahi in obby and link against 
     4          avahi-glib if Avahi proper is used for Zeroconf support; provide 
     5          an additional define WITH_AVAHI for usage within the code 
     6 
    172007-04-09  Armin Burgmeier  <armin@0x539.de> 
    28 
  • Makefile.am

    r6411608 re11b2a7  
    1111gobby_CPPFLAGS  = $(gobby_CFLAGS) $(gtksourceview_CFLAGS) 
    1212gobby_CPPFLAGS += -I../inc/ -DLOCALE_DIR=\""$(datadir)/locale"\" 
     13 
     14if WITH_AVAHI 
     15gobby_LDADD += $(avahi_LIBS) 
     16gobby_CPPFLAGS += $(avahi_CFLAGS) 
     17endif 
    1318 
    1419if WITH_GNOME 
  • configure.ac

    r00e2d1a re11b2a7  
    7474AM_CONDITIONAL(WITH_ZEROCONF, test x$ac_cv_lib_obby_obby_has_zeroconf = xyes) 
    7575 
     76# Check for a specific Zeroconf support in obby, namely Avahi. 
     77AC_CHECK_LIB(obby, obby_has_avahi, [obby_has_avahi=yes], 
     78             [obby_has_avahi=no], [$pkg_cv_obby_LIBS]) 
     79if test "x$ac_cv_lib_obby_obby_has_avahi" = "xyes" ; then 
     80        AC_DEFINE([WITH_AVAHI], 1, 
     81                  [Define whether to use Avahi as Zeroconf backend]) 
     82        PKG_CHECK_MODULES([avahi], [avahi-glib]) 
     83fi 
     84AM_CONDITIONAL(WITH_AVAHI, test x$ac_cv_lib_obby_obby_has_avahi = xyes) 
     85 
    7686# Check if we are running on OS X, for special link handling. 
    7787if test "x$build_vendor" = "xapple" ; then