[Ffmpeg-devel] libavutil / separate build directory

Alexander Strasser eclipse7
Sat Aug 6 11:36:54 CEST 2005


Justin Ruggles wrote:
> I wrote:
> > This is probably something simple in 'configure', but I'm not an expert
> > in that area, so I don't have a patch to offer...
> 
> OK, I gave it a shot.  Here is a guess at a patch.  It seems to work for me.

  Seems to work for me too.
I intend to apply the attached more diff friendly version later today.
Sorry for breaking it, but i don't build out of source dir and nobody
building outside did test my patches...

  Btw anyone knows why `mkdir -p' is used to create the directories?
It shouldn't be needed as parent dirs will be created just before
the child dirs (assuming mkdir create dirs according to arg order
from left to right; which the ones i tested did).
  I heard about -p being not portable across some mkdir implementations
though i must admit i didn't find one without it yet.

  Alex (beastd)
-------------- next part --------------
Index: configure
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/configure,v
retrieving revision 1.194
diff -u -r1.194 configure
--- configure	4 Aug 2005 19:50:09 -0000	1.194
+++ configure	6 Aug 2005 09:24:28 -0000
@@ -1619,10 +1619,11 @@
 if test "$source_path_used" = "yes" ; then
     DIRS="doc libavformat libavcodec libavcodec/alpha libavcodec/armv4l \
           libavcodec/i386 libavcodec/sparc libavcodec/mlib \
-          libavcodec/ppc libavcodec/liba52 libavcodec/libpostproc tests vhook"
+          libavcodec/ppc libavcodec/liba52 libavcodec/libpostproc tests \
+          vhook libavutil"
     FILES="Makefile libavformat/Makefile libavcodec/Makefile \
           libavcodec/libpostproc/Makefile tests/Makefile vhook/Makefile \
-          doc/Makefile doc/texi2pod.pl"
+          doc/Makefile doc/texi2pod.pl libavutil/Makefile"
     for dir in $DIRS ; do
             mkdir -p $dir
     done



More information about the ffmpeg-devel mailing list