summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-29 15:52:43 +0100
committerMax Kellermann <max@duempel.org>2013-01-29 15:52:43 +0100
commitae77406b8ebfa3462f776f2d0b9bf4ee0ca36d8d (patch)
treead3bfd846b33b5488e78f176adbc68b6ebc08b57 /m4
parent2d16069211764f3bb5bb30b1925549e023e3519b (diff)
faad.m4: clear FAAD_LIBS if faad got auto-disabled
Fixes build errors on systems without libfaad, when --disable-aac was not specified.
Diffstat (limited to 'm4')
-rw-r--r--m4/faad.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/faad.m4 b/m4/faad.m4
index eb000dc98..cda4298e3 100644
--- a/m4/faad.m4
+++ b/m4/faad.m4
@@ -132,6 +132,9 @@ int main() {
CFLAGS=$oldcflags
LIBS=$oldlibs
CPPFLAGS=$oldcppflags
+else
+ FAAD_LIBS=""
+ FAAD_CFLAGS=""
fi
AC_SUBST(FAAD_CFLAGS)