configure.ac: Find and subst SED when building the docs.
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 8 Feb 2008 14:54:30 +0000 (14:54 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 8 Feb 2008 14:54:30 +0000 (14:54 +0000)
Original commit message from CVS:
* configure.ac:
Find and subst SED when building the docs.

ChangeLog
configure.ac

index 158022a..9b3590f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-08  Jan Schmidt  <Jan.Schmidt@sun.com>
+
+       * configure.ac:
+       Find and subst SED when building the docs.
+
 2008-02-08  Julien Moutte  <julien@fluendo.com>
 
        * tests/examples/seek/seek.c: (stop_cb), (connect_bus_signals),
index c12068d..1944017 100644 (file)
@@ -158,6 +158,12 @@ GTK_DOC_CHECK([1.3])
 AS_PATH_PYTHON([2.1])
 AG_GST_PLUGIN_DOCS([1.3],[2.1])
 
+dnl We need SED if building the docs
+if test "x$ENABLE_PLUGIN_DOCS" = "xyes"; then
+  AC_PROG_SED
+  AC_SUBST(SED)
+fi
+
 dnl *** checks for libraries ***
 
 dnl For interactive UNIX (a Sun thing)