From: Thomas Vander Stichele Date: Tue, 13 Aug 2002 11:56:57 +0000 (+0000) Subject: also adding a libstdc++ check explicitly X-Git-Tag: CAPS~225 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ce9f8cb8973aff49a9abed4deac208df11baf69;p=platform%2Fupstream%2Fgst-plugins-base.git also adding a libstdc++ check explicitly Original commit message from CVS: also adding a libstdc++ check explicitly --- diff --git a/configure.ac b/configure.ac index 76f7513..80115d9 100644 --- a/configure.ac +++ b/configure.ac @@ -412,8 +412,18 @@ 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$HAVE_CXX" = "xyes"; then - AS_AVIFILE(0.7.0) + 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" + ] + ) fi ])