From babd1460dffe2b5e60097cc813dc41d581252ff5 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Tue, 13 Aug 2002 12:29:00 +0000 Subject: [PATCH] ok, i should stop playing around with this now ;) Original commit message from CVS: ok, i should stop playing around with this now ;) --- configure.ac | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/configure.ac b/configure.ac index 80115d9..b103652 100644 --- a/configure.ac +++ b/configure.ac @@ -412,19 +412,30 @@ GST_CHECK_FEATURE(AUDIOFILE, [audiofile], afsink afsrc, [ dnl *** avifile *** translit(dnm, m, l) AM_CONDITIONAL(USE_AVIFILE, true) GST_CHECK_FEATURE(AVIFILE, [avifile], winenc windec, [ + if test "x$no_x" = "xyes"; then + AC_MSG_WARN([No X libraries found, avifile test might fail compilation]) + fi if test "x$HAVE_CXX" != "xyes"; then - AC_MSG_WARN(No C++ compiler found, not compiling avifile plug-ins) - HAVE_AVIFILE="no" - else - dnl check for libstdc++ - AC_CHECK_LIB(stdc++, cout, - [AS_AVIFILE(0.7.0)], - [ - AC_MSG_WARN(You need libstdc++ to compile with avifile) - HAVE_AVIFILE="no" - ] - ) + AC_MSG_WARN([No C++ compiler found, avifile test will fail compilation]) fi + AC_CHECK_LIB(stdc++, cout,, + [AC_MSG_WARN([no libstdc++ found, avifile test will fail])] + ) + AS_AVIFILE(0.7.0) + +dnl if test "x$HAVE_CXX" != "xyes"; then +dnl HAVE_AVIFILE="no" +dnl else +dnl dnl check for libstdc++ +dnl AC_CHECK_LIB(stdc++, cout, +dnl dnl check for X LIBS +dnl [AS_AVIFILE(0.7.0)], +dnl [ +dnl AC_MSG_WARN(You need libstdc++ to compile with avifile) +dnl HAVE_AVIFILE="no" +dnl ] +dnl ) +dnl fi ]) dnl *** CDParanoia *** -- 2.7.4