[PATCH libX11 1/2] config: Fix architecture check for OS/2 to skip nios2 cpu

Dan Nicholson dbn.lists at gmail.com
Sat Nov 6 06:58:09 PDT 2010


The OS/2 platform requires some utility functions as well as having a
non-32 bit wchar_t. Fix the configure check so that it doesn't also
affect the nios2 cpu, which wouldn't influence these operating system
issues.

Signed-off-by: Dan Nicholson <dbn.lists at gmail.com>
Tested-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
---
 configure.ac |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1b4a8b7..01f43fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -246,8 +246,8 @@ dnl AC_PATH_XTRA
 
 # arch specific things
 WCHAR32="1"
-case $target_alias in
-  *os2*) os2="true" ; WCHAR32="0" ;;
+case $target_os in
+  os2*) os2="true" ; WCHAR32="0" ;;
   *) ;;
 esac
 AC_SUBST(WCHAR32)
-- 
1.7.2.3



More information about the xorg-devel mailing list