Zitat von Jeremy Huddleston <[email protected]>:

> We don't intentionally make things not cross-compile.
>
> Can you provide the patch you're using, and we'll review it for  
> inclusion in the next release.
>
> --Jeremy

because i dont know many of autoconf i have removed the follow code  
from configure.ac for a first try (xorg works, but i think this is an  
ugly way):

diff -Naur xorg-server-1.7.99.2/configure.ac  
xorg-server-1.7.99.2.patch/configure.ac
--- xorg-server-1.7.99.2/configure.ac   2009-12-20 14:25:52.294986508 +0100
+++ xorg-server-1.7.99.2.patch/configure.ac     2009-12-20  
14:29:22.349862339 +0100
@@ -504,14 +504,6 @@

  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
-       ])
  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}" ])

>
> On Dec 20, 2009, at 05:19, Stephan Raue wrote:
>
>> Hi all,
>>
>> when i am crosscompiling xorg-server i get an error from configure:
>> checking for /etc/X11/fontpath.d... configure: error: cannot check for
>> file existence when cross compiling
>>
>> is it possible to make this easyer for crosscompiling without patching
>> configure.ac and configure in an release?
>>
>> greetings
>>
>> Stephan
>>
>> --
>>               ### OpenELEC.tv ###
>> The free and open Mediacenter Distribution 4 you
>>               http://www.openelec.tv
>>
>>
>>
>> _______________________________________________
>> xorg mailing list
>> [email protected]
>> http://lists.freedesktop.org/mailman/listinfo/xorg
>
>



-- 
               ### OpenELEC.tv ###
The free and open Mediacenter Distribution 4 you
               http://www.openelec.tv



_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to