configure.ac: improve path handling in out-of-tree build

That is, handle the srcdir being given by a relative path as well as
an absolute path by using autotools provided absolute path.
This commit is contained in:
Mark Nauwelaerts 2011-01-27 22:25:13 +01:00
parent b9ff7da938
commit 9b7bd04ad9

View file

@ -379,7 +379,7 @@ else
if test -z "$srcdir" -o "$srcdir" = .; then
confcmd=./configure
else
confcmd="$origdir"/"$ac_top_srcdir"/gst-libs/ext/libav/configure
confcmd="$ac_abs_top_srcdir"/gst-libs/ext/libav/configure
fi
AS_MKDIR_P(["$ac_top_build_prefix"gst-libs/ext/libav])