summaryrefslogtreecommitdiffstats
path: root/aclocal/tool-prefix.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal/tool-prefix.m4')
-rw-r--r--aclocal/tool-prefix.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/aclocal/tool-prefix.m4 b/aclocal/tool-prefix.m4
index d7fe6a9b38..563cca8e8f 100644
--- a/aclocal/tool-prefix.m4
+++ b/aclocal/tool-prefix.m4
@@ -10,11 +10,13 @@ AC_DEFUN(RTEMS_TOOL_PREFIX,
[AC_REQUIRE([AC_CANONICAL_TARGET])dnl
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
-if [[ "${program_prefix}" = "NONE" ]] ; then
- if [[ "${target}" = "${host}" ]] ; then
+changequote(,)dnl
+if [ "${program_prefix}" = "NONE" ] ; then
+ if [ "${target}" = "${host}" ] ; then
program_prefix=
else
program_prefix=${target}-
fi
fi
+changequote([,])dnl
])