Original commit message from CVS:
* configure.ac:
* gst/Makefile.am:
subparse needs regex.h - might need to move to sys/
-Subproject commit a0c6a14dbc3cb62bf513502eaef83d0600a7c1ca
+Subproject commit 959da4a43c2e6218eb4f43e8c7e29c1db4157db1
ffmpegcolorspace \
playback \
sine \
- subparse \
tcp \
typefind \
videotestsrc \
dnl used in gst/ffmpegcolorspace/mem.c
dnl FIXME: could be fixed by redefining av_malloc and av_free to GLib's
-AC_CHECK_HEADER([malloc.h])
+AC_CHECK_HEADERS([malloc.h])
+
+dnl used in gst/subparse/gstsubparse.c
+AC_CHECK_HEADERS([regex.h], HAVE_REGEX_H="yes", HAVE_REGEX_H="no")
+AM_CONDITIONAL(HAVE_REGEX_H, test "x$HAVE_REGEX_H" = "xyes")
dnl ffmpegcolorspace includes _stdint.h
AX_CREATE_STDINT_H
-SUBDIRS = $(GST_PLUGINS_SELECTED)
-DIST_SUBDIRS = $(GST_PLUGINS_ALL)
+if HAVE_REGEX_H
+SUBPARSE = subparse
+else
+SUBPARSE =
+endif
+
+SUBDIRS = $(GST_PLUGINS_SELECTED) $(SUBPARSE)
+DIST_SUBDIRS = $(GST_PLUGINS_ALL) subparse