summaryrefslogtreecommitdiff
path: root/recipes/xorg-xserver/files/ac_check_file.cross.patch
blob: 5d3b18fe91b17f8d3dd0b6678bae8f185ed73399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
AC_CHECK_FILE is not available for crosscompiling
error: cannot check for file existence when cross compiling

http://cgit.freedesktop.org/xorg/xserver/commit/?id=56658fc06cb773ed20ef1b23a3fe918c0d3b36bb
===================================================================
--- a/configure.ac.orig	2010-02-10 15:41:33.000000000 +0100
+++ b/configure.ac	2010-02-10 15:41:51.000000000 +0100
@@ -505,14 +505,14 @@
 
 dnl Uses --default-font-path if set, otherwise checks for /etc/X11/fontpath.d,
 dnl otherwise uses standard subdirectories of FONTROOTDIR
-AC_CHECK_FILE([${sysconfdir}/X11/fontpath.d],
-	[DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'],
-	[
-		DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/"
-		case $host_os in
-			darwin*)    DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;;
-		esac
-	])
+dnl AC_CHECK_FILE([${sysconfdir}/X11/fontpath.d],
+dnl 	[DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'],
+dnl 	[
+dnl 		DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/"
+dnl 		case $host_os in
+dnl 			darwin*)    DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;;
+dnl 		esac
+dnl 	])
 AC_ARG_WITH(default-font-path, AS_HELP_STRING([--with-default-font-path=PATH], [Comma separated list of font dirs]),
 				[ FONTPATH="$withval" ],
 				[ FONTPATH="${DEFAULT_FONT_PATH}" ])