Commit aa24bcc2 authored by Stefan Kost's avatar Stefan Kost

m4/gtk-doc.m4: Conditionally check for SED.

Original commit message from CVS:
* m4/gtk-doc.m4:
Conditionally check for SED.
parent df7f73bd
2008-02-08 Stefan Kost <ensonic@users.sf.net>
* m4/gtk-doc.m4:
Conditionally check for SED.
2008-02-08 Stefan Kost <ensonic@users.sf.net> 2008-02-08 Stefan Kost <ensonic@users.sf.net>
* gtk-doc-plugins.mak: * gtk-doc-plugins.mak:
......
...@@ -29,8 +29,11 @@ AC_DEFUN([GTK_DOC_CHECK], ...@@ -29,8 +29,11 @@ AC_DEFUN([GTK_DOC_CHECK],
if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then if test "$PKG_CONFIG" != "no" && $PKG_CONFIG --exists gtk-doc; then
have_gtk_doc=yes have_gtk_doc=yes
fi fi
if test -z "$SED"; then
AC_PROG_SED
fi
dnl do we want to do a version check? dnl do we want to do a version check?
ifelse([$1],[],, ifelse([$1],[],,
[gtk_doc_min_version=$1 [gtk_doc_min_version=$1
if test "$have_gtk_doc" = yes; then if test "$have_gtk_doc" = yes; then
...@@ -48,6 +51,8 @@ ifelse([$1],[],, ...@@ -48,6 +51,8 @@ ifelse([$1],[],,
fi fi
fi fi
AC_PATH_PROGS(GTKDOC_CHECK,gtkdoc-check,)
AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes) AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes)
AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, test -n "$LIBTOOL") AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, test -n "$LIBTOOL")
]) ])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment