pidgin: a59a573e: Abort build if we use --enable-vv, and v...

sadrul at pidgin.im sadrul at pidgin.im
Sun Apr 5 16:10:30 EDT 2009


-----------------------------------------------------------------
Revision: a59a573e3b9b2eb42ff728ba9ff56095f5c9e0d0
Ancestor: f788ca469fe818568012bcf1665f6b1af5a45e4f
Author: sadrul at pidgin.im
Date: 2009-04-05T20:06:11
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a59a573e3b9b2eb42ff728ba9ff56095f5c9e0d0

Modified files:
        configure.ac

ChangeLog: 

Abort build if we use --enable-vv, and vv-dependencies are not met.

-------------- next part --------------
============================================================
--- configure.ac	b81175fb7d8c4ec579aac54e091945fb3597d43e
+++ configure.ac	1dc04d68c6699d986852450084286b25c6161e7e
@@ -788,12 +788,19 @@ AC_ARG_ENABLE(vv,
 dnl #######################################################################
 AC_ARG_ENABLE(vv,
 	[AC_HELP_STRING([--disable-vv], [compile without voice and video support])],
-	enable_vv="$enableval", enable_vv="yes")
+	[enable_vv="$enableval" force_vv=$enableval], [enable_vv="yes" enable_vv=no])
 if test "x$enable_vv" != "xno"; then
 	if test "x$enable_farsight" != "xno" -a "x$enable_gstprops" != "xno"; then
 		AC_DEFINE(USE_VV, 1, [Use voice and video])
 	else
 		enable_vv="no"
+		if test "x$force_vv" = "xyes"; then
+			AC_MSG_ERROR([
+
+Dependencies for voice/video were not met. Install the necessary gstreamer and farsight packages first.
+
+			])
+		fi
 	fi
 fi
 


More information about the Commits mailing list