[GRASS-SVN] r34387 - grass/trunk/general/g.mkfontcap

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


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

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

Modified: grass/trunk/general/g.mkfontcap/main.c
===================================================================
--- grass/trunk/general/g.mkfontcap/main.c	2008-11-19 09:20:08 UTC (rev 34386)
+++ grass/trunk/general/g.mkfontcap/main.c	2008-11-19 09:55:05 UTC (rev 34387)
@@ -115,6 +115,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