texlive[57634] Build/source/texk/bibtex-x: bibtex-x: Add TL version
commits+takuji at tug.org
commits+takuji at tug.org
Sat Feb 6 05:44:15 CET 2021
Revision: 57634
http://tug.org/svn/texlive?view=revision&revision=57634
Author: takuji
Date: 2021-02-06 05:44:15 +0100 (Sat, 06 Feb 2021)
Log Message:
-----------
bibtex-x: Add TL version number and bug report address in online help
Modified Paths:
--------------
trunk/Build/source/texk/bibtex-x/ChangeLog
trunk/Build/source/texk/bibtex-x/config.h.in
trunk/Build/source/texk/bibtex-x/configure
trunk/Build/source/texk/bibtex-x/configure.ac
trunk/Build/source/texk/bibtex-x/utils.c
Modified: trunk/Build/source/texk/bibtex-x/ChangeLog
===================================================================
--- trunk/Build/source/texk/bibtex-x/ChangeLog 2021-02-06 04:32:21 UTC (rev 57633)
+++ trunk/Build/source/texk/bibtex-x/ChangeLog 2021-02-06 04:44:15 UTC (rev 57634)
@@ -1,3 +1,9 @@
+2021-02-06 TANAKA Takuji <ttk at t-lab.opal.ne.jp>
+
+ * utils.c, configure.ac:
+ Show TeX Live version by version option.
+ Show bug report address in usage.
+
2019-05-22 Hironobu Yamashita <h.y.acetaminophen at gmail.com>
* bibtex-2.c, bibtex-3.c: Better error messages for debug.
Modified: trunk/Build/source/texk/bibtex-x/config.h.in
===================================================================
--- trunk/Build/source/texk/bibtex-x/config.h.in 2021-02-06 04:32:21 UTC (rev 57633)
+++ trunk/Build/source/texk/bibtex-x/config.h.in 2021-02-06 04:44:15 UTC (rev 57634)
@@ -127,6 +127,9 @@
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
+/* Define to the current TeX Live version string. */
+#undef TL_VERSION
+
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
Modified: trunk/Build/source/texk/bibtex-x/configure
===================================================================
--- trunk/Build/source/texk/bibtex-x/configure 2021-02-06 04:32:21 UTC (rev 57633)
+++ trunk/Build/source/texk/bibtex-x/configure 2021-02-06 04:44:15 UTC (rev 57634)
@@ -13727,6 +13727,11 @@
ac_config_headers="$ac_config_headers config.h"
+
+
+$as_echo "#define TL_VERSION \"TeX Live 2021/dev\"" >>confdefs.h
+
+
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
Modified: trunk/Build/source/texk/bibtex-x/configure.ac
===================================================================
--- trunk/Build/source/texk/bibtex-x/configure.ac 2021-02-06 04:32:21 UTC (rev 57633)
+++ trunk/Build/source/texk/bibtex-x/configure.ac 2021-02-06 04:44:15 UTC (rev 57634)
@@ -19,6 +19,10 @@
AC_CONFIG_HEADERS([config.h])
+m4_include([../../version.ac])[] dnl define tex_live_version
+AC_DEFINE([TL_VERSION], ["TeX Live tex_live_version()"],
+ [Define to the current TeX Live version string.])
+
AC_PROG_CXX
KPSE_CXX_HACK
Modified: trunk/Build/source/texk/bibtex-x/utils.c
===================================================================
--- trunk/Build/source/texk/bibtex-x/utils.c 2021-02-06 04:32:21 UTC (rev 57633)
+++ trunk/Build/source/texk/bibtex-x/utils.c 2021-02-06 04:44:15 UTC (rev 57634)
@@ -1083,7 +1083,7 @@
case 'v': /**************** -v, --version ************/
FPRINTF (TERM_OUT, "%s\n", BANNER);
FPRINTF (TERM_OUT, "Implementation: %s\n", IMPLEMENTATION);
- FPRINTF (TERM_OUT, "Release version: %s\n", VERSION);
+ FPRINTF (TERM_OUT, "Release version: %s (%s)\n", VERSION, TL_VERSION);
#ifdef UTF_8
{
UVersionInfo icuVersion;
@@ -1565,6 +1565,7 @@
FSO (" -W --wolfgang same as --mstrings 30000\n");
FSO (" -M --min_crossrefs ## set min_crossrefs to ##\n");
FSO (" --mstrings ## allow ## unique strings\n");
+ FSO ("\nEmail bug reports to " PACKAGE_BUGREPORT ".\n");
debug_msg (DBG_MISC, "calling longjmp (Exit_Program_Flag) ... ");
longjmp (Exit_Program_Flag, 1);
More information about the tex-live-commits
mailing list.