about summary refs log tree commit diff
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
parent3af9307d1428a20718e8a0ace3242c5d2dd0a43b (diff)
downloadzsh-45bee14fec248d79a345ef970ad4933540d50dac.tar.gz
zsh-45bee14fec248d79a345ef970ad4933540d50dac.tar.xz
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],