diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2009-03-27 15:18:46 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2009-03-27 15:18:46 +0000 |
commit | 4865b23b5199697829e4e6633f2f697b4634c462 (patch) | |
tree | dae6c36ecb3458c47f2f42f794f6b8a0b70d4b1e | |
parent | 030ac93ac520631dcf2cbe20591fe6031c42b24a (diff) |
suppres handling of --src-specials in the case of LuaTeX
git-svn-id: svn://tug.org/texlive/trunk@12528 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 4 |
2 files changed, 11 insertions, 0 deletions
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 <taco@luatex.org> + + * 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 <karl@tug.org> * 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 |