summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-21 14:28:57 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-12-21 14:38:09 +0100
commit33dcdf9eefbaa03f0db20b0f5267aaccba154011 (patch)
tree1fc7a0171060b5d80ff9992f1d5398049b6d0b24
parentc696b3c9d1d54da21b09f1b1e473f21c881226a0 (diff)
configure: Pass CC, LD, AS, AR and NM to the libav configure if set
-rw-r--r--configure.ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index cd1c44f..ae3a3b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -337,6 +337,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