Merge CV, ver=5.1; ops/methods from HV, and interface from CV where possible
[goodguy/history.git] / cinelerra-5.1 / libzmpeg3 / a52dec-0.7.3 / liba52 / configure.incl
diff --git a/cinelerra-5.1/libzmpeg3/a52dec-0.7.3/liba52/configure.incl b/cinelerra-5.1/libzmpeg3/a52dec-0.7.3/liba52/configure.incl
new file mode 100644 (file)
index 0000000..4dbbcea
--- /dev/null
@@ -0,0 +1,19 @@
+AC_SUBST([LIBA52_CFLAGS])
+AC_SUBST([LIBA52_LIBS])
+
+dnl avoid -fPIC when possible
+LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
+
+AC_ARG_ENABLE([double],
+    [  --enable-double         use double-precision samples])
+if test x"$enable_double" = x"yes"; then
+    AC_DEFINE([LIBA52_DOUBLE],,[a52 sample precision])
+fi
+
+dnl check for djbttf
+AC_ARG_ENABLE([djbfft],
+    [  --enable-djbfft         make a version using djbfft])
+if test x"$enable_djbfft" = x"yes"; then
+    AC_DEFINE([LIBA52_DJBFFT],,[liba52 djbfft support])
+    LIBA52_LIBS="$LIBA52_LIBS -ldjbfft"
+fi