Pass FONTCONFIG_PATH in arguments to get expanded
authorKeith Packard <keithp@keithp.com>
Thu, 17 Apr 2003 21:50:24 +0000 (21:50 +0000)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Apr 2003 21:50:24 +0000 (21:50 +0000)
src/Makefile.am
src/fccfg.c

index 949c5a3..a30604e 100644 (file)
@@ -44,6 +44,7 @@ endif
 INCLUDES =                                             \
        $(FREETYPE_CFLAGS)                              \
        $(EXPAT_CFLAGS)                                 \
+       -DFONTCONFIG_PATH='"$(CONFDIR)"'                \
        -I$(top_srcdir)                                 \
        -I$(top_srcdir)/src
 
index 68b548f..87c38bc 100644 (file)
@@ -1390,10 +1390,6 @@ DllMain (HINSTANCE hinstDLL,
 
 #else /* !(_WIN32 && PIC) */
 
-#ifndef FONTCONFIG_PATH
-#define FONTCONFIG_PATH        "/etc/fonts"
-#endif
-
 #endif /* !(_WIN32 && PIC) */
 
 #ifndef FONTCONFIG_FILE