From a86c171440663627e2db5c2e7a98d5109a7f224b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 24 May 2001 20:01:10 +0000 Subject: 2001-05-16 Ralf Corsepius * canonical-target-name.m4: Fix m4-quoting for autoconf-2.49f. * aclocal/config-subdirs.m: Fix m4-quoting for autoconf-2.49f, Add support for DOS-drive-letters. --- aclocal/canonical-target-name.m4 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'aclocal/canonical-target-name.m4') diff --git a/aclocal/canonical-target-name.m4 b/aclocal/canonical-target-name.m4 index 53d1a2962c..0fb1fd777d 100644 --- a/aclocal/canonical-target-name.m4 +++ b/aclocal/canonical-target-name.m4 @@ -12,16 +12,15 @@ AC_DEFUN(RTEMS_CANONICAL_TARGET_CPU, [ AC_CANONICAL_SYSTEM AC_MSG_CHECKING(rtems target cpu) -changequote(,)dnl case "${target}" in # hpux unix port should go here - i[34567]86-*linux*) # unix "simulator" port + i[[34567]]86-*linux*) # unix "simulator" port RTEMS_CPU=unix ;; - i[34567]86-*freebsd*) # unix "simulator" port + i[[34567]]86-*freebsd*) # unix "simulator" port RTEMS_CPU=unix ;; - i[34567]86-pc-cygwin*) # Cygwin is just enough unix like :) + i[[34567]]86-pc-cygwin*) # Cygwin is just enough unix like :) RTEMS_CPU=unix ;; no_cpu-*rtems*) @@ -31,10 +30,9 @@ case "${target}" in RTEMS_CPU=unix ;; *) - RTEMS_CPU=`echo $target | sed 's%^\([^-]*\)-\(.*\)$%\1%'` + RTEMS_CPU=`echo $target | sed 's%^\([[^-]]*\)-\(.*\)$%\1%'` ;; esac -changequote([,])dnl AC_SUBST(RTEMS_CPU) AC_MSG_RESULT($RTEMS_CPU) ]) -- cgit v1.2.3