[FFmpeg-cvslog] r10073 - trunk/configure
ramiro
subversion
Sat Aug 11 21:51:37 CEST 2007
Author: ramiro
Date: Sat Aug 11 21:51:37 2007
New Revision: 10073
Log:
Enable swscale in vhooks only if swscale was configured.
Copied from Cygwin configure.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sat Aug 11 21:51:37 2007
@@ -1163,8 +1163,12 @@ case $targetos in
targetos=mingw32
shlibdir="$bindir"
dv1394="no"
- VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libswscale -L$(BUILD_ROOT)/libavutil'
- VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lswscale$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)'
+ VHOOKSHFLAGS='-shared -L$(BUILD_ROOT)/libavformat -L$(BUILD_ROOT)/libavcodec -L$(BUILD_ROOT)/libavutil'
+ VHOOKLIBS='-lavformat$(BUILDSUF) -lavcodec$(BUILDSUF) -lavutil$(BUILDSUF) $(EXTRALIBS)'
+ if enabled swscaler; then
+ VHOOKSHFLAGS="$VHOOKSHFLAGS -L\$(BUILD_ROOT)/libswscale"
+ VHOOKLIBS="$VHOOKLIBS -lswscale\$(BUILDSUF)"
+ fi
ffserver="no"
network="no"
SLIBPREF=""
More information about the ffmpeg-cvslog
mailing list