mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-12-25 02:30:10 +01:00
configure: Add option to disable building documentation.
Signed-off-by: Üstün Ergenoğlu <ego@ustun.fi>
This commit is contained in:
parent
707623f0cb
commit
ecfb79bd71
1 changed files with 9 additions and 1 deletions
10
configure.ac
10
configure.ac
|
|
@ -33,6 +33,12 @@ AC_ARG_ENABLE([scanner],
|
|||
[],
|
||||
[enable_scanner=yes])
|
||||
|
||||
AC_ARG_ENABLE([documentation],
|
||||
[AC_HELP_STRING([--disable-documentation],
|
||||
[Disable building the documentation])],
|
||||
[],
|
||||
[enable_documentation=yes])
|
||||
|
||||
AM_CONDITIONAL(ENABLE_SCANNER, test "x$enable_scanner" = xyes)
|
||||
|
||||
EXPAT_LIB=""
|
||||
|
|
@ -51,7 +57,9 @@ fi
|
|||
AC_PATH_PROG(XSLTPROC, xsltproc)
|
||||
AM_CONDITIONAL([HAVE_XSLTPROC], [test "x$XSLTPROC" != "x"])
|
||||
|
||||
AC_PATH_PROG(PUBLICAN, publican)
|
||||
if test "x$enable_documentation" = "xyes"; then
|
||||
AC_PATH_PROG(PUBLICAN, publican)
|
||||
fi
|
||||
AM_CONDITIONAL([HAVE_PUBLICAN], [test "x$PUBLICAN" != "x"])
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue