summaryrefslogtreecommitdiff
path: root/Build/source/m4
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2015-06-12 08:05:53 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2015-06-12 08:05:53 +0000
commit1dde8ab4578f370c597332ff3421097d7cb39a1a (patch)
treed8f73e7ac6a10d692dda7d768c977c3f9b70f528 /Build/source/m4
parent25cd8f24dfc54cb12b066e282325a59535c7543a (diff)
Start development for TL'16
git-svn-id: svn://tug.org/texlive/trunk@37503 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4')
-rw-r--r--Build/source/m4/ChangeLog6
-rw-r--r--Build/source/m4/kpse-common.m43
-rw-r--r--Build/source/m4/kpse-warnings.m410
-rw-r--r--Build/source/m4/kpse-web2c.m43
4 files changed, 17 insertions, 5 deletions
diff --git a/Build/source/m4/ChangeLog b/Build/source/m4/ChangeLog
index ae96f27fc1f..b342d4674e7 100644
--- a/Build/source/m4/ChangeLog
+++ b/Build/source/m4/ChangeLog
@@ -1,3 +1,9 @@
+2015-06-12 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * kpse-warnings.m4: Warning flags for gcc 5.x.
+ * kpse-web2c.m4: Better handling of --disable-mf-nowin.
+ * kpse-common.m4: Check if <ctype.h> declares isascii.
+
2015-03-30 Peter Breitenlohner <peb@mppmu.mpg.de>
* kpse-web2c.m4: Add KPSE_WITH_XMF and KPSE_XMF_COND.
diff --git a/Build/source/m4/kpse-common.m4 b/Build/source/m4/kpse-common.m4
index 9c98f349e8c..c1f193d850d 100644
--- a/Build/source/m4/kpse-common.m4
+++ b/Build/source/m4/kpse-common.m4
@@ -261,6 +261,9 @@ AC_TYPE_UINT64_T
AS_CASE([:$ac_cv_c_int64_t:$ac_cv_c_int64_t:],
[*':no:'*], [AC_MSG_ERROR([Sorry, your compiler does not support 64-bit integer types.])])
dnl
+dnl Check if <ctype.h> declares isascii.
+AC_CHECK_DECLS([isascii], [], [], [[#include <ctype.h>]])
+dnl
dnl Check whether struct stat provides high-res time.
AC_CHECK_MEMBERS([struct stat.st_mtim])
]) # KPSE_COMMON
diff --git a/Build/source/m4/kpse-warnings.m4 b/Build/source/m4/kpse-warnings.m4
index 54f2e0a1ab8..523a5353584 100644
--- a/Build/source/m4/kpse-warnings.m4
+++ b/Build/source/m4/kpse-warnings.m4
@@ -1,5 +1,5 @@
# Public macros for the TeX Live (TL) tree.
-# Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
#
# This file is free software; the copyright holder
# gives unlimited permission to copy and/or distribute it,
@@ -148,10 +148,10 @@ m4_define([_KPSE_WARNING_GNU_CFLAGS],
if test "x$enable_compiler_warnings" != xno; then
kpse_cv_warning_$2="-Wimplicit -Wreturn-type"
AS_CASE([`$[]$1 -dumpversion`],
- [3.4.* | 4.*],
+ [3.4.* | 4.* | 5.*],
[kpse_cv_warning_$2="$kpse_cv_warning_$2 -Wdeclaration-after-statement"])
AS_CASE([`$[]$1 -dumpversion`],
- [3.@<:@234@:>@.* | 4.*],
+ [3.@<:@234@:>@.* | 4.* | 5.*],
[kpse_cv_warning_$2="$kpse_cv_warning_$2 -Wno-unknown-pragmas"])
if test "x$enable_compiler_warnings" != xmin; then
kpse_cv_warning_$2="-Wall -Wunused $kpse_cv_warning_$2"
@@ -160,7 +160,7 @@ if test "x$enable_compiler_warnings" != xno; then
kpse_cv_warning_$2="$kpse_cv_warning_$2 -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
kpse_cv_warning_$2="$kpse_cv_warning_$2 -Wcast-qual -Wcast-align -Wwrite-strings"
AS_CASE([`$[]$1 -dumpversion`],
- [3.4.* | 4.*],
+ [3.4.* | 4.* | 5.*],
[kpse_cv_warning_$2="$kpse_cv_warning_$2 -Wold-style-definition"])
if test "x$enable_compiler_warnings" != xmax; then
kpse_cv_warning_$2="$kpse_cv_warning_$2 -Wshadow"
@@ -183,7 +183,7 @@ if test "x$enable_compiler_warnings" != xno; then
[3.* | 4.@<:@012345@:>@.*],
[kpse_cv_warning_$2="-Wimplicit $kpse_cv_warning_$2"])
AS_CASE([`$[]$1 -dumpversion`],
- [3.@<:@234@:>@.* | 4.*],
+ [3.@<:@234@:>@.* | 4.* | 5.*],
[kpse_cv_warning_$2="$kpse_cv_warning_$2 -Wno-unknown-pragmas"])
if test "x$enable_compiler_warnings" != xmin; then
kpse_cv_warning_$2="-Wall -Wunused $kpse_cv_warning_$2"
diff --git a/Build/source/m4/kpse-web2c.m4 b/Build/source/m4/kpse-web2c.m4
index 6fd219f671d..484a91c6a38 100644
--- a/Build/source/m4/kpse-web2c.m4
+++ b/Build/source/m4/kpse-web2c.m4
@@ -69,6 +69,9 @@ AC_ARG_ENABLE([$1-nowin],
m4_if([$3], [yes],
[do not ])[build a separate non-window-capable $4],
m4_eval(kpse_indent_26+2)))[]dnl
+AS_CASE([$enable_$1_nowin],
+ [yes | no], ,
+ [enable_$1_nowin=$3])
])[]dnl m4_ifval
m4_ifval([$5], [
test "x$enable_web2c:$enable_$1" = xyes:yes && {