Browse Source

issue a warning if Freetype support lacking (trac https://trac.osgeo.org/grass/ticket/368)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34387 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 16 năm trước cách đây
mục cha
commit
d3468c59ea
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      general/g.mkfontcap/main.c

+ 3 - 0
general/g.mkfontcap/main.c

@@ -115,6 +115,9 @@ int main(int argc, char *argv[])
 
     /* 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, ","))) {