Browse Source

Fix determination of host_cpu.

master
Bruno Haible 25 years ago
parent
commit
8b3b4003a6
  1. 5
      ChangeLog
  2. 6
      autoconf/aclocal.m4

5
ChangeLog

@ -1,3 +1,8 @@
2000-05-23 Bruno Haible <haible@clisp.cons.org>
* autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
host_vendor, host_os correctly if $host has more than two hyphens.
2000-05-19 Richard Kreckel <kreckel@ginac.de> 2000-05-19 Richard Kreckel <kreckel@ginac.de>
* src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to

6
autoconf/aclocal.m4

@ -234,9 +234,9 @@ fi
cl_cv_host="$host" cl_cv_host="$host"
]) ])
host="$cl_cv_host" 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/'`
AC_SUBST(host)dnl AC_SUBST(host)dnl
AC_SUBST(host_cpu)dnl AC_SUBST(host_cpu)dnl
AC_SUBST(host_vendor)dnl AC_SUBST(host_vendor)dnl

Loading…
Cancel
Save