emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[OSX x86] fixing platform detection


From: Sébastien Kirche
Subject: [OSX x86] fixing platform detection
Date: Tue, 25 Oct 2005 01:09:25 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (darwin)

Hi,

i am currently testing Emacs under  Mac OSX x86. It previously failed to
proper configure with the following :

,----[ address@hidden ~/projets/emacs% ./configure ]
| checking build system type... i686-apple-darwin8.1.0
| checking host system type... i686-apple-darwin8.1.0
| configure: error: Emacs hasn't been ported to `i686-apple-darwin8.1.0' 
| systems.
| Check `etc/MACHINES' for recognized configuration names.
| zsh: exit 1 ./configure
`----

It  seems that  it is  caused by  a missing  '*' in  both  configure and
configure.in. 

BTW, I have not  installed Fink on my OSX x86 box,  but I know it exists
and I  suppose that  we could  add also the  fink packages  detection to
i686-apple-darwin as it done for powerpc-apple-darwin.

Regards.

Index: configure
===================================================================
RCS file: /cvsroot/emacs/emacs/configure,v
retrieving revision 1.160
diff -c -r1.160 configure
--- configure   4 Oct 2005 09:19:24 -0000       1.160
+++ configure   24 Oct 2005 22:48:54 -0000
@@ -2571,7 +2571,7 @@
     machine=intel386
     case "${canonical}" in
       *-cygwin )                opsys=cygwin ;;
-      *-darwin )                opsys=darwin
+      *-darwin* )               opsys=darwin
                                 CPP="${CC-cc} -E -no-cpp-precomp"
                                ;;
       *-isc1.* | *-isc2.[01]* )        opsys=386-ix ;;
Index: configure.in
===================================================================
RCS file: /cvsroot/emacs/emacs/configure.in,v
retrieving revision 1.398
diff -c -r1.398 configure.in
--- configure.in        4 Oct 2005 09:19:37 -0000       1.398
+++ configure.in        24 Oct 2005 23:02:56 -0000
@@ -1089,7 +1089,7 @@
     machine=intel386
     case "${canonical}" in
       *-cygwin )                opsys=cygwin ;;
-      *-darwin )                opsys=darwin
+      *-darwin* )               opsys=darwin
                                 CPP="${CC-cc} -E -no-cpp-precomp"
                                ;;
       *-isc1.* | *-isc2.[01]* )        opsys=386-ix ;;

-- 
Sébastien Kirche





reply via email to

[Prev in Thread] Current Thread [Next in Thread]