Mercurial > pidgin
comparison configure.ac @ 8031:1468f543779b
[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 <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Wed, 07 Jan 2004 03:40:13 +0000 |
parents | 9d4753944c9f |
children | f74b833ea715 |
comparison
equal
deleted
inserted
replaced
8030:0ac75e1ad284 | 8031:1468f543779b |
---|---|
93 ]) | 93 ]) |
94 | 94 |
95 AC_ARG_ENABLE(distrib,,,enable_distrib=no) | 95 AC_ARG_ENABLE(distrib,,,enable_distrib=no) |
96 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") | 96 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") |
97 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes) | 97 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes) |
98 DYNAMIC_PRPLS=all | |
98 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="") | 99 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="") |
100 if test "x$STATIC_PRPLS" != "x" -a "x$DYNAMIC_PRPLS" = "xall"; then | |
101 DYNAMIC_PRPLS="" | |
102 fi | |
103 | |
99 if test "x$STATIC_PRPLS" = "xall" ; then | 104 if test "x$STATIC_PRPLS" = "xall" ; then |
100 STATIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr" | 105 STATIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr" |
101 fi | 106 fi |
102 AC_SUBST(STATIC_PRPLS) | 107 AC_SUBST(STATIC_PRPLS) |
103 STATIC_LINK_LIBS= | 108 STATIC_LINK_LIBS= |
133 AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") | 138 AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") |
134 AC_SUBST(STATIC_LINK_LIBS) | 139 AC_SUBST(STATIC_LINK_LIBS) |
135 AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto }, | 140 AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto }, |
136 [Loads static protocol plugin module initialization functions.]) | 141 [Loads static protocol plugin module initialization functions.]) |
137 | 142 |
138 AC_ARG_WITH(dynamic_prpls, [ --with-dynamic-prpls specify which protocols to build dynamically],[DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],DYNAMIC_PRPLS="all") | 143 AC_ARG_WITH(dynamic_prpls, [ --with-dynamic-prpls specify which protocols to build dynamically],[DYNAMIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`]) |
139 if test "x$DYNAMIC_PRPLS" = "xall" ; then | 144 if test "x$DYNAMIC_PRPLS" = "xall" ; then |
140 DYNAMIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr" | 145 DYNAMIC_PRPLS="gg irc jabber msn napster oscar toc yahoo zephyr" |
141 fi | 146 fi |
142 AC_SUBST(DYNAMIC_PRPLS) | 147 AC_SUBST(DYNAMIC_PRPLS) |
143 for i in $DYNAMIC_PRPLS ; do | 148 for i in $DYNAMIC_PRPLS ; do |