Changeset e11b2a73788040feee20b7c7812c1231adeb7b46
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r48e4122
|
re11b2a7
|
|
| | 1 | 2007-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 | |
| 1 | 7 | 2007-04-09 Armin Burgmeier <armin@0x539.de> |
| 2 | 8 | |
-
|
r6411608
|
re11b2a7
|
|
| 11 | 11 | gobby_CPPFLAGS = $(gobby_CFLAGS) $(gtksourceview_CFLAGS) |
| 12 | 12 | gobby_CPPFLAGS += -I../inc/ -DLOCALE_DIR=\""$(datadir)/locale"\" |
| | 13 | |
| | 14 | if WITH_AVAHI |
| | 15 | gobby_LDADD += $(avahi_LIBS) |
| | 16 | gobby_CPPFLAGS += $(avahi_CFLAGS) |
| | 17 | endif |
| 13 | 18 | |
| 14 | 19 | if WITH_GNOME |
-
|
r00e2d1a
|
re11b2a7
|
|
| 74 | 74 | AM_CONDITIONAL(WITH_ZEROCONF, test x$ac_cv_lib_obby_obby_has_zeroconf = xyes) |
| 75 | 75 | |
| | 76 | # Check for a specific Zeroconf support in obby, namely Avahi. |
| | 77 | AC_CHECK_LIB(obby, obby_has_avahi, [obby_has_avahi=yes], |
| | 78 | [obby_has_avahi=no], [$pkg_cv_obby_LIBS]) |
| | 79 | if 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]) |
| | 83 | fi |
| | 84 | AM_CONDITIONAL(WITH_AVAHI, test x$ac_cv_lib_obby_obby_has_avahi = xyes) |
| | 85 | |
| 76 | 86 | # Check if we are running on OS X, for special link handling. |
| 77 | 87 | if test "x$build_vendor" = "xapple" ; then |