configure.ac: Execute ffmpeg's configure command from that directory
authorEdward Hervey <bilboed@bilboed.com>
Mon, 31 May 2010 17:18:20 +0000 (19:18 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Mon, 31 May 2010 17:18:20 +0000 (19:18 +0200)
Avoids stupid sed warnings

configure.ac

index cf4ba1d0ec05944db77c619fd18925d8c9857308..b9ff42e4bcdda69dd8f689835c968a8a485984d3 100644 (file)
@@ -348,7 +348,7 @@ else
   esac
 
   dnl checks for extra enable/disable flags
-  FFMPEG_OPTS="`$srcdir/gst-libs/ext/ffmpeg/configure --help`"
+  FFMPEG_OPTS="(cd $srcdir/gst-libs/ext/ffmpeg && ./configure --help)"
   # Let's check if we can disable the building of the ffmpeg binary
   can_disable=`echo "$FFMPEG_OPTS" | grep 'disable-ffmpeg'`
   if test "$can_disable" != ""; then