Mercurial > hg > octave-lyh
view kpathsea/tex-hush.c @ 3162:7c96e85c76db
[project @ 1998-04-08 18:19:35 by jwe]
author | jwe |
---|---|
date | Wed, 08 Apr 1998 18:21:04 +0000 |
parents | faa5d0421460 |
children | 1f0b06020e36 |
line wrap: on
line source
/* tex-hush.c: are we suppressing warnings? Copyright (C) 1996 Karl Berry. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <kpathsea/config.h> #include <kpathsea/pathsearch.h> #include <kpathsea/tex-hush.h> #include <kpathsea/variable.h> boolean kpse_tex_hush P1C(const_string, what) { string h; string hush = kpse_var_value ("TEX_HUSH"); for (h = kpse_path_element (hush); h; h = kpse_path_element (NULL)) { /* Don't do anything special with empty elements. */ if (STREQ (hush, what) || STREQ (hush, "all")) return true; } return false; }