summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPhilipp Matthias Hahn <pmhahn@titan.lahn.de>2005-01-21 22:16:05 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-21 22:16:05 +0000
commit8b8e1c5580592ae207a9c2e9592bcef906ad3fd4 (patch)
tree838fdd0cd86faa3e34a94c329a0328be044a8b9e /configure
parentac930a999cf1d990c840f5f4286ce7f421df7160 (diff)
downloadffmpeg-8b8e1c5580592ae207a9c2e9592bcef906ad3fd4.tar.gz
Out-of-directory build patch by (Philipp Matthias Hahn <pmhahn titan.lahn de>)
preserve support for spaces in directories in case of in-tree builds by (James A. Morrison <ja2morri csclub.uwaterloo ca>) Originally committed as revision 3855 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure13
1 files changed, 9 insertions, 4 deletions
diff --git a/configure b/configure
index b5ddb48f5b..e0766ffa1f 100755
--- a/configure
+++ b/configure
@@ -1453,17 +1453,22 @@ fi
# build tree in object directory if source path is different from current one
if test "$source_path_used" = "yes" ; then
- DIRS="libavformat libavcodec libavcodec/alpha libavcodec/armv4l libavcodec/i386 \
- libavcodec/ppc libavcodec/liba52 libavcodec/mlib libavcodec/libpostproc tests vhook"
- FILES="Makefile libavformat/Makefile libavcodec/Makefile libavcodec/libpostproc/Makefile tests/Makefile vhook/Makefile"
+ DIRS="doc libavformat libavcodec libavcodec/alpha libavcodec/armv4l \
+ libavcodec/i386 libavcodec/sparc libavcodec/mlib \
+ libavcodec/ppc libavcodec/liba52 libavcodec/libpostproc tests vhook"
+ FILES="Makefile libavformat/Makefile libavcodec/Makefile \
+ libavcodec/libpostproc/Makefile tests/Makefile vhook/Makefile \
+ doc/Makefile doc/texi2pod.pl"
for dir in $DIRS ; do
mkdir -p $dir
done
for f in $FILES ; do
ln -sf "$source_path/$f" $f
done
+ echo "SRC_PATH=$source_path" >> config.mak
+else
+ echo "SRC_PATH='$source_path'" >> config.mak
fi
-echo "SRC_PATH='$source_path'" >> config.mak
if test "$amr_wb" = "yes" ; then
echo "#define AMR_WB 1" >> $TMPH