configure.ac

changeset 11778
515f4be9d2ce
parent 11720
26cc5150e5ae
child 11821
b3dcb90a2146
equal deleted inserted replaced
11777:ed650b58abb6 11778:515f4be9d2ce
190 if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then 190 if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then
191 DYNAMIC_PRPLS="" 191 DYNAMIC_PRPLS=""
192 fi 192 fi
193 193
194 if test "x$STATIC_PRPLS" = "xall" ; then 194 if test "x$STATIC_PRPLS" = "xall" ; then
195 STATIC_PRPLS="bonjour gg irc jabber msn napster novell oscar sametime silc simple yahoo zephyr" 195 STATIC_PRPLS="bonjour gg irc jabber msn novell oscar sametime silc simple yahoo zephyr"
196 fi 196 fi
197 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then 197 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then
198 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'` 198 STATIC_PRPLS=`echo $STATIC_PRPLS | $sedpath 's/bonjour//'`
199 fi 199 fi
200 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then 200 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then
212 bonjour) static_bonjour=yes ;; 212 bonjour) static_bonjour=yes ;;
213 gg) static_gg=yes ;; 213 gg) static_gg=yes ;;
214 irc) static_irc=yes ;; 214 irc) static_irc=yes ;;
215 jabber) static_jabber=yes ;; 215 jabber) static_jabber=yes ;;
216 msn) static_msn=yes ;; 216 msn) static_msn=yes ;;
217 napster) static_napster=yes ;;
218 novell) static_novell=yes ;; 217 novell) static_novell=yes ;;
219 oscar) static_oscar=yes ;; 218 oscar) static_oscar=yes ;;
220 sametime) static_sametime=yes ;; 219 sametime) static_sametime=yes ;;
221 silc) static_silc=yes ;; 220 silc) static_silc=yes ;;
222 simple) static_simple=yes ;; 221 simple) static_simple=yes ;;
229 AM_CONDITIONAL(STATIC_BONJOUR, test "x$static_bonjour" = "xyes" -a "x$howlincludes" = "xyes" -a "x$howllibs" = "xyes") 228 AM_CONDITIONAL(STATIC_BONJOUR, test "x$static_bonjour" = "xyes" -a "x$howlincludes" = "xyes" -a "x$howllibs" = "xyes")
230 AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes") 229 AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes")
231 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") 230 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes")
232 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") 231 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes")
233 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") 232 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes")
234 AM_CONDITIONAL(STATIC_NAPSTER, test "x$static_napster" = "xyes")
235 AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes") 233 AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes")
236 AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") 234 AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes")
237 AM_CONDITIONAL(STATIC_SAMETIME, test "x$static_sametime" = "xyes") 235 AM_CONDITIONAL(STATIC_SAMETIME, test "x$static_sametime" = "xyes")
238 AM_CONDITIONAL(STATIC_SILC, test "x$static_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") 236 AM_CONDITIONAL(STATIC_SILC, test "x$static_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes")
239 AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes") 237 AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes")
244 AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto }, 242 AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto },
245 [Loads static protocol plugin module initialization functions.]) 243 [Loads static protocol plugin module initialization functions.])
246 244
247 AC_ARG_WITH(dynamic_prpls, [AC_HELP_STRING([--with-dynamic-prpls], [specify which protocols to build dynamically])], [DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`]) 245 AC_ARG_WITH(dynamic_prpls, [AC_HELP_STRING([--with-dynamic-prpls], [specify which protocols to build dynamically])], [DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`])
248 if test "x$DYNAMIC_PRPLS" = "xall" ; then 246 if test "x$DYNAMIC_PRPLS" = "xall" ; then
249 DYNAMIC_PRPLS="bonjour gg irc jabber msn napster novell oscar sametime silc simple yahoo zephyr" 247 DYNAMIC_PRPLS="bonjour gg irc jabber msn novell oscar sametime silc simple yahoo zephyr"
250 fi 248 fi
251 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then 249 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then
252 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'` 250 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'`
253 fi 251 fi
254 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then 252 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then
260 bonjour) dynamic_bonjour=yes ;; 258 bonjour) dynamic_bonjour=yes ;;
261 gg) dynamic_gg=yes ;; 259 gg) dynamic_gg=yes ;;
262 irc) dynamic_irc=yes ;; 260 irc) dynamic_irc=yes ;;
263 jabber) dynamic_jabber=yes ;; 261 jabber) dynamic_jabber=yes ;;
264 msn) dynamic_msn=yes ;; 262 msn) dynamic_msn=yes ;;
265 napster) dynamic_napster=yes ;;
266 novell) dynamic_novell=yes ;; 263 novell) dynamic_novell=yes ;;
267 oscar) dynamic_oscar=yes ;; 264 oscar) dynamic_oscar=yes ;;
268 sametime) dynamic_sametime=yes ;; 265 sametime) dynamic_sametime=yes ;;
269 silc) dynamic_silc=yes ;; 266 silc) dynamic_silc=yes ;;
270 simple) dynamic_simple=yes ;; 267 simple) dynamic_simple=yes ;;
277 AM_CONDITIONAL(DYNAMIC_BONJOUR, test "x$dynamic_bonjour" = "xyes" -a "x$bonjourincludes" = "xyes" -a "x$bonjourclient" = "xyes") 274 AM_CONDITIONAL(DYNAMIC_BONJOUR, test "x$dynamic_bonjour" = "xyes" -a "x$bonjourincludes" = "xyes" -a "x$bonjourclient" = "xyes")
278 AM_CONDITIONAL(DYNAMIC_GG, test "x$dynamic_gg" = "xyes") 275 AM_CONDITIONAL(DYNAMIC_GG, test "x$dynamic_gg" = "xyes")
279 AM_CONDITIONAL(DYNAMIC_IRC, test "x$dynamic_irc" = "xyes") 276 AM_CONDITIONAL(DYNAMIC_IRC, test "x$dynamic_irc" = "xyes")
280 AM_CONDITIONAL(DYNAMIC_JABBER, test "x$dynamic_jabber" = "xyes") 277 AM_CONDITIONAL(DYNAMIC_JABBER, test "x$dynamic_jabber" = "xyes")
281 AM_CONDITIONAL(DYNAMIC_MSN, test "x$dynamic_msn" = "xyes") 278 AM_CONDITIONAL(DYNAMIC_MSN, test "x$dynamic_msn" = "xyes")
282 AM_CONDITIONAL(DYNAMIC_NAPSTER, test "x$dynamic_napster" = "xyes")
283 AM_CONDITIONAL(DYNAMIC_NOVELL, test "x$dynamic_novell" = "xyes") 279 AM_CONDITIONAL(DYNAMIC_NOVELL, test "x$dynamic_novell" = "xyes")
284 AM_CONDITIONAL(DYNAMIC_OSCAR, test "x$dynamic_oscar" = "xyes") 280 AM_CONDITIONAL(DYNAMIC_OSCAR, test "x$dynamic_oscar" = "xyes")
285 AM_CONDITIONAL(DYNAMIC_SAMETIME, test "x$dynamic_sametime" = "xyes") 281 AM_CONDITIONAL(DYNAMIC_SAMETIME, test "x$dynamic_sametime" = "xyes")
286 AM_CONDITIONAL(DYNAMIC_SILC, test "x$dynamic_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") 282 AM_CONDITIONAL(DYNAMIC_SILC, test "x$dynamic_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes")
287 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes") 283 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes")

mercurial