summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-07 18:01:54 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2013-02-07 18:01:54 +0000
commit9d5dfb12b85d40ae0f4f2f787c08e3e4ab71d916 (patch)
tree8f981808886696d095ca50c8bdfc13c3f7cfc0e9 /libgo
parent7a87c8e106d7a438f18be006b791e94f0f7f4f23 (diff)
downloadgcc-9d5dfb12b85d40ae0f4f2f787c08e3e4ab71d916.tar.gz
libgo: Correct test for whether to use DejaGNU.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195861 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rwxr-xr-xlibgo/configure2
-rw-r--r--libgo/configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgo/configure b/libgo/configure
index c3b41cf61af..f4d7c82bf12 100755
--- a/libgo/configure
+++ b/libgo/configure
@@ -13566,7 +13566,7 @@ fi
USE_DEJAGNU=no
case ${host} in
*-*-rtems*) USE_DEJAGNU=yes ;;
- ${target}) ;;
+ ${build}) ;;
*) USE_DEJAGNU=yes ;;
esac
diff --git a/libgo/configure.ac b/libgo/configure.ac
index 761fb82c5db..ff0b7bdb6d9 100644
--- a/libgo/configure.ac
+++ b/libgo/configure.ac
@@ -162,7 +162,7 @@ dnl build.
USE_DEJAGNU=no
case ${host} in
*-*-rtems*) USE_DEJAGNU=yes ;;
- ${target}) ;;
+ ${build}) ;;
*) USE_DEJAGNU=yes ;;
esac
AC_SUBST(USE_DEJAGNU)