m4: Remove extra check for 11+ year old a52 release
authorEdward Hervey <edward@collabora.com>
Thu, 20 Feb 2014 20:08:08 +0000 (21:08 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Sun, 23 Feb 2014 09:44:27 +0000 (10:44 +0100)
You deserve a build failure if you still have that version

If someone wants to completely remove this m4 to replace it with the
generic AS_GST_CHECK_LIBHEADER() it would be appreciated.

m4/a52.m4

index 00e1f70528b934486a66bfd529ccab513532cf48..33594bc9c21081a5151cb7b9432d52cd1b62bcdc 100644 (file)
--- a/m4/a52.m4
+++ b/m4/a52.m4
@@ -91,23 +91,6 @@ main ()
 
     if test "x$HAVE_A52DEC" = "xno"; then
         echo "*** Your a52dec is borked somehow. Please update to 0.7.4 or newer."
-    else
-        AC_TRY_RUN([
-#include <inttypes.h>
-#include <a52dec/a52.h>
-
-int 
-main ()
-{
-  int i = sizeof (a52_state_t);
-  if ( i )
-    return 0;
-}
-            ],, HAVE_A52DEC=no, [echo $ac_n "cross compiling; assumed OK... $ac_c"])
-
-        if test "x$HAVE_A52DEC" = "xno"; then
-            echo "*** Your a52dec is too old. Please update to 0.7.4 or newer."
-        fi
     fi
     CFLAGS="$ac_save_CFLAGS"
     LIBS="$ac_save_LIBS"