# HG changeset patch # User Eric Warmenhoven # Date 999996750 0 # Node ID a647590a09797f9f29fe610c49e9f5b984784889 # Parent 03d23dc61dba299bbc6e133c6b40741561df8792 [gaim-migrate @ 2254] Max Horn said this was better, and I don't see anything wrong with it. committer: Tailor Script diff -r 03d23dc61dba -r a647590a0979 configure.ac --- a/configure.ac Sat Sep 08 23:44:28 2001 +0000 +++ b/configure.ac Sun Sep 09 00:52:30 2001 +0000 @@ -59,18 +59,27 @@ extern_init="$extern_init extern void ${i}_init(struct prpl *);" load_proto="$load_proto load_protocol(${i}_init, sizeof(struct prpl));" case $i in - icq) AM_CONDITIONAL(STATIC_ICQ, true) ;; - irc) AM_CONDITIONAL(STATIC_IRC, true) ;; - jabber) AM_CONDITIONAL(STATIC_JABBER, true) ;; - msn) AM_CONDITIONAL(STATIC_MSN, true) ;; - napster) AM_CONDITIONAL(STATIC_NAPSTER, true) ;; - oscar) AM_CONDITIONAL(STATIC_OSCAR, true) ;; - toc) AM_CONDITIONAL(STATIC_TOC, true) ;; - yahoo) AM_CONDITIONAL(STATIC_YAHOO, true) ;; - zephyr) AM_CONDITIONAL(STATIC_ZEPHYR, true) ;; + icq) static_icq=yes ;; + irc) static_irc=yes ;; + jabber) static_jabber=yes ;; + msn) static_msn=yes ;; + napster) static_napster=yes ;; + oscar) static_oscar=yes ;; + toc) static_toc=yes ;; + yahoo) static_yahoo=yes ;; + zephyr) static_zephyr=yes ;; *) echo "Invalid static protocol $i!!" ; exit ;; esac done +AM_CONDITIONAL(STATIC_ICQ, test "x$static_icq" = "xyes") +AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") +AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") +AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") +AM_CONDITIONAL(STATIC_NAPSTER, test "x$static_napster" = "xyes") +AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") +AM_CONDITIONAL(STATIC_TOC, test "x$static_toc" = "xyes") +AM_CONDITIONAL(STATIC_YAHOO, test "x$static_yahoo" = "xyes") +AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") AC_SUBST(STATIC_LINK_LIBS) AC_DEFINE_UNQUOTED(STATIC_PROTO_INIT, $extern_init void static_proto_init() { $load_proto })