Mercurial > dwindows
comparison configure.in @ 2217:6cdb907755cb
Mac: Add "classic" as an optional architecure for 10.5-10.6 era fat binaries
supporting 32bit and 64bit Intel and 32-bit PowerPC. Remove "all" and "64bit"
options since there are no Xcode versions that will build these combinations.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 15 Dec 2020 01:00:38 +0000 |
parents | b86ae2abb3b3 |
children | 4020bdb806dc |
comparison
equal
deleted
inserted
replaced
2216:62e5cc4bc347 | 2217:6cdb907755cb |
---|---|
62 [with_deprecated=no], | 62 [with_deprecated=no], |
63 ) | 63 ) |
64 | 64 |
65 dnl ---------------------- check for '--with-arch' switch ----------------- | 65 dnl ---------------------- check for '--with-arch' switch ----------------- |
66 AC_ARG_WITH(arch, | 66 AC_ARG_WITH(arch, |
67 [ --with-arch specify MacOS architecture: one of modern, all, 32bit, 64bit, intel, arm, ppc, ppc64, x86_64, i386], | 67 [ --with-arch specify MacOS architecture: one of modern, classic, 32bit, intel, arm, powerpc], |
68 [with_arch=$withval], | 68 [with_arch=$withval], |
69 [with_arch=no], | 69 [with_arch=no], |
70 ) | 70 ) |
71 | 71 |
72 dnl ---------------------- check for '--with-sdk' switch ----------------- | 72 dnl ---------------------- check for '--with-sdk' switch ----------------- |
124 *apple-darwin*) | 124 *apple-darwin*) |
125 case "$with_arch" in | 125 case "$with_arch" in |
126 no) | 126 no) |
127 ARCH="" | 127 ARCH="" |
128 ;; | 128 ;; |
129 all) | 129 classic) |
130 ARCH="-arch ppc -arch ppc64 -arch x86_64 -arch i386 -arch arm64" | 130 ARCH="-arch ppc -arch x86_64 -arch i386" |
131 ;; | 131 ;; |
132 32bit) | 132 32bit) |
133 ARCH="-arch ppc -arch i386" | 133 ARCH="-arch ppc -arch i386" |
134 ;; | |
135 64bit) | |
136 ARCH="-arch ppc64 -arch x86_64 -arch arm64" | |
137 ;; | 134 ;; |
138 intel) | 135 intel) |
139 ARCH="-arch i386 -arch x86_64" | 136 ARCH="-arch i386 -arch x86_64" |
140 ;; | 137 ;; |
141 powerpc) | 138 powerpc) |