summaryrefslogtreecommitdiff
path: root/m4/a52.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/a52.m4')
-rw-r--r--m4/a52.m48
1 files changed, 6 insertions, 2 deletions
diff --git a/m4/a52.m4 b/m4/a52.m4
index 0065deeb..e5625817 100644
--- a/m4/a52.m4
+++ b/m4/a52.m4
@@ -79,14 +79,18 @@ int
main ()
{
a52_state_t *state;
+#if defined(A52_ACCEL_DETECT)
+ state = a52_init ();
+#else
state = a52_init (0);
+#endif
a52_free (state);
return 0;
}
],, HAVE_A52DEC=no, [echo $ac_n "cross compiling; assumed OK... $ac_c"])
if test HAVE_A52DEC = "no"; then
- echo "*** Your a52dec is borked somehow. Please update to 0.7.4."
+ echo "*** Your a52dec is borked somehow. Please update to 0.7.4 or newer."
else
AC_TRY_RUN([
#include <inttypes.h>
@@ -102,7 +106,7 @@ main ()
], HAVE_A52DEC=no,, [echo $ac_n "cross compiling; assumed OK... $ac_c"])
if test HAVE_A52DEC = "no"; then
- echo "*** Your a52dec is too old. Please update to 0.7.4."
+ echo "*** Your a52dec is too old. Please update to 0.7.4 or newer."
fi
fi
CFLAGS="$ac_save_CFLAGS"