From faa23b57b824bd9e4f7177691f17b2056967c9e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 21 Dec 2012 14:28:57 +0100 Subject: [PATCH] configure: Pass CC, LD, AS, AR and NM to the libav configure if set --- configure.ac | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/configure.ac b/configure.ac index c8233fa..0695a8a 100644 --- a/configure.ac +++ b/configure.ac @@ -338,6 +338,26 @@ else ;; esac + if test x"$AR" != x; then + emblibav_configure_args="$emblibav_configure_args --ar=\\\"\\\$AR\\\"" + fi + + if test x"$AS" != x; then + emblibav_configure_args="$emblibav_configure_args --as=\\\"\\\$AS\\\"" + fi + + if test x"$CC" != x; then + emblibav_configure_args="$emblibav_configure_args --cc=\\\"\\\$CC\\\"" + fi + + if test x"$LD" != x; then + emblibav_configure_args="$emblibav_configure_args --ld=\\\"\\\$CC\\\"" + fi + + if test x"$NM" != x; then + emblibav_configure_args="$emblibav_configure_args --nm=\\\"\\\$NM\\\"" + fi + dnl checks for extra enable/disable flags LIBAV_OPTS="(cd $srcdir/gst-libs/ext/libav && ./configure --help)" # Let's check if we can disable the building of the libav binary -- 2.7.4