Ticket #4703: x86-build.patch

File x86-build.patch, 1.3 KB (added by awreynolds@…, 19 years ago)

Patch to allow building on x86 MacOS X

Line 
1Index: configure
2===================================================================
3RCS file: /cvsroot/emacs/emacs/configure,v
4retrieving revision 1.157
5diff -c -r1.157 configure
6*** configure   26 Jul 2005 21:44:41 -0000      1.157
7--- configure   28 Aug 2005 02:54:27 -0000
8***************
9*** 2562,2568 ****
10      machine=intel386
11      case "${canonical}" in
12        *-cygwin )                opsys=cygwin ;;
13!       *-darwin )                opsys=darwin
14                                  CPP="${CC-cc} -E -no-cpp-precomp"
15                                ;;
16        *-lynxos* )               opsys=lynxos ;;
17--- 2562,2568 ----
18      machine=intel386
19      case "${canonical}" in
20        *-cygwin )                opsys=cygwin ;;
21!       *-darwin* )               opsys=darwin
22                                  CPP="${CC-cc} -E -no-cpp-precomp"
23                                ;;
24        *-lynxos* )               opsys=lynxos ;;
25***************
26*** 2617,2623 ****
27    ;;
28 
29    ## Darwin / Mac OS X
30!   powerpc-apple-darwin* )
31      machine=powermac opsys=darwin
32      # Define CPP as follows to make autoconf work correctly.
33      CPP="${CC-cc} -E -no-cpp-precomp"
34--- 2617,2623 ----
35    ;;
36 
37    ## Darwin / Mac OS X
38!   *-apple-darwin* )
39      machine=powermac opsys=darwin
40      # Define CPP as follows to make autoconf work correctly.
41      CPP="${CC-cc} -E -no-cpp-precomp"