freebsd-ports/sysutils/xvidcap/files/patch-configure
Thierry Thomas 98acb6f865 Enable sound recording.
Reported by:	Matt Lancereau <matt@bsd-blax.org>
2004-05-02 19:09:17 +00:00

25 lines
848 B
Text

--- configure.orig Sat Feb 14 21:06:12 2004
+++ configure Sun May 2 19:45:20 2004
@@ -5250,9 +5250,6 @@
echo "$as_me:$LINENO: checking for audio_init in -lavformat" >&5
echo $ECHO_N "checking for audio_init in -lavformat... $ECHO_C" >&6
-if test "${ac_cv_lib_avformat_audio_init+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
echo -n "(static?) ... "
ac_check_lib_save_LIBS=$LIBS
@@ -5305,11 +5302,8 @@
fi
echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_audio_init" >&5
echo "${ECHO_T}$ac_cv_lib_avformat_audio_init" >&6
-else
- ac_cv_lib_avformat_audio_init=no
-fi
-if test $ac_cv_lib_avformat_audio_init = yes; then
+if test x$ac_cv_lib_avformat_audio_init = xyes; then
ac_my_have_ffmpeg_audio="1"
else
unset ac_cv_lib_avformat_audio_open ; echo "$as_me:$LINENO: checking for audio_init in -lavformat" >&5