20 |
esac |
esac |
21 |
|
|
22 |
case "$host_cpu" in |
case "$host_cpu" in |
23 |
i?86) asm_syntax=i386 ;; |
i?86) |
24 |
*) AC_MSG_ERROR([unsupported CPU type]) ;; |
asm_syntax=i386 |
25 |
|
;; |
26 |
|
powerpc) |
27 |
|
asm_syntax=ppc |
28 |
|
;; |
29 |
|
*) |
30 |
|
asm_syntax="$host_cpu" |
31 |
|
;; |
32 |
esac |
esac |
33 |
AC_SUBST(asm_syntax) |
AC_SUBST(asm_syntax) |
34 |
|
|
35 |
|
test -r "$srcdir/libthreads/$asm_syntax/cthreads.h" || { |
36 |
|
AC_MSG_WARN([unsupported CPU type $host_cpu]) |
37 |
|
} |
38 |
|
|
39 |
AC_ARG_ENABLE(profile, |
AC_ARG_ENABLE(profile, |
40 |
[ --disable-profile do not build profiled libraries and programs]) |
[ --disable-profile do not build profiled libraries and programs]) |
41 |
AC_SUBST(enable_profile) |
AC_SUBST(enable_profile) |