# HG changeset patch # User Ethan Blanton # Date 1073446813 0 # Node ID 1468f543779b649270defd6282bfaee9d8ba80f6 # Parent 0ac75e1ad2841127d5259cae2dabf7079ef9340c [gaim-migrate @ 8711] To celebrate my return to the land of the not very ill, here's a little jewel that makes static prpls and dynamic prpls play a little bit nicer. It's not as smart as it could be, but ... seriously, who uses this crap? committer: Tailor Script diff -r 0ac75e1ad284 -r 1468f543779b configure.ac --- a/configure.ac Wed Jan 07 03:40:11 2004 +0000 +++ b/configure.ac Wed Jan 07 03:40:13 2004 +0000 @@ -95,7 +95,12 @@ AC_ARG_ENABLE(distrib,,,enable_distrib=no) AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes) +DYNAMIC_PRPLS=all AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="") +if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then + DYNAMIC_PRPLS="" +fi + if test "x$STATIC_PRPLS" = "xall" ; then STATIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr" fi @@ -135,7 +140,7 @@ AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto }, [Loads static protocol plugin module initialization functions.]) -AC_ARG_WITH(dynamic_prpls, [ --with-dynamic-prpls specify which protocols to build dynamically],[DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],DYNAMIC_PRPLS="all") +AC_ARG_WITH(dynamic_prpls, [ --with-dynamic-prpls specify which protocols to build dynamically],[DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`]) if test "x$DYNAMIC_PRPLS" = "xall" ; then DYNAMIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr" fi