comparison configure.ac @ 3572:bdd0bebd2d04

[gaim-migrate @ 3670] Phase II. No longer do you have to worry about protocol plugins. When Gaim probes plugins on load, it will detect protocol plugins and add them to the list of available protocols. When you try to log an account on with one of them, Gaim will automatically load the plugin--when no more accounts need the protocol--Gaim will automatically unload it. Protocol plugins are no longer available in the plugins ui, and no protocols are compiled statically by default. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 30 Sep 2002 01:05:18 +0000
parents cd938f18f3f8
children 2e681e84dd79
comparison
equal deleted inserted replaced
3571:a88c62c5b7da 3572:bdd0bebd2d04
65 65
66 AC_ARG_ENABLE(distrib,,,enable_distrib=no) 66 AC_ARG_ENABLE(distrib,,,enable_distrib=no)
67 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") 67 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes")
68 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes) 68 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes)
69 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes) 69 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes)
70 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="oscar") 70 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="")
71 if test "x$STATIC_PRPLS" = "xall" ; then 71 if test "x$STATIC_PRPLS" = "xall" ; then
72 STATIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr" 72 STATIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr"
73 fi 73 fi
74 AC_SUBST(STATIC_PRPLS) 74 AC_SUBST(STATIC_PRPLS)
75 STATIC_LINK_LIBS= 75 STATIC_LINK_LIBS=
76 extern_init= 76 extern_init=
77 load_proto= 77 load_proto=
78 for i in $STATIC_PRPLS ; do 78 for i in $STATIC_PRPLS ; do
79 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a" 79 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a"
80 extern_init="$extern_init extern void ${i}_init(struct prpl *);" 80 extern_init="$extern_init extern void ${i}_init(struct prpl *);"
81 load_proto="$load_proto load_protocol(${i}_init, sizeof(struct prpl));" 81 load_proto="$load_proto load_protocol(${i}_init);"
82 case $i in 82 case $i in
83 gg) static_gg=yes ;; 83 gg) static_gg=yes ;;
84 irc) static_irc=yes ;; 84 irc) static_irc=yes ;;
85 jabber) static_jabber=yes ;; 85 jabber) static_jabber=yes ;;
86 msn) static_msn=yes ;; 86 msn) static_msn=yes ;;