comparison configure.ac @ 8852:abb2028f53e0

[gaim-migrate @ 9619] OK, this works on at least one system with SILC and one without. Our configure.ac plan is craptastic, someone remind me to give it some time when I have time to give. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Sat, 01 May 2004 22:10:11 +0000
parents e4f4756b8996
children ec932c66392b
comparison
equal deleted inserted replaced
8851:e4f4756b8996 8852:abb2028f53e0
125 DYNAMIC_PRPLS="" 125 DYNAMIC_PRPLS=""
126 fi 126 fi
127 127
128 if test "x$STATIC_PRPLS" = "xall" ; then 128 if test "x$STATIC_PRPLS" = "xall" ; then
129 STATIC_PRPLS="gg irc jabber msn napster novell oscar silc yahoo zephyr" 129 STATIC_PRPLS="gg irc jabber msn napster novell oscar silc yahoo zephyr"
130 fi
131 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then
132 STATIC_PRPLS=`echo $STATIC_PRPLS | sed 's/silc//'`
130 fi 133 fi
131 AC_SUBST(STATIC_PRPLS) 134 AC_SUBST(STATIC_PRPLS)
132 STATIC_LINK_LIBS= 135 STATIC_LINK_LIBS=
133 extern_init= 136 extern_init=
134 load_proto= 137 load_proto=
172 175
173 AC_ARG_WITH(dynamic_prpls, [ --with-dynamic-prpls specify which protocols to build dynamically],[DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`]) 176 AC_ARG_WITH(dynamic_prpls, [ --with-dynamic-prpls specify which protocols to build dynamically],[DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`])
174 if test "x$DYNAMIC_PRPLS" = "xall" ; then 177 if test "x$DYNAMIC_PRPLS" = "xall" ; then
175 DYNAMIC_PRPLS="gg irc jabber msn napster novell oscar silc yahoo zephyr" 178 DYNAMIC_PRPLS="gg irc jabber msn napster novell oscar silc yahoo zephyr"
176 fi 179 fi
180 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then
181 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | sed 's/silc//'`
182 fi
177 AC_SUBST(DYNAMIC_PRPLS) 183 AC_SUBST(DYNAMIC_PRPLS)
178 for i in $DYNAMIC_PRPLS ; do 184 for i in $DYNAMIC_PRPLS ; do
179 case $i in 185 case $i in
180 gg) dynamic_gg=yes ;; 186 gg) dynamic_gg=yes ;;
181 irc) dynamic_irc=yes ;; 187 irc) dynamic_irc=yes ;;
199 AM_CONDITIONAL(DYNAMIC_MSN, test "x$dynamic_msn" = "xyes") 205 AM_CONDITIONAL(DYNAMIC_MSN, test "x$dynamic_msn" = "xyes")
200 AM_CONDITIONAL(DYNAMIC_NAPSTER, test "x$dynamic_napster" = "xyes") 206 AM_CONDITIONAL(DYNAMIC_NAPSTER, test "x$dynamic_napster" = "xyes")
201 AM_CONDITIONAL(DYNAMIC_NOVELL, test "x$dynamic_novell" = "xyes") 207 AM_CONDITIONAL(DYNAMIC_NOVELL, test "x$dynamic_novell" = "xyes")
202 AM_CONDITIONAL(DYNAMIC_OSCAR, test "x$dynamic_oscar" = "xyes") 208 AM_CONDITIONAL(DYNAMIC_OSCAR, test "x$dynamic_oscar" = "xyes")
203 AM_CONDITIONAL(DYNAMIC_RENDEZVOUS, test "x$dynamic_rendezvous" = "xyes") 209 AM_CONDITIONAL(DYNAMIC_RENDEZVOUS, test "x$dynamic_rendezvous" = "xyes")
204 AM_CONDITIONAL(DYNAMIC_SILC, test "x$dynamic_silc" = "xyes") 210 AM_CONDITIONAL(DYNAMIC_SILC, test "x$dynamic_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes")
205 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes") 211 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes")
206 AM_CONDITIONAL(DYNAMIC_TREPIA, test "x$dynamic_trepia" = "xyes") 212 AM_CONDITIONAL(DYNAMIC_TREPIA, test "x$dynamic_trepia" = "xyes")
207 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes") 213 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes")
208 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes") 214 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes")
209 215