about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-06-19 11:19:25 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-06-19 11:19:25 +0900
commitecd3f9c9506c7720dc6c0833dc5d5eb00e4459c4 (patch)
treea0245139b13e323e4fd67afb1918bc2d4486eeab /configure.ac
parentcd1a0a70972e717aa93c5fd6b36f476b5593c206 (diff)
downloadzsh-ecd3f9c9506c7720dc6c0833dc5d5eb00e4459c4.tar.gz
zsh-ecd3f9c9506c7720dc6c0833dc5d5eb00e4459c4.tar.xz
zsh-ecd3f9c9506c7720dc6c0833dc5d5eb00e4459c4.zip
51862: support texinfo-7.0
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4710d1659..ba76f9a60 100644
--- a/configure.ac
+++ b/configure.ac
@@ -623,7 +623,12 @@ fi
 
 if test x"$TEXI2HTML" = xtexi2any; then
   TEXI2HTML='texi2any -c TEXI2HTML=1'
+  case `texi2any --version 2>/dev/null | sed -e 's/^.*) *//' -e 1q` in
+    [[1-6]].*) SET_TEXI2ANY_VAR=set_from_init_file ;;
+    *) SET_TEXI2ANY_VAR=texinfo_set_from_init_file ;;
+  esac
 fi
+AC_SUBST(SET_TEXI2ANY_VAR)
 
 case "$LC_PAPER" in
   ??_US*) PAPERSIZE=us ;;