diff --git a/base/inc/RConfig.h b/base/inc/RConfig.h
index 6a0ec3752cb78cf14460fa5fd1b388ef73a99ca1..64b08a43ca50aff850b5b761a56fc42b2cc86e91 100644
--- a/base/inc/RConfig.h
+++ b/base/inc/RConfig.h
@@ -1,4 +1,4 @@
-/* @(#)root/base:$Name:  $:$Id: RConfig.h,v 1.84 2005/06/22 17:04:45 brun Exp $ */
+/* @(#)root/base:$Name:  $:$Id: RConfig.h,v 1.85 2005/07/29 08:44:36 brun Exp $ */
 
 /*************************************************************************
  * Copyright (C) 1995-2002, Rene Brun and Fons Rademakers.               *
@@ -254,7 +254,7 @@
 #   endif
 #endif
 
-#if defined(__MACH__) && defined(__i386__)
+#if defined(__MACH__) && defined(__i386__) && !defined(__APPLE__)
 #   define R__HURD
 #   define f2cFortran   /* cfortran.h does not know HURD - sigh */
 #   define R__UNIX
@@ -292,7 +292,7 @@
 #   define R__THROWNEWDELETE /* new/delete throw exceptions */
 #endif
 
-#if defined(__APPLE__)     /* MacOS X support, initially following FreeBSD */
+#if defined(__APPLE__)       /* MacOS X support, initially following FreeBSD */
 #   include <AvailabilityMacros.h>
 #   define R__MACOSX
 #   define R__UNIX
diff --git a/configure b/configure
index 88a32c4b8391c8790d31ccfa2a18cc91cb803972..6a97ccfa8b6651641985eecf77cfd91a448ee6c1 100755
--- a/configure
+++ b/configure
@@ -614,7 +614,7 @@ guess_architecture () {
         openbsd*:*:*)          arch=openbsd         ;;
         lynx:*:*)              arch=lynxos          ;;
         darwin:power*:*)       arch=macosx          ;;
-        darwin:x86*:*)         arch=macosx          ;;
+        darwin:*86*:*)         arch=macosx          ;;
         irix*:sgi*:*)          arch=sgicc           ;;
         sunos:sun*:6*)         arch=solarisCC5      ;;
         sunos:sun*:5*)         arch=solarisCC5      ;;