comparison configure.ac @ 26567:242a8c97270b

propagate from branch 'im.pidgin.pidgin' (head f144c6bda9daf701aa891c875fce7a4dedd611ae) to branch 'im.pidgin.cpw.darkrain42.xmpp.avatars' (head 94d20f2f1d6e10ad1543c226dc01fb5c518bcea0)
author Paul Aurich <paul@darkrain42.org>
date Sun, 05 Apr 2009 21:49:01 +0000
parents f630747a813d
children 8029c9d5620b
comparison
equal deleted inserted replaced
26360:14e1f9af369f 26567:242a8c97270b
322 I can find them. 322 I can find them.
323 ])]) 323 ])])
324 AC_SUBST(GLIB_CFLAGS) 324 AC_SUBST(GLIB_CFLAGS)
325 AC_SUBST(GLIB_LIBS) 325 AC_SUBST(GLIB_LIBS)
326 326
327 GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
328 AC_SUBST(GLIB_GENMARSHAL)
329
327 AC_ARG_WITH([extraversion], 330 AC_ARG_WITH([extraversion],
328 AC_HELP_STRING([--with-extraversion=STRING], 331 AC_HELP_STRING([--with-extraversion=STRING],
329 [extra version number to be displayed in Help->About and --help (for packagers)]), 332 [extra version number to be displayed in Help->About and --help (for packagers)]),
330 EXTRA_VERSION=$withval) 333 EXTRA_VERSION=$withval)
331 334
740 AC_MSG_ERROR([ 743 AC_MSG_ERROR([
741 GStreamer development headers not found. 744 GStreamer development headers not found.
742 Use --disable-gstreamer if you do not need GStreamer (sound) support. 745 Use --disable-gstreamer if you do not need GStreamer (sound) support.
743 ]) 746 ])
744 fi]) 747 fi])
748 fi
749
750 dnl #######################################################################
751 dnl # Check for Farsight
752 dnl #######################################################################
753 AC_ARG_ENABLE(farsight,
754 [AC_HELP_STRING([--disable-farsight], [compile without farsight support])],
755 enable_farsight="$enableval", enable_farsight="yes")
756 if test "x$enable_farsight" != "xno"; then
757 PKG_CHECK_MODULES(FARSIGHT, [farsight2-0.10 >= 0.0.8 gstreamer-0.10 gstreamer-plugins-base-0.10 libxml-2.0], [
758 AC_DEFINE(USE_FARSIGHT, 1, [Use Farsight for voice and video])
759 AC_SUBST(FARSIGHT_CFLAGS)
760 AC_SUBST(FARSIGHT_LIBS)
761 ], [
762 enable_farsight="no"
763 ])
764 fi
765
766 dnl #######################################################################
767 dnl # Check for GStreamer-properties
768 dnl #######################################################################
769 AC_ARG_ENABLE(gstprops,
770 [AC_HELP_STRING([--disable-gstprops], [compile without gstreamer props])],
771 enable_gstprops="$enableval", enable_gstprops="yes")
772 if test "x$enable_gstprops" != "xno";
773 then
774 dnl gstreamer-libs-$GST_MAJORMINOR
775 dnl gstreamer-gconf-$GST_MAJORMINOR
776 PKG_CHECK_MODULES(GSTPROPS, [gstreamer-0.10 gstreamer-plugins-base-0.10 libxml-2.0], [
777 GSTPROPS_LIBS="$GSTPROPS_LIBS -lgstinterfaces-0.10"
778 AC_DEFINE(USE_GSTPROPS, 1, [Use GStreamer property probe for finding devices])
779 AC_SUBST(GSTPROPS_LIBS)
780 AC_SUBST(GSTPROPS_CFLAGS)
781 ], [
782 enable_gstprops="no"
783 ])
784 fi
785
786 dnl #######################################################################
787 dnl # Check for Voice and Video support
788 dnl #######################################################################
789 AC_ARG_ENABLE(vv,
790 [AC_HELP_STRING([--disable-vv], [compile without voice and video support])],
791 [enable_vv="$enableval" force_vv=$enableval], [enable_vv="yes" enable_vv=no])
792 if test "x$enable_vv" != "xno"; then
793 if test "x$enable_farsight" != "xno" -a "x$enable_gstprops" != "xno"; then
794 AC_DEFINE(USE_VV, 1, [Use voice and video])
795 else
796 enable_vv="no"
797 if test "x$force_vv" = "xyes"; then
798 AC_MSG_ERROR([
799
800 Dependencies for voice/video were not met. Install the necessary gstreamer and farsight packages first.
801
802 ])
803 fi
804 fi
745 fi 805 fi
746 806
747 dnl ####################################################################### 807 dnl #######################################################################
748 dnl # Check for Meanwhile headers (for Sametime) 808 dnl # Check for Meanwhile headers (for Sametime)
749 dnl ####################################################################### 809 dnl #######################################################################
2476 echo Protocols to build dynamically : $DYNAMIC_PRPLS 2536 echo Protocols to build dynamically : $DYNAMIC_PRPLS
2477 echo Protocols to link statically.. : $STATIC_PRPLS 2537 echo Protocols to link statically.. : $STATIC_PRPLS
2478 echo 2538 echo
2479 echo Build with GStreamer support.. : $enable_gst 2539 echo Build with GStreamer support.. : $enable_gst
2480 echo Build with D-Bus support...... : $enable_dbus 2540 echo Build with D-Bus support...... : $enable_dbus
2541 echo Build with voice and video.... : $enable_vv
2481 if test "x$enable_dbus" = "xyes" ; then 2542 if test "x$enable_dbus" = "xyes" ; then
2482 eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR 2543 eval eval echo D-Bus services directory...... : $DBUS_SERVICES_DIR
2483 fi 2544 fi
2484 echo Build with NetworkManager..... : $enable_nm 2545 echo Build with NetworkManager..... : $enable_nm
2485 echo SSL Library/Libraries......... : $msg_ssl 2546 echo SSL Library/Libraries......... : $msg_ssl