Mercurial > pidgin
annotate src/protocols/irc/Makefile.am @ 14122:dabbcb9b013d
[gaim-migrate @ 16759]
This initializes threads for glib and dbus, because under some
circumstances multithreaded libraries are causing dbus badness
(namely, gnome-vfs). This fix doesn't really belong in Gaim, but in
the interest of expedience (we don't want to wait for upstream
libraries to get their initializations all worked around to make
things safe) the fix goes here. Note that all Gaim frontends will
have to initialize glib threads if other threaded libraries which
interact with glib or dbus or what-have-you come into play.
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Mon, 14 Aug 2006 21:46:17 +0000 |
| parents | 2cc05a9e944d |
| children |
| rev | line source |
|---|---|
| 6333 | 1 EXTRA_DIST = PROTOCOL Makefile.mingw |
|
2287
1a1d68e12a86
[gaim-migrate @ 2297]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2086
diff
changeset
|
2 |
| 2086 | 3 pkgdir = $(libdir)/gaim |
| 4 | |
| 8351 | 5 IRCSOURCES = irc.c parse.c cmds.c msgs.c irc.h dcc_send.c |
|
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
6 |
|
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
7 AM_CFLAGS = $(st) |
|
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
8 |
| 10889 | 9 libirc_la_LDFLAGS = -module -avoid-version $(GLIB_LIBS) |
| 2086 | 10 |
| 11 if STATIC_IRC | |
| 12 | |
| 8082 | 13 st = -DGAIM_STATIC_PRPL |
|
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
14 noinst_LIBRARIES = libirc.a |
| 2086 | 15 pkg_LTLIBRARIES = |
| 16 | |
|
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
17 libirc_a_SOURCES = $(IRCSOURCES) |
|
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
18 libirc_a_CFLAGS = $(AM_CFLAGS) |
|
3411
5df423e0bca8
[gaim-migrate @ 3430]
Christian Hammond <chipx86@chipx86.com>
parents:
2894
diff
changeset
|
19 |
| 2086 | 20 else |
| 21 | |
| 22 st = | |
| 23 pkg_LTLIBRARIES = libirc.la | |
| 24 noinst_LIBRARIES = | |
| 25 | |
|
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
26 libirc_la_SOURCES = $(IRCSOURCES) |
| 2086 | 27 |
| 28 endif | |
|
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
29 |
|
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
30 AM_CPPFLAGS = \ |
|
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
31 -I$(top_srcdir)/src \ |
|
6371
8f94cce8faa5
[gaim-migrate @ 6876]
Christian Hammond <chipx86@chipx86.com>
parents:
6360
diff
changeset
|
32 $(GLIB_CFLAGS) \ |
|
4202
59751fe608c5
[gaim-migrate @ 4438]
Christian Hammond <chipx86@chipx86.com>
parents:
3411
diff
changeset
|
33 $(DEBUG_CFLAGS) |
