diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2002-08-07 00:22:04 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2002-08-07 00:22:04 +0000 |
commit | 0de3cec50a9affced4809cd7dae51d22342c52b8 (patch) | |
tree | 49f2b7ee0c662b4d1b445104c21d95b8d2d98a71 | |
parent | a5481ad675e7837f626d6c7756cd8d6d742c135f (diff) | |
download | gst-plugins-bad-0de3cec50a9affced4809cd7dae51d22342c52b8.tar.gz gst-plugins-bad-0de3cec50a9affced4809cd7dae51d22342c52b8.tar.bz2 gst-plugins-bad-0de3cec50a9affced4809cd7dae51d22342c52b8.zip |
split gst plugins between c and c++ ones
Original commit message from CVS:
split gst plugins between c and c++ ones
-rw-r--r-- | configure.ac | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 36955fd3..cb02fc64 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,11 @@ AC_PROG_CC AM_PROG_CC_STDC AM_PROG_AS AS="${CC}" +dnl determine c++ compiler AC_PROG_CXX +dnl determine if c++ is available on this system +AC_CHECK_PROG(HAVE_CXX, $CXX, yes, no) +dnl determine c++ preprocessor AC_PROG_CXXCPP AC_ISC_POSIX @@ -131,7 +135,6 @@ GST_CHECK_FEATURE(GCONF, [GConf libraries], , [ AC_SUBST(GCONF_CFLAGS) AC_SUBST(GCONF_LIBS) ]) -AC_SUBST(HAVE_GCONF) dnl check for gstreamer; uninstalled is selected preferentially -- see pkg-config(1) PKG_CHECK_MODULES(GST, gstreamer >= $GST_PLUGINS_MAJOR.$GST_PLUGINS_MINOR.$GST_PLUGINS_MICRO, @@ -213,10 +216,19 @@ GST_PLUGINS_ALL="\ cutter deinterlace effectv festival filter flx goom\ intfloat law level\ median mixmatrix mpeg1enc mpeg1sys mpeg1videoparse mpeg2enc mpeg2sub\ - mpegaudio mpegaudioparse mpegstream mpegtypes modplug\ + mpegaudio mpegaudioparse mpegstream mpegtypes\ monoscope passthrough playondemand qtdemux rtjpeg silence sine\ smooth spectrum speed stereo stereomono\ - synaesthesia udp videocrop videoscale videotestsrc volenv volume vumeter wavparse y4m" + synaesthesia udp videocrop videoscale videotestsrc volenv volume\ + vumeter wavparse y4m" + +dnl see if we can build C++ plug-ins +if test "x$HAVE_CXX" = "xyes"; then + GST_PLUGINS_ALL="$GST_PLUGINS_ALL \ + modplug" +else + echo "Not compiling plug-ins requiring C++ compiler" +fi AC_SUBST(GST_PLUGINS_ALL) |