Fresco/Berlin configure.ac,1.64,1.65

Tobias Hunger <[email protected]> Fri, 29 Aug 2003 15:05:38 -0500
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
Update of /cvs/fresco/Fresco/Berlin
In directory purcel:/tmp/cvs-serv30454/Berlin

Modified Files:
	configure.ac 
Log Message:
Make configure check for a directory containing fonts and place that in
berlinrc.

The check is rather simple: Just a 'find' looking for .ttf and .pfb. You
can easily add new suffixes and new known font locations though or just
override the complete test with --with-fontpath=PATH.


Index: configure.ac
===================================================================
RCS file: /cvs/fresco/Fresco/Berlin/configure.ac,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- configure.ac	14 May 2003 22:42:10 -0000	1.64
+++ configure.ac	29 Aug 2003 20:05:35 -0000	1.65
@@ -50,6 +50,9 @@
 
 FRESCO_FREETYPE_CHECK(9.2.3,,[AC_MSG_ERROR([can't compile Server without freetype])])
 
+dnl Search for fonts
+BERLIN_FONTS
+
 AC_ARG_WITH(png-prefix,
   AC_HELP_STRING([--with-png-prefix=PFX], [Prefix where PNG library is installed (optional)]),
   [png_prefix="$withval"; png_path="$PATH:$withval/bin"],