From 4865b23b5199697829e4e6633f2f697b4634c462 Mon Sep 17 00:00:00 2001 From: Taco Hoekwater Date: Fri, 27 Mar 2009 15:18:46 +0000 Subject: suppres handling of --src-specials in the case of LuaTeX git-svn-id: svn://tug.org/texlive/trunk@12528 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/lib/ChangeLog | 7 +++++++ Build/source/texk/web2c/lib/texmfmp.c | 4 ++++ 2 files changed, 11 insertions(+) (limited to 'Build') diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index 8510c986b1d..a1107c6bcb4 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,10 @@ +2009-03-27 Taco Hoekwater + + * texmfmp.c (parse_options): add #ifndef luaTeX guard for + --src-specials, because luaTeX does not implement it. + (parse_src_specials_option): add #ifndef luaTeX guard for + the same reason. + 2009-03-02 Karl Berry * texmfmp.c (long_options): make -enable-write18 and -disable-write18 diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index adf20fcbea9..f52b6327fe3 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -1485,6 +1485,7 @@ parse_options P2C(int, argc, string *, argv) shellenabledp = 1; restrictedshell = 1; +#if ! defined (luaTeX) } else if (ARGUMENT_IS ("src-specials")) { last_source_name = xstrdup(""); /* Option `--src" without any value means `auto' mode. */ @@ -1496,6 +1497,7 @@ parse_options P2C(int, argc, string *, argv) } else { parse_src_specials_option(optarg); } +#endif #endif /* TeX */ #if defined(pdfTeX) || defined(luaTeX) } else if (ARGUMENT_IS ("output-format")) { @@ -1571,6 +1573,7 @@ parse_options P2C(int, argc, string *, argv) } #if defined(TeX) +#if ! defined (luaTeX) void parse_src_specials_option P1C(const_string, opt_list) { @@ -1621,6 +1624,7 @@ parse_src_specials_option P1C(const_string, opt_list) srcspecialsoption = true; } #endif +#endif /* If the first thing on the command line (we use the globals `argv' and `optind') is a normal filename (i.e., does not start with `&' or -- cgit v1.2.3