summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/configure.ac
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-01-09 18:53:05 +0000
committerKarl Berry <karl@freefriends.org>2018-01-09 18:53:05 +0000
commit9b0195121df2c53bdd030fdec6d7871f27f057f0 (patch)
treef58fc29c2856f942f64b30d91a1fc9247e1d5b10 /Build/source/texk/web2c/configure.ac
parent332064c92a01296b5dd2d25524d0f8286ccdd107 (diff)
poppler 0.62.0, requiring C++11; luatex not updated yet
git-svn-id: svn://tug.org/texlive/trunk@46257 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/configure.ac')
-rw-r--r--Build/source/texk/web2c/configure.ac17
1 files changed, 13 insertions, 4 deletions
diff --git a/Build/source/texk/web2c/configure.ac b/Build/source/texk/web2c/configure.ac
index c6cd65893fe..f8c53aa34dc 100644
--- a/Build/source/texk/web2c/configure.ac
+++ b/Build/source/texk/web2c/configure.ac
@@ -1,6 +1,8 @@
+dnl $Id$
dnl Process this file with Autoconf to produce a configure script for Web2c.
dnl
-dnl Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org>
+dnl Copyright 2018 Karl Berry <tex-live@tug.org>
+dnl Copyright 2009-2015 Peter Breitenlohner <tex-live@tug.org>
dnl
dnl This file is free software; the copyright holder
dnl gives unlimited permission to copy and/or distribute it,
@@ -15,9 +17,7 @@ dnl more than 256 fonts.
dnl - NONASCII: necessary for the character translation feature.
dnl - REGFIX: modern compilers mostly ignore register declarations, anyway.
dnl The code for these things remains (where applicable), so you can
-dnl get these features if you are willing to hack the sources. If not,
-dnl it'll take a good argument to convince me to invest the time to make
-dnl them configurable.
+dnl get these features if you are willing to hack the sources.
dnl
m4_include([../../version.ac])[] dnl define tex_live_version
AC_INIT([Web2C], tex_live_version(), [tex-k@tug.org])
@@ -46,6 +46,15 @@ dnl Include additional code for web2c.
KPSE_WEB2C_PREPARE
m4_include([ac/web2c.ac])
+dnl LuaTeX requires C++11 because poppler does :(.
+if test "x$enable_xetex" = xyes \
+ || test "x$enable_luatex" = xyes \
+ || test "x$enable_luajittex" = xyes \
+ || test "x$enable_luatex53" = xyes; then
+ AC_MSG_NOTICE(LuaTeX enabled, requiring C++11 support)
+ AX_CXX_COMPILE_STDCXX([11])
+fi
+
AS_IF([test "x$enable_texlive_build" = xyes],
[banner_pre='TeX Live'],
[banner_pre='Web2C'])