From f0b1c402a5dc0073121951ebf19fbba0f776bae6 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Mon, 29 May 2000 14:59:14 +0000 Subject: [PATCH] - autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote environment around the patch of 2000-05-23. --- ChangeLog | 5 +++++ autoconf/aclocal.m4 | 2 ++ configure | 6 +++--- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 47c2e1d..58fe0d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-05-29 Richard Kreckel + + * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote + environment around the patch of 2000-05-23. + 2000-05-29 Bruno Haible * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo. diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4 index 272645a..6eed9be 100644 --- a/autoconf/aclocal.m4 +++ b/autoconf/aclocal.m4 @@ -234,9 +234,11 @@ fi cl_cv_host="$host" ]) host="$cl_cv_host" +changequote(,)dnl host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` +changequote([,])dnl AC_SUBST(host)dnl AC_SUBST(host_cpu)dnl AC_SUBST(host_vendor)dnl diff --git a/configure b/configure index 71de2ba..5ac8ab2 100755 --- a/configure +++ b/configure @@ -1213,9 +1213,9 @@ cl_cv_host="$host" fi echo "$ac_t""$cl_cv_host" 1>&6 host="$cl_cv_host" -host_cpu=`echo $host | sed 's/^\(^-*\)-\(^-*\)-\(.*\)$/\1/'` -host_vendor=`echo $host | sed 's/^\(^-*\)-\(^-*\)-\(.*\)$/\2/'` -host_os=`echo $host | sed 's/^\(^-*\)-\(^-*\)-\(.*\)$/\3/'` +host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` +host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` +host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` case "$host_cpu" in