1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

26998: use --htmldir, restore zsh default if unchanged from configure default

This commit is contained in:
Peter Stephenson 2009-05-26 09:59:18 +00:00
parent ef9844b34c
commit 5ccb3c41fa
3 changed files with 15 additions and 3 deletions

View file

@ -26,7 +26,7 @@ dnl support, updates, enhancements, or modifications.
dnl
AC_INIT(Src/zsh.h)
AC_PREREQ(2.53b)
AC_PREREQ(2.59c)
AC_CONFIG_HEADER(config.h)
dnl What version of zsh are we building ?
@ -304,6 +304,12 @@ fi], [sitescriptdir=${datadir}/${tzsh_name}/scripts])
AC_SUBST(scriptdir)dnl
AC_SUBST(sitescriptdir)dnl
dnl htmldir is already handled, but if it wasn't set, use
dnl the standard zsh default.
if test x$htmldir = x'${docdir}' || test x$htmldir = x; then
htmldir='$(datadir)/$(tzsh)/htmldoc'
fi
AH_TEMPLATE([CUSTOM_PATCHLEVEL],
[Define to a custom value for the ZSH_PATCHLEVEL parameter])
AC_ARG_ENABLE(custom-patchlevel,