comparison configure.ac @ 3382:e9a89676d120

[gaim-migrate @ 3401] No longer do we build libicq.so -- run make in src/protocols/icq if you feel you need it for some reason (you don't--use OSCAR) TOC is no longer compiled statically by default. If you need it for some reason, you can load the libtoc.so plugin. Ari Pollak fixed up some #ifdefs to get IM images to work in gtk2, and he fixed a few gtk font warnings elsewhere. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Wed, 07 Aug 2002 23:25:33 +0000
parents b1cdee27ef02
children bfed0b1ac718
comparison
equal deleted inserted replaced
3381:5df81b058690 3382:e9a89676d120
66 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") 66 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes")
67 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes) 67 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes)
68 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes) 68 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes)
69 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="oscar toc") 69 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="oscar toc")
70 if test "x$STATIC_PRPLS" = "xall" ; then 70 if test "x$STATIC_PRPLS" = "xall" ; then
71 STATIC_PRPLS="gg icq irc jabber msn napster oscar toc yahoo zephyr" 71 STATIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr"
72 fi 72 fi
73 AC_SUBST(STATIC_PRPLS) 73 AC_SUBST(STATIC_PRPLS)
74 STATIC_LINK_LIBS= 74 STATIC_LINK_LIBS=
75 extern_init= 75 extern_init=
76 load_proto= 76 load_proto=
78 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a" 78 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a"
79 extern_init="$extern_init extern void ${i}_init(struct prpl *);" 79 extern_init="$extern_init extern void ${i}_init(struct prpl *);"
80 load_proto="$load_proto load_protocol(${i}_init, sizeof(struct prpl));" 80 load_proto="$load_proto load_protocol(${i}_init, sizeof(struct prpl));"
81 case $i in 81 case $i in
82 gg) static_gg=yes ;; 82 gg) static_gg=yes ;;
83 icq) static_icq=yes ;;
84 irc) static_irc=yes ;; 83 irc) static_irc=yes ;;
85 jabber) static_jabber=yes ;; 84 jabber) static_jabber=yes ;;
86 msn) static_msn=yes ;; 85 msn) static_msn=yes ;;
87 napster) static_napster=yes ;; 86 napster) static_napster=yes ;;
88 oscar) static_oscar=yes ;; 87 oscar) static_oscar=yes ;;
91 zephyr) static_zephyr=yes ;; 90 zephyr) static_zephyr=yes ;;
92 *) echo "Invalid static protocol $i!!" ; exit ;; 91 *) echo "Invalid static protocol $i!!" ; exit ;;
93 esac 92 esac
94 done 93 done
95 AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes") 94 AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes")
96 AM_CONDITIONAL(STATIC_ICQ, test "x$static_icq" = "xyes")
97 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") 95 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes")
98 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") 96 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes")
99 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") 97 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes")
100 AM_CONDITIONAL(STATIC_NAPSTER, test "x$static_napster" = "xyes") 98 AM_CONDITIONAL(STATIC_NAPSTER, test "x$static_napster" = "xyes")
101 AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") 99 AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes")