summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index f0eba8a3..c70d104f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -167,6 +167,18 @@ else
test "x$DEBIRF" = "xno" &&
AC_MSG_ERROR([debirf must be installed])
DIST="DEBIAN"
+ case $host_cpu in
+ *86)
+ DEBIAN_KERNEL_ARCH=486
+ ;;
+ x86_64)
+ DEBIAN_KERNEL_ARCH=amd64
+ ;;
+ *)
+ DEBIAN_KERNEL_ARCH=$host_cpu
+ ;;
+ esac
+ AC_SUBST(DEBIAN_KERNEL_ARCH)
fi
AC_SUBST(DIST)