summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acconfig.h3
-rw-r--r--configure.in4
2 files changed, 6 insertions, 1 deletions
diff --git a/acconfig.h b/acconfig.h
index 7403a998e..ae6db58ca 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -104,6 +104,9 @@
/* Define this if you have ip_mreqn in netinet/in.h */
#undef HAVE_IP_MREQN
+/* Define this if you have a dxr3 mpeg encoder card */
+#undef HAVE_DXR3
+
/* Define this if you have libfame mpeg encoder installed (fame.sf.net) */
#undef HAVE_LIBFAME
diff --git a/configure.in b/configure.in
index ba8735c7b..b6b0d533e 100644
--- a/configure.in
+++ b/configure.in
@@ -441,7 +441,9 @@ AC_SUBST([LINUX_INCLUDE])
AC_CHECK_DXR3()
AM_CONDITIONAL(HAVE_DXR3, test x"$have_dxr3" = "xyes")
AM_CONDITIONAL(HAVE_LIBFAME, test x"$have_libfame" = "xyes")
-AM_PATH_LIBFAME(0.8.10, [AC_DEFINE([HAVE_NEW_LIBFAME])])
+if test x"$have_libfame" = "xyes" ; then
+ AM_PATH_LIBFAME(0.8.10, AC_DEFINE(HAVE_NEW_LIBFAME))
+fi
AM_CONDITIONAL(HAVE_LIBRTE, test x"$have_librte" = "xyes")
AM_CONDITIONAL(HAVE_ENCODER, test x"$have_encoder" = "xyes")