m4/a52.m4
raw| 1 | |
| 2 | dnl AM_PATH_A52([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) |
| 3 | dnl test for libogg |
| 4 | dnl defines A52_CFLAGS and A52_LIBS |
| 5 | |
| 6 | AC_DEFUN([AM_PATH_A52], |
| 7 | [ |
| 8 | AC_AVM_CHECK_LIB(a52, [for a52 (AC3)], [where liba52 is installed], |
| 9 | [-la52 -lm], [ |
| 10 | #if HAVE_INTTYPES_H |
| 11 | # include <inttypes.h> |
| 12 | #endif |
| 13 | #if HAVE_STDINT_H |
| 14 | # include <stdint.h> |
| 15 | #endif |
| 16 | #include <a52dec/a52.h>], [], [$1], [$2]) |
| 17 | ]) |
| 18 |