summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2010-11-06 21:58:10 +0000
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-10 20:35:31 -0800
commit18d3c3e9de19e936281b111d5a82acfb3a3f552e (patch)
treef09689e51e46d370b2d0ccbc2fe148fb6a2eccd1 /configure.ac
parentaffc2488a7f2660a74dc8354fc3e0bff2c4f879c (diff)
config: Check host string when deciding architecture to build for
When checking for the OS/2 platform, $target_os is used. However, unless building a cross compiler, the $host* strings contain the platform details for the build system. See: http://www.gnu.org/software/automake/manual/automake.html#Cross_002dCompilation $host_os is already being used to determine the transport and threading options. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 01f43fbe..a37a7b75 100644
--- a/configure.ac
+++ b/configure.ac
@@ -246,7 +246,7 @@ dnl AC_PATH_XTRA
# arch specific things
WCHAR32="1"
-case $target_os in
+case $host_os in
os2*) os2="true" ; WCHAR32="0" ;;
*) ;;
esac