From ea16a99f57d5741f5e39a15b12df693b658bb22c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Luc=20Peuri=C3=A8re?= Date: Mon, 28 Nov 2005 16:11:27 +0000 Subject: [PATCH] cosmetic change to reduce console output on Os X when libtiif is searched. this is to reduce complaints from frightened users crying " THERE IS AN ERROR ! " --- source/blender/imbuf/intern/dynlibtiff.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/blender/imbuf/intern/dynlibtiff.c b/source/blender/imbuf/intern/dynlibtiff.c index 17aa0dfbf4f..7472764b7df 100644 --- a/source/blender/imbuf/intern/dynlibtiff.c +++ b/source/blender/imbuf/intern/dynlibtiff.c @@ -76,6 +76,9 @@ void libtiff_loadlibtiff(void) char *filename; libtiff = NULL; +#ifndef __APPLE__ /* no standard location of libtiff in MacOS X */ + /* declare env var if you want to use that */ + /* Try to find libtiff in a couple of standard places */ libtiff = PIL_dynlib_open("libtiff.so"); if (libtiff != NULL) return; @@ -91,6 +94,8 @@ void libtiff_loadlibtiff(void) /* For solaris */ libtiff = PIL_dynlib_open("/usr/openwin/lib/libtiff.so"); if (libtiff != NULL) return; + +#endif filename = getenv("BF_TIFF_LIB"); if (filename) libtiff = PIL_dynlib_open(filename);