diff options
author | Karl Berry <karl@freefriends.org> | 2009-02-06 16:38:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-02-06 16:38:28 +0000 |
commit | d2e0db87758c47e14ac51fb19f2748d067ea5788 (patch) | |
tree | ed53e654e36e80ae0ca49939add04b9f48ba6783 /Build | |
parent | e1c4af1f368d34d876d5e5565cd4916bad84f436 (diff) |
omit warning about no SyncTeX for non-TeX
git-svn-id: svn://tug.org/texlive/trunk@12105 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 14 |
2 files changed, 14 insertions, 5 deletions
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 <karl@tug.org> + + * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no + SyncTeX for Omega and MF/MP. + 2008-03-24 Karl Berry <karl@tug.org> * 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) |