From d2e0db87758c47e14ac51fb19f2748d067ea5788 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 6 Feb 2009 16:38:28 +0000 Subject: omit warning about no SyncTeX for non-TeX git-svn-id: svn://tug.org/texlive/trunk@12105 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/lib/ChangeLog | 5 +++++ Build/source/texk/web2c/lib/texmfmp.c | 14 +++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index 719e41fa8d9..eb47250e790 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,8 @@ +2009-02-06 Karl Berry + + * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no + SyncTeX for Omega and MF/MP. + 2008-03-24 Karl Berry * printversion.c: it's 2008. diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index 959395cf277..066a6301e73 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -227,14 +227,18 @@ maininit P2C(int, ac, string *, av) #if defined(__SyncTeX__) # warning SyncTeX: -synctex command line option available /* 0 means "disable Synchronize TeXnology". - * synctexoption is a *.web variable. - * We initialize it to a weird value to catch the -synctex command line flag - * At runtime, if synctexoption is not INT_MAX, then it contains the command line option provided, - * otherwise no such option was given by the user. */ + synctexoption is a *.web variable. + We initialize it to a weird value to catch the -synctex command line flag. + At runtime, if synctexoption is not INT_MAX, then it contains the + command line option provided; otherwise, no such option was given + by the user. */ # define SYNCTEX_NO_OPTION INT_MAX synctexoption = SYNCTEX_NO_OPTION; #else -# warning SyncTeX: -synctex command line option NOT available +# /* Omit warning for Omega and non-TeX. */ +# if defined(TeX) && !defined(Omega) && !defined(eOmega) && !defined(Aleph) +# warning SyncTeX: -synctex command line option NOT available +# endif #endif #if defined(pdfTeX) || defined(luaTeX) -- cgit v1.2.3