diff options
| author | Jim Blandy | 1992-11-20 17:08:32 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-11-20 17:08:32 +0000 |
| commit | 8509d50c364061e4dbf2b642ae76a1ea8c17debc (patch) | |
| tree | 9ad534a2398d166662790dd2d98424e7930b1e22 | |
| parent | 76fb0a58b27db5dbcade1ec72b136dd064ac7ae6 (diff) | |
| download | emacs-8509d50c364061e4dbf2b642ae76a1ea8c17debc.tar.gz emacs-8509d50c364061e4dbf2b642ae76a1ea8c17debc.zip | |
* configure: Use GCC-style configuration names, using config.sub.
Change the usage and help messages.
* configure: Initialize window_system, not indow_system.
* configure: Report which window system, compiler, and signal
handler return type we decide to use.
| -rwxr-xr-x | configure1.in | 493 |
1 files changed, 446 insertions, 47 deletions
diff --git a/configure1.in b/configure1.in index cbb2531cb45..edacbd9eead 100755 --- a/configure1.in +++ b/configure1.in | |||
| @@ -21,7 +21,7 @@ | |||
| 21 | # Shell script to edit files and make symlinks in preparation for | 21 | # Shell script to edit files and make symlinks in preparation for |
| 22 | # compiling Emacs. | 22 | # compiling Emacs. |
| 23 | # | 23 | # |
| 24 | # Usage: configure machine | 24 | # Usage: configure config_name |
| 25 | # | 25 | # |
| 26 | # If configure succeeds, it leaves its status in config.status. | 26 | # If configure succeeds, it leaves its status in config.status. |
| 27 | # If configure fails after disturbing the status quo, | 27 | # If configure fails after disturbing the status quo, |
| @@ -43,10 +43,14 @@ progname="`echo $0 | sed 's:^\./::'`" | |||
| 43 | 43 | ||
| 44 | short_usage="Type \`${progname} -usage' for more information about options." | 44 | short_usage="Type \`${progname} -usage' for more information about options." |
| 45 | 45 | ||
| 46 | usage_message="Usage: ${progname} MACHINENAME [-OPTION[=VALUE] ...] | 46 | usage_message="Usage: ${progname} CONFIGURATION [-OPTION[=VALUE] ...] |
| 47 | |||
| 47 | Set compilation and installation parameters for GNU Emacs, and report. | 48 | Set compilation and installation parameters for GNU Emacs, and report. |
| 48 | MACHINENAME is the machine to build for. For example: | 49 | CONFIGURATION specifies the machine and operating system to build for. |
| 49 | ${progname} decstation | 50 | For example: |
| 51 | ${progname} sparc-sun-sunos4.1 | ||
| 52 | configures Emacs to build on a Sun Sparc machine running SunOS 4.1, and | ||
| 53 | ${progname} decstation | ||
| 50 | configures Emacs to run on a DECstation running Ultrix. See \`etc/MACHINES'. | 54 | configures Emacs to run on a DECstation running Ultrix. See \`etc/MACHINES'. |
| 51 | Options are: | 55 | Options are: |
| 52 | --with-x, --with-x11 or --with-x10 - what window system to use; | 56 | --with-x, --with-x11 or --with-x10 - what window system to use; |
| @@ -196,88 +200,473 @@ while [ $# != 0 ]; do | |||
| 196 | eval "${optvar}=\"${val}\"" | 200 | eval "${optvar}=\"${val}\"" |
| 197 | ;; | 201 | ;; |
| 198 | *) | 202 | *) |
| 199 | machine=${arg} | 203 | configuration=${arg} |
| 200 | ;; | 204 | ;; |
| 201 | esac | 205 | esac |
| 202 | shift | 206 | shift |
| 203 | done | 207 | done |
| 204 | 208 | ||
| 205 | if [ "${machine}" = "" ]; then | 209 | if [ "${configuration}" = "" ]; then |
| 206 | (echo "You must specify a machine name as an argument to ${progname}." | 210 | (echo "You must specify a configuration name as an argument to ${progname}." |
| 207 | echo "${short_usage}") | more | 211 | echo "${short_usage}") | more |
| 208 | exit 1 | 212 | exit 1 |
| 209 | fi | 213 | fi |
| 210 | 214 | ||
| 211 | # Canonicalize the machine name. | 215 | # Canonicalize the configuration name. |
| 212 | echo "Checking the machine." | 216 | echo "Checking the configuration name." |
| 213 | machine=`./config.sub "${machine}"` | 217 | if configuration=`./config.sub "${configuration}"` ; then : ; else |
| 218 | exit $? | ||
| 219 | fi | ||
| 214 | 220 | ||
| 215 | # Given the canonicalized machine name, set machfile and opsysfile to | 221 | # Given the canonicalized configuration name, set machfile and opsysfile to |
| 216 | # the names of the m/*.h and s/*.h files we should use. | 222 | # the names of the m/*.h and s/*.h files we should use. |
| 217 | case "${machine}" in | ||
| 218 | 223 | ||
| 219 | ## Alliant machines. | 224 | ### You would hope that you could choose an m/*.h file pretty much |
| 225 | ### based on the machine portion of the configuration name, and an s- | ||
| 226 | ### file based on the operating system portion. However, it turns out | ||
| 227 | ### that each m/*.h file is pretty manufacturer-specific - for | ||
| 228 | ### example, apollo.h, hp9000s300.h, mega68k, news.h, and tad68k are | ||
| 229 | ### all 68000 machines; mips.h, pmax.h, and news-risc are all MIPS | ||
| 230 | ### machines. So we basically have to have a special case for each | ||
| 231 | ### configuration name. | ||
| 232 | |||
| 233 | ### As far as handling version numbers on operating systems is | ||
| 234 | ### concerned, make sure things will fail in a fixable way. If | ||
| 235 | ### /etc/MACHINES doesn't say anything about version numbers, be | ||
| 236 | ### prepared to handle anything reasonably. If version numbers | ||
| 237 | ### matter, be sure /etc/MACHINES says something about it. | ||
| 238 | machine='' opsys='' unported='false' | ||
| 239 | case "${configuration}" in | ||
| 240 | |||
| 241 | ## Alliant machines | ||
| 220 | ## Strictly speaking, we need the version of the alliant operating | 242 | ## Strictly speaking, we need the version of the alliant operating |
| 221 | ## system to choose the right machine file, but currently the | 243 | ## system to choose the right machine file, but currently the |
| 222 | ## configuration name doesn't tell us enough to choose the right | 244 | ## configuration name doesn't tell us enough to choose the right |
| 223 | ## one; we need to give alliants their own operating system name to | 245 | ## one; we need to give alliants their own operating system name to |
| 224 | ## do this right. When someone cares, they can help us. | 246 | ## do this right. When someone cares, they can help us. |
| 225 | fx80-alliant-* ) | 247 | fx80-alliant-* ) |
| 226 | machfile=m/alliant4.h opsysfile=s/bsd4-2.h | 248 | machine=alliant4 opsys=bsd4-2 |
| 227 | ;; | 249 | ;; |
| 228 | i860-alliant-* ) | 250 | i860-alliant-* ) |
| 229 | machfile=m/alliant-2800.h opsysfile=s/bsd4-3.h | 251 | machine=alliant-2800 opsys=bsd4-3 |
| 230 | ;; | 252 | ;; |
| 231 | 253 | ||
| 232 | ## DECstations. | 254 | ## Altos 3068 |
| 233 | mips-*-ultrix* ) | 255 | m68*-altos-sysv* ) |
| 234 | machfile=m/pmax.h opsysfile=s/bsd4-3.h | 256 | machine=altos opsys=usg5-2 |
| 235 | ;; | 257 | ;; |
| 236 | mips-*-osf* ) | 258 | |
| 237 | machfile=m/pmax.h opsysfile=s/osf1.h | 259 | ## Amdahl UTS |
| 260 | 580-amdahl-sysv* ) | ||
| 261 | machine=amdahl opsys=usg5-2-2 | ||
| 238 | ;; | 262 | ;; |
| 239 | 263 | ||
| 240 | ## HP 9000 series 200 or 300. | 264 | ## Appallings - I mean, Apollos - running Domain |
| 241 | m68*-hp-bsd* ) | 265 | m68*-apollo* ) |
| 242 | machfile=m/hp9000s300.h opsysfile=s/bsd4-3.h | 266 | machine=apollo opsysfile=bsd4-2.h |
| 243 | ;; | 267 | ;; |
| 244 | ## If it's running an unspecified version of HP/UX, assume version 8. | 268 | |
| 245 | m68*-hp-hpux7 ) | 269 | ## AT&T 3b2, 3b5, 3b15, 3b20 |
| 246 | machfile=m/hp9000s300.h opsysfile=s/hpux.h | 270 | we32k-att-sysv* ) |
| 271 | machine=att3b opsys=usg5-2-2 | ||
| 272 | ;; | ||
| 273 | |||
| 274 | ## AT&T 3b1 - The Mighty Unix PC! | ||
| 275 | m68*-att-sysv* ) | ||
| 276 | machine=7300 opsys=usg5-2-2 | ||
| 277 | ;; | ||
| 278 | |||
| 279 | ## Bull sps7 | ||
| 280 | m68*-bull-sysv* ) | ||
| 281 | machine=sps7 opsys=usg5-2 | ||
| 247 | ;; | 282 | ;; |
| 283 | |||
| 284 | ## CCI 5/32, 6/32 -- see "Tahoe". | ||
| 285 | |||
| 286 | ## Celerity | ||
| 287 | ## I don't know what configuration name to use for this; config.sub | ||
| 288 | ## doesn't seem to know anything about it. Hey, Celerity users, get | ||
| 289 | ## in touch with us! | ||
| 290 | celerity-celerity-bsd* ) | ||
| 291 | machine=celerity opsys=bsd4-2 | ||
| 292 | ;; | ||
| 293 | |||
| 294 | ## Clipper | ||
| 295 | ## What operating systems does this chip run that Emacs has been | ||
| 296 | ## tested on? | ||
| 297 | clipper-* ) | ||
| 298 | machine=clipper | ||
| 299 | ## We'll use the catch-all code at the bottom to guess the | ||
| 300 | ## operating system. | ||
| 301 | ;; | ||
| 302 | |||
| 303 | ## Convex | ||
| 304 | *-convex-bsd* ) | ||
| 305 | machine=convex opsys=bsd4-3 | ||
| 306 | ;; | ||
| 307 | |||
| 308 | ## Cubix QBx/386 | ||
| 309 | i386-cubix-sysv* ) | ||
| 310 | machine=intel386 opsys=usg5-3 | ||
| 311 | ;; | ||
| 312 | |||
| 313 | ## Cydra 5 | ||
| 314 | cydra*-cydrome-sysv* ) | ||
| 315 | machine=cydra5 opsys=usg5-3 | ||
| 316 | ;; | ||
| 317 | |||
| 318 | ## DECstations | ||
| 319 | mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0 | mips-dec-bsd4.2 ) | ||
| 320 | machine=pmax opsys=bsd4-2 | ||
| 321 | ;; | ||
| 322 | mips-dec-ultrix* | mips-dec-bsd* ) | ||
| 323 | machine=pmax opsys=bsd4-3 | ||
| 324 | ;; | ||
| 325 | mips-dec-osf* ) | ||
| 326 | machine=pmax opsys=osf1 | ||
| 327 | ;; | ||
| 328 | |||
| 329 | ## Motorola Delta machines | ||
| 330 | m68*-motorola-sysv* ) | ||
| 331 | machine=delta opsys=usg5-3 | ||
| 332 | ;; | ||
| 333 | m88k-motorola-sysv* | m88k-motorola-m88kbcs* ) | ||
| 334 | machine=delta88k opsys=usg5-3 | ||
| 335 | ;; | ||
| 336 | |||
| 337 | ## Dual machines | ||
| 338 | m68*-dual-sysv* ) | ||
| 339 | machine=dual opsys=usg5-2 | ||
| 340 | ;; | ||
| 341 | m68*-dual-uniplus* ) | ||
| 342 | machine=dual opsys=unipl5-2 | ||
| 343 | ;; | ||
| 344 | |||
| 345 | ## Elxsi 6400 | ||
| 346 | elxsi-elxsi-sysv* ) | ||
| 347 | machine=elxsi opsys=usg5-2 | ||
| 348 | ;; | ||
| 349 | |||
| 350 | ## Encore machines | ||
| 351 | ns16k-encore-bsd* ) | ||
| 352 | machine=ns16000 opsys=umax | ||
| 353 | ;; | ||
| 354 | |||
| 355 | ## The GEC 93 - apparently, this port isn't really finished yet. | ||
| 356 | |||
| 357 | ## Gould Power Node and NP1 | ||
| 358 | pn-gould-bsd4.2 ) | ||
| 359 | machine=gould opsys=bsd4-2 | ||
| 360 | ;; | ||
| 361 | pn-gould-bsd4.3 ) | ||
| 362 | machine=gould opsys=bsd4-3 | ||
| 363 | ;; | ||
| 364 | np1-gould-bsd* ) | ||
| 365 | machine=gould-np1 opsys=bsd4-3 | ||
| 366 | ;; | ||
| 367 | |||
| 368 | ## Honeywell XPS100 | ||
| 369 | xps*-honeywell-sysv* ) | ||
| 370 | machine=xps100 opsys=usg5-2 | ||
| 371 | ;; | ||
| 372 | |||
| 373 | ## HP 9000 series 200 or 300 | ||
| 374 | m68*-hp-bsd* ) | ||
| 375 | machine=hp9000s300 opsys=bsd4-3 | ||
| 376 | ;; | ||
| 377 | ## HP/UX 8 doesn't run on these machines, so use HP/UX 7. | ||
| 248 | m68*-hp-hpux* ) | 378 | m68*-hp-hpux* ) |
| 249 | machfile=m/hp9000s300.h opsysfile=s/hpux8.h | 379 | machine=hp9000s300 opsys=hpux |
| 250 | ;; | 380 | ;; |
| 251 | 381 | ||
| 252 | ## HP 9000 series 800, running HP/UX. | 382 | ## HP 9000 series 800, running HP/UX |
| 253 | hppa1.0-hp-hpux* ) | 383 | hppa1.0-hp-hpux* ) |
| 254 | machfile=m/hp9000s800.h opsysfile=s/hpux.h | 384 | machine=hp9000s800 opsys=hpux |
| 385 | ;; | ||
| 386 | |||
| 387 | ## Orion machines | ||
| 388 | orion-orion-bsd* ) | ||
| 389 | machine=orion opsys=bsd4-2 | ||
| 390 | ;; | ||
| 391 | clipper-orion-bsd* ) | ||
| 392 | machine=orion105 opsys=bsd4-2 | ||
| 393 | ;; | ||
| 394 | |||
| 395 | ## IBM machines | ||
| 396 | i386-ibm-aix1.1 ) | ||
| 397 | machine=ibmps2-aix opsys=usg5-2-2 | ||
| 398 | ;; | ||
| 399 | i386-ibm-aix1.2 ) | ||
| 400 | machine=ibmps2-aix opsys=usg5-3 | ||
| 401 | ;; | ||
| 402 | rs6000-ibm-aix* ) | ||
| 403 | machine=ibmrs6000 opsys=aix3-1 | ||
| 404 | ;; | ||
| 405 | romp-ibm-bsd* ) | ||
| 406 | machine=ibmrt opsys=bsd4-2 | ||
| 407 | ;; | ||
| 408 | romp-ibm-aix* ) | ||
| 409 | machine=ibmrt-aix opsys=usg5-2-2 | ||
| 410 | ;; | ||
| 411 | |||
| 412 | ## Integrated Solutions `Optimum V' | ||
| 413 | m68*-isi-bsd4.2 ) | ||
| 414 | machine=isi-ov opsys=bsd4-2 | ||
| 415 | ;; | ||
| 416 | m68*-isi-bsd4.3 ) | ||
| 417 | machine=isi-ov opsys=bsd4-3 | ||
| 418 | ;; | ||
| 419 | |||
| 420 | ## Intel 386 machines where we do care about the manufacturer | ||
| 421 | i[34]86-intsys-sysv* ) | ||
| 422 | machine=is386 opsys=usg5-2-2 | ||
| 423 | ;; | ||
| 424 | ## Intel 386 machines where we don't care about the manufacturer | ||
| 425 | i[34]86-* ) | ||
| 426 | machine=intel386 | ||
| 427 | case "${configuration}" in | ||
| 428 | *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; | ||
| 429 | *-isc* ) opsys=isc2-2 ;; | ||
| 430 | *-esix* ) opsys=esix ;; | ||
| 431 | *-xenix* ) opsys=xenix ;; | ||
| 432 | ## Otherwise, we'll fall through to the generic opsys code at the bottom. | ||
| 433 | esac | ||
| 434 | ;; | ||
| 435 | |||
| 436 | ## Silicon Graphics machines | ||
| 437 | ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030) | ||
| 438 | m68*-sgi-iris3.5 ) | ||
| 439 | machine=irist opsys=iris3-5 | ||
| 440 | ;; | ||
| 441 | m68*-sgi-iris3.6 | m68*-sgi-iris*) | ||
| 442 | machine=irist opsys=iris3-6 | ||
| 443 | ;; | ||
| 444 | ## Iris 4D | ||
| 445 | mips-sgi-irix3.* ) | ||
| 446 | machine=iris4d opsys=irix3-3 | ||
| 447 | ;; | ||
| 448 | mips-sgi-irix4.* | mips-sgi-irix* ) | ||
| 449 | machine=iris4d opsys=irix4-0 | ||
| 255 | ;; | 450 | ;; |
| 256 | 451 | ||
| 257 | ## Suns. | 452 | ## Masscomp machines |
| 453 | m68*-masscomp-rtu ) | ||
| 454 | machine=masscomp opsys=rtu | ||
| 455 | ;; | ||
| 456 | |||
| 457 | ## Megatest machines | ||
| 458 | m68*-megatest-bsd* ) | ||
| 459 | machine=mega68 opsys=bsd4-2 | ||
| 460 | ;; | ||
| 461 | |||
| 462 | ## Workstations sold by MIPS | ||
| 463 | ## This is not necessarily all workstations using the MIPS processor - | ||
| 464 | ## Irises are produced by SGI, and DECstations by DEC. | ||
| 465 | |||
| 466 | ## etc/MACHINES lists mips.h and mips4.h as possible machine files, | ||
| 467 | ## and usg5-2-2 and bsd4-3 as possible OS files. The only guidance | ||
| 468 | ## it gives for choosing between the alternatives seems to be "Use | ||
| 469 | ## -machine=mips4 for RISCOS version 4; use -opsystem=bsd4-3 with | ||
| 470 | ## the BSD world." I'll assume that these are instructions for | ||
| 471 | ## handling two odd situations, and that every other situation | ||
| 472 | ## should use mips.h and usg5-2-2, they being listed first. | ||
| 473 | mips-mips-riscos4* ) | ||
| 474 | machine=mips4 opsys=usg5-2-2 | ||
| 475 | ;; | ||
| 476 | mips-mips-bsd* ) | ||
| 477 | machine=mips opsys=bsd4-3 | ||
| 478 | ;; | ||
| 479 | mips-mips-* ) | ||
| 480 | machine=mips opsys=usg5-2-2 | ||
| 481 | ;; | ||
| 482 | |||
| 483 | ## The complete machine from National Semiconductor | ||
| 484 | ns32k-ns-genix* ) | ||
| 485 | machine=ns32000 opsys=usg5-2 | ||
| 486 | ;; | ||
| 487 | |||
| 488 | ## NCR machines | ||
| 489 | m68*-ncr-sysv2* ) | ||
| 490 | machine=tower32 opsys=usg5-2-2 | ||
| 491 | ;; | ||
| 492 | m68*-ncr-sysv3* ) | ||
| 493 | machine=tower32v3 opsys=usg5-3 | ||
| 494 | ;; | ||
| 495 | |||
| 496 | ## Nixdorf Targon 31 | ||
| 497 | m68*-nixdorf-sysv* ) | ||
| 498 | machine=targon31 opsys=usg5-2-2 | ||
| 499 | ;; | ||
| 500 | |||
| 501 | ## Nu (TI or LMI) | ||
| 502 | m68*-nu-sysv* ) | ||
| 503 | machine=nu opsys=usg5-2 | ||
| 504 | ;; | ||
| 505 | |||
| 506 | ## Plexus | ||
| 507 | m68*-plexus-sysv* ) | ||
| 508 | machine=plexus opsys=usg5-2 | ||
| 509 | ;; | ||
| 510 | |||
| 511 | ## Prime EXL | ||
| 512 | i386-prime-sysv* ) | ||
| 513 | machine=i386 opsys=usg5-3 | ||
| 514 | ;; | ||
| 515 | |||
| 516 | ## Pyramid machines | ||
| 517 | ## I don't really have any idea what sort of processor the Pyramid has, | ||
| 518 | ## so I'm assuming it is its own architecture. | ||
| 519 | pyramid-pyramid-bsd* ) | ||
| 520 | machine=pyramid opsys=bsd4-2 | ||
| 521 | ;; | ||
| 522 | |||
| 523 | ## Sequent Balance | ||
| 524 | ns32k-sequent-bsd4.2 ) | ||
| 525 | machine=sequent opsys=bsd4-2 | ||
| 526 | ;; | ||
| 527 | ns32k-sequent-bsd4.3 ) | ||
| 528 | machine=sequent opsys=bsd4-3 | ||
| 529 | ;; | ||
| 530 | ## Sequent Symmetry | ||
| 531 | i386-sequent-bsd* ) | ||
| 532 | machine=symmetry opsys=bsd4-3 | ||
| 533 | ;; | ||
| 534 | |||
| 535 | ## SONY machines | ||
| 536 | m68*-sony-bsd4.2 ) | ||
| 537 | machine=news opsys=bsd4-2 | ||
| 538 | ;; | ||
| 539 | m68*-sony-bsd4.3 ) | ||
| 540 | machine=news opsys=bsd4-3 | ||
| 541 | ;; | ||
| 542 | mips-sony-bsd* ) | ||
| 543 | machine=news-risc opsys=bsd4-3 | ||
| 544 | ;; | ||
| 545 | |||
| 546 | ## Stride | ||
| 547 | m68*-stride-sysv* ) | ||
| 548 | machine=stride opsys=usg5-2 | ||
| 549 | ;; | ||
| 550 | |||
| 551 | ## Suns | ||
| 258 | *-sun-sunos* | *-sun-bsd* ) | 552 | *-sun-sunos* | *-sun-bsd* ) |
| 259 | case "${machine}" in | 553 | case "${configuration}" in |
| 260 | m68*-sunos1* ) machfile=m/sun1.h ;; | 554 | m68*-sunos1* ) machine=sun1 ;; |
| 261 | m68*-sunos2* ) machfile=m/sun2.h ;; | 555 | m68*-sunos2* ) machine=sun2 ;; |
| 262 | m68* ) machfile=m/sun3.h ;; | 556 | m68* ) machine=sun3 ;; |
| 263 | i[34]86* ) machfile=m/sun386.h ;; | 557 | i[34]86* ) machine=sun386 ;; |
| 264 | * ) machfile=m/sparc.h ;; | 558 | sparc* ) machine=sparc ;; |
| 559 | * ) unported=true ;; | ||
| 560 | esac | ||
| 561 | case "${configuration}" in | ||
| 562 | *-sunos4.0* ) opsys=sunos4-0 ;; | ||
| 563 | *-sunos4* | *-sunos ) opsys=sunos4-1 ;; | ||
| 564 | * ) opsys=bsd4-2 ;; | ||
| 265 | esac | 565 | esac |
| 266 | case "${machine}" in | 566 | ;; |
| 267 | *-sunos4.0* ) opsysfile=s/sunos4-0.h ;; | 567 | |
| 268 | *-sunos4* | *-sunos ) opsysfile=s/sunos4-1.h ;; | 568 | ## Tadpole 68k |
| 269 | * ) opsysfile=s/bsd4-2.h ;; | 569 | m68*-tadpole-sysv* ) |
| 570 | machine=tad68k opsys=usg5-3 | ||
| 571 | ;; | ||
| 572 | |||
| 573 | ## Tahoe machines | ||
| 574 | tahoe-tahoe-bsd4.2 ) | ||
| 575 | machine=tahoe opsys=bsd4-2 | ||
| 576 | ;; | ||
| 577 | tahoe-tahoe-bsd4.3 ) | ||
| 578 | machine=tahoe opsys=bsd4-3 | ||
| 579 | ;; | ||
| 580 | |||
| 581 | ## Tandem Integrity S2 | ||
| 582 | mips-tandem-sysv* ) | ||
| 583 | machine=tandem-s2 opsys=usg5-3 | ||
| 584 | ;; | ||
| 585 | |||
| 586 | ## Tektronix 16000 box (6130?) | ||
| 587 | ns16k-tektronix-bsd* ) | ||
| 588 | machine=ns16000 opsys=bsd4-2 | ||
| 589 | ;; | ||
| 590 | ## Tektronix 4300 | ||
| 591 | ## src/m/tek4300.h hints that this is a m68k machine. | ||
| 592 | m68*-tektronix-bsd* ) | ||
| 593 | machine=tex4300 opsys=bsd4-3 | ||
| 594 | ;; | ||
| 595 | |||
| 596 | ## Titan P2 or P3 | ||
| 597 | ## We seem to have lost the machine-description file titan.h! | ||
| 598 | titan-titan-sysv* ) | ||
| 599 | machine=titan opsys=usg5-3 | ||
| 600 | ;; | ||
| 601 | |||
| 602 | ## Ustation E30 (SS5E) | ||
| 603 | m68*-unisys-uniplus* ) | ||
| 604 | machine=ustation opsystem=unipl5-2 | ||
| 605 | ;; | ||
| 606 | |||
| 607 | ## Vaxen. | ||
| 608 | vax-dec-* ) | ||
| 609 | machine=vax | ||
| 610 | case "${configuration}" in | ||
| 611 | *-bsd4.1 ) opsys=bsd4-1 ;; | ||
| 612 | *-bsd4.2 | *-ultrix[0-3].* | *-ultrix4.0 ) opsys=bsd4-2 ;; | ||
| 613 | *-bsd4.3 | *-ultrix* ) opsys=bsd4-3 ;; | ||
| 614 | *-sysv[01]* ) opsys=usg5-0 ;; | ||
| 615 | *-sysv2* ) opsys=usg5-2 ;; | ||
| 616 | *-vms* ) opsys=vms ;; | ||
| 617 | * ) unported=true | ||
| 270 | esac | 618 | esac |
| 271 | ;; | 619 | ;; |
| 272 | 620 | ||
| 621 | ## Whitechapel MG1 | ||
| 622 | ns16k-whitechapel-* ) | ||
| 623 | machine=mg1 | ||
| 624 | ## We don't know what sort of OS runs on these; we'll let the | ||
| 625 | ## operating system guessing code below try. | ||
| 626 | ;; | ||
| 627 | |||
| 628 | ## Wicat | ||
| 629 | m68*-wicat-sysv* ) | ||
| 630 | machine=wicat opsys=usg5-2 | ||
| 631 | ;; | ||
| 632 | |||
| 273 | * ) | 633 | * ) |
| 274 | (echo "${progname}: Emacs hasn't been ported to the machine \`${machine}'." | 634 | unported=true |
| 275 | echo "${progname}: Check \`etc/MACHINES' for recognized machine names.") \ | ||
| 276 | >&2 | ||
| 277 | ;; | 635 | ;; |
| 278 | |||
| 279 | esac | 636 | esac |
| 280 | 637 | ||
| 638 | ### If the code above didn't choose an operating system, just choose | ||
| 639 | ### an operating system based on the configuration name. You really | ||
| 640 | ### only want to use this when you have no idea what the right | ||
| 641 | ### operating system is; if you know what operating systems a machine | ||
| 642 | ### runs, it's cleaner to make it explicit in the case statement | ||
| 643 | ### above. | ||
| 644 | if [ ! "${opsys}" ]; then | ||
| 645 | case "${configuration}" in | ||
| 646 | *-bsd4.[01] ) opsys=bsd4-1 ;; | ||
| 647 | *-bsd4.2 ) opsys=bsd4-2 ;; | ||
| 648 | *-bsd4.3 ) opsys=bsd4-3 ;; | ||
| 649 | *-sysv0 ) opsys=usg5-0 ;; | ||
| 650 | *-sysv2 ) opsys=usg5-2 ;; | ||
| 651 | *-sysv2.2 ) opsys=usg5-2-2 ;; | ||
| 652 | *-sysv3 ) opsys=usg5-3 ;; | ||
| 653 | *-sysv4 ) opsys=usg5-4 ;; | ||
| 654 | * ) | ||
| 655 | unported=true | ||
| 656 | ;; | ||
| 657 | esac | ||
| 658 | fi | ||
| 659 | |||
| 660 | if $unported ; then | ||
| 661 | (echo "${progname}: Emacs hasn't been ported to \`${configuration}' systems." | ||
| 662 | echo "${progname}: Check \`etc/MACHINES' for recognized configuration names." | ||
| 663 | ) >&2 | ||
| 664 | exit 1 | ||
| 665 | fi | ||
| 666 | |||
| 667 | machfile="m/${machine}.h" | ||
| 668 | opsysfile="s/${opsys}.h" | ||
| 669 | |||
| 281 | if [ ! "${prefix}" ]; then | 670 | if [ ! "${prefix}" ]; then |
| 282 | prefix="/usr/local" | 671 | prefix="/usr/local" |
| 283 | fi | 672 | fi |
| @@ -327,7 +716,7 @@ if [ ! "${infodir}" ]; then | |||
| 327 | fi | 716 | fi |
| 328 | 717 | ||
| 329 | echo "Checking window system." | 718 | echo "Checking window system." |
| 330 | indow_system='' | 719 | window_system='' |
| 331 | case "${with_x}" in | 720 | case "${with_x}" in |
| 332 | yes ) | 721 | yes ) |
| 333 | window_system=${window_system}x11 | 722 | window_system=${window_system}x11 |
| @@ -365,14 +754,17 @@ case "${window_system}" in | |||
| 365 | x11 ) | 754 | x11 ) |
| 366 | have_x_windows=yes | 755 | have_x_windows=yes |
| 367 | have_x11=yes | 756 | have_x11=yes |
| 757 | echo " Using X11." | ||
| 368 | ;; | 758 | ;; |
| 369 | x10 ) | 759 | x10 ) |
| 370 | have_x_windows=yes | 760 | have_x_windows=yes |
| 371 | have_x11=no | 761 | have_x11=no |
| 762 | echo " Using X10." | ||
| 372 | ;; | 763 | ;; |
| 373 | none ) | 764 | none ) |
| 374 | have_x_windows=no | 765 | have_x_windows=no |
| 375 | have_x11=no | 766 | have_x11=no |
| 767 | echo " Using no window system." | ||
| 376 | ;; | 768 | ;; |
| 377 | esac | 769 | esac |
| 378 | 770 | ||
| @@ -398,6 +790,7 @@ cc=`( | |||
| 398 | 790 | ||
| 399 | case "${cc}" in | 791 | case "${cc}" in |
| 400 | "gcc" ) | 792 | "gcc" ) |
| 793 | echo " Using GCC." | ||
| 401 | # With GCC, both O and g should default to yes, no matter what | 794 | # With GCC, both O and g should default to yes, no matter what |
| 402 | # the other is. | 795 | # the other is. |
| 403 | case "${O},${g}" in | 796 | case "${O},${g}" in |
| @@ -407,6 +800,7 @@ case "${cc}" in | |||
| 407 | esac | 800 | esac |
| 408 | ;; | 801 | ;; |
| 409 | "*" ) | 802 | "*" ) |
| 803 | echo " Using the system's CC." | ||
| 410 | # With other compilers, treat them as mutually exclusive, | 804 | # With other compilers, treat them as mutually exclusive, |
| 411 | # defaulting to debug. | 805 | # defaulting to debug. |
| 412 | case "${O},${g}" in | 806 | case "${O},${g}" in |
| @@ -442,6 +836,7 @@ if [ "${signal_h_file}" ]; then | |||
| 442 | fi | 836 | fi |
| 443 | rm -f ${tempcname} | 837 | rm -f ${tempcname} |
| 444 | fi | 838 | fi |
| 839 | echo " Guessing that signals return \`${sigtype}'." | ||
| 445 | 840 | ||
| 446 | echo "Examining the machine- and system-dependent files to find out" | 841 | echo "Examining the machine- and system-dependent files to find out" |
| 447 | echo " - which libraries the lib-src programs will want, and" | 842 | echo " - which libraries the lib-src programs will want, and" |
| @@ -471,7 +866,7 @@ rm ${tempcname} | |||
| 471 | if [ "${system_malloc}" = "yes" ]; then | 866 | if [ "${system_malloc}" = "yes" ]; then |
| 472 | gnu_malloc=no | 867 | gnu_malloc=no |
| 473 | gnu_malloc_reason=" | 868 | gnu_malloc_reason=" |
| 474 | (The GNU allocators don't work with this machine and/or operating system.)" | 869 | (The GNU allocators don't work with this system configuration.)" |
| 475 | fi | 870 | fi |
| 476 | 871 | ||
| 477 | if [ ! "${rel_alloc}" ]; then | 872 | if [ ! "${rel_alloc}" ]; then |
| @@ -591,7 +986,8 @@ chmod -w lib-src/Makefile | |||
| 591 | 986 | ||
| 592 | 987 | ||
| 593 | # Create a verbal description of what we have done. | 988 | # Create a verbal description of what we have done. |
| 594 | message="Configured for \`${machine}'. | 989 | message="Configured for \`${configuration}'. |
| 990 | |||
| 595 | The following values have been set in ./Makefile and ./build-install: | 991 | The following values have been set in ./Makefile and ./build-install: |
| 596 | \`make install' or \`build-install' will place executables in | 992 | \`make install' or \`build-install' will place executables in |
| 597 | ${bindir}. | 993 | ${bindir}. |
| @@ -604,7 +1000,10 @@ The following values have been set in ./Makefile and ./build-install: | |||
| 604 | ${libdir}. | 1000 | ${libdir}. |
| 605 | Emacs will keep track of file-locking in | 1001 | Emacs will keep track of file-locking in |
| 606 | ${lockdir}. | 1002 | ${lockdir}. |
| 1003 | |||
| 607 | The following values have been set in src/config.h: | 1004 | The following values have been set in src/config.h: |
| 1005 | What operating system and machine description files should Emacs use? | ||
| 1006 | \`${opsysfile}' and \`${machfile}' | ||
| 608 | Should Emacs use the GNU version of malloc? ${gnu_malloc}${gnu_malloc_reason} | 1007 | Should Emacs use the GNU version of malloc? ${gnu_malloc}${gnu_malloc_reason} |
| 609 | Should Emacs use the relocating allocator for buffers? ${rel_alloc} | 1008 | Should Emacs use the relocating allocator for buffers? ${rel_alloc} |
| 610 | Should Emacs support a floating point data type? ${lisp_float_type} | 1009 | Should Emacs support a floating point data type? ${lisp_float_type} |