From: <jpg...@us...> - 2008-03-25 20:12:04
|
Revision: 1378 http://iaxclient.svn.sourceforge.net/iaxclient/?rev=1378&view=rev Author: jpgrayson Date: 2008-03-25 13:12:06 -0700 (Tue, 25 Mar 2008) Log Message: ----------- When video is enabled, require libvidcap. Otherwise errors can show up at compile time. Modified Paths: -------------- trunk/configure.ac Modified: trunk/configure.ac =================================================================== --- trunk/configure.ac 2008-03-23 13:54:26 UTC (rev 1377) +++ trunk/configure.ac 2008-03-25 20:12:06 UTC (rev 1378) @@ -79,8 +79,8 @@ AC_ARG_ENABLE(debug-iax, [AS_HELP_STRING([--enable-debug-iax], [Enable debug support in local iax library])], - enable_debug_iax2=$enableval, - enable_debug_iax2="no") + enable_debug_iax2=$enableval, + enable_debug_iax2="no") AC_ARG_ENABLE(video, [AS_HELP_STRING([--enable-video], @@ -233,17 +233,15 @@ fi fi - if test x$with_vidcap != xno; then - if test x$has_vidcap = xyes; then - AC_DEFINE(USE_VIDCAP, 1, [VIDCAP]) - PKG_REQUIRES="$PKG_REQUIRES vidcap" - elif test x$with_vidcap != xauto ; then - AC_MSG_ERROR([ - libvidcap is required to build this package! - please see http://libvidcap.sourceforge.net/ for how to - obtain a copy. - ]) - fi + if test x$has_vidcap = xyes; then + AC_DEFINE(USE_VIDCAP, 1, [VIDCAP]) + PKG_REQUIRES="$PKG_REQUIRES vidcap" + else + AC_MSG_ERROR([ + libvidcap is required to build this package! + please see http://libvidcap.sourceforge.net/ for how to + obtain a copy. + ]) fi if test x$with_ffmpeg != xno; then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |