Mercurial > pidgin.yaz
comparison configure.ac @ 12263:8190a70d2c34
[gaim-migrate @ 14565]
removed GMP dependancy for sametime support. fixed some buddy status issues
as noted in bug #1368136. sametime seems to be working just fine now, and I'm
trying to use HEAD as my primary client for a while to get things going.
committer: Tailor Script <tailor@pidgin.im>
author | Christopher O'Brien <siege@pidgin.im> |
---|---|
date | Tue, 29 Nov 2005 23:37:05 +0000 |
parents | 029802981b81 |
children | 255e6912607b |
comparison
equal
deleted
inserted
replaced
12262:6e55515e4b39 | 12263:8190a70d2c34 |
---|---|
101 dnl (09:50:07) Robot101: LSchiere2: it's easy. +LC_SYS_LARGEFILE somewhere in configure.ac | 101 dnl (09:50:07) Robot101: LSchiere2: it's easy. +LC_SYS_LARGEFILE somewhere in configure.ac |
102 AC_SYS_LARGEFILE | 102 AC_SYS_LARGEFILE |
103 | 103 |
104 dnl FreeBSD doesn't have libdl, dlopen is provided by libc | 104 dnl FreeBSD doesn't have libdl, dlopen is provided by libc |
105 AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")]) | 105 AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")]) |
106 | |
107 dnl # Check for GMP. If it's not there, Sametime won't build | |
108 have_gmp=yes | |
109 GMP_LIBS= | |
110 GMP_CFLAGS= | |
111 | |
112 # either auto-detect or specify the libgmp.a file for static linking | |
113 withval="auto" | |
114 AC_ARG_WITH(gmp-prefix, | |
115 [ --with-gmp-prefix[=auto] prefix gmp was installed to]) | |
116 | |
117 if test "$withval" = "auto" ; then | |
118 found_prefix=no | |
119 | |
120 if test $found_prefix = "no" ; then | |
121 try_prefix=/usr | |
122 AC_CHECK_HEADER([$try_prefix/include/gmp.h], found_prefix="yes") | |
123 fi | |
124 | |
125 if test $found_prefix = "no" ; then | |
126 try_prefix=/usr/local | |
127 AC_CHECK_HEADER([$try_prefix/include/gmp.h], found_prefix="yes") | |
128 fi | |
129 | |
130 if test $found_prefix = "no" ; then | |
131 dnl AC_MSG_ERROR([GNU MP headers not found]) | |
132 have_gmp=no | |
133 fi | |
134 | |
135 elif test -n "$withval" ; then | |
136 try_prefix=$withval | |
137 | |
138 AC_CHECK_HEADER([$try_prefix/include/gmp.h],, | |
139 [AC_MSG_ERROR([GNU MP headers not found])]) | |
140 | |
141 else | |
142 dnl AC_MSG_ERROR([GNU MP headers not found, $withval]) | |
143 have_gmp=no | |
144 fi | |
145 if test "$have_gmp" = "yes" ; then | |
146 GMP_CFLAGS=-I$try_prefix/include | |
147 dnl XXX: shouldn't we be checking where the libs are and adding -L if necessary? | |
148 GMP_LIBS="-lgmp" | |
149 fi | |
150 | |
151 AC_SUBST(GMP_CFLAGS) | |
152 AC_SUBST(GMP_LIBS) | |
153 | 106 |
154 | 107 |
155 | 108 |
156 dnl ####################################################################### | 109 dnl ####################################################################### |
157 dnl # Check for Howl headers (for Bonjour) | 110 dnl # Check for Howl headers (for Bonjour) |
300 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") | 253 AM_CONDITIONAL(STATIC_IRC, test "x$static_irc" = "xyes") |
301 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") | 254 AM_CONDITIONAL(STATIC_JABBER, test "x$static_jabber" = "xyes") |
302 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") | 255 AM_CONDITIONAL(STATIC_MSN, test "x$static_msn" = "xyes") |
303 AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes") | 256 AM_CONDITIONAL(STATIC_NOVELL, test "x$static_novell" = "xyes") |
304 AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") | 257 AM_CONDITIONAL(STATIC_OSCAR, test "x$static_oscar" = "xyes") |
305 AM_CONDITIONAL(STATIC_SAMETIME, test "x$static_sametime" = "xyes" -a "x$have_gmp" = "xyes") | 258 AM_CONDITIONAL(STATIC_SAMETIME, test "x$static_sametime" = "xyes") |
306 AM_CONDITIONAL(STATIC_SILC, test "x$static_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") | 259 AM_CONDITIONAL(STATIC_SILC, test "x$static_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") |
307 AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes") | 260 AM_CONDITIONAL(STATIC_SIMPLE, test "x$static_simple" = "xyes") |
308 AM_CONDITIONAL(STATIC_TOC, test "x$static_toc" = "xyes") | 261 AM_CONDITIONAL(STATIC_TOC, test "x$static_toc" = "xyes") |
309 AM_CONDITIONAL(STATIC_YAHOO, test "x$static_yahoo" = "xyes") | 262 AM_CONDITIONAL(STATIC_YAHOO, test "x$static_yahoo" = "xyes") |
310 AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") | 263 AM_CONDITIONAL(STATIC_ZEPHYR, test "x$static_zephyr" = "xyes") |
319 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then | 272 if test "x$howlincludes" != "xyes" -o "x$howllibs" != "xyes"; then |
320 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'` | 273 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/bonjour//'` |
321 fi | 274 fi |
322 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then | 275 if test "x$silcincludes" != "xyes" -o "x$silcclient" != "xyes"; then |
323 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc//'` | 276 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/silc//'` |
324 fi | |
325 if test "x$have_gmp" != "xyes"; then | |
326 DYNAMIC_PRPLS=`echo $DYNAMIC_PRPLS | $sedpath 's/sametime//'` | |
327 fi | 277 fi |
328 AC_SUBST(DYNAMIC_PRPLS) | 278 AC_SUBST(DYNAMIC_PRPLS) |
329 for i in $DYNAMIC_PRPLS ; do | 279 for i in $DYNAMIC_PRPLS ; do |
330 case $i in | 280 case $i in |
331 bonjour) dynamic_bonjour=yes ;; | 281 bonjour) dynamic_bonjour=yes ;; |
349 AM_CONDITIONAL(DYNAMIC_IRC, test "x$dynamic_irc" = "xyes") | 299 AM_CONDITIONAL(DYNAMIC_IRC, test "x$dynamic_irc" = "xyes") |
350 AM_CONDITIONAL(DYNAMIC_JABBER, test "x$dynamic_jabber" = "xyes") | 300 AM_CONDITIONAL(DYNAMIC_JABBER, test "x$dynamic_jabber" = "xyes") |
351 AM_CONDITIONAL(DYNAMIC_MSN, test "x$dynamic_msn" = "xyes") | 301 AM_CONDITIONAL(DYNAMIC_MSN, test "x$dynamic_msn" = "xyes") |
352 AM_CONDITIONAL(DYNAMIC_NOVELL, test "x$dynamic_novell" = "xyes") | 302 AM_CONDITIONAL(DYNAMIC_NOVELL, test "x$dynamic_novell" = "xyes") |
353 AM_CONDITIONAL(DYNAMIC_OSCAR, test "x$dynamic_oscar" = "xyes") | 303 AM_CONDITIONAL(DYNAMIC_OSCAR, test "x$dynamic_oscar" = "xyes") |
354 AM_CONDITIONAL(DYNAMIC_SAMETIME, test "x$dynamic_sametime" = "xyes" -a "x$have_gmp" = "xyes") | 304 AM_CONDITIONAL(DYNAMIC_SAMETIME, test "x$dynamic_sametime" = "xyes") |
355 AM_CONDITIONAL(DYNAMIC_SILC, test "x$dynamic_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") | 305 AM_CONDITIONAL(DYNAMIC_SILC, test "x$dynamic_silc" = "xyes" -a "x$silcincludes" = "xyes" -a "x$silcclient" = "xyes") |
356 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes") | 306 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes") |
357 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes") | 307 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes") |
358 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes") | 308 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes") |
359 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes") | 309 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes") |
1595 src/protocols/napster/Makefile | 1545 src/protocols/napster/Makefile |
1596 src/protocols/novell/Makefile | 1546 src/protocols/novell/Makefile |
1597 src/protocols/oscar/Makefile | 1547 src/protocols/oscar/Makefile |
1598 src/protocols/sametime/Makefile | 1548 src/protocols/sametime/Makefile |
1599 src/protocols/sametime/meanwhile/Makefile | 1549 src/protocols/sametime/meanwhile/Makefile |
1550 src/protocols/sametime/meanwhile/mpi/Makefile | |
1600 src/protocols/silc/Makefile | 1551 src/protocols/silc/Makefile |
1601 src/protocols/simple/Makefile | 1552 src/protocols/simple/Makefile |
1602 src/protocols/toc/Makefile | 1553 src/protocols/toc/Makefile |
1603 src/protocols/yahoo/Makefile | 1554 src/protocols/yahoo/Makefile |
1604 src/protocols/zephyr/Makefile | 1555 src/protocols/zephyr/Makefile |