diff options
author | Roland McGrath <roland@gnu.org> | 2001-12-22 20:45:48 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-12-22 20:45:48 +0000 |
commit | 06f2e9476ffdecf1c3aa722bb26b38272f0892b5 (patch) | |
tree | b42ffd2df4ff8e620106734ec0624e8be52612b8 | |
parent | 01d097b8f2cc411b9b91f44cf4de0283d81f1547 (diff) |
2001-12-22 Roland McGrath <roland@frob.com>
* configure.in (asm_syntax): Grok "powerpc" value for $host_cpu.
Default asm_syntax to $host_cpu if not a known type.
Complain about unsupported CPU iff libthreads/$asm_syntax/cthreads.h
is missing; make that complaint a warning rather than fatal error.
-rw-r--r-- | configure.in | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/configure.in b/configure.in index 3299af40..730e05e5 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_REVISION([$Id: configure.in,v 1.22 2001/10/12 00:04:58 marcus Exp $]) +AC_REVISION([$Id: configure.in,v 1.23 2001/12/22 20:45:48 roland Exp $]) AC_PREREQ(2.12) dnl Minimum Autoconf version required. AC_INIT(hurd/hurd_types.h) dnl A distinctive file to look for in srcdir. @@ -20,11 +20,22 @@ none) AC_MSG_ERROR([ esac case "$host_cpu" in -i?86) asm_syntax=i386 ;; -*) AC_MSG_ERROR([unsupported CPU type]) ;; +i?86) + asm_syntax=i386 + ;; +powerpc) + asm_syntax=ppc + ;; +*) + asm_syntax="$host_cpu" + ;; esac AC_SUBST(asm_syntax) +test -r "$srcdir/libthreads/$asm_syntax/cthreads.h" || { + AC_MSG_WARN([unsupported CPU type $host_cpu]) +} + AC_ARG_ENABLE(profile, [ --disable-profile do not build profiled libraries and programs]) AC_SUBST(enable_profile) |