+# Get CPU
+cpu_i386=false
+cpu_ix86=false
+cpu_x86_64=false
+cpu_ppc=false
+cpu_ia64=false
+case "$host_cpu" in
+ i386)
+ AC_DEFINE([SILC_I386], [], [SILC_I386])
+ AC_DEFINE([SILC_I486], [], [SILC_I486])
+ cpu_i386=true
+ cpu_ix86=true
+ ;;
+ i?86)
+ AC_DEFINE([SILC_I486], [], [SILC_I486])
+ cpu_ix86=true
+ ;;
+ x86_64)
+ AC_DEFINE([SILC_X86_64], [], [SILC_X86_64])
+ cpu_x86_64=true
+ ;;
+ powerpc*)
+ AC_DEFINE([SILC_POWERPC], [], [SILC_POWERPC])
+ cpu_ppc=true
+ ;;
+ ia64)
+ AC_DEFINE([SILC_IA64], [], [SILC_IA64])
+ cpu_ia64=true
+ ;;
+esac
+AM_CONDITIONAL(SILC_I386, test x$cpu_i386 = xtrue)
+AM_CONDITIONAL(SILC_I486, test x$cpu_ix86 = xtrue)
+AM_CONDITIONAL(SILC_X86_64, test x$cpu_x86_64 = xtrue)
+AM_CONDITIONAL(SILC_POWERPC, test x$cpu_ppc = xtrue)
+AM_CONDITIONAL(SILC_IA64, test x$cpu_ia64 = xtrue)
+