Mercurial > pidgin
comparison configure.ac @ 13718:988186eb1688
[gaim-migrate @ 16127]
Use Gstreamer for IM sounds, kill ao/audiofile
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 02 May 2006 22:24:46 +0000 |
parents | c4a5d8950d8c |
children | e27f42866854 |
comparison
equal
deleted
inserted
replaced
13717:3b3430042849 | 13718:988186eb1688 |
---|---|
157 # This will enable the compatibility code. | 157 # This will enable the compatibility code. |
158 AC_MSG_RESULT(no) | 158 AC_MSG_RESULT(no) |
159 ] | 159 ] |
160 ) | 160 ) |
161 | 161 |
162 dnl ####################################################################### | |
163 dnl # GStreamer | |
164 dnl ####################################################################### | |
165 enable_gst=yes | |
166 PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10, ,enable_gst=no) | |
167 AC_SUBST(GSTREAMER_CFLAGS) | |
168 AC_SUBST(GSTREAMER_LIBS) | |
169 AC_ARG_ENABLE(gstreamer,[ --disable-gstreamer compile with GStreamer audio support],enable_gst=no) | |
170 if test "x$enable_gst" = "xyes"; then | |
171 AC_DEFINE(USE_GSTREAMER, 1, [Use GStreamer for making sounds]) | |
172 fi | |
162 | 173 |
163 dnl ####################################################################### | 174 dnl ####################################################################### |
164 dnl # Check for Meanwhile headers (for Sametime) | 175 dnl # Check for Meanwhile headers (for Sametime) |
165 dnl ####################################################################### | 176 dnl ####################################################################### |
166 PKG_CHECK_MODULES(MEANWHILE, | 177 PKG_CHECK_MODULES(MEANWHILE, |
466 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes") | 477 AM_CONDITIONAL(DYNAMIC_SIMPLE, test "x$dynamic_simple" = "xyes") |
467 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes") | 478 AM_CONDITIONAL(DYNAMIC_TOC, test "x$dynamic_toc" = "xyes") |
468 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes") | 479 AM_CONDITIONAL(DYNAMIC_YAHOO, test "x$dynamic_yahoo" = "xyes") |
469 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes") | 480 AM_CONDITIONAL(DYNAMIC_ZEPHYR, test "x$dynamic_zephyr" = "xyes") |
470 | 481 |
471 AC_ARG_ENABLE(audio, [ --disable-audio compile without libao/libaudiofile for sound playing],,enable_audio=yes) | |
472 AC_ARG_ENABLE(mono, [ --enable-mono compile with Mono runtime support],,enable_mono=no) | 482 AC_ARG_ENABLE(mono, [ --enable-mono compile with Mono runtime support],,enable_mono=no) |
473 AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes) | 483 AC_ARG_ENABLE(plugins, [ --disable-plugins compile without plugin support],,enable_plugins=yes) |
474 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) | 484 AC_ARG_ENABLE(perl, [ --disable-perl compile without perl scripting],,enable_perl=yes) |
475 AC_ARG_ENABLE(tcl, [ --disable-tcl compile without Tcl scripting],,enable_tcl=yes) | 485 AC_ARG_ENABLE(tcl, [ --disable-tcl compile without Tcl scripting],,enable_tcl=yes) |
476 AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tclConfig.sh]) | 486 AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tclConfig.sh]) |
1526 if test "$enable_gtkspell" = "yes" ; then | 1536 if test "$enable_gtkspell" = "yes" ; then |
1527 AC_SUBST(GTKSPELL_CFLAGS) | 1537 AC_SUBST(GTKSPELL_CFLAGS) |
1528 AC_SUBST(GTKSPELL_LIBS) | 1538 AC_SUBST(GTKSPELL_LIBS) |
1529 AC_DEFINE(USE_GTKSPELL,,[do we have gtkspell?]) | 1539 AC_DEFINE(USE_GTKSPELL,,[do we have gtkspell?]) |
1530 fi | 1540 fi |
1531 fi | |
1532 | |
1533 if test "$enable_audio" = yes ; then | |
1534 GAIM_PATH_AO(found_ao_lib=true) | |
1535 | |
1536 AM_PATH_AUDIOFILE([0.2.0], found_af_lib=true) | |
1537 | |
1538 if test "$found_ao_lib" = "true" -a "$found_af_lib" = "true"; then | |
1539 SOUND_LIBS="$SOUND_LIBS $AO_LIBS $AUDIOFILE_LIBS" | |
1540 AC_SUBST(SOUND_LIBS) | |
1541 AC_DEFINE(USE_AO, 1, [Define if we're using libao and libaudiofile for sound playing]) | |
1542 enable_audio=yes | |
1543 else | |
1544 enable_audio=no | |
1545 fi | |
1546 else | |
1547 enable_audio=no | |
1548 fi | 1541 fi |
1549 | 1542 |
1550 if test "$ac_cv_cygwin" = yes ; then | 1543 if test "$ac_cv_cygwin" = yes ; then |
1551 LDADD="$LDADD -static" | 1544 LDADD="$LDADD -static" |
1552 AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) | 1545 AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.]) |
1765 echo Protocols to build dynamically : $DYNAMIC_PRPLS | 1758 echo Protocols to build dynamically : $DYNAMIC_PRPLS |
1766 echo | 1759 echo |
1767 echo UI Library.................... : GTK+ 2.x | 1760 echo UI Library.................... : GTK+ 2.x |
1768 echo SSL Library/Libraries......... : $msg_ssl | 1761 echo SSL Library/Libraries......... : $msg_ssl |
1769 echo | 1762 echo |
1763 echo Build with GStreamer support.. : $enable_gst | |
1770 echo Build with Plugin support..... : $enable_plugins | 1764 echo Build with Plugin support..... : $enable_plugins |
1771 echo Build with Mono support....... : $enable_mono | 1765 echo Build with Mono support....... : $enable_mono |
1772 echo Build with Perl support....... : $enable_perl | 1766 echo Build with Perl support....... : $enable_perl |
1773 echo Build with Tcl support........ : $enable_tcl | 1767 echo Build with Tcl support........ : $enable_tcl |
1774 echo Build with Tk support......... : $enable_tk | 1768 echo Build with Tk support......... : $enable_tk |
1775 echo Build with Audio support...... : $enable_audio | |
1776 echo Build with GtkSpell support... : $enable_gtkspell | 1769 echo Build with GtkSpell support... : $enable_gtkspell |
1777 echo Build with DBUS support....... : $enable_dbus | 1770 echo Build with DBUS support....... : $enable_dbus |
1778 if test x$enable_dbus = xyes ; then | 1771 if test x$enable_dbus = xyes ; then |
1779 eval echo DBUS servies directory........ : $DBUS_SERVICES_DIR | 1772 eval echo DBUS servies directory........ : $DBUS_SERVICES_DIR |
1780 fi | 1773 fi |