summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c6d70d312..cab74c3c7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1985,8 +1985,10 @@ dnl Check for documentation formatting tool
dnl ---------------------------------------------
AC_CHECK_PROG(SGMLTOOLS, sgmltools, sgmltools, no)
-AC_CHECK_PROG(FIG2DEV, fig2dev, fig2dev, no)
+AM_CONDITIONAL([HAVE_SGMLTOOLS], [test "$sgmltools" != "no"])
+AC_CHECK_PROG(FIG2DEV, fig2dev, fig2dev, no)
+AM_CONDITIONAL([HAVE_FIG2DEV], [test "$fig2dev" != "no"])
dnl ---------------------------------------------
dnl Newest automake workaround