From 4bf9d98c680d55d470ad4d0c4ed940a3c77d6918 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vincent=20B=C3=A9ron?= Date: Thu, 14 Oct 2004 00:30:59 +0000 Subject: [PATCH] Don't build wine-preloader for other cpus than x86. --- configure | 8 ++++++-- configure.ac | 5 ++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/configure b/configure index b9ef8db24d8..0cb457e9db4 100755 --- a/configure +++ b/configure @@ -14258,8 +14258,12 @@ esac case $host_os in linux*) - WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader" - + case $host_cpu in + *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader" + ;; + *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread" + ;; + esac MAIN_BINARY="wine-glibc" ;; diff --git a/configure.ac b/configure.ac index f8e951b0dcc..cd482da79f4 100644 --- a/configure.ac +++ b/configure.ac @@ -1015,7 +1015,10 @@ esac case $host_os in linux*) - AC_SUBST(WINE_BINARIES,"wine-glibc wine-kthread wine-pthread wine-preloader") + case $host_cpu in + *i[[3456789]]86*) AC_SUBST(WINE_BINARIES,"wine-glibc wine-kthread wine-pthread wine-preloader") ;; + *) AC_SUBST(WINE_BINARIES,"wine-glibc wine-kthread wine-pthread") ;; + esac AC_SUBST(MAIN_BINARY,"wine-glibc") ;; darwin*) -- 2.11.4.GIT