diff options
| author | Richard M. Stallman | 2007-01-03 23:47:04 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2007-01-03 23:47:04 +0000 |
| commit | 576538836a5a8037e264f05b0f2b9c1960fff0dd (patch) | |
| tree | fce6110ad83970e26974cec53f47aa2d0f39e239 | |
| parent | dfc265a31fd11a6d7b0f994959a1cab0909b18dd (diff) | |
| download | emacs-576538836a5a8037e264f05b0f2b9c1960fff0dd.tar.gz emacs-576538836a5a8037e264f05b0f2b9c1960fff0dd.zip | |
Detect and use fink-installed in intel-based Mac builds; change Apple
Darwin section to support both PowerPC and Intel-based Macs.
| -rw-r--r-- | configure.in | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/configure.in b/configure.in index 2e4580ce175..3a75d855423 100644 --- a/configure.in +++ b/configure.in | |||
| @@ -378,6 +378,24 @@ dnl see the `changequote' comment above. | |||
| 378 | machine=apollo opsys=bsd4-3 | 378 | machine=apollo opsys=bsd4-3 |
| 379 | ;; | 379 | ;; |
| 380 | 380 | ||
| 381 | ## Apple Darwin / Mac OS X | ||
| 382 | *-apple-darwin* ) | ||
| 383 | case "${canonical}" in | ||
| 384 | i[3456]86-* ) machine=intel386 ;; | ||
| 385 | powerpc-* ) machine=powermac ;; | ||
| 386 | * ) unported=yes ;; | ||
| 387 | esac | ||
| 388 | opsys=darwin | ||
| 389 | # Define CPP as follows to make autoconf work correctly. | ||
| 390 | CPP="${CC-cc} -E -no-cpp-precomp" | ||
| 391 | # Use fink packages if available. | ||
| 392 | if test -d /sw/include && test -d /sw/lib; then | ||
| 393 | GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib" | ||
| 394 | CPP="${CPP} ${GCC_TEST_OPTIONS}" | ||
| 395 | NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS} | ||
| 396 | fi | ||
| 397 | ;; | ||
| 398 | |||
| 381 | ## AT&T 3b2, 3b5, 3b15, 3b20 | 399 | ## AT&T 3b2, 3b5, 3b15, 3b20 |
| 382 | we32k-att-sysv* ) | 400 | we32k-att-sysv* ) |
| 383 | machine=att3b opsys=usg5-2-2 | 401 | machine=att3b opsys=usg5-2-2 |
| @@ -1154,19 +1172,6 @@ dnl see the `changequote' comment above. | |||
| 1154 | machine=f301 opsys=uxpv | 1172 | machine=f301 opsys=uxpv |
| 1155 | ;; | 1173 | ;; |
| 1156 | 1174 | ||
| 1157 | ## Darwin / Mac OS X | ||
| 1158 | powerpc-apple-darwin* ) | ||
| 1159 | machine=powermac opsys=darwin | ||
| 1160 | # Define CPP as follows to make autoconf work correctly. | ||
| 1161 | CPP="${CC-cc} -E -no-cpp-precomp" | ||
| 1162 | # Use fink packages if available. | ||
| 1163 | if test -d /sw/include && test -d /sw/lib; then | ||
| 1164 | GCC_TEST_OPTIONS="-I/sw/include -L/sw/lib" | ||
| 1165 | CPP="${CPP} ${GCC_TEST_OPTIONS}" | ||
| 1166 | NON_GCC_TEST_OPTIONS=${GCC_TEST_OPTIONS} | ||
| 1167 | fi | ||
| 1168 | ;; | ||
| 1169 | |||
| 1170 | ## AMD x86-64 Linux-based GNU system | 1175 | ## AMD x86-64 Linux-based GNU system |
| 1171 | x86_64-*-linux-gnu* ) | 1176 | x86_64-*-linux-gnu* ) |
| 1172 | machine=amdx86-64 opsys=gnu-linux | 1177 | machine=amdx86-64 opsys=gnu-linux |