summaryrefslogtreecommitdiff
path: root/m4/dbus-py-add-rst2htmlflag.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/dbus-py-add-rst2htmlflag.m4')
-rw-r--r--m4/dbus-py-add-rst2htmlflag.m421
1 files changed, 0 insertions, 21 deletions
diff --git a/m4/dbus-py-add-rst2htmlflag.m4 b/m4/dbus-py-add-rst2htmlflag.m4
deleted file mode 100644
index 59e37ec..0000000
--- a/m4/dbus-py-add-rst2htmlflag.m4
+++ /dev/null
@@ -1,21 +0,0 @@
-dnl DBUS_PY_ADD_RST2HTMLFLAG(FLAG)
-dnl checks whether rst2html supports the given flag, and if so, adds
-dnl it to $RST2HTMLFLAGS. Same as JH_ADD_CFLAG, really.
-AC_DEFUN([DBUS_PY_ADD_RST2HTMLFLAG],
-[
-AS_CASE([" $RST2HTMLFLAGS "],
-[*@<:@\ \ @:>@$1@<:@\ \ @:>@*],
- [],
-[*],
- [
- save_RST2HTMLFLAGS="$RST2HTMLFLAGS"
- RST2HTMLFLAGS="$RST2HTMLFLAGS $1"
- AC_MSG_CHECKING([whether [$]RST2HTML understands $1])
- AS_IF([$RST2HTML --strict $RST2HTMLFLAGS /dev/null > /dev/null 2>/dev/null],
- [dbuspy_has_option=yes],
- [dbuspy_has_option=no])
- AC_MSG_RESULT($dbuspy_has_option)
- AS_IF([test $dbuspy_has_option = no],
- [RST2HTMLFLAGS="$save_RST2HTMLFLAGS"])
- ])
-])