[0.11] gst-ffmpeg: configure.ac: improve path handling in out-of-tree build

Sebastian Dröge slomo at kemper.freedesktop.org
Wed Jan 18 01:22:41 PST 2012


Module: gst-ffmpeg
Branch: 0.11
Commit: 9b7bd04ad99ccbec35d464891bba35d350e23e9d
URL:    http://cgit.freedesktop.org/gstreamer/gst-ffmpeg/commit/?id=9b7bd04ad99ccbec35d464891bba35d350e23e9d

Author: Mark Nauwelaerts <mark.nauwelaerts at collabora.co.uk>
Date:   Thu Jan 27 22:25:13 2011 +0100

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.

---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 6756f0a..ab03994 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])



More information about the gstreamer-commits mailing list