aboutsummaryrefslogtreecommitdiff
path: root/libX11/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/configure.ac')
-rw-r--r--libX11/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/libX11/configure.ac b/libX11/configure.ac
index 80e38a931..a9ee5a2aa 100644
--- a/libX11/configure.ac
+++ b/libX11/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 $host_os in
+ os2*) os2="true" ; WCHAR32="0" ;;
*) ;;
esac
AC_SUBST(WCHAR32)