summaryrefslogtreecommitdiff
path: root/docs/docbook/configure.in
blob: c115fd88c0d4dae53a790eb7b34fe545892b8ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
AC_INIT(global.ent)

## check for the necesary install tools
AC_PATH_PROG(JADE,openjade)

if test -z "$JADE"; then
	AC_PATH_PROG(JADE,jade)
fi

AC_PATH_PROG(NSGMLS, nsgmls)
AC_PATH_PROG(HTMLDOC, htmldoc)
AC_PATH_PROG(ONSGMLS, onsgmls)
AC_PATH_PROG(SGMLSPL, sgmlspl)

dnl ----------------------------------------------------------------
dnl --with-sgml-share
SGML_SHARE="/usr/local/share/sgml"

AC_ARG_WITH(SGML_SHARE,
[  --with-sgml-share=DIR   change the default location of SGML stylesheets],
[case "$withval" in
        no) SGML_SHARE=""
                ;;
        yes)
                ;;
        /*|\\*)
                SGML_SHARE="$withval"
                ;;
        *)
                SGML_SHARE="/$withval"
                ;;
esac
])dnl

AC_SUBST(SGML_SHARE)dnl



DOC_BUILD_DATE=`date '+%d-%m-%Y'`
AC_SUBST(DOC_BUILD_DATE)

AC_OUTPUT( Makefile )