diff options
author | Руслан Ижбулатов <lrn1986@gmail.com> | 2012-04-15 23:39:48 +0400 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2012-05-17 13:15:05 +0200 |
commit | b199334a6bcfb384a9cbe8f93c5d1dce1622c1b6 (patch) | |
tree | 727092509bc3421a526d978c1c9b0862f0b1d88e /m4 | |
parent | 4d97760993ddef99175f1dc2bcf1444fcd1943f9 (diff) |
a52dec: adapt to work also with new liba52
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=674091
Diffstat (limited to 'm4')
-rw-r--r-- | m4/a52.m4 | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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" |