From 2b41a66d54c2fbba9fb9adb084c89f14847862f6 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 12 Jan 2011 05:39:20 +0000 Subject: make libdir only post messages in verbose mode svn path=/trunk/externals/loaders/libdir/; revision=14711 --- libdir.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libdir.c b/libdir.c index 8609e3c..b7b2126 100644 --- a/libdir.c +++ b/libdir.c @@ -100,8 +100,11 @@ void libdir_setup(void) { /* relies on t.grill's loader functionality, fully added in 0.40 */ sys_register_loader(libdir_loader); - post("libdir loader %s",version); - post("\tcompiled on "__DATE__" at "__TIME__ " "); - post("\tcompiled against Pd version %d.%d.%d.%s", PD_MAJOR_VERSION, - PD_MINOR_VERSION, PD_BUGFIX_VERSION, PD_TEST_VERSION); + if(sys_verbose) + { + post("libdir loader %s",version); + post("\tcompiled on "__DATE__" at "__TIME__ " "); + post("\tcompiled against Pd version %d.%d.%d.%s", PD_MAJOR_VERSION, + PD_MINOR_VERSION, PD_BUGFIX_VERSION, PD_TEST_VERSION); + } } -- cgit v1.2.1