From 6207ea2986987ffb71af53b8885fe0352b501fa3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 21 May 1998 16:46:24 +0000 Subject: New file from Ralf Corsepius --- aclocal/tool-prefix.m4 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 aclocal/tool-prefix.m4 (limited to 'aclocal') diff --git a/aclocal/tool-prefix.m4 b/aclocal/tool-prefix.m4 new file mode 100644 index 0000000000..fae1652aef --- /dev/null +++ b/aclocal/tool-prefix.m4 @@ -0,0 +1,17 @@ +dnl Set program_prefix +dnl +dnl 98/05/20 Ralf Corsepius (corsepiu@faw.uni-ulm.de) +dnl Extracted from configure + +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 + program_prefix= + else + program_prefix=${target}- + fi +fi +]) -- cgit v1.2.3