summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2002-06-03 20:27:10 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2002-06-03 20:27:10 +0000
commit2dfb49bb30d1ebc140af5d444f229bda54f7e2b9 (patch)
treec3674e495b17562dcf116c3e6329d11f6d0b08a9
parent95d4d8453e972be9dd32a9c14bd6e6a559061744 (diff)
downloadxine-lib-2dfb49bb30d1ebc140af5d444f229bda54f7e2b9.tar.gz
xine-lib-2dfb49bb30d1ebc140af5d444f229bda54f7e2b9.tar.bz2
some beautification to dxr3 configure check
CVS patchset: 2004 CVS date: 2002/06/03 20:27:10
-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")