x86_64 multilib configure fix

Alex Woods wine-devel at giblets.org
Tue Feb 8 06:51:32 CST 2005


Hi,

This patch fixes building a multilib version of wine on x86_64.  It
just alters the host_cpu cases in configure.ac to put x86_64 in the
same category as other x86s.

Changelog:
	* configure.ac: Alex Woods <wine-devel at giblets.org>
	Handle host_cpu of x86_64 like other x86s.

Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.338
diff -u -p -r1.338 configure.ac
--- configure.ac        28 Jan 2005 14:13:08 -0000      1.338
+++ configure.ac        8 Feb 2005 12:30:27 -0000
@@ -978,7 +978,7 @@ case $host_os in
         fi
 
         case $host_cpu in
-          *i[[3456789]]86*)
+          *[[3456789x]]86*)
             AC_CACHE_CHECK([whether we can relocate the executable to 0x77f00000], ac_cv_ld_reloc_exec,
               [WINE_TRY_CFLAGS([-Wl,--section-start,.interp=0x77f00400],
                                ac_cv_ld_reloc_exec="yes", ac_cv_ld_reloc_exec="no")])
@@ -1073,7 +1073,7 @@ esac
 case $host_os in
   linux*)
     case $host_cpu in
-      *i[[3456789]]86*) AC_SUBST(WINE_BINARIES,"wine-glibc wine-kthread wine-pthread wine-preloader") ;;
+      *[[3456789x]]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")
@@ -1454,7 +1454,7 @@ AC_CHECK_MEMBERS([struct stat.st_blocks]
 dnl *** check for the need to define platform-specific symbols
 
 case $host_cpu in
-  *i[[3456789]]86*) WINE_CHECK_DEFINE([__i386__]) ;;
+  *[[3456789x]]86*) WINE_CHECK_DEFINE([__i386__]) ;;
   *alpha*)          WINE_CHECK_DEFINE([__ALPHA__]) ;;
   *sparc*)          WINE_CHECK_DEFINE([__sparc__]) ;;
   *powerpc*)        WINE_CHECK_DEFINE([__powerpc__]) ;;



More information about the wine-patches mailing list