- touch configure.ac \
- && touch aclocal.m4 \
- && touch configure \
- && touch config.h.in \
- && touch `find . -name Makefile.in`
-
- # Check that we have an ffmpeg tree in here (can be a symlink)
- test -d extras/ffmpeg
- if test ! -d CVS; then \
- cd extras/ffmpeg \
- && ./configure \
- && cd libavcodec \
- && $(MAKE); \
- fi
-
- # Check that we have an faad tree in here (can be a symlink)
- test -d extras/faad
- if test ! -d CVS; then \
- cd extras/faad \
- && touch `find . -name configure.in` \
- && touch `find . -name aclocal.m4` \
- && touch `find . -name configure` \
- && touch `find . -name config.h.in` \
- && touch `find . -name Makefile.in` \
- && ./configure --disable-shared \
- && cd libfaad \
- && $(MAKE); \
- fi
-
- # Check that we have an mpeg2dec tree in here (can be a symlink)
- test -d extras/mpeg2dec
- if test ! -d CVS; then \
- cd extras/mpeg2dec \
- && touch configure.in \
- && touch aclocal.m4 \
- && touch acinclude.m4 \
- && touch configure \
- && touch `find . -name config.h.in` \
- && touch `find . -name Makefile.in` \
- && ./configure --disable-shared \
- && cd libmpeg2 \
- && $(MAKE); \
- fi
+ touch configure.ac
+ touch aclocal.m4
+ touch configure
+ touch config.h.in
+ touch `find . -name Makefile.in`
+
+ # Check that we have an x264 tree in here (can be a symlink)
+ test -d extras/x264
+ cd extras/x264 \
+ && ./configure $(confflags) --extra-cflags='$$(ECFLAGS)' \
+ --extra-asflags='$$(EASFLAGS)' \
+ && $(MAKE)
+
+ # Check that we have an faad2 tree in here (can be a symlink)
+ test -d extras/faad2
+ cd extras/faad2 \
+ && touch `find . -name configure.in` \
+ && touch `find . -name aclocal.m4` \
+ && touch `find . -name configure` \
+ && touch `find . -name config.h.in` \
+ && touch `find . -name Makefile.in` \
+ && ./configure $(confflags) --disable-shared \
+ && cd libfaad \
+ && $(MAKE)