summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/ace.m42
-rw-r--r--m4/compiler.m44
2 files changed, 3 insertions, 3 deletions
diff --git a/m4/ace.m4 b/m4/ace.m4
index a1a497699c8..1faae4e9749 100644
--- a/m4/ace.m4
+++ b/m4/ace.m4
@@ -572,7 +572,7 @@ changequote([, ])dnl
case "${enableval}" in
yes)
if test -z "$GXX"; then
- case "$target" in
+ case "$host" in
*solaris*)
ace_user_enable_rtti=yes
;;
diff --git a/m4/compiler.m4 b/m4/compiler.m4
index a44b274daa1..328a3b81222 100644
--- a/m4/compiler.m4
+++ b/m4/compiler.m4
@@ -78,7 +78,7 @@ changequote([, ])dnl
WERROR="-Werror"
fi
- case "$target" in
+ case "$host" in
*aix*)
dnl In case anything here or in the config depends on OS
dnl version number, grab it here and pass it all to the
@@ -116,7 +116,7 @@ changequote([, ])dnl
;;
esac
- case "$target" in
+ case "$host" in
*aix4.2* | *aix4.3*)
case "$CXX" in
xlC*)