configure.ac: handle out-of-tree build

In file included from <gst-ffmpeg>/gst-libs/ext/libav/libavutil/avutil.h:318:0,
                 from <gst-ffmpeg>/gst-libs/ext/libav/libswscale/swscale.h:30,
                 from <gst-ffmpeg>/ext/libswscale/gstffmpegscale.c:26:
<gst-ffmpeg>/gst-libs/ext/libav/libavutil/common.h:38:32: fatal error: libavutil/avconfig.h: No such file or directory
compilation terminated.
This commit is contained in:
Mark Nauwelaerts 2012-09-11 20:40:07 +02:00
parent b9e32291a9
commit c489e4163a

View file

@ -265,6 +265,7 @@ else
dnl libgstlibav.la: include dirs
LIBAV_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/libav \
-I \$(top_builddir)/gst-libs/ext/libav \
-Wno-deprecated-declarations"
dnl libgstlibav.la: libs to statically link to
@ -274,6 +275,7 @@ else
dnl
SWSCALE_CFLAGS="-I \$(top_srcdir)/gst-libs/ext/libav \
-I \$(top_builddir)/gst-libs/ext/libav \
-Wno-deprecated-declarations"
dnl libgstswscale.la: libs to statically link to