[GRASS-SVN] r34388 - grass/branches/develbranch_6/general/g.mkfontcap

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 19 04:55:29 EST 2008


Author: neteler
Date: 2008-11-19 04:55:29 -0500 (Wed, 19 Nov 2008)
New Revision: 34388

Modified:
   grass/branches/develbranch_6/general/g.mkfontcap/main.c
Log:
issue a warning if Freetype support lacking (trac #368) (merge from trunk, r34387)

Modified: grass/branches/develbranch_6/general/g.mkfontcap/main.c
===================================================================
--- grass/branches/develbranch_6/general/g.mkfontcap/main.c	2008-11-19 09:55:05 UTC (rev 34387)
+++ grass/branches/develbranch_6/general/g.mkfontcap/main.c	2008-11-19 09:55:29 UTC (rev 34388)
@@ -110,6 +110,9 @@
 
     /* Prepare list of directories to search */
     if (extradirs->answer) {
+#ifndef HAVE_FT2BUILD_H
+	G_warning("This GRASS installation was compiled without Freetype support, extradirs parameter ignored");
+#endif
 	char *str = G_store(extradirs->answer);
 
 	while ((str = strtok(str, ","))) {



More information about the grass-commit mailing list