diff options
author | Benjamin Otte <otte@gnome.org> | 2003-09-27 16:44:53 +0000 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2003-09-27 16:44:53 +0000 |
commit | 4258cd6910edd87fce34377cd78472f5d019c063 (patch) | |
tree | a87cda30ae2d8eb24c30169075c74f1e5556ca11 | |
parent | 05fe14304989a3fd97e069f7ce744f03b2edbf86 (diff) |
make ffmpeg erroring out work:
Original commit message from CVS:
make ffmpeg erroring out work:
- don't built gst-libs/ext/ffmpeg
- don't update Tag when cvs command fails
-rw-r--r-- | gst-libs/ext/Makefile.am | 8 | ||||
-rw-r--r-- | m4/as-slurp-ffmpeg.m4 | 5 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gst-libs/ext/Makefile.am b/gst-libs/ext/Makefile.am index 7271132c6..587ac143a 100644 --- a/gst-libs/ext/Makefile.am +++ b/gst-libs/ext/Makefile.am @@ -1,3 +1,9 @@ -SUBDIRS = ffmpeg mplex +if USE_FFMPEG +FFMPEG_DIR=ffmpeg +else +FFMPEG_DIR= +endif + +SUBDIRS = $(FFMPEG_DIR) mplex DIST_SUBDIRS= ffmpeg mplex diff --git a/m4/as-slurp-ffmpeg.m4 b/m4/as-slurp-ffmpeg.m4 index 8fbb8835d..f8fe2346b 100644 --- a/m4/as-slurp-ffmpeg.m4 +++ b/m4/as-slurp-ffmpeg.m4 @@ -28,7 +28,6 @@ AC_DEFUN(AS_SLURP_FFMPEG, # check out cvs code AC_MSG_NOTICE(checking out ffmpeg cvs code from $2 into $1) cvs -Q -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co -D '$2' ffmpeg || FAILED=yes - echo "$2" > Tag else # compare against Tag file and see if it needs updating if test "`cat Tag`" == "$2"; then @@ -38,9 +37,11 @@ AC_DEFUN(AS_SLURP_FFMPEG, AC_MSG_NOTICE(updating ffmpeg cvs code to $2) cvs -Q update -dP -D '$2' || FAILED=yes cd .. - echo "$2" > Tag fi fi + if test "x$FAILED" != "xyes"; then + echo "$2" > Tag + fi # now go back cd $DIRECTORY |