PPC CPU Detection in configure

Pierre d'Herbemont stegefin at free.fr
Sun Jul 13 07:20:53 CDT 2003


Hi,

Here is a patch which adds CPU Detection for the PowerPC Processor in 
configure.ac. There wasn't any in configure, is there any reason? By 
the way there is two flags for the powerpc : __PPC__ and __powerpc__ 
any reason, or should they be unified?

Thanks,

Pierre

ChangeLog:
- Add PowerPC Processor detection in configure

  
-------------- next part --------------
Index: configure.ac
===================================================================
RCS file: /home/wine/wine/configure.ac,v
retrieving revision 1.165
diff -u -r1.165 configure.ac
--- configure.ac	1 Jul 2003 01:11:13 -0000	1.165
+++ configure.ac	13 Jul 2003 12:19:52 -0000
@@ -1314,6 +1314,8 @@
   *i[[3456789]]86*) WINE_CHECK_DEFINE([__i386__]) ;;
   *alpha*)          WINE_CHECK_DEFINE([__ALPHA__]) ;;
   *sparc*)          WINE_CHECK_DEFINE([__sparc__]) ;;
+  *powerpc*)        WINE_CHECK_DEFINE([__powerpc__])
+                    WINE_CHECK_DEFINE([__PPC__]) ;;
 esac
 
 case $host_vendor in


More information about the wine-patches mailing list