Mercurial > pidgin.yaz
comparison configure.in @ 1347:afa63ac2fd84
[gaim-migrate @ 1357]
jabber for those not fortunate enough to have libjabber and libxode on their systems
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 21 Dec 2000 14:54:13 +0000 |
parents | 49d2eb2baf02 |
children | f8f9c68960ea |
comparison
equal
deleted
inserted
replaced
1346:83f78eb7c472 | 1347:afa63ac2fd84 |
---|---|
45 AC_ARG_ENABLE(panel, [ --enable-panel compile as a GNOME applet],,enable_panel=$enable_distrib) | 45 AC_ARG_ENABLE(panel, [ --enable-panel compile as a GNOME applet],,enable_panel=$enable_distrib) |
46 AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes") | 46 AM_CONDITIONAL(GNOMEAPPLET, test "x$enable_panel" = "xyes") |
47 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],,enable_esd=yes) | 47 AC_ARG_ENABLE(esd, [ --disable-esd Turn off ESD (default=auto)],,enable_esd=yes) |
48 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) | 48 AC_ARG_ENABLE(nas, [ --enable-nas Enable NAS (Network Audio System) support],,enable_nas=no) |
49 AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes) | 49 AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes) |
50 AC_ARG_ENABLE(jabber, [ --disable-jabber compile the jabber plugin (requires libxode and libjabber)],,enable_jabber=yes) | |
51 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) | 50 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) |
52 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) | 51 AC_ARG_ENABLE(debug, [ --enable-debug compile with debugging support],,enable_debug=no) |
53 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) | 52 AC_ARG_ENABLE(screensaver, [ --disable-screensaver compile without X screensaver extension],,enable_xss=yes) |
54 AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes") | |
55 AC_ARG_ENABLE(,,,) | 53 AC_ARG_ENABLE(,,,) |
56 | 54 |
57 if test "$enable_debug" = yes ; then | 55 if test "$enable_debug" = yes ; then |
58 CFLAGS="$CFLAGS -Wall -g" | 56 CFLAGS="$CFLAGS -Wall -g" |
59 AC_DEFINE(DEBUG) | 57 AC_DEFINE(DEBUG) |
187 if test "x$enable_plugins" = xyes ; then | 185 if test "x$enable_plugins" = xyes ; then |
188 dnl checks for icqlib | 186 dnl checks for icqlib |
189 AC_CHECK_HEADERS(asm/byteorder.h byteswap.h endian.h machine/endian.h arpa/nameser_compat.h) | 187 AC_CHECK_HEADERS(asm/byteorder.h byteswap.h endian.h machine/endian.h arpa/nameser_compat.h) |
190 AC_CHECK_FUNCS(bswap_32 bswap_16) | 188 AC_CHECK_FUNCS(bswap_32 bswap_16) |
191 | 189 |
190 dnl checks for jabber | |
191 dnl AC_CHECK_SIZEOF(short) | |
192 AC_CHECK_FUNCS(snprintf connect) | |
193 AC_CHECK_LIB(nsl, gethostent) | |
194 | |
192 AC_DEFINE(GAIM_PLUGINS) | 195 AC_DEFINE(GAIM_PLUGINS) |
193 else | 196 AM_CONDITIONAL(PLUGINS, test "x$enable_plugins" = "xyes") |
194 enable_jabber=no | |
195 fi | |
196 | |
197 if test "$enable_jabber" = yes ; then | |
198 AC_CHECK_LIB(xode, XML_ParserCreate, , enable_jabber=no) | |
199 AC_CHECK_LIB(jabber, jid_new, , enable_jabber=no, -lxode) | |
200 AC_CHECK_FUNCS(snprintf) | |
201 AC_CHECK_LIB(nsl, gethostent) | |
202 AC_CHECK_FUNCS(connect) | |
203 AM_CONDITIONAL(JABBER, test "x$enable_jabber" = "xyes") | |
204 fi | 197 fi |
205 | 198 |
206 AC_OUTPUT([Makefile | 199 AC_OUTPUT([Makefile |
207 src/Makefile | 200 src/Makefile |
208 intl/Makefile | 201 intl/Makefile |
228 echo Build as GNOME applet...... : $enable_panel | 221 echo Build as GNOME applet...... : $enable_panel |
229 echo | 222 echo |
230 echo Build with Plugin support.. : $enable_plugins | 223 echo Build with Plugin support.. : $enable_plugins |
231 echo Build with Perl support.... : $enable_perl | 224 echo Build with Perl support.... : $enable_perl |
232 echo | 225 echo |
233 echo Build Jabber PRPL.......... : $enable_jabber | |
234 echo | |
235 echo Build with ESD............. : $enable_esd | 226 echo Build with ESD............. : $enable_esd |
236 echo Build with NAS............. : $enable_nas | 227 echo Build with NAS............. : $enable_nas |
237 echo | 228 echo |
238 echo Print debugging messages... : $enable_debug | 229 echo Print debugging messages... : $enable_debug |
239 echo | 230 echo |