summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/tex-file.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-12 12:57:39 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2010-02-12 12:57:39 +0000
commit1b35617212ff97f97967393995abd4b77d0b0714 (patch)
treee5c0fedbe5e236f592a02855bad9d6dbc03b5d09 /Build/source/texk/kpathsea/tex-file.c
parent48ccab09c4fc16fea0324771bbdfd3212aebabb2 (diff)
fix compilation with -DNO_DEBUG
git-svn-id: svn://tug.org/texlive/trunk@16986 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.c')
-rw-r--r--Build/source/texk/kpathsea/tex-file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index 75cc017d9ad..d31e55dce1f 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -984,9 +984,11 @@ kpathsea_find_file_generic (kpathsea kpse, const_string const_name,
if (FMT_INFO.path == NULL)
kpathsea_init_format (kpse, format);
+#ifdef KPSE_DEBUG
if (KPATHSEA_DEBUG_P (KPSE_DEBUG_SEARCH))
DEBUGF3 ("kpse_find_file: searching for %s of type %s (from %s)\n",
const_name, FMT_INFO.type, FMT_INFO.path_source);
+#endif /* KPSE_DEBUG */
/* Do variable and tilde expansion. */
name = kpathsea_expand (kpse, const_name);