config: Fix architecture check for OS/2 to skip nios2 cpu

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@gmail.com>
Tested-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
Dan Nicholson 2010-11-06 21:58:09 +00:00 committed by Alan Coopersmith
parent 8cbca8a107
commit affc2488a7

View file

@ -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)