Re-add conditional check for SED
authorJan Schmidt <jan.schmidt@sun.com>
Fri, 30 Jan 2009 16:18:14 +0000 (16:18 +0000)
committerJan Schmidt <jan.schmidt@sun.com>
Fri, 30 Jan 2009 16:18:14 +0000 (16:18 +0000)
Re-add conditional check for SED to the gtk-doc.m4 check so that we
don't rely on it being pulled in implicitly by something else. Fixes
Solaris build.

m4/gtk-doc.m4

index bfdfa1da69a1d5cfc4113877a7ba69e8c2c18b34..39a4e7d11cb68a88036695cd8f3e4f19b7aeefb7 100644 (file)
@@ -27,6 +27,9 @@ AC_DEFUN([GTK_DOC_CHECK],
                         AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
       [PKG_CHECK_EXISTS([gtk-doc >= $1],,
                         AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build gtk-doc]))])
+    if test -z "$SED"; then
+      AC_PROG_SED
+    fi
   fi
 
   AC_MSG_CHECKING([whether to build gtk-doc documentation])