summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-01-15 14:49:50 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-01-15 14:49:50 +0000
commit45bee14fec248d79a345ef970ad4933540d50dac (patch)
tree75fcdc9b1e9a2516c2e5aff534f64409e1719bf1 /configure.ac
parentPhil Pennock: 26312: Document no variables altered on failed match (diff)
downloadzsh-45bee14fec248d79a345ef970ad4933540d50dac.tar
zsh-45bee14fec248d79a345ef970ad4933540d50dac.tar.gz
zsh-45bee14fec248d79a345ef970ad4933540d50dac.tar.bz2
zsh-45bee14fec248d79a345ef970ad4933540d50dac.tar.lz
zsh-45bee14fec248d79a345ef970ad4933540d50dac.tar.xz
zsh-45bee14fec248d79a345ef970ad4933540d50dac.tar.zst
zsh-45bee14fec248d79a345ef970ad4933540d50dac.zip
26313: --enable-custom-patchlevel
unposted: WARN_CREATE_GLOBAL in tcp_log
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4b73c2bad..50658e573 100644
--- a/configure.ac
+++ b/configure.ac
@@ -304,6 +304,14 @@ fi], [sitescriptdir=${datadir}/${tzsh_name}/scripts])
AC_SUBST(scriptdir)dnl
AC_SUBST(sitescriptdir)dnl
+AH_TEMPLATE([CUSTOM_PATCHLEVEL],
+[Define to a custom value for the ZSH_PATCHLEVEL parameter])
+AC_ARG_ENABLE(custom-patchlevel,
+AC_HELP_STRING([--enable-custom-patchlevel], [set a custom ZSH_PATCHLEVEL value]),
+[if test x$enableval != x && test x$enableval != xno; then
+ AC_DEFINE_UNQUOTED([CUSTOM_PATCHLEVEL], ["$enableval"])
+fi])
+
dnl Do you want maildir support?
ifdef([maildir_support],[undefine([maildir_support])])dnl
AH_TEMPLATE([MAILDIR_SUPPORT],