Mercurial > pidgin.yaz
comparison configure.ac @ 5449:9442e8d0b21d
[gaim-migrate @ 5836]
Decklin Foster writes:
"this makes --enable-static-prpls compile again.
i'm so lazy. it's only been what, well over a week since the new plugin
api broke this? :) i'm not sure if everything here is "correct" but i'm
sure someone can look over it. mainly, because i made _load return TRUE
all the time, for the sake of consistency/completeness i changed the
other applicable functions to do so as well. my feeling is, the only
time these things are going to be called in the static case is from
static_proto_init (since there's no plugin UI or whatever) and therefore
they always "succeed".
oh, yeah, and someone please test it *without* static prpls turned on.
like i said, i'm lazy. :)"
it works for me with no static prpls.
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Mon, 19 May 2003 17:27:03 +0000 |
parents | 73bde657e212 |
children | b6ef2b1cb70b |
comparison
equal
deleted
inserted
replaced
5448:aed28286e4fc | 5449:9442e8d0b21d |
---|---|
92 STATIC_LINK_LIBS= | 92 STATIC_LINK_LIBS= |
93 extern_init= | 93 extern_init= |
94 load_proto= | 94 load_proto= |
95 for i in $STATIC_PRPLS ; do | 95 for i in $STATIC_PRPLS ; do |
96 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a" | 96 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a" |
97 extern_init="$extern_init extern void ${i}_init(struct prpl *);" | 97 extern_init="$extern_init extern gboolean gaim_init_${i}_plugin();" |
98 load_proto="$load_proto load_protocol(${i}_init);" | 98 load_proto="$load_proto gaim_init_${i}_plugin();" |
99 case $i in | 99 case $i in |
100 gg) static_gg=yes ;; | 100 gg) static_gg=yes ;; |
101 irc) static_irc=yes ;; | 101 irc) static_irc=yes ;; |
102 jabber) static_jabber=yes ;; | 102 jabber) static_jabber=yes ;; |
103 msn) static_msn=yes ;; | 103 msn) static_msn=yes ;; |