summaryrefslogtreecommitdiff
path: root/docs/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configure.ac')
-rw-r--r--docs/configure.ac49
1 files changed, 28 insertions, 21 deletions
diff --git a/docs/configure.ac b/docs/configure.ac
index 4440290d0c5..97c2b2201fe 100644
--- a/docs/configure.ac
+++ b/docs/configure.ac
@@ -16,30 +16,37 @@ AC_SUBST(SAMBASOURCEDIR)
DOCS_TARGET_REQUIRE_PROGRAM(XSLTPROC, xsltproc, ALL)
DOCS_TARGET_REQUIRE_PROGRAM(RM, rm, ALL)
-DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, LATEX)
-DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, PS)
-DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, PDF)
-DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, HTML)
-DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, HTMLHELP)
-DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, PEARSON)
-DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, PLUCKER)
-DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, FOPDF)
-
+dnl DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, LATEX)
+dnl DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, PS)
+dnl DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, PDF)
+dnl DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, HTML)
+dnl DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, HTMLHELP)
+dnl DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, PEARSON)
+dnl DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, PLUCKER)
+dnl DOCS_TARGET_REQUIRE_PROGRAM(DIA, dia, FOPDF)
+DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, LATEX)
+DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, PS)
+DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, PDF)
+DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, HTML)
+DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, HTMLHELP)
+DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, PEARSON)
+DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, PLUCKER)
+DOCS_TARGET_REQUIRE_PROGRAM(INKSCAPE, inkscape, FOPDF)
# Check dia version number
-if test -n "$DIA"; then
- [ DIA_VERSION=`$DIA -v | egrep -o '([0-9]+)\.([0-9]+)'`]
- DIA_MAJ_VERSION=`echo $DIA_VERSION | cut -d . -f 1`
- DIA_MIN_VERSION=`echo $DIA_VERSION | cut -d . -f 2`
+#if test -n "$DIA"; then
+# [ DIA_VERSION=`$DIA -v | egrep -o '([0-9]+)\.([0-9]+)'`]
+# DIA_MAJ_VERSION=`echo $DIA_VERSION | cut -d . -f 1`
+# DIA_MIN_VERSION=`echo $DIA_VERSION | cut -d . -f 2`
- if test "$DIA_MAJ_VERSION" -le "0"
- then
- if test "$DIA_MIN_VERSION" -le "92" && test -z "$DISPLAY"
- then
- AC_MSG_ERROR([Dia below 0.93 requires an X environment. Set \$DISPLAY or install Dia 0.93 or higher])
- fi
- fi
-fi
+# if test "$DIA_MAJ_VERSION" -le "0"
+# then
+# if test "$DIA_MIN_VERSION" -le "92" && test -z "$DISPLAY"
+# then
+# AC_MSG_ERROR([Dia below 0.93 requires an X environment. Set \$DISPLAY or install Dia 0.93 or higher])
+# fi
+# fi
+#fi
DOCS_TARGET_REQUIRE_PROGRAM(MAKEINDEX, makeindex, LATEX)
DOCS_TARGET_REQUIRE_PROGRAM(PDFLATEX, pdflatex, PDF)