libX11 configure.ac patch
fransmeulenbroeks at gmail.com
Fri Nov 5 03:35:46 PDT 2010
While trying to compile libX11 for nios2, I discovered that configure
accidently thinks it is an os2 system (which is not the case).
The failing code is a match on target_alias for *os2*. As my
target_alias is nios2_linux, this also matches.
I found this on 1.3.2 but verified that the same code is still present
in git head.
The patch below fixes this for me, but I can imagine people prefer to
strengthen the match for os2 (not sure if changing *os2* to os2* will
work, can't really verify that).
In case further info is needed feel free to contact me directly. I am
not on the list, just someone passing by to report a problem and
Best regards & keep up the good work!
--- libX11-1.3.2.orig/configure.ac 2010-11-05 10:30:33.825536983 +0100
+++ libX11-1.3.2/configure.ac 2010-11-05 10:31:25.913899269 +0100
@@ -202,6 +202,7 @@
# arch specific things
case $target_alias in
+ nios2*) os2="false" ;;
*os2*) os2="true" ; WCHAR32="0" ;;
More information about the xorg