comparison configure.ac @ 2393:a7ecfd3f7714

[gaim-migrate @ 2406] Arkadiusz Miskiewicz\'s Gadu-Gadu plugin. I was able to figure out enough polish to be able to download Gadu-Gadu, create an account, and test the plugin. Imagine my shock when I got my info and it said I was a woman. Whoops. Also splitting plugins.c so that non-gtk stuff is in modules.c. gaim-core is almost ready for protocol implantaion. Also fixing an IRC bug. Also patiently waiting for anoncvs_gaim's lock in /cvsroot/gaim/gaim/pixmaps committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 29 Sep 2001 23:06:30 +0000
parents b618d7a4d9a6
children 596f14073f4f
comparison
equal deleted inserted replaced
2392:9965c0bbdb7c 2393:a7ecfd3f7714
30 30
31 dnl Checks for library functions. 31 dnl Checks for library functions.
32 AC_TYPE_SIGNAL 32 AC_TYPE_SIGNAL
33 AC_FUNC_STRFTIME 33 AC_FUNC_STRFTIME
34 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo) 34 AC_CHECK_FUNCS(socket strdup strstr atexit getaddrinfo)
35 AC_TRY_COMPILE([#include <sys/types.h>
36 #include <sys/socket.h>], [socklen_t slen;],,[AC_DEFINE(NEED_SOCKLEN_T)])
37 35
38 dnl Checks for getopt in standard library 36 dnl Checks for getopt in standard library
39 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] ) 37 AC_CHECK_FUNCS(getopt_long , , [LIBOBJS="$LIBOBJS getopt.o getopt1.o"] )
40 AC_SUBST(LIBOBJS) 38 AC_SUBST(LIBOBJS)
41 39
46 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes") 44 AM_CONDITIONAL(DISTRIB, test "x$enable_distrib" = "xyes")
47 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes) 45 AC_ARG_ENABLE(multi, [ --disable-multi disable multiple connections],,enable_multi=yes)
48 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes) 46 AC_ARG_ENABLE(prpls, [ --disable-prpls don't build dynamic protocol plugins],,enable_prpls=yes)
49 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="oscar toc") 47 AC_ARG_WITH(static-prpls, [ --with-static-prpls link in certain protocols statically],[STATIC_PRPLS=`echo $withval | $sedpath 's/,/ /g'`],STATIC_PRPLS="oscar toc")
50 if test "x$STATIC_PRPLS" = "xall" ; then 48 if test "x$STATIC_PRPLS" = "xall" ; then
51 STATIC_PRPLS="icq irc jabber msn napster oscar toc yahoo zephyr" 49 STATIC_PRPLS="gg icq irc jabber msn napster oscar toc yahoo zephyr"
52 fi 50 fi
53 AC_SUBST(STATIC_PRPLS) 51 AC_SUBST(STATIC_PRPLS)
54 STATIC_LINK_LIBS= 52 STATIC_LINK_LIBS=
55 extern_init= 53 extern_init=
56 load_proto= 54 load_proto=
57 for i in $STATIC_PRPLS ; do 55 for i in $STATIC_PRPLS ; do
58 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a" 56 STATIC_LINK_LIBS="$STATIC_LINK_LIBS protocols/$i/lib$i.a"
59 extern_init="$extern_init extern void ${i}_init(struct prpl *);" 57 extern_init="$extern_init extern void ${i}_init(struct prpl *);"
60 load_proto="$load_proto load_protocol(${i}_init, sizeof(struct prpl));" 58 load_proto="$load_proto load_protocol(${i}_init, sizeof(struct prpl));"
61 case $i in 59 case $i in
60 gg) static_gg=yes ;;
62 icq) static_icq=yes ;; 61 icq) static_icq=yes ;;
63 irc) static_irc=yes ;; 62 irc) static_irc=yes ;;
64 jabber) static_jabber=yes ;; 63 jabber) static_jabber=yes ;;
65 msn) static_msn=yes ;; 64 msn) static_msn=yes ;;
66 napster) static_napster=yes ;; 65 napster) static_napster=yes ;;
69 yahoo) static_yahoo=yes ;; 68 yahoo) static_yahoo=yes ;;
70 zephyr) static_zephyr=yes ;; 69 zephyr) static_zephyr=yes ;;
71 *) echo "Invalid static protocol $i!!" ; exit ;; 70 *) echo "Invalid static protocol $i!!" ; exit ;;
72 esac 71 esac
73 done 72 done
73 AM_CONDITIONAL(STATIC_GG, test "x$static_gg" = "xyes")
74 AM_CONDITIONAL(STATIC_ICQ, test "x$static_icq" = "xyes") 74 AM_CONDITIONAL(STATIC_ICQ, test "x$static_icq" = "xyes")
75 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") 75 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes")
76 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") 76 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes")
77 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") 77 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes")
78 AM_CONDITIONAL(STATIC_NAPSTER, test "x$static_napster" = "xyes") 78 AM_CONDITIONAL(STATIC_NAPSTER, test "x$static_napster" = "xyes")
356 plugins/Makefile 356 plugins/Makefile
357 po/Makefile.in 357 po/Makefile.in
358 sounds/Makefile 358 sounds/Makefile
359 src/Makefile 359 src/Makefile
360 src/protocols/Makefile 360 src/protocols/Makefile
361 src/protocols/gg/Makefile
361 src/protocols/icq/Makefile 362 src/protocols/icq/Makefile
362 src/protocols/irc/Makefile 363 src/protocols/irc/Makefile
363 src/protocols/jabber/Makefile 364 src/protocols/jabber/Makefile
364 src/protocols/msn/Makefile 365 src/protocols/msn/Makefile
365 src/protocols/napster/Makefile 366 src/protocols/napster/Makefile