texlive[53385] Build/source: AS_TR_SH to get mfluajit_nowin in shell

commits+karl at tug.org commits+karl at tug.org
Mon Jan 13 01:02:13 CET 2020


Revision: 53385
          http://tug.org/svn/texlive?view=revision&revision=53385
Author:   karl
Date:     2020-01-13 01:02:12 +0100 (Mon, 13 Jan 2020)
Log Message:
-----------
AS_TR_SH to get mfluajit_nowin in shell contexts

Modified Paths:
--------------
    trunk/Build/source/configure
    trunk/Build/source/libs/configure
    trunk/Build/source/m4/ChangeLog
    trunk/Build/source/m4/kpse-setup.m4
    trunk/Build/source/texk/configure
    trunk/Build/source/utils/configure

Modified: trunk/Build/source/configure
===================================================================
--- trunk/Build/source/configure	2020-01-12 23:29:21 UTC (rev 53384)
+++ trunk/Build/source/configure	2020-01-13 00:02:12 UTC (rev 53385)
@@ -4140,7 +4140,7 @@
   yes:no | no:*) :
     : ;; #(
   yes:*) :
-    as_fn_error $? "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #(
+    as_fn_error $? "you can not use \`--with-x' for Windows" "$LINENO" 5 ;; #(
   *:no) :
     with_x=yes
                  { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
@@ -4191,7 +4191,7 @@
      ;;
 esac ;;
 esac
-case $enable_mfluajit-nowin in #(
+case $enable_mfluajit_nowin in #(
   yes | no) :
     : ;; #(
   *) :

Modified: trunk/Build/source/libs/configure
===================================================================
--- trunk/Build/source/libs/configure	2020-01-12 23:29:21 UTC (rev 53384)
+++ trunk/Build/source/libs/configure	2020-01-13 00:02:12 UTC (rev 53385)
@@ -3320,7 +3320,7 @@
   yes:no | no:*) :
     : ;; #(
   yes:*) :
-    as_fn_error $? "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #(
+    as_fn_error $? "you can not use \`--with-x' for Windows" "$LINENO" 5 ;; #(
   *:no) :
     with_x=yes
                  { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
@@ -3371,7 +3371,7 @@
      ;;
 esac ;;
 esac
-case $enable_mfluajit-nowin in #(
+case $enable_mfluajit_nowin in #(
   yes | no) :
     : ;; #(
   *) :

Modified: trunk/Build/source/m4/ChangeLog
===================================================================
--- trunk/Build/source/m4/ChangeLog	2020-01-12 23:29:21 UTC (rev 53384)
+++ trunk/Build/source/m4/ChangeLog	2020-01-13 00:02:12 UTC (rev 53385)
@@ -1,3 +1,14 @@
+2020-01-13  Karl Berry  <karl at tug.org>
+
+	* kpse-setup.m4 (KPSE_SETUP): use AS_TR_SH on the argument when
+	disabling the jit packages, for the sake of making mfluajit-nowin
+	into mfluajit_nowin for shell usage.
+	Also change one "WIN32" to "Windows" in an error message.
+
+2020-01-12  Mojca Miklavec  <mojca.miklavec.lists at gmail.com>
+
+	* kpse-setup.m4 (KPSE_SETUP): also disable mfluajit and mfluajit-nowin.
+
 2019-06-26  Karl Berry  <karl at freefriends.org>
 
 	* kpse-harfbuzz-flags.m4 (KPSE_HARFBUZZ_FLAGS): omit KPSE_ICU_FLAGS.

Modified: trunk/Build/source/m4/kpse-setup.m4
===================================================================
--- trunk/Build/source/m4/kpse-setup.m4	2020-01-12 23:29:21 UTC (rev 53384)
+++ trunk/Build/source/m4/kpse-setup.m4	2020-01-13 00:02:12 UTC (rev 53385)
@@ -77,7 +77,7 @@
 KPSE_CHECK_WIN32
 AS_CASE([$with_x:$kpse_cv_have_win32],
         [yes:no | no:*], [:],
-        [yes:*], [AC_MSG_ERROR([you can not use `--with-x' for WIN32])],
+        [yes:*], [AC_MSG_ERROR([you can not use `--with-x' for Windows])],
         [*:no], [with_x=yes
                  AC_MSG_NOTICE([Assuming `--with-x'])
                  ac_configure_args="$ac_configure_args '--with-x'"],
@@ -85,7 +85,7 @@
          AC_MSG_NOTICE([WIN32 -> `--without-x'])
          ac_configure_args="$ac_configure_args '--without-x'"])
 AC_FOREACH([Kpse_Pkg], [luajittex luajithbtex mfluajit mfluajit-nowin], [dnl
-AS_CASE([$enable_]Kpse_Pkg,
+AS_CASE([$enable_[]AS_TR_SH([Kpse_Pkg])],
         [yes | no], [:],
           [AS_CASE([$host],
                    [alpha* | sparc* | x86_64-*-solaris* | powerpc-*-darwin* ],

Modified: trunk/Build/source/texk/configure
===================================================================
--- trunk/Build/source/texk/configure	2020-01-12 23:29:21 UTC (rev 53384)
+++ trunk/Build/source/texk/configure	2020-01-13 00:02:12 UTC (rev 53385)
@@ -3320,7 +3320,7 @@
   yes:no | no:*) :
     : ;; #(
   yes:*) :
-    as_fn_error $? "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #(
+    as_fn_error $? "you can not use \`--with-x' for Windows" "$LINENO" 5 ;; #(
   *:no) :
     with_x=yes
                  { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
@@ -3371,7 +3371,7 @@
      ;;
 esac ;;
 esac
-case $enable_mfluajit-nowin in #(
+case $enable_mfluajit_nowin in #(
   yes | no) :
     : ;; #(
   *) :

Modified: trunk/Build/source/utils/configure
===================================================================
--- trunk/Build/source/utils/configure	2020-01-12 23:29:21 UTC (rev 53384)
+++ trunk/Build/source/utils/configure	2020-01-13 00:02:12 UTC (rev 53385)
@@ -3320,7 +3320,7 @@
   yes:no | no:*) :
     : ;; #(
   yes:*) :
-    as_fn_error $? "you can not use \`--with-x' for WIN32" "$LINENO" 5 ;; #(
+    as_fn_error $? "you can not use \`--with-x' for Windows" "$LINENO" 5 ;; #(
   *:no) :
     with_x=yes
                  { $as_echo "$as_me:${as_lineno-$LINENO}: Assuming \`--with-x'" >&5
@@ -3371,7 +3371,7 @@
      ;;
 esac ;;
 esac
-case $enable_mfluajit-nowin in #(
+case $enable_mfluajit_nowin in #(
   yes | no) :
     : ;; #(
   *) :



More information about the tex-live-commits mailing list