Mercurial > hg > xemacs-beta
comparison configure @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 09:02:59 +0200 |
| parents | 0b7f3b634cf2 |
| children | b9518feda344 |
comparison
equal
deleted
inserted
replaced
| 69:804d1389bcd6 | 70:131b0175ea99 |
|---|---|
| 60 # # | 60 # # |
| 61 # Establish some default values # | 61 # Establish some default values # |
| 62 # # | 62 # # |
| 63 ############################################################################ | 63 ############################################################################ |
| 64 | 64 |
| 65 run_in_place='no' | 65 #run_in_place='no' |
| 66 prefix='/usr/local' | 66 prefix='/usr/local' |
| 67 exec_prefix='${prefix}' | 67 exec_prefix='${prefix}' |
| 68 bindir='${exec_prefix}/bin' | 68 bindir='${exec_prefix}/bin' |
| 69 # FSF 19.29 changes to: | 69 # FSF 19.29 changes to: |
| 70 # datadir='${prefix}/share' | 70 # datadir='${prefix}/share' |
| 98 internal_makefile_list='Makefile lib-src/Makefile.in src/Makefile.in lwlib/Makefile.in dynodump/Makefile.in' | 98 internal_makefile_list='Makefile lib-src/Makefile.in src/Makefile.in lwlib/Makefile.in dynodump/Makefile.in' |
| 99 energize_version='no' | 99 energize_version='no' |
| 100 native_sound_lib='' | 100 native_sound_lib='' |
| 101 # make normal error-checking be the default in alpha and beta versions, so | 101 # make normal error-checking be the default in alpha and beta versions, so |
| 102 # that bugs get noticed. Change this for released versions. | 102 # that bugs get noticed. Change this for released versions. |
| 103 error_check_default='no' | 103 error_check_default='yes' |
| 104 error_check_extents=$error_check_default | 104 error_check_extents=$error_check_default |
| 105 error_check_typecheck=$error_check_default | 105 error_check_typecheck=$error_check_default |
| 106 error_check_bufpos=$error_check_default | 106 error_check_bufpos=$error_check_default |
| 107 error_check_gc=$error_check_default | 107 error_check_gc=$error_check_default |
| 108 error_check_malloc=$error_check_default | 108 error_check_malloc=$error_check_default |
| 132 # echo "" ${stuff_to_filter} | sed -e 's:^ ::' | 132 # echo "" ${stuff_to_filter} | sed -e 's:^ ::' |
| 133 | 133 |
| 134 # On Sun systems, people sometimes set up the variable CPP | 134 # On Sun systems, people sometimes set up the variable CPP |
| 135 # with a value that is a directory, not an executable at all. | 135 # with a value that is a directory, not an executable at all. |
| 136 # Detect that case, and ignore that value. | 136 # Detect that case, and ignore that value. |
| 137 if [ "x$CPP" != x ] && [ -d "$CPP" ] ; then | 137 test -n "$CPP" -a -d "$CPP" && CPP= |
| 138 CPP= | |
| 139 fi | |
| 140 | 138 |
| 141 ############################################################################ | 139 ############################################################################ |
| 142 # # | 140 # # |
| 143 # Usage messages # | 141 # Usage messages # |
| 144 # # | 142 # # |
| 190 | 188 |
| 191 | 189 |
| 192 Installation options: | 190 Installation options: |
| 193 | 191 |
| 194 --prefix=DIR Install files below DIR. Defaults to \`${prefix}'. | 192 --prefix=DIR Install files below DIR. Defaults to \`${prefix}'. |
| 195 --run-in-place Use the source tree for installation. | |
| 196 | 193 |
| 197 | 194 |
| 198 Window-system options: | 195 Window-system options: |
| 199 | 196 |
| 200 --with-x (*) Support the X Window System. | 197 --with-x (*) Support the X Window System. |
| 201 --with-x=no Don't support X. | 198 --with-x=no Don't support X. |
| 202 --x-includes=DIR Search for X header files in DIR. | 199 --x-includes=DIR Search for X header files in DIR. |
| 203 --x-libraries=DIR Search for X libraries in DIR. | 200 --x-libraries=DIR Search for X libraries in DIR. |
| 204 --with-ns Support NeXTstep windows (Doesn't work, option | 201 --with-ns Support NeXTstep windows (not yet implemented). |
| 205 removed in 20.3) | |
| 206 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid | 202 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid |
| 207 widgets emulate Motif (mostly) but are faster. | 203 widgets emulate Motif (mostly) but are faster. |
| 208 *WARNING* The Motif menubar is currently broken. | 204 *WARNING* The Motif menubar is currently broken. |
| 209 --with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena, or no). | 205 --with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena, or no). |
| 210 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, or no). | 206 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, or no). |
| 258 --with-sound=both Compile with native and network sound support. | 254 --with-sound=both Compile with native and network sound support. |
| 259 --native-sound-lib=LIB Native sound support library. Needed on Suns | 255 --native-sound-lib=LIB Native sound support library. Needed on Suns |
| 260 with --with-sound=both because both sound libraries | 256 with --with-sound=both because both sound libraries |
| 261 are called libaudio. | 257 are called libaudio. |
| 262 --with-epoch Compile with additional Epoch compatibility. | 258 --with-epoch Compile with additional Epoch compatibility. |
| 263 This doesn't work yet. | |
| 264 --with-mocklisp Compile with Mocklisp support. Don't do this | 259 --with-mocklisp Compile with Mocklisp support. Don't do this |
| 265 unless you have a Mocklisp program that you need | 260 unless you have a Mocklisp program that you need |
| 266 to run. | 261 to run. |
| 267 --usage-tracking Enable some Sun-internal code. If you don't | 262 --usage-tracking Enable some Sun-internal code. If you don't |
| 268 know what this is, you don't want it. | 263 know what this is, you don't want it. |
| 269 | 264 |
| 265 Internationalization options: | |
| 266 | |
| 267 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, | |
| 268 needed to suport non-Latin-1 (including Asian) languages. | |
| 269 --with-xim=xlib Compile with support for X input methods, | |
| 270 --with-xim=motif (*) Used in conjunction with Mule support. | |
| 271 Use either raw Xlib to provide XIM support, or | |
| 272 the Motif XmIm* routines (when available). | |
| 273 If the XmIm* routines are autodetected, | |
| 274 then the default is --with-xim=motif, else --with-xim=no. | |
| 275 --with-canna Compile with support for Canna (an input method | |
| 276 used in conjunction with Mule support). | |
| 277 --with-wnn Compile with support for WNN (an input method | |
| 278 used in conjunction with Mule support). | |
| 279 This doesn't work yet. | |
| 280 --with-i18n3 Compile with I18N level 3 (support for message | |
| 281 translation). This doesn't currently work. | |
| 282 | |
| 270 | 283 |
| 271 Debugging options: | 284 Debugging options: |
| 272 | 285 |
| 273 --debug Compile with support for debugging XEmacs. | 286 --debug Compile with support for debugging XEmacs. |
| 274 (Causes code-size increase and little loss of speed.) | 287 (Causes code-size increase but no loss of speed.) |
| 275 --error-checking=TYPE[,TYPE]... | 288 --error-checking=TYPE[,TYPE]... |
| 276 Compile with internal error-checking added. | 289 Compile with internal error-checking added. |
| 277 Causes noticeable loss of speed. Valid types | 290 Causes noticeable loss of speed. Valid types |
| 278 are extents, bufpos, malloc, gc, typecheck. | 291 are extents, bufpos, malloc, gc, typecheck. |
| 279 --error-checking=none Disable all internal error-checking (the default). | 292 --error-checking=none Disable all internal error-checking (the default). |
| 301 | 314 |
| 302 You may also specify any of the \`path' variables found in | 315 You may also specify any of the \`path' variables found in |
| 303 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and | 316 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and |
| 304 so on. Note that we recommend against explicitly setting any of these | 317 so on. Note that we recommend against explicitly setting any of these |
| 305 variables. See the INSTALL file for a complete list plus the reasons | 318 variables. See the INSTALL file for a complete list plus the reasons |
| 306 we advise not changing them. Specifying a \'path' variable will override | 319 we advise not changing them. |
| 307 the --run-in-place value. | |
| 308 | 320 |
| 309 If successful, ${progname} leaves its status in config.status. If | 321 If successful, ${progname} leaves its status in config.status. If |
| 310 unsuccessful after disturbing the status quo, it removes config.status." | 322 unsuccessful after disturbing the status quo, it removes config.status." |
| 311 | |
| 312 | 323 |
| 313 ############################################################################ | 324 ############################################################################ |
| 314 # # | 325 # # |
| 315 # Options processing # | 326 # Options processing # |
| 316 # # | 327 # # |
| 331 ### to produce config.status. It turns out that "set - ${arguments}" doesn't | 342 ### to produce config.status. It turns out that "set - ${arguments}" doesn't |
| 332 ### work portably. | 343 ### work portably. |
| 333 ### However, it also turns out that many shells cannot expand ${10} at all. | 344 ### However, it also turns out that many shells cannot expand ${10} at all. |
| 334 ### So using an index variable doesn't work either. It is possible to use | 345 ### So using an index variable doesn't work either. It is possible to use |
| 335 ### some shell magic to make 'set x "$arguments"; shift' work portably. | 346 ### some shell magic to make 'set x "$arguments"; shift' work portably. |
| 336 while [ $# != 0 ]; do | 347 while test $# != 0; do |
| 337 arg="$1"; shift | 348 arg="$1"; shift |
| 338 case "${arg}" in | 349 case "${arg}" in |
| 339 | 350 |
| 340 ## Anything starting with a hyphen we assume is an option. | 351 ## Anything starting with a hyphen we assume is an option. |
| 341 -* ) | 352 -* ) |
| 368 opt="`echo '' ${opt} | sed -e 's:^ ::' | tr - _`" | 379 opt="`echo '' ${opt} | sed -e 's:^ ::' | tr - _`" |
| 369 | 380 |
| 370 ## Process the option. | 381 ## Process the option. |
| 371 case "${opt}" in | 382 case "${opt}" in |
| 372 | 383 |
| 373 ## Has the user specified which window systems they want to support? | 384 ## Process (many) boolean options |
| 374 "with_x" | "with_x11" ) | 385 run_in_place | \ |
| 386 with_x | \ | |
| 387 with_x11 | \ | |
| 388 with_gcc | \ | |
| 389 with_lcc | \ | |
| 390 with_gnu_make | \ | |
| 391 with_epoch | \ | |
| 392 dynamic | \ | |
| 393 with_term | \ | |
| 394 with_cde | \ | |
| 395 with_offix | \ | |
| 396 with_xpm | \ | |
| 397 with_gif | \ | |
| 398 with_jpeg | \ | |
| 399 with_tiff | \ | |
| 400 with_socks | \ | |
| 401 with_xface | \ | |
| 402 with_xmu | \ | |
| 403 quantify | \ | |
| 404 with_ns | \ | |
| 405 with_toolbars | \ | |
| 406 with_tty | \ | |
| 407 with_i18n3 | \ | |
| 408 with_mule | \ | |
| 409 with_canna | \ | |
| 410 with_wnn | \ | |
| 411 with_mocklisp | \ | |
| 412 with_energize | \ | |
| 413 with_sparcworks | \ | |
| 414 with_tooltalk | \ | |
| 415 external_widget | \ | |
| 416 extra_verbose | \ | |
| 417 const_is_losing | \ | |
| 418 usage_tracking | \ | |
| 419 use_union_type | \ | |
| 420 debug | \ | |
| 421 use_assertions | \ | |
| 422 memory_usage_stats | \ | |
| 423 no_doc_file ) | |
| 375 ## Make sure the value given was either "yes" or "no". | 424 ## Make sure the value given was either "yes" or "no". |
| 376 case "${val}" in | 425 case "${val}" in |
| 377 y | ye | yes ) val=yes ;; | 426 y | ye | yes ) val=yes ;; |
| 378 n | no ) val=no ;; | 427 n | no ) val=no ;; |
| 379 * ) | 428 * ) |
| 380 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | 429 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. |
| 381 Set it to either \`yes' or \`no'." | 430 Set it to either \`yes' or \`no'." |
| 382 echo "${short_usage}") >&2 | 431 echo "${short_usage}") >&2 |
| 383 exit 1 | 432 exit 1 ;; |
| 384 ;; | |
| 385 esac | 433 esac |
| 386 eval "with_x11=\"${val}\"" | 434 eval "${opt}=\"${val}\"" ;; |
| 387 ;; | 435 |
| 388 | 436 |
| 389 ## Has the user specified whether or not they want GCC or LCC? | 437 ## Options that take a user-supplied value, as in --puresize=8000000 |
| 390 "with_gcc" | "with_lcc" ) | 438 srcdir | \ |
| 391 ## Make sure the value given was either "yes" or "no". | 439 compiler | \ |
| 392 case "${val}" in | 440 puresize | \ |
| 393 y | ye | yes ) val=yes ;; | 441 native_sound_lib | \ |
| 394 n | no ) val=no ;; | 442 x_includes | \ |
| 395 * ) | 443 x_libraries | \ |
| 396 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | 444 site_includes | \ |
| 397 Set it to either \`yes' or \`no'." | 445 site_libraries | \ |
| 398 echo "${short_usage}") >&2 | 446 site_runtime_libraries ) |
| 399 exit 1 | |
| 400 ;; | |
| 401 esac | |
| 402 eval "${opt}=\"${val}\"" | |
| 403 if [ "${with_gcc}" = "yes" ] && [ "${with_lcc}" = "yes" ] ; then | |
| 404 (echo "${progname}: only one of --with-gcc and --with-lcc may be specified." | |
| 405 echo "${short_usage}") >&2 | |
| 406 exit 1 | |
| 407 fi | |
| 408 ;; | |
| 409 | |
| 410 ## Has the user specified a compiler to use? | |
| 411 "compiler" ) | |
| 412 ## If the value was omitted, get it from the next argument. | 447 ## If the value was omitted, get it from the next argument. |
| 413 if [ "${valomitted}" = "yes" ]; then | 448 if test "${valomitted}" = "yes" ; then |
| 414 ## Get the next argument from the argument list, if there is one. | 449 ## Get the next argument from the argument list, if there is one. |
| 415 if [ $# = 0 ]; then | 450 if test $# = 0 ; then |
| 416 (echo "${progname}: You must give a value for the \`--${optname}' option, as in | 451 (echo "${progname}: You must give a value for the \`--${optname}' option, as in |
| 417 \`--${optname}=FOO'." | 452 \`--${optname}=FOO'." |
| 418 echo "${short_usage}") >&2 | 453 echo "${short_usage}") >&2 |
| 419 exit 1 | 454 exit 1 |
| 420 fi | 455 fi |
| 421 val="$1"; shift | 456 val="$1"; shift |
| 422 fi | 457 fi |
| 423 compiler="${val}" | 458 eval "${opt}=\"${val}\"" |
| 424 ;; | 459 ;; |
| 425 | 460 |
| 426 ## Has the user specified special GNU Make support? | 461 ### Options that take "yes", "no", or "default" values |
| 427 "with_gnu_make" ) | 462 rel_alloc | \ |
| 428 ## Make sure the value given was either "yes" or "no". | 463 use_system_malloc ) |
| 429 case "${val}" in | |
| 430 y | ye | yes ) val=yes ;; | |
| 431 n | no ) val=no ;; | |
| 432 * ) | |
| 433 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 434 Set it to either \`yes' or \`no'." | |
| 435 echo "${short_usage}") >&2 | |
| 436 exit 1 | |
| 437 ;; | |
| 438 esac | |
| 439 eval "${opt}=\"${val}\"" | |
| 440 ;; | |
| 441 | |
| 442 ## This option will not force a rebuild of the DOC | |
| 443 ## file each time that a source or Lisp file has changed. | |
| 444 ## If you want the DOC file rebuilt, remove it. A side | |
| 445 ## effect of this is that you may get complaints about | |
| 446 ## "doc lost for function foobar" or "strange doc for | |
| 447 ## function foobar", but in general these should not cause | |
| 448 ## problems. | |
| 449 "no_doc_file" ) | |
| 450 ## Make sure the value given was either "yes" or "no". | |
| 451 case "${val}" in | |
| 452 y | ye | yes ) val=yes ;; | |
| 453 n | no ) val=no ;; | |
| 454 * ) | |
| 455 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 456 Set it to either \`yes' or \`no'." | |
| 457 echo "${short_usage}") >&2 | |
| 458 exit 1 | |
| 459 ;; | |
| 460 esac | |
| 461 eval "${opt}=\"${val}\"" | |
| 462 ;; | |
| 463 | |
| 464 # Enable use of the union type for Lisp_Objects. | |
| 465 # mly, eat your heart out ... | |
| 466 "use_union_type" ) | |
| 467 ## Make sure the value given was either "yes" or "no". | |
| 468 case "${val}" in | |
| 469 y | ye | yes ) val=yes ;; | |
| 470 n | no ) val=no ;; | |
| 471 * ) | |
| 472 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 473 Set it to either \`yes' or \`no'." | |
| 474 echo "${short_usage}") >&2 | |
| 475 exit 1 | |
| 476 ;; | |
| 477 esac | |
| 478 eval "${opt}=\"${val}\"" | |
| 479 ;; | |
| 480 | |
| 481 ## Has the user specified a source directory? | |
| 482 "srcdir" ) | |
| 483 ## If the value was omitted, get it from the next argument. | |
| 484 if [ "${valomitted}" = "yes" ]; then | |
| 485 ## Get the next argument from the argument list, if there is one. | |
| 486 if [ $# = 0 ]; then | |
| 487 (echo "${progname}: You must give a value for the \`--${optname}' option, as in | |
| 488 \`--${optname}=FOO'." | |
| 489 echo "${short_usage}") >&2 | |
| 490 exit 1 | |
| 491 fi | |
| 492 val="$1"; shift | |
| 493 fi | |
| 494 srcdir="${val}" | |
| 495 ;; | |
| 496 | |
| 497 ## Has the user requested sound support? | |
| 498 "with_sound" ) | |
| 499 ## value can be native, nas or both. yes is allowed | |
| 500 ## as a backwards compatible synonym for native | |
| 501 case "${val}" in | |
| 502 y | ye | yes ) val=native ;; | |
| 503 n | no | non | none ) val=no;; | |
| 504 na | nat | nati | nativ | native ) val=native ;; | |
| 505 ne | net | neta | netau | netaud | netaudi | netaudio | nas ) val=nas ;; | |
| 506 b | bo | bot | both ) val=both;; | |
| 507 * ) | |
| 508 (echo "${progname}: the \`--${optname}' option should have one of the values \`native', \`nas', \`both', or \`none'." | |
| 509 echo "${short_usage}") >&2 | |
| 510 exit 1 | |
| 511 ;; | |
| 512 esac | |
| 513 eval "${opt}=\"${val}\"" | |
| 514 ;; | |
| 515 | |
| 516 ## Has the user specified a native sound library? | |
| 517 ## (the reason for this flag is that, under Suns, both NAS sound | |
| 518 ## and native sound call their library libaudio.a) | |
| 519 "native_sound_lib" ) | |
| 520 ## If the value was omitted, get it from the next argument. | |
| 521 if [ "${valomitted}" = "yes" ]; then | |
| 522 ## Get the next argument from the argument list, if there is one. | |
| 523 if [ $# = 0 ]; then | |
| 524 (echo "${progname}: You must give a value for the \`--${optname}' option, as in | |
| 525 \`--${optname}=FOO'." | |
| 526 echo "${short_usage}") >&2 | |
| 527 exit 1 | |
| 528 fi | |
| 529 val="$1"; shift | |
| 530 fi | |
| 531 native_sound_lib="${val}" | |
| 532 ;; | |
| 533 | |
| 534 ## Has the user requested extra Epoch compatibility? | |
| 535 "with_epoch" ) | |
| 536 ## Make sure the value given was either "yes" or "no". | |
| 537 case "${val}" in | |
| 538 y | ye | yes ) val=yes ;; | |
| 539 n | no ) val=no ;; | |
| 540 * ) | |
| 541 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 542 Set it to either \`yes' or \`no'." | |
| 543 echo "${short_usage}") >&2 | |
| 544 exit 1 | |
| 545 ;; | |
| 546 esac | |
| 547 eval "${opt}=\"${val}\"" | |
| 548 ;; | |
| 549 | |
| 550 ## Has the user specified a change to the default linking? | |
| 551 "dynamic" ) | |
| 552 ## Make sure the value given was either "yes" or "no". | |
| 553 case "${val}" in | |
| 554 y | ye | yes ) val=yes ;; | |
| 555 n | no ) val=no ;; | |
| 556 * ) | |
| 557 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 558 Set it to either \`yes' or \`no'." | |
| 559 echo "${short_usage}") >&2 | |
| 560 exit 1 | |
| 561 ;; | |
| 562 esac | |
| 563 eval "${opt}=\"${val}\"" | |
| 564 ;; | |
| 565 | |
| 566 ## Has the user specified Quantify support? | |
| 567 "quantify" ) | |
| 568 ## Make sure the value given was either "yes" or "no". | |
| 569 case "${val}" in | |
| 570 y | ye | yes ) val=yes ;; | |
| 571 n | no ) val=no ;; | |
| 572 * ) | |
| 573 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 574 Set it to either \`yes' or \`no'." | |
| 575 echo "${short_usage}") >&2 | |
| 576 exit 1 | |
| 577 ;; | |
| 578 esac | |
| 579 eval "${opt}=\"${val}\"" | |
| 580 ;; | |
| 581 | |
| 582 ## Has the user requested SOCKS support? | |
| 583 "with_socks" ) | |
| 584 ## Make sure the value given was either "yes" or "no". | |
| 585 case "${val}" in | |
| 586 y | ye | yes ) val=yes ;; | |
| 587 n | no ) val=no ;; | |
| 588 * ) | |
| 589 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 590 Set it to either \`yes' or \`no'." | |
| 591 echo "${short_usage}") >&2 | |
| 592 exit 1 | |
| 593 ;; | |
| 594 esac | |
| 595 eval "${opt}=\"${val}\"" | |
| 596 ;; | |
| 597 | |
| 598 ## Has the user requested TERM support? | |
| 599 "with_term" ) | |
| 600 ## Make sure the value given was either "yes" or "no". | |
| 601 case "${val}" in | |
| 602 y | ye | yes ) val=yes ;; | |
| 603 n | no ) val=no ;; | |
| 604 * ) | |
| 605 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 606 Set it to either \`yes' or \`no'." | |
| 607 echo "${short_usage}") >&2 | |
| 608 exit 1 | |
| 609 ;; | |
| 610 esac | |
| 611 eval "${opt}=\"${val}\"" | |
| 612 ;; | |
| 613 | |
| 614 ## Has the user requested CDE support? | |
| 615 "with_cde" ) | |
| 616 ## Make sure the value given was either "yes" or "no". | |
| 617 case "${val}" in | |
| 618 y | ye | yes ) val=yes ;; | |
| 619 n | no ) val=no ;; | |
| 620 * ) | |
| 621 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 622 Set it to either \`yes' or \`no'." | |
| 623 echo "${short_usage}") >&2 | |
| 624 exit 1 | |
| 625 ;; | |
| 626 esac | |
| 627 eval "${opt}=\"${val}\"" | |
| 628 ;; | |
| 629 | |
| 630 ## Has the user requested OffiX support? | |
| 631 "with_offix" ) | |
| 632 ## Make sure the value given was either "yes" or "no". | |
| 633 case "${val}" in | |
| 634 y | ye | yes ) val=yes ;; | |
| 635 n | no ) val=no ;; | |
| 636 * ) | |
| 637 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 638 Set it to either \`yes' or \`no'." | |
| 639 echo "${short_usage}") >&2 | |
| 640 exit 1 | |
| 641 ;; | |
| 642 esac | |
| 643 eval "${opt}=\"${val}\"" | |
| 644 ;; | |
| 645 | |
| 646 ## Has the user requested XPM support? | |
| 647 "with_xpm" ) | |
| 648 ## Make sure the value given was either "yes" or "no". | |
| 649 case "${val}" in | |
| 650 y | ye | yes ) val=yes ;; | |
| 651 n | no ) val=no ;; | |
| 652 * ) | |
| 653 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 654 Set it to either \`yes' or \`no'." | |
| 655 echo "${short_usage}") >&2 | |
| 656 exit 1 | |
| 657 ;; | |
| 658 esac | |
| 659 eval "${opt}=\"${val}\"" | |
| 660 ;; | |
| 661 | |
| 662 ## Has the user requested XFACE support? | |
| 663 "with_xface" ) | |
| 664 ## Make sure the value given was either "yes" or "no". | |
| 665 case "${val}" in | |
| 666 y | ye | yes ) val=yes ;; | |
| 667 n | no ) val=no ;; | |
| 668 * ) | |
| 669 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 670 Set it to either \`yes' or \`no'." | |
| 671 echo "${short_usage}") >&2 | |
| 672 exit 1 | |
| 673 ;; | |
| 674 esac | |
| 675 eval "${opt}=\"${val}\"" | |
| 676 ;; | |
| 677 | |
| 678 ## Has the user requested GIF support? | |
| 679 "with_gif" ) | |
| 680 ## Make sure the value given was either "yes" or "no". | |
| 681 case "${val}" in | |
| 682 y | ye | yes ) val=yes ;; | |
| 683 n | no ) val=no ;; | |
| 684 * ) | |
| 685 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 686 Set it to either \`yes' or \`no'." | |
| 687 echo "${short_usage}") >&2 | |
| 688 exit 1 | |
| 689 ;; | |
| 690 esac | |
| 691 eval "${opt}=\"${val}\"" | |
| 692 ;; | |
| 693 | |
| 694 ## Has the user requested JPEG support? | |
| 695 "with_jpeg" ) | |
| 696 ## Make sure the value given was either "yes" or "no". | |
| 697 case "${val}" in | |
| 698 y | ye | yes ) val=yes ;; | |
| 699 n | no ) val=no ;; | |
| 700 * ) | |
| 701 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 702 Set it to either \`yes' or \`no'." | |
| 703 echo "${short_usage}") >&2 | |
| 704 exit 1 | |
| 705 ;; | |
| 706 esac | |
| 707 eval "${opt}=\"${val}\"" | |
| 708 ;; | |
| 709 | |
| 710 ## Has the user requested database support? | |
| 711 "with_database" ) | |
| 712 if [ "${val}" = "no" ] ; then | |
| 713 with_database_berkdb=no | |
| 714 with_database_dbm=no | |
| 715 with_database_gnudbm=no | |
| 716 else | |
| 717 ## Make sure the value given was berkdb, dbm, gnudbm, or a list | |
| 718 for x in `echo "${val}" | sed 's/,/ /'` ; do | |
| 719 case "${x}" in | |
| 720 b | be | ber | berk | berkd | berkdb ) | |
| 721 with_database_berkdb=yes ;; | |
| 722 d | db | dbm ) | |
| 723 with_database_dbm=yes ;; | |
| 724 g | gn | gnu | gnud | gnudb | gnudbm ) | |
| 725 with_database_gnudbm=yes ;; | |
| 726 * ) | |
| 727 (echo "${progname}: the \`--${optname}' option is supposed to be either \`no' | |
| 728 or a comma-separated list of one or more of \`berkdb', \`dbm', or \`gnudbm'." | |
| 729 echo "${short_usage}") >&2 | |
| 730 exit 1 | |
| 731 ;; | |
| 732 esac | |
| 733 done | |
| 734 if [ "${with_database_dbm}" = "yes" ] && [ "${with_database_gnudbm}" = "yes" ] | |
| 735 then | |
| 736 (echo "${progname}: only one of \`dbm' and \`gnudbm' should be specified.") >&2 | |
| 737 exit 1 | |
| 738 fi | |
| 739 fi | |
| 740 ;; | |
| 741 | |
| 742 ## Has the user requested PNG support? | |
| 743 "with_png" ) | |
| 744 ## Make sure the value given was either "yes", "no", or "gnuz". | |
| 745 case "${val}" in | |
| 746 y | ye | yes ) val=yes ;; | |
| 747 n | no ) val=no ;; | |
| 748 g | gn | gnu | gnuz ) val=gnuz ;; | |
| 749 * ) | |
| 750 (echo "${progname}: the \`--${optname}' option is supposed to | |
| 751 be either \`yes', \`no', or \`gnuz'." | |
| 752 echo "${short_usage}") >&2 | |
| 753 exit 1 | |
| 754 ;; | |
| 755 esac | |
| 756 eval "${opt}=\"${val}\"" | |
| 757 ;; | |
| 758 | |
| 759 ## Has the user requested TIFF support? | |
| 760 "with_tiff" ) | |
| 761 ## Make sure the value given was either "yes" or "no". | |
| 762 case "${val}" in | |
| 763 y | ye | yes ) val=yes ;; | |
| 764 n | no ) val=no ;; | |
| 765 * ) | |
| 766 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 767 Set it to either \`yes' or \`no'." | |
| 768 echo "${short_usage}") >&2 | |
| 769 exit 1 | |
| 770 ;; | |
| 771 esac | |
| 772 eval "${opt}=\"${val}\"" | |
| 773 ;; | |
| 774 | |
| 775 ## Has the user requested NeXTstep support? | |
| 776 "with_ns" ) | |
| 777 ## Make sure the value given was either "yes" or "no". | |
| 778 case "${val}" in | |
| 779 y | ye | yes ) val=yes ;; | |
| 780 n | no ) val=no ;; | |
| 781 * ) | |
| 782 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 783 Set it to either \`yes' or \`no'." | |
| 784 echo "${short_usage}") >&2 | |
| 785 exit 1 | |
| 786 ;; | |
| 787 esac | |
| 788 eval "${opt}=\"${val}\"" | |
| 789 ;; | |
| 790 | |
| 791 ## Has the user requested that assertions be used? | |
| 792 "use_assertions" ) | |
| 793 ## Make sure the value given was either "yes" or "no". | |
| 794 case "${val}" in | |
| 795 y | ye | yes ) val=yes ;; | |
| 796 n | no ) val=no ;; | |
| 797 * ) | |
| 798 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 799 Set it to either \`yes' or \`no'." | |
| 800 echo "${short_usage}") >&2 | |
| 801 exit 1 | |
| 802 ;; | |
| 803 esac | |
| 804 eval "${opt}=\"${val}\"" | |
| 805 ;; | |
| 806 | |
| 807 ## Has the user requested error-checking? | |
| 808 "error_checking" ) | |
| 809 ## value can be all, none, and/or a list of categories to check. | |
| 810 ## Example: --error-checking=all,noextents,nobufpos | |
| 811 ## Example: --error-checking=none,malloc,gc | |
| 812 | |
| 813 for x in `echo "${val}" | sed 's/,/ /'` ; do | |
| 814 case "${x}" in | |
| 815 # all and none are only permitted as the first in the list. | |
| 816 n | no | non | none ) new_default=no ;; | |
| 817 a | al | all ) new_default=yes ;; | |
| 818 | |
| 819 extents ) error_check_extents=yes ;; | |
| 820 noextents ) error_check_extents=no ;; | |
| 821 | |
| 822 typecheck ) error_check_typecheck=yes ;; | |
| 823 notypecheck ) error_check_typecheck=no ;; | |
| 824 | |
| 825 bufpos ) error_check_bufpos=yes ;; | |
| 826 nobufpos ) error_check_bufpos=no ;; | |
| 827 | |
| 828 gc ) error_check_gc=yes ;; | |
| 829 nogc ) error_check_gc=no ;; | |
| 830 | |
| 831 malloc ) error_check_malloc=yes ;; | |
| 832 nomalloc ) error_check_malloc=no ;; | |
| 833 | |
| 834 * ) bogus_error_check=yes ;; | |
| 835 esac | |
| 836 if [ "$bogus_error_check" -o \ | |
| 837 \( -n "$new_default" -a -n "$echeck_notfirst" \) ]; then | |
| 838 ( echo "${progname}: Valid types for the \`--${optname}' option are:" | |
| 839 if [ $error_check_default = yes ]; then | |
| 840 echo "\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', and \`nomalloc'." | |
| 841 else | |
| 842 echo "\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', and \`malloc'." | |
| 843 fi | |
| 844 echo "${short_usage}" ) >&2 | |
| 845 exit 1 | |
| 846 elif [ "$new_default" ]; then | |
| 847 error_check_extents=$new_default | |
| 848 error_check_typecheck=$new_default | |
| 849 error_check_bufpos=$new_default | |
| 850 error_check_gc=$new_default | |
| 851 error_check_malloc=$new_default | |
| 852 new_default= # reset this | |
| 853 fi | |
| 854 echeck_notfirst=true | |
| 855 done | |
| 856 ;; | |
| 857 | |
| 858 ## Has the user requested external widget support? | |
| 859 "external_widget" ) | |
| 860 ## Make sure the value given was either "yes" or "no". | |
| 861 case "${val}" in | |
| 862 y | ye | yes ) val=yes ;; | |
| 863 n | no ) val=no ;; | |
| 864 * ) | |
| 865 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 866 Set it to either \`yes' or \`no'." | |
| 867 echo "${short_usage}") >&2 | |
| 868 exit 1 | |
| 869 ;; | |
| 870 esac | |
| 871 eval "${opt}=\"${val}\"" | |
| 872 ;; | |
| 873 | |
| 874 ## Has the user requested that const be used? | |
| 875 "const_is_losing" ) | |
| 876 ## Make sure the value given was either "yes" or "no". | |
| 877 case "${val}" in | |
| 878 y | ye | yes ) val=yes ;; | |
| 879 n | no ) val=no ;; | |
| 880 * ) | |
| 881 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 882 Set it to either \`yes' or \`no'." | |
| 883 echo "${short_usage}") >&2 | |
| 884 exit 1 | |
| 885 ;; | |
| 886 esac | |
| 887 eval "${opt}=\"${val}\"" | |
| 888 ;; | |
| 889 | |
| 890 ## Has the user mentioned that they don't have Xmu? | |
| 891 "with_xmu" ) | |
| 892 ## Make sure the value given was either "yes" or "no". | |
| 893 case "${val}" in | |
| 894 y | ye | yes ) val=yes ;; | |
| 895 n | no ) val=no ;; | |
| 896 * ) | |
| 897 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 898 Set it to either \`yes' or \`no'." | |
| 899 echo "${short_usage}") >&2 | |
| 900 exit 1 | |
| 901 ;; | |
| 902 esac | |
| 903 eval "${opt}=\"${val}\"" | |
| 904 ;; | |
| 905 | |
| 906 ## Has the user specified a value for RAW_PURESIZE? | |
| 907 "puresize" ) | |
| 908 ## If the value was omitted, get it from the next argument. | |
| 909 if [ "${valomitted}" = "yes" ]; then | |
| 910 ## Get the next argument from the argument list, if there is one. | |
| 911 if [ $# = 0 ]; then | |
| 912 (echo "${progname}: You must give a value for the \`--${optname}' option, as in | |
| 913 \`--${optname}=FOO'." | |
| 914 echo "${short_usage}") >&2 | |
| 915 exit 1 | |
| 916 fi | |
| 917 val="$1"; shift | |
| 918 fi | |
| 919 puresize="${val}" | |
| 920 ;; | |
| 921 | |
| 922 ## Has the user specified explicit instructions for rel_alloc? | |
| 923 "rel_alloc" ) | |
| 924 ## Make sure the value given was either "yes", "no", or "default". | |
| 925 case "${val}" in | 464 case "${val}" in |
| 926 y | ye | yes ) val=yes ;; | 465 y | ye | yes ) val=yes ;; |
| 927 n | no ) val=no ;; | 466 n | no ) val=no ;; |
| 928 d | de | def | defa | defau | defaul | default ) | 467 d | de | def | defa | defau | defaul | default ) |
| 929 val=default ;; | 468 val=default ;; |
| 935 ;; | 474 ;; |
| 936 esac | 475 esac |
| 937 eval "${opt}=\"${val}\"" | 476 eval "${opt}=\"${val}\"" |
| 938 ;; | 477 ;; |
| 939 | 478 |
| 940 ## Has the user specified explicit instructions for system_malloc? | 479 ## Has the user requested database support? |
| 941 "use_system_malloc" ) | 480 "with_database" ) |
| 942 ## Make sure the value given was either "yes", "no", or "default". | 481 if test "${val}" = "no" ; then |
| 482 with_database_berkdb=no | |
| 483 with_database_dbm=no | |
| 484 with_database_gnudbm=no | |
| 485 else | |
| 486 ## Make sure the value given was berkdb, dbm, gnudbm, or a list | |
| 487 for x in `echo "${val}" | sed 's/,/ /'` ; do | |
| 488 case "${x}" in | |
| 489 b | be | ber | berk | berkd | berkdb ) with_database_berkdb=yes ;; | |
| 490 d | db | dbm ) with_database_dbm=yes ;; | |
| 491 g | gn | gnu | gnud | gnudb | gnudbm ) with_database_gnudbm=yes ;; | |
| 492 * ) | |
| 493 (echo "${progname}: the \`--${optname}' option is supposed to be either \`no' | |
| 494 or a comma-separated list of one or more of \`berkdb', \`dbm', or \`gnudbm'." | |
| 495 echo "${short_usage}") >&2 | |
| 496 exit 1 | |
| 497 ;; | |
| 498 esac | |
| 499 done | |
| 500 if test "${with_database_dbm}" = "yes" -a "${with_database_gnudbm}" = "yes" | |
| 501 then | |
| 502 (echo "${progname}: only one of \`dbm' and \`gnudbm' should be specified.") >&2 | |
| 503 exit 1 | |
| 504 fi | |
| 505 fi | |
| 506 ;; | |
| 507 | |
| 508 ## Has the user requested sound support? | |
| 509 "with_sound" ) | |
| 510 ## value can be native, nas or both. yes is allowed | |
| 511 ## as a backwards compatible synonym for native | |
| 943 case "${val}" in | 512 case "${val}" in |
| 944 y | ye | yes ) val=yes ;; | 513 y | ye | yes ) val=native ;; |
| 945 n | no ) val=no ;; | 514 n | no | non | none ) val=no;; |
| 946 d | de | def | defa | defau | defaul | default ) | 515 na | nat | nati | nativ | native ) val=native ;; |
| 947 val=default ;; | 516 ne | net | neta | netau | netaud | netaudi | netaudio | nas ) val=nas ;; |
| 517 b | bo | bot | both ) val=both;; | |
| 948 * ) | 518 * ) |
| 949 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value or \`default'. | 519 (echo "${progname}: the \`--${optname}' option should have one of the values:" |
| 950 Set it to either \`yes', \`no', or \`default'." | 520 echo "\`native', \`nas', \`both', or \`none'." |
| 521 echo "" | |
| 522 echo "${short_usage}") >&2 | |
| 523 exit 1 | |
| 524 ;; | |
| 525 esac | |
| 526 eval "${opt}=\"${val}\"" | |
| 527 ;; | |
| 528 | |
| 529 ## Has the user requested XIM support? | |
| 530 "with_xim" ) | |
| 531 ## value can be xlib or motif | |
| 532 ## as a backwards compatible synonym for native | |
| 533 case "${val}" in | |
| 534 y | ye | yes ) val=yes ;; | |
| 535 n | no | non | none ) val=no ;; | |
| 536 x | xl | xli | xlib ) val=xlib ;; | |
| 537 m | mo | mot | moti | motif ) val=motif ;; | |
| 538 * ) | |
| 539 (echo "${progname}: the \`--${optname}' option should have one of the values:" | |
| 540 echo "\`motif', \`xlib', \`yes', or \`no'." | |
| 541 echo "" | |
| 542 echo "${short_usage}") >&2 | |
| 543 exit 1 | |
| 544 ;; | |
| 545 esac | |
| 546 eval "${opt}=\"${val}\"" | |
| 547 ;; | |
| 548 | |
| 549 ## Has the user requested PNG support? | |
| 550 "with_png" ) | |
| 551 ## Make sure the value given was either "yes", "no", or "gnuz". | |
| 552 case "${val}" in | |
| 553 y | ye | yes ) val=yes ;; | |
| 554 n | no ) val=no ;; | |
| 555 g | gn | gnu | gnuz ) val=gnuz ;; | |
| 556 * ) | |
| 557 (echo "${progname}: the \`--${optname}' option is supposed to | |
| 558 be either \`yes', \`no', or \`gnuz'." | |
| 951 echo "${short_usage}") >&2 | 559 echo "${short_usage}") >&2 |
| 952 exit 1 | 560 exit 1 |
| 953 ;; | 561 ;; |
| 954 esac | 562 esac |
| 955 eval "${opt}=\"${val}\"" | 563 eval "${opt}=\"${val}\"" |
| 956 ;; | 564 ;; |
| 957 | 565 |
| 566 ## Has the user requested error-checking? | |
| 567 "error_checking" ) | |
| 568 ## value can be all, none, and/or a list of categories to check. | |
| 569 ## Example: --error-checking=all,noextents,nobufpos | |
| 570 ## Example: --error-checking=none,malloc,gc | |
| 571 | |
| 572 for x in `echo "${val}" | sed 's/,/ /'` ; do | |
| 573 case "${x}" in | |
| 574 # all and none are only permitted as the first in the list. | |
| 575 n | no | non | none ) new_default=no ;; | |
| 576 a | al | all ) new_default=yes ;; | |
| 577 | |
| 578 extents ) error_check_extents=yes ;; | |
| 579 noextents ) error_check_extents=no ;; | |
| 580 | |
| 581 typecheck ) error_check_typecheck=yes ;; | |
| 582 notypecheck ) error_check_typecheck=no ;; | |
| 583 | |
| 584 bufpos ) error_check_bufpos=yes ;; | |
| 585 nobufpos ) error_check_bufpos=no ;; | |
| 586 | |
| 587 gc ) error_check_gc=yes ;; | |
| 588 nogc ) error_check_gc=no ;; | |
| 589 | |
| 590 malloc ) error_check_malloc=yes ;; | |
| 591 nomalloc ) error_check_malloc=no ;; | |
| 592 | |
| 593 * ) bogus_error_check=yes ;; | |
| 594 esac | |
| 595 if test "$bogus_error_check" -o \ | |
| 596 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then | |
| 597 ( echo "${progname}: Valid types for the \`--${optname}' option are:" | |
| 598 if test $error_check_default = yes ; then | |
| 599 echo "\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', and \`nomalloc'." | |
| 600 else | |
| 601 echo "\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', and \`malloc'." | |
| 602 fi | |
| 603 echo "${short_usage}" ) >&2 | |
| 604 exit 1 | |
| 605 elif test "$new_default" ; then | |
| 606 error_check_extents=$new_default | |
| 607 error_check_typecheck=$new_default | |
| 608 error_check_bufpos=$new_default | |
| 609 error_check_gc=$new_default | |
| 610 error_check_malloc=$new_default | |
| 611 new_default= # reset this | |
| 612 fi | |
| 613 echeck_notfirst=true | |
| 614 done | |
| 615 ;; | |
| 616 | |
| 958 ## Has the user tried to tell us where the X files are? | 617 ## Has the user tried to tell us where the X files are? |
| 959 ## I think these are dopey, but no less than three alpha | 618 ## I think these are dopey, but no less than three alpha |
| 960 ## testers, at large sites, have said they have their X files | 619 ## testers, at large sites, have said they have their X files |
| 961 ## installed in odd places. | 620 ## installed in odd places. |
| 962 "x_includes" ) | |
| 963 ## If the value was omitted, get it from the next argument. | |
| 964 if [ "${valomitted}" = "yes" ]; then | |
| 965 ## Get the next argument from the argument list, if there is one. | |
| 966 if [ $# = 0 ]; then | |
| 967 (echo "${progname}: You must give a value for the \`--${optname}' option, as in | |
| 968 \`--${optname}=/usr/local/X11/include'." | |
| 969 echo "${short_usage}") >&2 | |
| 970 exit 1 | |
| 971 fi | |
| 972 val="$1"; shift | |
| 973 fi | |
| 974 x_includes="${val}" | |
| 975 ;; | |
| 976 "x_libraries" ) | |
| 977 ## If the value was omitted, get it from the next argument. | |
| 978 if [ "${valomitted}" = "yes" ]; then | |
| 979 ## Get the next argument from the argument list, if there is one. | |
| 980 if [ $# = 0 ]; then | |
| 981 (echo "${progname}: You must give a value for the \`--${optname}' option, as in | |
| 982 \`--${optname}=/usr/local/X11/lib'." | |
| 983 echo "${short_usage}") >&2 | |
| 984 exit 1 | |
| 985 fi | |
| 986 val="$1"; shift | |
| 987 fi | |
| 988 x_libraries="${val}" | |
| 989 ;; | |
| 990 | |
| 991 "site_includes" ) | |
| 992 ## If the value was omitted, get it from the next argument. | |
| 993 if [ "${valomitted}" = "yes" ]; then | |
| 994 ## Get the next argument from the argument list, if there is one. | |
| 995 if [ $# = 0 ]; then | |
| 996 (echo "${progname}: You must give a value for the \`--${optname}' option, as in | |
| 997 \`--${optname}=/usr/local/X11/include'." | |
| 998 echo "${short_usage}") >&2 | |
| 999 exit 1 | |
| 1000 fi | |
| 1001 val="$1"; shift | |
| 1002 fi | |
| 1003 site_includes="${val}" | |
| 1004 ;; | |
| 1005 | |
| 1006 "site_libraries" ) | |
| 1007 ## If the value was omitted, get it from the next argument. | |
| 1008 if [ "${valomitted}" = "yes" ]; then | |
| 1009 ## Get the next argument from the argument list, if there is one. | |
| 1010 if [ $# = 0 ]; then | |
| 1011 (echo "${progname}: You must give a value for the \`--${optname}' option, as in | |
| 1012 \`--${optname}=/usr/local/X11/lib'." | |
| 1013 echo "${short_usage}") >&2 | |
| 1014 exit 1 | |
| 1015 fi | |
| 1016 val="$1"; shift | |
| 1017 fi | |
| 1018 site_libraries="${val}" | |
| 1019 ;; | |
| 1020 | |
| 1021 "site_runtime_libraries" ) | |
| 1022 ## If the value was omitted, get it from the next argument. | |
| 1023 if [ "${valomitted}" = "yes" ]; then | |
| 1024 ## Get the next argument from the argument list, if there is one. | |
| 1025 if [ $# = 0 ]; then | |
| 1026 (echo "${progname}: You must give a value for the \`--${optname}' option, as in | |
| 1027 \`--${optname}=/usr/local/X11/lib'." | |
| 1028 echo "${short_usage}") >&2 | |
| 1029 exit 1 | |
| 1030 fi | |
| 1031 val="$1"; shift | |
| 1032 fi | |
| 1033 site_runtime_libraries="${val}" | |
| 1034 ;; | |
| 1035 | |
| 1036 ## Has the user specified the developer configuration? | |
| 1037 ## Note that the user still has the option of explicitly setting | |
| 1038 ## a path option. | |
| 1039 "run_in_place" ) | |
| 1040 ## Make sure the value given was either "yes" or "no". | |
| 1041 case "${val}" in | |
| 1042 y | ye | yes ) val=yes ;; | |
| 1043 n | no ) val=no ;; | |
| 1044 * ) | |
| 1045 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1046 Set it to either \`yes' or \`no'." | |
| 1047 echo "${short_usage}") >&2 | |
| 1048 exit 1 | |
| 1049 ;; | |
| 1050 esac | |
| 1051 eval "${opt}=\"${val}\"" | |
| 1052 ;; | |
| 1053 | 621 |
| 1054 ## Has the user specified one of the path options? | 622 ## Has the user specified one of the path options? |
| 1055 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ | 623 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ |
| 1056 mandir | infodir | lispdir | etcdir | lockdir | archlibdir | \ | 624 mandir | infodir | lispdir | etcdir | lockdir | archlibdir | \ |
| 1057 sitelispdir | docdir ) | 625 sitelispdir | docdir ) |
| 1058 ## If the value was omitted, get it from the next argument. | 626 ## If the value was omitted, get it from the next argument. |
| 1059 if [ "${valomitted}" = "yes" ]; then | 627 if test "${valomitted}" = "yes" ; then |
| 1060 if [ $# = 0 ]; then | 628 if test $# = 0 ; then |
| 1061 (echo \ | 629 (echo \ |
| 1062 "$progname: You must give a value for the \`--${optname}' option,"; | 630 "$progname: You must give a value for the \`--${optname}' option,"; |
| 1063 echo \ | 631 echo \ |
| 1064 "as in \`--${optname}=`eval echo '$'$optname`.'" | 632 "as in \`--${optname}=`eval echo '$'$optname`.'" |
| 1065 echo "$short_usage") >&2 | 633 echo "$short_usage") >&2 |
| 1071 | 639 |
| 1072 ## Changing exec_prefix or libdir will change the default value | 640 ## Changing exec_prefix or libdir will change the default value |
| 1073 ## of archlibdir. Changing datadir will change the default value | 641 ## of archlibdir. Changing datadir will change the default value |
| 1074 ## of etcdir and lispdir. Changing statedir will change the | 642 ## of etcdir and lispdir. Changing statedir will change the |
| 1075 ## default value of lockdir. | 643 ## default value of lockdir. |
| 1076 if [ "${opt}" = "exec_prefix" ]; then | 644 if test "${opt}" = exec_prefix; then archlibdir_user_defined=yes |
| 1077 archlibdir_user_defined='yes' | 645 elif test "${opt}" = libdir ; then archlibdir_user_defined=yes |
| 1078 elif [ "${opt}" = "libdir" ]; then | 646 elif test "${opt}" = archlibdir ; then archlibdir_user_defined=yes |
| 1079 archlibdir_user_defined='yes' | 647 elif test "${opt}" = lispdir ; then lispdir_user_defined=yes |
| 1080 elif [ "${opt}" = "archlibdir" ]; then | 648 elif test "${opt}" = etcdir ; then etcdir_user_defined=yes |
| 1081 archlibdir_user_defined='yes' | 649 elif test "${opt}" = datadir ; then |
| 1082 elif [ "${opt}" = "lispdir" ]; then | 650 lispdir_user_defined=yes |
| 1083 lispdir_user_defined='yes' | 651 etcdir_user_defined=yes |
| 1084 elif [ "${opt}" = "etcdir" ]; then | 652 elif test "${opt}" = statedir ; then lockdir_user_defined=yes |
| 1085 etcdir_user_defined='yes' | 653 elif test "${opt}" = lockdir ; then lockdir_user_defined=yes |
| 1086 elif [ "${opt}" = "datadir" ]; then | 654 elif test "${opt}" = infodir ; then infodir_user_defined=yes |
| 1087 lispdir_user_defined='yes' | |
| 1088 etcdir_user_defined='yes' | |
| 1089 elif [ "${opt}" = "statedir" ]; then | |
| 1090 lockdir_user_defined='yes' | |
| 1091 elif [ "${opt}" = "lockdir" ]; then | |
| 1092 lockdir_user_defined='yes' | |
| 1093 elif [ "${opt}" = "infodir" ]; then | |
| 1094 infodir_user_defined='yes' | |
| 1095 fi | 655 fi |
| 1096 ;; | 656 ;; |
| 1097 | 657 |
| 1098 ## Has the user specified values to override CFLAGS? | 658 ## Has the user specified values to override CFLAGS? |
| 1099 cflags ) | 659 cflags ) |
| 1100 ## If the value was omitted, get it from the next argument. | 660 ## If the value was omitted, get it from the next argument. |
| 1101 if [ "${valomitted}" = "yes" ]; then | 661 if test "${valomitted}" = "yes" ; then |
| 1102 if [ $# = 0 ]; then | 662 if test $# = 0 ; then |
| 1103 (echo \ | 663 (echo \ |
| 1104 "$progname: You must give a value for the \`--${optname}' option,"; | 664 "$progname: You must give a value for the \`--${optname}' option,"; |
| 1105 echo \ | 665 echo \ |
| 1106 "as in \`--${optname}=`eval echo '$'$optname`-g -O'" | 666 "as in \`--${optname}=`eval echo '$'$optname`-g -O'" |
| 1107 echo "$short_usage") >&2 | 667 echo "$short_usage") >&2 |
| 1116 ## Verbose flag, tested by autoconf macros. | 676 ## Verbose flag, tested by autoconf macros. |
| 1117 "verbose" ) | 677 "verbose" ) |
| 1118 verbose=yes | 678 verbose=yes |
| 1119 ;; | 679 ;; |
| 1120 | 680 |
| 1121 ## Does the user want to see the compiler output for feature tests? | |
| 1122 "extra_verbose" ) | |
| 1123 ## Make sure the value given was either "yes" or "no". | |
| 1124 case "${val}" in | |
| 1125 y | ye | yes ) val=yes ;; | |
| 1126 n | no ) val=no ;; | |
| 1127 * ) | |
| 1128 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1129 Set it to either \`yes' or \`no'." | |
| 1130 echo "${short_usage}") >&2 | |
| 1131 exit 1 | |
| 1132 ;; | |
| 1133 esac | |
| 1134 eval "${opt}=\"${val}\"" | |
| 1135 ## --extra-verbose implies --verbose | |
| 1136 verbose=yes | |
| 1137 ;; | |
| 1138 | |
| 1139 ## --no-create added by autoconf for use by config.status | 681 ## --no-create added by autoconf for use by config.status |
| 1140 "no_create" ) | 682 "no_create" ) |
| 1141 ;; | 683 ;; |
| 1142 | 684 |
| 1143 ## Has the user asked for some help? | 685 ## Has the user asked for some help? |
| 1144 "usage" | "help" ) | 686 "usage" | "help" ) |
| 1145 if [ "x$PAGER" = x ] | 687 if test -z "$PAGER" |
| 1146 then | 688 then echo "${short_usage}" | more |
| 1147 echo "${short_usage}" | more | 689 else echo "${short_usage}" | $PAGER |
| 1148 else | |
| 1149 echo "${short_usage}" | $PAGER | |
| 1150 fi | 690 fi |
| 1151 exit | 691 exit |
| 1152 ;; | 692 ;; |
| 1153 | 693 |
| 1154 ## Has the user specified what toolkit to use for the menubars, | 694 ## Has the user specified what toolkit to use for the menubars, |
| 1159 l | lu | luc | luci | lucid ) val=lucid ;; | 699 l | lu | luc | luci | lucid ) val=lucid ;; |
| 1160 m | mo | mot | moti | motif ) val=motif ;; | 700 m | mo | mot | moti | motif ) val=motif ;; |
| 1161 a | at | ath | athe | athen | athena ) val=athena ;; | 701 a | at | ath | athe | athen | athena ) val=athena ;; |
| 1162 n | no | non | none ) val=no ;; | 702 n | no | non | none ) val=no ;; |
| 1163 * ) | 703 * ) |
| 1164 (echo "${progname}: the \`--${optname}' option should have one of the values \`lucid', \`motif', \`athena', or \`no'." | 704 (echo "${progname}: the \`--${optname}' option should have one of the values:" |
| 1165 echo "${short_usage}") >&2 | 705 echo "\`lucid', \`motif', \`athena', or \`no'." |
| 706 echo "" | |
| 707 echo "${short_usage}") >&2 | |
| 1166 exit 1 | 708 exit 1 |
| 1167 ;; | 709 ;; |
| 1168 esac | 710 esac |
| 1169 eval "${opt}=\"${val}\"" | 711 eval "${opt}=\"${val}\"" |
| 1170 ;; | 712 ;; |
| 1171 | 713 |
| 1172 ## Has the user disabled toolbar support? | |
| 1173 "with_toolbars" ) | |
| 1174 ## Make sure the value given was either "yes" or "no". | |
| 1175 case "${val}" in | |
| 1176 y | ye | yes ) val=yes ;; | |
| 1177 n | no ) val=no ;; | |
| 1178 * ) | |
| 1179 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1180 Set it to either \`yes' or \`no'." | |
| 1181 echo "${short_usage}") >&2 | |
| 1182 exit 1 | |
| 1183 ;; | |
| 1184 esac | |
| 1185 eval "${opt}=\"${val}\"" | |
| 1186 ;; | |
| 1187 | |
| 1188 ## Has the user disabled TTY support? | |
| 1189 "with_tty" ) | |
| 1190 ## Make sure the value given was either "yes" or "no". | |
| 1191 case "${val}" in | |
| 1192 y | ye | yes ) val=yes ;; | |
| 1193 n | no ) val=no ;; | |
| 1194 * ) | |
| 1195 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1196 Set it to either \`yes' or \`no'." | |
| 1197 echo "${short_usage}") >&2 | |
| 1198 exit 1 | |
| 1199 ;; | |
| 1200 esac | |
| 1201 eval "${opt}=\"${val}\"" | |
| 1202 ;; | |
| 1203 | |
| 1204 ## Has the user specified whether or not they want to use ToolTalk? | |
| 1205 "with_tooltalk" ) | |
| 1206 ## Make sure the value given was either "yes" or "no". | |
| 1207 case "${val}" in | |
| 1208 y | ye | yes ) val=yes ;; | |
| 1209 n | no ) val=no ;; | |
| 1210 * ) | |
| 1211 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1212 Set it to either \`yes' or \`no'." | |
| 1213 echo "${short_usage}") >&2 | |
| 1214 exit 1 | |
| 1215 ;; | |
| 1216 esac | |
| 1217 eval "${opt}=\"${val}\"" | |
| 1218 ;; | |
| 1219 | |
| 1220 ## Has the user specified whether or not they want Mocklisp support? | |
| 1221 "with_mocklisp" ) | |
| 1222 ## Make sure the value given was either "yes" or "no". | |
| 1223 case "${val}" in | |
| 1224 y | ye | yes ) val=yes ;; | |
| 1225 n | no ) val=no ;; | |
| 1226 * ) | |
| 1227 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1228 Set it to either \`yes' or \`no'." | |
| 1229 echo "${short_usage}") >&2 | |
| 1230 exit 1 | |
| 1231 ;; | |
| 1232 esac | |
| 1233 eval "${opt}=\"${val}\"" | |
| 1234 ;; | |
| 1235 | |
| 1236 ## Has the user specified whether or not they want to use SparcWorks? | |
| 1237 "with_sparcworks" ) | |
| 1238 ## Make sure the value given was either "yes" or "no". | |
| 1239 case "${val}" in | |
| 1240 y | ye | yes ) val=yes ;; | |
| 1241 n | no ) val=no ;; | |
| 1242 * ) | |
| 1243 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1244 Set it to either \`yes' or \`no'." | |
| 1245 echo "${short_usage}") >&2 | |
| 1246 exit 1 | |
| 1247 ;; | |
| 1248 esac | |
| 1249 eval "${opt}=\"${val}\"" | |
| 1250 if [ "${with_sparcworks}" = "yes" ]; then | |
| 1251 with_tooltalk='yes' | |
| 1252 fi | |
| 1253 ;; | |
| 1254 | |
| 1255 ## Does the user want usage tracking? | |
| 1256 "usage_tracking" ) | |
| 1257 ## Make sure the value given was either "yes" or "no". | |
| 1258 case "${val}" in | |
| 1259 y | ye | yes ) val=yes ;; | |
| 1260 n | no ) val=no ;; | |
| 1261 * ) | |
| 1262 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1263 Set it to either \`yes' or \`no'." | |
| 1264 echo "${short_usage}") >&2 | |
| 1265 exit 1 | |
| 1266 ;; | |
| 1267 esac | |
| 1268 eval "${opt}=\"${val}\"" | |
| 1269 ;; | |
| 1270 | |
| 1271 ## Does the user want additional debugging capability? | |
| 1272 "debug" ) | |
| 1273 ## Make sure the value given was either "yes" or "no". | |
| 1274 case "${val}" in | |
| 1275 y | ye | yes ) val=yes ;; | |
| 1276 n | no ) val=no ;; | |
| 1277 * ) | |
| 1278 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1279 Set it to either \`yes' or \`no'." | |
| 1280 echo "${short_usage}") >&2 | |
| 1281 exit 1 | |
| 1282 ;; | |
| 1283 esac | |
| 1284 eval "${opt}=\"${val}\"" | |
| 1285 if [ "${debug}" = "yes" ]; then | |
| 1286 use_assertions='yes' | |
| 1287 memory_usage_stats='yes' | |
| 1288 fi | |
| 1289 ;; | |
| 1290 | |
| 1291 ## Does the user want code for memory usage stats? | |
| 1292 "memory_usage_stats" ) | |
| 1293 ## Make sure the value given was either "yes" or "no". | |
| 1294 case "${val}" in | |
| 1295 y | ye | yes ) val=yes ;; | |
| 1296 n | no ) val=no ;; | |
| 1297 * ) | |
| 1298 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1299 Set it to either \`yes' or \`no'." | |
| 1300 echo "${short_usage}") >&2 | |
| 1301 exit 1 | |
| 1302 ;; | |
| 1303 esac | |
| 1304 eval "${opt}=\"${val}\"" | |
| 1305 ;; | |
| 1306 | |
| 1307 ## Has the user specified whether or not they want to use Energize? | |
| 1308 "with_energize" ) | |
| 1309 ## Make sure the value given was either "yes" or "no". | |
| 1310 case "${val}" in | |
| 1311 y | ye | yes ) val=yes ;; | |
| 1312 n | no ) val=no ;; | |
| 1313 * ) | |
| 1314 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 1315 Set it to either \`yes' or \`no'." | |
| 1316 echo "${short_usage}") >&2 | |
| 1317 exit 1 | |
| 1318 ;; | |
| 1319 esac | |
| 1320 eval "${opt}=\"${val}\"" | |
| 1321 if [ "${with_energize}" = "yes" ]; then | |
| 1322 with_menubars='lucid' | |
| 1323 with_scrollbars='motif' | |
| 1324 with_dialogs='motif' | |
| 1325 with_tooltalk='yes' | |
| 1326 internal_makefile_list="$internal_makefile_list lwlib/energize/Makefile.in" | |
| 1327 fi | |
| 1328 ;; | |
| 1329 | |
| 1330 ## Fail on unrecognized arguments. | 714 ## Fail on unrecognized arguments. |
| 1331 * ) | 715 * ) |
| 1332 (echo "${progname}: Error: unrecognized option ${arg}" | 716 (echo "${progname}: Error: unrecognized option: ${arg}" |
| 1333 echo "" | 717 echo "" |
| 1334 echo "${short_usage}") >& 2 | 718 echo "${short_usage}") >& 2 |
| 1335 exit 1 | 719 exit 1 |
| 1336 ;; | 720 ;; |
| 1337 | 721 |
| 1354 ############################################################################ | 738 ############################################################################ |
| 1355 | 739 |
| 1356 ### Get the arguments back. See the diatribe on Shell Magic above. | 740 ### Get the arguments back. See the diatribe on Shell Magic above. |
| 1357 eval set x "$quoted_arguments"; shift | 741 eval set x "$quoted_arguments"; shift |
| 1358 | 742 |
| 1359 if [ "${configuration}" = "" ]; then | 743 ### Argument interdependencies |
| 744 if test "${with_energize}" = "yes" ; then | |
| 745 with_menubars="lucid" | |
| 746 with_scrollbars="motif" | |
| 747 with_dialogs="motif" | |
| 748 with_tooltalk="yes" | |
| 749 internal_makefile_list="$internal_makefile_list lwlib/energize/Makefile.in" | |
| 750 fi | |
| 751 | |
| 752 ### --extra-verbose implies --verbose | |
| 753 test "${extra_verbose}" = yes && verbose=yes | |
| 754 | |
| 755 ### Sparcworks requires tooltalk | |
| 756 test "${with_sparcworks}" = yes && with_tooltalk=yes | |
| 757 | |
| 758 ### debug implies other options | |
| 759 test "${debug}" = "yes" && use_assertions=yes memory_usage_stats=yes | |
| 760 | |
| 761 ### with_x is a synonym for with_x11 | |
| 762 test -n "${with_x}" && with_x11="${with_x}" | |
| 763 | |
| 764 ### Can't specify 2 compilers | |
| 765 if test "${with_gcc}" = "yes" -a "${with_lcc}" = "yes"; then | |
| 766 (echo "${progname}: only one of --with-gcc and --with-lcc may be specified." | |
| 767 echo "${short_usage}") >&2 | |
| 768 exit 1 | |
| 769 fi | |
| 770 | |
| 771 ### Ignore useless run-in-place flag | |
| 772 if test "${run_in_place}" = "yes"; then | |
| 773 echo "configure: warning: The --run-in-place option is ignored because it is unnecessary." >&2 | |
| 774 fi | |
| 775 | |
| 776 ########################################################################### | |
| 777 if test "${configuration}" = "" ; then | |
| 1360 echo '- You did not tell me what kind of host system you want to configure. | 778 echo '- You did not tell me what kind of host system you want to configure. |
| 1361 - I will attempt to guess the kind of system this is.' 1>&2 | 779 - I will attempt to guess the kind of system this is.' 1>&2 |
| 1362 guesssys=`echo ${progname} | sed 's/configure$/config.guess/'` | 780 guesssys=`echo ${progname} | sed 's/configure$/config.guess/'` |
| 1363 if configuration=`${CONFIG_SHELL-/bin/sh} ${guesssys}` ; then | 781 if configuration=`${CONFIG_SHELL-/bin/sh} ${guesssys}` ; then |
| 1364 echo "- Looks like this is a ${configuration}" 1>&2 | 782 echo "- Looks like this is a ${configuration}" 1>&2 |
| 1367 echo "${short_usage}" >&2 | 785 echo "${short_usage}" >&2 |
| 1368 exit 1 | 786 exit 1 |
| 1369 fi | 787 fi |
| 1370 fi | 788 fi |
| 1371 | 789 |
| 1372 ############################################################################ | 790 ### Find the source directory. |
| 1373 # # | |
| 1374 # Handle --srcdir # | |
| 1375 # # | |
| 1376 ############################################################################ | |
| 1377 | |
| 1378 #### Decide where the source is. | |
| 1379 case "${srcdir}" in | 791 case "${srcdir}" in |
| 1380 | 792 |
| 1381 ## If it's not specified, see if `.' or `..' might work. | 793 ## If it's not specified, see if `.' or `..' might work. |
| 1382 "" ) | 794 "" ) |
| 1383 confdir=`echo $0 | sed 's|//|/|' | sed 's|/[^/]*$||'` | 795 for dir in "`echo $0 | sed 's|//|/|' | sed 's|/[^/]*$||'`" "." ".." ; do |
| 1384 if [ -f $confdir/src/lisp.h -a -f $confdir/lisp/version.el ]; then | 796 if test -f "$dir/src/lisp.h" -a -f "$dir/lisp/version.el" ; then |
| 1385 srcdir="${confdir}" | 797 srcdir="${dir}" |
| 1386 else | 798 break |
| 1387 if [ -f "./src/lisp.h" -a -f "./lisp/version.el" ]; then | 799 fi |
| 1388 srcdir='.' | 800 done |
| 1389 else | 801 if test -z "${srcdir}" ; then |
| 1390 if [ -f "../src/lisp.h" -a -f "../lisp/version.el" ]; then | 802 echo "\ |
| 1391 srcdir='..' | |
| 1392 else | |
| 1393 (echo "\ | |
| 1394 ${progname}: Neither the current directory nor its parent seem to | 803 ${progname}: Neither the current directory nor its parent seem to |
| 1395 contain the XEmacs sources. If you do not want to build XEmacs in its | 804 contain the XEmacs sources. If you do not want to build XEmacs in its |
| 1396 source tree, you should run \`${progname}' in the directory in which | 805 source tree, you should run \`${progname}' in the directory in which |
| 1397 you wish to build XEmacs, using its \`--srcdir' option to say where the | 806 you wish to build XEmacs, using its \`--srcdir' option to say where the |
| 1398 sources may be found." | 807 sources may be found. |
| 1399 echo "${short_usage}") >&2 | 808 ${short_usage}" >&2 |
| 1400 exit 1 | 809 exit 1 |
| 1401 fi | |
| 1402 fi | 810 fi |
| 1403 fi | |
| 1404 ;; | 811 ;; |
| 1405 | 812 |
| 1406 ## Otherwise, check if the directory they specified is okay. | 813 ## Otherwise, check if the directory they specified is okay. |
| 1407 * ) | 814 * ) |
| 1408 if [ ! -d "${srcdir}" -o ! -f "${srcdir}/src/lisp.h" -o ! -f "${srcdir}/lisp/version.el" ]; then | 815 if test ! -d "${srcdir}" -o ! -f "${srcdir}/src/lisp.h" -o ! -f "${srcdir}/lisp/version.el" ; then |
| 1409 (echo "\ | 816 (echo "\ |
| 1410 ${progname}: The directory specified with the \`--srcdir' option, | 817 ${progname}: The directory specified with the \`--srcdir' option, |
| 1411 \`${srcdir}', doesn't seem to contain the XEmacs sources. You should | 818 \`${srcdir}', doesn't seem to contain the XEmacs sources. You should |
| 1412 either run the \`${progname}' script at the top of the XEmacs source | 819 either run the \`${progname}' script at the top of the XEmacs source |
| 1413 tree, or use the \`--srcdir' option to specify where the XEmacs sources | 820 tree, or use the \`--srcdir' option to specify where the XEmacs sources |
| 1437 #### Make symlinks for etc, lisp, and info directories while the path | 844 #### Make symlinks for etc, lisp, and info directories while the path |
| 1438 #### is still relative. We don't symlink lock because someone may | 845 #### is still relative. We don't symlink lock because someone may |
| 1439 #### have stuck the source on a read-only partition. Instead we'll | 846 #### have stuck the source on a read-only partition. Instead we'll |
| 1440 #### create it as an actual directory later on if it doesn't already | 847 #### create it as an actual directory later on if it doesn't already |
| 1441 #### exist. | 848 #### exist. |
| 1442 for dir in lisp etc man info site-lisp | 849 for dir in etc lisp man info |
| 1443 do | 850 do |
| 1444 if [ ! -d $dir ]; then | 851 if test ! -d $dir ; then |
| 1445 echo Making symbolic link to ${srcdir}/$dir | 852 echo Making symbolic link to ${srcdir}/$dir |
| 1446 ${LN_S} ${srcdir}/$dir . | 853 ${LN_S} ${srcdir}/$dir . |
| 1447 fi | 854 fi |
| 1448 done | 855 done |
| 1449 | 856 |
| 1453 case "${srcdir}" in | 860 case "${srcdir}" in |
| 1454 /* ) ;; | 861 /* ) ;; |
| 1455 . ) | 862 . ) |
| 1456 ## We may be able to use the $PWD environment variable to make this | 863 ## We may be able to use the $PWD environment variable to make this |
| 1457 ## absolute. But sometimes PWD is inaccurate. | 864 ## absolute. But sometimes PWD is inaccurate. |
| 1458 if [ "${PWD}" != "" ] && [ "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ] ; then | 865 if test "${PWD}" != "" -a "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`"; then |
| 1459 srcdir="$PWD" | 866 srcdir="$PWD" |
| 1460 else | 867 else |
| 1461 srcdir="`(cd ${srcdir}; pwd)`" | 868 srcdir="`(cd ${srcdir}; pwd)`" |
| 1462 fi | 869 fi |
| 1463 ;; | 870 ;; |
| 1464 * ) srcdir="`(cd ${srcdir}; pwd)`" ;; | 871 * ) srcdir="`(cd ${srcdir}; pwd)`" ;; |
| 1465 esac | 872 esac |
| 1466 | 873 |
| 1467 #### Check if the source directory already has a configured system in it. | 874 #### Check if the source directory already has a configured system in it. |
| 1468 if [ `pwd` != `sh -c cd ${srcdir} && pwd` ] \ | 875 if test `pwd` != `sh -c cd ${srcdir} && pwd` \ |
| 1469 && [ -f "${srcdir}/src/config.h" ] ; then | 876 && test -f "${srcdir}/src/config.h"; then |
| 1470 (echo "${progname}: WARNING: The directory tree \`${srcdir}' is being used" | 877 (echo "${progname}: WARNING: The directory tree \`${srcdir}' is being used" |
| 1471 echo " as a build directory right now; it has been configured in its own" | 878 echo " as a build directory right now; it has been configured in its own" |
| 1472 echo " right. To configure in another directory as well, you MUST" | 879 echo " right. To configure in another directory as well, you MUST" |
| 1473 echo " use GNU make. If you do not have GNU make, then you must" | 880 echo " use GNU make. If you do not have GNU make, then you must" |
| 1474 echo " now do \`make distclean' in ${srcdir}," | 881 echo " now do \`make distclean' in ${srcdir}," |
| 1481 vpath %.s $(srcdir)\ | 888 vpath %.s $(srcdir)\ |
| 1482 vpath %.in $(srcdir)' | 889 vpath %.in $(srcdir)' |
| 1483 fi | 890 fi |
| 1484 | 891 |
| 1485 ### Make the necessary directories, if they don't exist. | 892 ### Make the necessary directories, if they don't exist. |
| 1486 for dir in ./src ./lib-src ./dynodump ./man ./lwlib ./lock ; do | 893 for dir in ./src ./lib-src ./dynodump ./lwlib ./lock ; do |
| 1487 if [ ! -d ${dir} ]; then | 894 if test ! -d ${dir} ; then |
| 1488 mkdir ${dir} | 895 mkdir ${dir} |
| 1489 fi | 896 fi |
| 1490 done | 897 done |
| 1491 if [ "${with_energize}" = "yes" ] && [ ! -d ./lwlib/energize ] ; then | 898 if test "${with_energize}" = "yes" -a ! -d ./lwlib/energize; then |
| 1492 mkdir ./lwlib/energize | 899 mkdir ./lwlib/energize |
| 1493 fi | 900 fi |
| 1494 | 901 |
| 1495 ############################################################################ | 902 ############################################################################ |
| 1496 # # | 903 # # |
| 1531 ### matter, be sure /etc/MACHINES says something about it. | 938 ### matter, be sure /etc/MACHINES says something about it. |
| 1532 ### | 939 ### |
| 1533 ### Eric Raymond says we should accept strings like "sysvr4" to mean | 940 ### Eric Raymond says we should accept strings like "sysvr4" to mean |
| 1534 ### "System V Release 4"; he writes, "The old convention encouraged | 941 ### "System V Release 4"; he writes, "The old convention encouraged |
| 1535 ### confusion between `system' and `release' levels'." | 942 ### confusion between `system' and `release' levels'." |
| 1536 ### | |
| 1537 ### We rely on cpp to generate makefiles from Makefile.in.in templates. | |
| 1538 ### There is at least one drawback to that. Since cpp generally has | |
| 1539 ### built-in macro definitions like `#define unix' or `#define i386', | |
| 1540 ### we must be careful to prevent it from substituting these occurences | |
| 1541 ### in certain places in the makefiles. Pathnames for architecture- | |
| 1542 ### specific files come to mind. | |
| 1543 ### This is where CPPFLAGS_MAKEFILEGEN comes in. We try to selectively | |
| 1544 ### disable (potentially) predefined macros that we find to be part of | |
| 1545 ### the configuration string. | |
| 1546 ### This is but a poor method to help us fight off cpp, but it covers | |
| 1547 ### those cases that used to bite me. <mdiers@logware.de> | |
| 1548 | |
| 1549 CPPFLAGS_MAKEFILEGEN="" # we normally do not need any extra flags | |
| 1550 | 943 |
| 1551 machine='' opsys='' unported=no need_dynodump=no | 944 machine='' opsys='' unported=no need_dynodump=no |
| 1552 case "${canonical}" in | 945 case "${canonical}" in |
| 1553 | 946 |
| 1554 ## NetBSD ports | 947 ## NetBSD ports |
| 1555 *-*-netbsd* ) | 948 *-*-netbsd* ) |
| 1556 opsys=netbsd | 949 opsys=netbsd |
| 1557 case "${canonical}" in | 950 case "${canonical}" in |
| 1558 sparc-*-netbsd*) machine=sparc ;; | 951 sparc-*-netbsd*) machine=sparc ;; |
| 1559 i[3-9]86-*-netbsd*) machine=intel386 ;; | 952 i[3-9]86-*-netbsd*) machine=intel386 ;; |
| 1560 hp300-*-netbsd* | amiga-*-netbsd* | sun3-*-netbsd* | mac68k-*-netbsd* | da30-*-netbsd* | m68k-*-netbsd* ) | 953 hp300-*-netbsd* | amiga-*-netbsd* | sun3-*-netbsd* | mac68k-*-netbsd* | da30-*-netbsd* | m68k-*-netbsd* ) |
| 1561 # Yes, this is somewhat bogus. | 954 # Yes, this is somewhat bogus. |
| 1562 machine=hp9000s300 ;; | 955 machine=hp9000s300 ;; |
| 1563 pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;; | 956 pc532-*-netbsd* | ns32k-*-netbsd* ) machine=ns32000 ;; |
| 1564 pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;; | 957 pmax-*-netbsd* | mips-*-netbsd* ) machine=pmax ;; |
| 1565 esac | 958 esac |
| 1566 ;; | 959 ;; |
| 1567 | 960 |
| 1568 ## Acorn RISCiX: | 961 ## Acorn RISCiX: |
| 1569 arm-acorn-riscix1.1* ) | 962 arm-acorn-riscix1.1* ) machine=acorn opsys=riscix1-1 ;; |
| 1570 machine=acorn opsys=riscix1-1 | 963 arm-acorn-riscix1.2* | arm-acorn-riscix ) machine=acorn opsys=riscix1-2 ;; |
| 1571 ;; | |
| 1572 arm-acorn-riscix1.2* | arm-acorn-riscix ) | |
| 1573 machine=acorn opsys=riscix1-2 | |
| 1574 ;; | |
| 1575 | 964 |
| 1576 ## Alliant machines | 965 ## Alliant machines |
| 1577 ## Strictly speaking, we need the version of the alliant operating | 966 ## Strictly speaking, we need the version of the alliant operating |
| 1578 ## system to choose the right machine file, but currently the | 967 ## system to choose the right machine file, but currently the |
| 1579 ## configuration name doesn't tell us enough to choose the right | 968 ## configuration name doesn't tell us enough to choose the right |
| 1580 ## one; we need to give alliants their own operating system name to | 969 ## one; we need to give alliants their own operating system name to |
| 1581 ## do this right. When someone cares, they can help us. | 970 ## do this right. When someone cares, they can help us. |
| 1582 fx80-alliant-* ) | 971 fx80-alliant-* ) machine=alliant4 opsys=bsd4-2 ;; |
| 1583 machine=alliant4 opsys=bsd4-2 | 972 i860-alliant-* ) machine=alliant-2800 opsys=bsd4-3 ;; |
| 1584 ;; | |
| 1585 i860-alliant-* ) | |
| 1586 machine=alliant-2800 opsys=bsd4-3 | |
| 1587 ;; | |
| 1588 | 973 |
| 1589 ## Alpha (DEC) machines. | 974 ## Alpha (DEC) machines. |
| 1590 ## XEmacs change: split apart into numerous files. | 975 ## XEmacs change: split apart into numerous files. |
| 1591 alpha-dec-osf1.3 | alpha-dec-osf2* ) | 976 alpha-dec-osf1.3 | alpha-dec-osf2* ) machine=alpha opsys=decosf1-3 ;; |
| 1592 machine=alpha opsys=decosf1-3 | 977 alpha-dec-osf1.2 | alpha-dec-osf1* ) machine=alpha opsys=decosf1-2 ;; |
| 1593 ;; | |
| 1594 alpha-dec-osf1.2 | alpha-dec-osf1* ) | |
| 1595 machine=alpha opsys=decosf1-2 | |
| 1596 ;; | |
| 1597 | 978 |
| 1598 ## XEmacs: Add switch for OSF 1 version 3 (roth@cse.ucsc.edu) | 979 ## XEmacs: Add switch for OSF 1 version 3 (roth@cse.ucsc.edu) |
| 1599 alpha-dec-osf3.[2-9] ) | |
| 1600 machine=alpha opsys=decosf3-2 | |
| 1601 ;; | |
| 1602 alpha-dec-osf3* ) | |
| 1603 machine=alpha opsys=decosf3-1 | |
| 1604 ;; | |
| 1605 | |
| 1606 ## XEmacs: Add switch for Digital Unix version 4 (srivasta@pilgrim.umass.edu) | 980 ## XEmacs: Add switch for Digital Unix version 4 (srivasta@pilgrim.umass.edu) |
| 1607 alpha-dec-osf4* ) | 981 alpha-dec-osf3.[2-9] ) machine=alpha opsys=decosf3-2 ;; |
| 1608 machine=alpha opsys=decosf4-0 | 982 alpha-dec-osf3* ) machine=alpha opsys=decosf3-1 ;; |
| 1609 NON_GNU_CPP="/lib/cpp" | 983 alpha-dec-osf4* ) machine=alpha opsys=decosf4-0 ;; |
| 1610 ;; | 984 alpha-*-linux* ) machine=alpha opsys=linux ;; |
| 1611 | |
| 1612 alpha-*-linux* ) | |
| 1613 machine=alpha opsys=linux | |
| 1614 ;; | |
| 1615 | 985 |
| 1616 ## Altos 3068 | 986 ## Altos 3068 |
| 1617 m68*-altos-sysv* ) | 987 m68*-altos-sysv* ) machine=altos opsys=usg5-2 ;; |
| 1618 machine=altos opsys=usg5-2 | |
| 1619 ;; | |
| 1620 | 988 |
| 1621 ## Amdahl UTS | 989 ## Amdahl UTS |
| 1622 580-amdahl-sysv* ) | 990 580-amdahl-sysv* ) machine=amdahl opsys=usg5-2-2 ;; |
| 1623 machine=amdahl opsys=usg5-2-2 | |
| 1624 ;; | |
| 1625 | 991 |
| 1626 ## Apollo, Domain/OS | 992 ## Apollo, Domain/OS |
| 1627 m68*-apollo-* ) | 993 m68*-apollo-* ) machine=apollo opsys=bsd4-3 ;; |
| 1628 machine=apollo opsys=bsd4-3 | |
| 1629 ;; | |
| 1630 | 994 |
| 1631 ## AT&T 3b2, 3b5, 3b15, 3b20 | 995 ## AT&T 3b2, 3b5, 3b15, 3b20 |
| 1632 we32k-att-sysv* ) | 996 we32k-att-sysv* ) machine=att3b opsys=usg5-2-2 ;; |
| 1633 machine=att3b opsys=usg5-2-2 | |
| 1634 ;; | |
| 1635 | 997 |
| 1636 ## AT&T 3b1 - The Mighty Unix PC! | 998 ## AT&T 3b1 - The Mighty Unix PC! |
| 1637 m68*-att-sysv* ) | 999 m68*-att-sysv* ) machine=7300 opsys=usg5-2-2 ;; |
| 1638 machine=7300 opsys=usg5-2-2 | |
| 1639 ;; | |
| 1640 | 1000 |
| 1641 ## Bull dpx20 | 1001 ## Bull dpx20 |
| 1642 rs6000-bull-bosx* ) | 1002 rs6000-bull-bosx* ) machine=ibmrs6000 opsys=aix3-2 ;; |
| 1643 machine=ibmrs6000 opsys=aix3-2 | |
| 1644 ;; | |
| 1645 | 1003 |
| 1646 ## Bull dpx2 | 1004 ## Bull dpx2 |
| 1647 m68*-bull-sysv3* ) | 1005 m68*-bull-sysv3* ) machine=dpx2 opsys=usg5-3 ;; |
| 1648 machine=dpx2 opsys=usg5-3 | |
| 1649 ;; | |
| 1650 | 1006 |
| 1651 ## Bull sps7 | 1007 ## Bull sps7 |
| 1652 m68*-bull-sysv2* ) | 1008 m68*-bull-sysv2* ) machine=sps7 opsys=usg5-2 ;; |
| 1653 machine=sps7 opsys=usg5-2 | |
| 1654 ;; | |
| 1655 | 1009 |
| 1656 ## CCI 5/32, 6/32 -- see "Tahoe". | 1010 ## CCI 5/32, 6/32 -- see "Tahoe". |
| 1657 | 1011 |
| 1658 ## Celerity | 1012 ## Celerity |
| 1659 ## I don't know what configuration name to use for this; config.sub | 1013 ## I don't know what configuration name to use for this; config.sub |
| 1660 ## doesn't seem to know anything about it. Hey, Celerity users, get | 1014 ## doesn't seem to know anything about it. Hey, Celerity users, get |
| 1661 ## in touch with us! | 1015 ## in touch with us! |
| 1662 celerity-celerity-bsd* ) | 1016 celerity-celerity-bsd* ) machine=celerity opsys=bsd4-2 ;; |
| 1663 machine=celerity opsys=bsd4-2 | |
| 1664 ;; | |
| 1665 | 1017 |
| 1666 ## Clipper | 1018 ## Clipper |
| 1667 ## What operating systems does this chip run that XEmacs has been | 1019 ## What operating systems does this chip run that XEmacs has been |
| 1668 ## tested on? | 1020 ## tested on? |
| 1669 clipper-* ) | 1021 clipper-* ) machine=clipper |
| 1670 machine=clipper | |
| 1671 ## We'll use the catch-all code at the bottom to guess the | 1022 ## We'll use the catch-all code at the bottom to guess the |
| 1672 ## operating system. | 1023 ## operating system. |
| 1673 ;; | 1024 ;; |
| 1674 | 1025 |
| 1675 ## Convex | 1026 ## Convex |
| 1678 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov | 1029 ## Prevents spurious white space in makefiles - d.m.cooke@larc.nasa.gov |
| 1679 NON_GNU_CPP="cc -E -P" | 1030 NON_GNU_CPP="cc -E -P" |
| 1680 ;; | 1031 ;; |
| 1681 | 1032 |
| 1682 ## Cubix QBx/386 | 1033 ## Cubix QBx/386 |
| 1683 i[3-9]86-cubix-sysv* ) | 1034 i[3-9]86-cubix-sysv* ) machine=intel386 opsys=usg5-3 ;; |
| 1684 machine=intel386 opsys=usg5-3 | |
| 1685 ;; | |
| 1686 | 1035 |
| 1687 ## Cydra 5 | 1036 ## Cydra 5 |
| 1688 cydra*-cydrome-sysv* ) | 1037 cydra*-cydrome-sysv* ) machine=cydra5 opsys=usg5-3 ;; |
| 1689 machine=cydra5 opsys=usg5-3 | |
| 1690 ;; | |
| 1691 | 1038 |
| 1692 ## Data General AViiON Machines | 1039 ## Data General AViiON Machines |
| 1693 i586-dg-dgux5.4R4* | i586-dg-dgux5.4.4* ) | 1040 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) machine=aviion opsys=dgux5-4r3 ;; |
| 1694 machine=aviion opsys=dgux5-4r4 | 1041 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) machine=aviion opsys=dgux5-4r2 ;; |
| 1695 ;; | 1042 m88k-dg-dgux* ) machine=aviion opsys=dgux ;; |
| 1696 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) | 1043 |
| 1697 machine=aviion opsys=dgux5-4r3 | 1044 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* ) machine=pmax opsys=bsd4-2 ;; |
| 1698 ;; | 1045 mips-dec-ultrix4.[12]* | mips-dec-bsd* ) machine=pmax opsys=bsd4-3 ;; |
| 1699 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) | 1046 mips-dec-ultrix* ) machine=pmax opsys=ultrix4-3 ;; |
| 1700 machine=aviion opsys=dgux5-4r2 | 1047 mips-dec-osf* ) machine=pmax opsys=osf1 ;; |
| 1701 ;; | 1048 mips-dec-mach_bsd4.3* ) machine=pmax opsys=mach-bsd4-3 ;; |
| 1702 m88k-dg-dgux* ) | |
| 1703 machine=aviion opsys=dgux | |
| 1704 ;; | |
| 1705 | |
| 1706 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* ) | |
| 1707 machine=pmax opsys=bsd4-2 | |
| 1708 ;; | |
| 1709 mips-dec-ultrix4.[12]* | mips-dec-bsd* ) | |
| 1710 machine=pmax opsys=bsd4-3 | |
| 1711 ;; | |
| 1712 mips-dec-ultrix* ) | |
| 1713 machine=pmax opsys=ultrix4-3 | |
| 1714 ;; | |
| 1715 mips-dec-osf* ) | |
| 1716 machine=pmax opsys=osf1 | |
| 1717 ;; | |
| 1718 mips-dec-mach_bsd4.3* ) | |
| 1719 machine=pmax opsys=mach-bsd4-3 | |
| 1720 ;; | |
| 1721 | 1049 |
| 1722 ## Motorola Delta machines | 1050 ## Motorola Delta machines |
| 1723 m68k-motorola-sysv* | m68000-motorola-sysv* ) | 1051 m68k-motorola-sysv* | m68000-motorola-sysv* ) |
| 1724 machine=delta opsys=usg5-3 | 1052 machine=delta opsys=usg5-3 |
| 1725 if test -z "`type gnucc | grep 'not found'`" | 1053 if test -z "`type gnucc | grep 'not found'`" |
| 1740 # needs POSIX_SIGNALS and therefore needs usg5-4-2. | 1068 # needs POSIX_SIGNALS and therefore needs usg5-4-2. |
| 1741 # I hope there are not other 4.0 versions for this machine | 1069 # I hope there are not other 4.0 versions for this machine |
| 1742 # which really need usg5-4 instead. | 1070 # which really need usg5-4 instead. |
| 1743 machine=delta88k opsys=usg5-4-2 | 1071 machine=delta88k opsys=usg5-4-2 |
| 1744 ;; | 1072 ;; |
| 1745 m88k-motorola-sysv* | m88k-motorola-m88kbcs* ) | 1073 m88k-motorola-sysv* | m88k-motorola-m88kbcs* ) machine=delta88k opsys=usg5-3 ;; |
| 1746 machine=delta88k opsys=usg5-3 | |
| 1747 ;; | |
| 1748 | 1074 |
| 1749 ## Dual machines | 1075 ## Dual machines |
| 1750 m68*-dual-sysv* ) | 1076 m68*-dual-sysv* ) machine=dual opsys=usg5-2 ;; |
| 1751 machine=dual opsys=usg5-2 | 1077 m68*-dual-uniplus* ) machine=dual opsys=unipl5-2 ;; |
| 1752 ;; | |
| 1753 m68*-dual-uniplus* ) | |
| 1754 machine=dual opsys=unipl5-2 | |
| 1755 ;; | |
| 1756 | 1078 |
| 1757 ## Elxsi 6400 | 1079 ## Elxsi 6400 |
| 1758 elxsi-elxsi-sysv* ) | 1080 elxsi-elxsi-sysv* ) machine=elxsi opsys=usg5-2 ;; |
| 1759 machine=elxsi opsys=usg5-2 | |
| 1760 ;; | |
| 1761 | 1081 |
| 1762 ## Encore machines | 1082 ## Encore machines |
| 1763 ns16k-encore-bsd* ) | 1083 ns16k-encore-bsd* ) machine=ns16000 opsys=umax ;; |
| 1764 machine=ns16000 opsys=umax | |
| 1765 ;; | |
| 1766 | |
| 1767 ## The GEC 93 - apparently, this port isn't really finished yet. | |
| 1768 | 1084 |
| 1769 ## Gould Power Node and NP1 | 1085 ## Gould Power Node and NP1 |
| 1770 pn-gould-bsd4.2* ) | 1086 pn-gould-bsd4.2* ) machine=gould opsys=bsd4-2 ;; |
| 1771 machine=gould opsys=bsd4-2 | 1087 pn-gould-bsd4.3* ) machine=gould opsys=bsd4-3 ;; |
| 1772 ;; | 1088 np1-gould-bsd* ) machine=gould-np1 opsys=bsd4-3 ;; |
| 1773 pn-gould-bsd4.3* ) | |
| 1774 machine=gould opsys=bsd4-3 | |
| 1775 ;; | |
| 1776 np1-gould-bsd* ) | |
| 1777 machine=gould-np1 opsys=bsd4-3 | |
| 1778 ;; | |
| 1779 | 1089 |
| 1780 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000 | 1090 ## Harris Night Hawk machines running CX/UX (a 5000 looks just like a 4000 |
| 1781 ## as far as XEmacs is concerned). | 1091 ## as far as XEmacs is concerned). |
| 1782 m88k-harris-cxux* ) | 1092 m88k-harris-cxux* ) |
| 1783 # Build needs to be different on 7.0 and later releases | 1093 # Build needs to be different on 7.0 and later releases |
| 1784 case "`uname -r`" in | 1094 case "`uname -r`" in |
| 1785 [56].[0-9] ) machine=nh4000 opsys=cxux ;; | 1095 [56].[0-9] ) machine=nh4000 opsys=cxux ;; |
| 1786 [7].[0-9] ) machine=nh4000 opsys=cxux7 ;; | 1096 [7].[0-9] ) machine=nh4000 opsys=cxux7 ;; |
| 1787 esac | 1097 esac |
| 1788 NON_GNU_CPP="/lib/cpp" | 1098 NON_GNU_CPP="/lib/cpp" |
| 1789 ;; | 1099 ;; |
| 1790 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000) | 1100 ## Harris ecx or gcx running CX/UX (Series 1200, Series 3000) |
| 1791 m68k-harris-cxux* ) | 1101 m68k-harris-cxux* ) machine=nh3000 opsys=cxux ;; |
| 1792 machine=nh3000 opsys=cxux | |
| 1793 ;; | |
| 1794 ## Harris power pc NightHawk running Power UNIX (Series 6000) | 1102 ## Harris power pc NightHawk running Power UNIX (Series 6000) |
| 1795 powerpc-harris-powerunix ) | 1103 powerpc-harris-powerunix ) |
| 1796 machine=nh6000 opsys=powerunix | 1104 machine=nh6000 opsys=powerunix |
| 1797 NON_GNU_CPP="cc -Xo -E -P" | 1105 NON_GNU_CPP="cc -Xo -E -P" |
| 1798 ;; | 1106 ;; |
| 1799 | 1107 |
| 1800 ## Honeywell XPS100 | 1108 ## Honeywell XPS100 |
| 1801 xps*-honeywell-sysv* ) | 1109 xps*-honeywell-sysv* ) machine=xps100 opsys=usg5-2 ;; |
| 1802 machine=xps100 opsys=usg5-2 | |
| 1803 ;; | |
| 1804 | 1110 |
| 1805 ## HP 9000 series 200 or 300 | 1111 ## HP 9000 series 200 or 300 |
| 1806 m68*-hp-bsd* ) | 1112 m68*-hp-bsd* ) machine=hp9000s300 opsys=bsd4-3 ;; |
| 1807 machine=hp9000s300 opsys=bsd4-3 | 1113 |
| 1808 ;; | 1114 ## HP-UX on HP's |
| 1809 ## HP/UX 7, 8, 9, and 10 are supported on these machines. | 1115 *-hp-hpux* ) |
| 1810 m68*-hp-hpux* ) | 1116 NON_GNU_CC="cc -Aa" |
| 1811 NON_GNU_CPP="cc -Aa -E" | 1117 NON_GNU_CPP="cc -Aa -E" |
| 1812 NON_GNU_CC="cc -Aa" | 1118 |
| 1813 case "`uname -r`" in | 1119 ### Figure out machine and opsys orthogonally |
| 1814 ## Someone's system reports A.B8.05 for this. | 1120 case "${canonical}" in |
| 1815 ## I wonder what other possibilities there are. | 1121 m68* ) machine=hp9000s300 ;; |
| 1816 *.B8.* ) machine=hp9000s300 opsys=hpux8 ;; | 1122 hppa* ) machine=hp800 ;; |
| 1817 *.08.* ) machine=hp9000s300 opsys=hpux8 ;; | 1123 esac |
| 1818 *.09.* ) machine=hp9000s300 opsys=hpux9 ;; | 1124 |
| 1819 *.10.* ) machine=hp9000s300 opsys=hpux10 ;; | 1125 case "${canonical}" in |
| 1820 *) machine=hp9000s300 opsys=hpux ;; | 1126 *-hp-hpux7* ) opsys=hpux ;; |
| 1127 *-hp-hpux8shr* ) opsys=hpux8shr ;; | |
| 1128 *-hp-hpux8* ) opsys=hpux8 ;; | |
| 1129 *-hp-hpux9shr* ) opsys=hpux9shr ;; | |
| 1130 *-hp-hpux9* ) opsys=hpux9 ;; | |
| 1131 *-hp-hpux10shr* ) opsys=hpux10shr ;; | |
| 1132 *-hp-hpux10* ) opsys=hpux10 ;; | |
| 1133 * ) | |
| 1134 case "`uname -r`" in | |
| 1135 ## Someone's system reports A.B8.05 for this. | |
| 1136 ## I wonder what other possibilities there are. | |
| 1137 *.B8.* ) opsys=hpux8 ;; | |
| 1138 *.08.* ) opsys=hpux8 ;; | |
| 1139 *.09.* ) opsys=hpux9 ;; | |
| 1140 *.10.* ) opsys=hpux10 ;; | |
| 1141 * ) opsys=hpux ;; | |
| 1142 esac | |
| 1143 ;; | |
| 1821 esac | 1144 esac |
| 1822 ;; | 1145 ;; |
| 1823 | 1146 |
| 1824 ## HP 9000 series 700 and 800, running HP/UX | 1147 hppa-*-nextstep* ) machine=hp800 opsys=nextstep ;; |
| 1825 ## XEmacs changes here for shared. | |
| 1826 hppa*-hp-hpux7* ) | |
| 1827 machine=hp800 opsys=hpux NON_GNU_CPP="cc -Aa -E" NON_GNU_CC="cc -Aa" | |
| 1828 ;; | |
| 1829 hppa*-hp-hpux8*shr* ) | |
| 1830 machine=hp800 opsys=hpux8*shr NON_GNU_CPP="cc -Aa -E" NON_GNU_CC="cc -Aa" | |
| 1831 ;; | |
| 1832 hppa*-hp-hpux8* ) | |
| 1833 machine=hp800 opsys=hpux8 NON_GNU_CPP="cc -Aa -E" NON_GNU_CC="cc -Aa" | |
| 1834 ;; | |
| 1835 hppa*-hp-hpux9*shr* ) | |
| 1836 machine=hp800 opsys=hpux9*shr NON_GNU_CPP="cc -Aa -E" NON_GNU_CC="cc -Aa" | |
| 1837 ;; | |
| 1838 hppa*-hp-hpux9* ) | |
| 1839 machine=hp800 opsys=hpux9 NON_GNU_CPP="cc -Aa -E" NON_GNU_CC="cc -Aa" | |
| 1840 ;; | |
| 1841 hppa*-hp-hpux10*shr* ) | |
| 1842 machine=hp800 opsys=hpux10*shr NON_GNU_CPP="cc -Aa -E" NON_GNU_CC="cc -Aa" | |
| 1843 ;; | |
| 1844 hppa*-hp-hpux10* ) | |
| 1845 machine=hp800 opsys=hpux10 NON_GNU_CPP="cc -Aa -E" NON_GNU_CC="cc -Aa" | |
| 1846 ;; | |
| 1847 | |
| 1848 ## HP 9000 series 700 and 800, running HP/UX | |
| 1849 hppa*-hp-hpux* ) | |
| 1850 NON_GNU_CPP="cc -Aa -E" NON_GNU_CC="cc -Aa" | |
| 1851 ## Cross-compilation? Nah! | |
| 1852 case "`uname -r`" in | |
| 1853 ## Someone's system reports A.B8.05 for this. | |
| 1854 ## I wonder what other possibilities there are. | |
| 1855 *.B8.* ) machine=hp800 opsys=hpux8 ;; | |
| 1856 *.08.* ) machine=hp800 opsys=hpux8 ;; | |
| 1857 *.09.* ) machine=hp800 opsys=hpux9 ;; | |
| 1858 *.10.* ) machine=hp800 opsys=hpux10 ;; | |
| 1859 *) machine=hp800 opsys=hpux ;; | |
| 1860 esac | |
| 1861 ;; | |
| 1862 hppa-*-nextstep* ) | |
| 1863 machine=hp800 opsys=nextstep | |
| 1864 ;; | |
| 1865 | 1148 |
| 1866 ## Orion machines | 1149 ## Orion machines |
| 1867 orion-orion-bsd* ) | 1150 orion-orion-bsd* ) machine=orion opsys=bsd4-2 ;; |
| 1868 machine=orion opsys=bsd4-2 | 1151 clipper-orion-bsd* ) machine=orion105 opsys=bsd4-2 ;; |
| 1869 ;; | |
| 1870 clipper-orion-bsd* ) | |
| 1871 machine=orion105 opsys=bsd4-2 | |
| 1872 ;; | |
| 1873 | 1152 |
| 1874 ## IBM machines | 1153 ## IBM machines |
| 1875 i[3-9]86-ibm-aix1.1* ) | 1154 i[3-9]86-ibm-aix1.1* ) machine=ibmps2-aix opsys=usg5-2-2 ;; |
| 1876 machine=ibmps2-aix opsys=usg5-2-2 | 1155 i[3-9]86-ibm-aix1.[23]* | i[3-9]86-ibm-aix* ) machine=ibmps2-aix opsys=usg5-3 ;; |
| 1877 ;; | 1156 i370-ibm-aix*) machine=ibm370aix opsys=usg5-3 ;; |
| 1878 i[3-9]86-ibm-aix1.[23]* | i[3-9]86-ibm-aix* ) | 1157 rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1* ) machine=ibmrs6000 opsys=aix3-1 ;; |
| 1879 machine=ibmps2-aix opsys=usg5-3 | 1158 rs6000-ibm-aix3.2.5 | powerpc-ibm-aix3.2.5 ) machine=ibmrs6000 opsys=aix3-2-5 ;; |
| 1880 ;; | 1159 rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1* ) machine=ibmrs6000 opsys=aix4-1 ;; |
| 1881 i370-ibm-aix*) | 1160 rs6000-ibm-aix4* | powerpc-ibm-aix4* ) machine=ibmrs6000 opsys=aix4 ;; |
| 1882 machine=ibm370aix opsys=usg5-3 | 1161 rs6000-ibm-aix* | powerpc-ibm-aix* ) machine=ibmrs6000 opsys=aix3-2 ;; |
| 1883 ;; | 1162 romp-ibm-bsd4.3* ) machine=ibmrt opsys=bsd4-3 ;; |
| 1884 rs6000-ibm-aix3.1* | powerpc-ibm-aix3.1* ) | 1163 romp-ibm-bsd4.2* ) machine=ibmrt opsys=bsd4-2 ;; |
| 1885 machine=ibmrs6000 opsys=aix3-1 | 1164 romp-ibm-aos4.3* ) machine=ibmrt opsys=bsd4-3 ;; |
| 1886 ;; | 1165 romp-ibm-aos4.2* ) machine=ibmrt opsys=bsd4-2 ;; |
| 1887 rs6000-ibm-aix3.2.5 | powerpc-ibm-aix3.2.5 ) | 1166 romp-ibm-aos* ) machine=ibmrt opsys=bsd4-3 ;; |
| 1888 machine=ibmrs6000 opsys=aix3-2-5 | 1167 romp-ibm-bsd* ) machine=ibmrt opsys=bsd4-3 ;; |
| 1889 ;; | 1168 romp-ibm-aix* ) machine=ibmrt-aix opsys=usg5-2-2 ;; |
| 1890 rs6000-ibm-aix4.1* | powerpc-ibm-aix4.1* ) | 1169 romp-ibm-mach* ) machine=ibmrt opsys=mach-bsd4-3 ;; |
| 1891 machine=ibmrs6000 opsys=aix4-1 | |
| 1892 ;; | |
| 1893 rs6000-ibm-aix4* | powerpc-ibm-aix4* ) | |
| 1894 machine=ibmrs6000 opsys=aix4 | |
| 1895 ;; | |
| 1896 rs6000-ibm-aix* | powerpc-ibm-aix* ) | |
| 1897 machine=ibmrs6000 opsys=aix3-2 | |
| 1898 ;; | |
| 1899 romp-ibm-bsd4.3* ) | |
| 1900 machine=ibmrt opsys=bsd4-3 | |
| 1901 ;; | |
| 1902 romp-ibm-bsd4.2* ) | |
| 1903 machine=ibmrt opsys=bsd4-2 | |
| 1904 ;; | |
| 1905 romp-ibm-aos4.3* ) | |
| 1906 machine=ibmrt opsys=bsd4-3 | |
| 1907 ;; | |
| 1908 romp-ibm-aos4.2* ) | |
| 1909 machine=ibmrt opsys=bsd4-2 | |
| 1910 ;; | |
| 1911 romp-ibm-aos* ) | |
| 1912 machine=ibmrt opsys=bsd4-3 | |
| 1913 ;; | |
| 1914 romp-ibm-bsd* ) | |
| 1915 machine=ibmrt opsys=bsd4-3 | |
| 1916 ;; | |
| 1917 romp-ibm-aix* ) | |
| 1918 machine=ibmrt-aix opsys=usg5-2-2 | |
| 1919 ;; | |
| 1920 romp-ibm-mach* ) | |
| 1921 machine=ibmrt opsys=mach-bsd4-3 | |
| 1922 ;; | |
| 1923 | 1170 |
| 1924 ## Integrated Solutions `Optimum V' | 1171 ## Integrated Solutions `Optimum V' |
| 1925 m68*-isi-bsd4.2* ) | 1172 m68*-isi-bsd4.2* ) machine=isi-ov opsys=bsd4-2 ;; |
| 1926 machine=isi-ov opsys=bsd4-2 | 1173 m68*-isi-bsd4.3* ) machine=isi-ov opsys=bsd4-3 ;; |
| 1927 ;; | |
| 1928 m68*-isi-bsd4.3* ) | |
| 1929 machine=isi-ov opsys=bsd4-3 | |
| 1930 ;; | |
| 1931 | 1174 |
| 1932 ## Intel 386 machines where we do care about the manufacturer | 1175 ## Intel 386 machines where we do care about the manufacturer |
| 1933 i[3-9]86-intsys-sysv* ) | 1176 i[3-9]86-intsys-sysv* ) machine=is386 opsys=usg5-2-2 ;; |
| 1934 machine=is386 opsys=usg5-2-2 | |
| 1935 ;; | |
| 1936 | 1177 |
| 1937 ## Prime EXL | 1178 ## Prime EXL |
| 1938 i[3-9]86-prime-sysv* ) | 1179 i[3-9]86-prime-sysv* ) machine=i386 opsys=usg5-3 ;; |
| 1939 machine=i386 opsys=usg5-3 | |
| 1940 ;; | |
| 1941 | 1180 |
| 1942 ## Sequent Symmetry running Dynix | 1181 ## Sequent Symmetry running Dynix |
| 1943 i[3-9]86-sequent-bsd* ) | 1182 i[3-9]86-sequent-bsd* ) machine=symmetry opsys=bsd4-3 ;; |
| 1944 machine=symmetry opsys=bsd4-3 | |
| 1945 ;; | |
| 1946 | 1183 |
| 1947 ## Sequent Symmetry running DYNIX/ptx | 1184 ## Sequent Symmetry running DYNIX/ptx |
| 1948 ## Use the old cpp rather than the newer ANSI one. | 1185 ## Use the old cpp rather than the newer ANSI one. |
| 1949 i[3-9]86-sequent-ptx* ) | 1186 i[3-9]86-sequent-ptx* ) |
| 1950 machine=sequent-ptx opsys=ptx | 1187 machine=sequent-ptx opsys=ptx |
| 1951 NON_GNU_CPP="/lib/cpp" | 1188 NON_GNU_CPP="/lib/cpp" |
| 1952 ;; | 1189 ;; |
| 1953 | 1190 |
| 1954 ## Unspecified sysv on an ncr machine defaults to svr4.2. | 1191 ## Unspecified sysv on an ncr machine defaults to svr4.2. |
| 1955 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.) | 1192 ## (Plain usg5-4 doesn't turn on POSIX signals, which we need.) |
| 1956 i[3-9]86-ncr-sysv* ) | 1193 i[3-9]86-ncr-sysv* ) machine=ncr386 opsys=usg5-4-2 ;; |
| 1957 machine=ncr386 opsys=usg5-4-2 | |
| 1958 ;; | |
| 1959 | 1194 |
| 1960 ## Intel Paragon OSF/1 | 1195 ## Intel Paragon OSF/1 |
| 1961 i860-intel-osf1* ) | 1196 i860-intel-osf1* ) machine=paragon opsys=osf1 NON_GNU_CPP=/usr/mach/lib/cpp ;; |
| 1962 machine=paragon opsys=osf1 NON_GNU_CPP=/usr/mach/lib/cpp | |
| 1963 ;; | |
| 1964 | 1197 |
| 1965 ## Intel 860 | 1198 ## Intel 860 |
| 1966 i860-*-sysv4* ) | 1199 i860-*-sysv4* ) |
| 1967 machine=i860 opsys=usg5-4 | 1200 machine=i860 opsys=usg5-4 |
| 1968 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc. | 1201 NON_GNU_CC="/bin/cc" # Ie, not the one in /usr/ucb/cc. |
| 1969 NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion. | 1202 NON_GNU_CPP="/usr/ccs/lib/cpp" # cc -E tokenizes macro expansion. |
| 1970 ;; | 1203 ;; |
| 1971 | 1204 |
| 1972 ## Masscomp machines | 1205 ## Masscomp machines |
| 1973 m68*-masscomp-rtu* ) | 1206 m68*-masscomp-rtu* ) machine=masscomp opsys=rtu ;; |
| 1974 machine=masscomp opsys=rtu | |
| 1975 ;; | |
| 1976 | 1207 |
| 1977 ## Megatest machines | 1208 ## Megatest machines |
| 1978 m68*-megatest-bsd* ) | 1209 m68*-megatest-bsd* ) machine=mega68 opsys=bsd4-2 ;; |
| 1979 machine=mega68 opsys=bsd4-2 | |
| 1980 ;; | |
| 1981 | 1210 |
| 1982 ## Workstations sold by MIPS | 1211 ## Workstations sold by MIPS |
| 1983 ## This is not necessarily all workstations using the MIPS processor - | 1212 ## This is not necessarily all workstations using the MIPS processor - |
| 1984 ## Irises are produced by SGI, and DECstations by DEC. | 1213 ## Irises are produced by SGI, and DECstations by DEC. |
| 1985 | 1214 |
| 1992 ## should use mips.h and usg5-2-2, they being listed first. | 1221 ## should use mips.h and usg5-2-2, they being listed first. |
| 1993 mips-mips-usg* ) | 1222 mips-mips-usg* ) |
| 1994 machine=mips4 | 1223 machine=mips4 |
| 1995 ## Fall through to the general code at the bottom to decide on the OS. | 1224 ## Fall through to the general code at the bottom to decide on the OS. |
| 1996 ;; | 1225 ;; |
| 1997 mips-mips-riscos4* ) | 1226 mips-mips-riscos4 ) |
| 1998 machine=mips4 opsys=bsd4-3 | 1227 machine=mips4 |
| 1999 NON_GNU_CC="cc -systype bsd43" | 1228 NON_GNU_CC="cc -systype bsd43" |
| 2000 NON_GNU_CPP="cc -systype bsd43 -E" | 1229 NON_GNU_CPP="cc -systype bsd43 -E" |
| 1230 case "${canonical}" in | |
| 1231 mips-mips-riscos4* ) opsys=bsd4-3 ;; | |
| 1232 mips-mips-riscos5* ) opsys=riscos5 ;; | |
| 1233 esac | |
| 2001 ;; | 1234 ;; |
| 2002 mips-mips-riscos5* ) | 1235 mips-mips-bsd* ) machine=mips opsys=bsd4-3 ;; |
| 2003 machine=mips4 opsys=riscos5 | 1236 mips-mips-* ) machine=mips opsys=usg5-2-2 ;; |
| 2004 NON_GNU_CC="cc -systype bsd43" | |
| 2005 NON_GNU_CPP="cc -systype bsd43 -E" | |
| 2006 ;; | |
| 2007 mips-mips-bsd* ) | |
| 2008 machine=mips opsys=bsd4-3 | |
| 2009 ;; | |
| 2010 mips-mips-* ) | |
| 2011 machine=mips opsys=usg5-2-2 | |
| 2012 ;; | |
| 2013 | 1237 |
| 2014 ## NeXT | 1238 ## NeXT |
| 2015 m68*-next-* | m68k-*-nextstep* ) | 1239 m68*-next-* | m68k-*-nextstep* ) machine=m68k opsys=nextstep ;; |
| 2016 machine=m68k opsys=nextstep | |
| 2017 ;; | |
| 2018 | 1240 |
| 2019 ## The complete machine from National Semiconductor | 1241 ## The complete machine from National Semiconductor |
| 2020 ns32k-ns-genix* ) | 1242 ns32k-ns-genix* ) machine=ns32000 opsys=usg5-2 ;; |
| 2021 machine=ns32000 opsys=usg5-2 | |
| 2022 ;; | |
| 2023 | 1243 |
| 2024 ## NCR machines | 1244 ## NCR machines |
| 2025 m68*-ncr-sysv2* | m68*-ncr-sysvr2* ) | 1245 m68*-ncr-sysv2* | m68*-ncr-sysvr2* ) machine=tower32 opsys=usg5-2-2 ;; |
| 2026 machine=tower32 opsys=usg5-2-2 | 1246 m68*-ncr-sysv3* | m68*-ncr-sysvr3* ) machine=tower32v3 opsys=usg5-3 ;; |
| 2027 ;; | |
| 2028 m68*-ncr-sysv3* | m68*-ncr-sysvr3* ) | |
| 2029 machine=tower32v3 opsys=usg5-3 | |
| 2030 ;; | |
| 2031 | 1247 |
| 2032 ## Nixdorf Targon 31 | 1248 ## Nixdorf Targon 31 |
| 2033 m68*-nixdorf-sysv* ) | 1249 m68*-nixdorf-sysv* ) machine=targon31 opsys=usg5-2-2 ;; |
| 2034 machine=targon31 opsys=usg5-2-2 | |
| 2035 ;; | |
| 2036 | 1250 |
| 2037 ## Nu (TI or LMI) | 1251 ## Nu (TI or LMI) |
| 2038 m68*-nu-sysv* ) | 1252 m68*-nu-sysv* ) machine=nu opsys=usg5-2 ;; |
| 2039 machine=nu opsys=usg5-2 | |
| 2040 ;; | |
| 2041 | 1253 |
| 2042 ## Plexus | 1254 ## Plexus |
| 2043 m68*-plexus-sysv* ) | 1255 m68*-plexus-sysv* ) machine=plexus opsys=usg5-2 ;; |
| 2044 machine=plexus opsys=usg5-2 | |
| 2045 ;; | |
| 2046 | 1256 |
| 2047 ## Pyramid machines | 1257 ## Pyramid machines |
| 2048 ## I don't really have any idea what sort of processor the Pyramid has, | 1258 ## I don't really have any idea what sort of processor the Pyramid has, |
| 2049 ## so I'm assuming it is its own architecture. | 1259 ## so I'm assuming it is its own architecture. |
| 2050 pyramid-pyramid-bsd* ) | 1260 pyramid-pyramid-bsd* ) machine=pyramid opsys=bsd4-2 ;; |
| 2051 machine=pyramid opsys=bsd4-2 | |
| 2052 ;; | |
| 2053 | 1261 |
| 2054 ## Sequent Balance | 1262 ## Sequent Balance |
| 2055 ns32k-sequent-bsd4.2* ) | 1263 ns32k-sequent-bsd4.2* ) machine=sequent opsys=bsd4-2 ;; |
| 2056 machine=sequent opsys=bsd4-2 | 1264 ns32k-sequent-bsd4.3* ) machine=sequent opsys=bsd4-3 ;; |
| 2057 ;; | |
| 2058 ns32k-sequent-bsd4.3* ) | |
| 2059 machine=sequent opsys=bsd4-3 | |
| 2060 ;; | |
| 2061 | 1265 |
| 2062 ## Siemens Nixdorf | 1266 ## Siemens Nixdorf |
| 2063 mips-siemens-sysv* | mips-sni-sysv*) | 1267 mips-siemens-sysv* | mips-sni-sysv*) |
| 2064 machine=mips-siemens opsys=usg5-4 | 1268 machine=mips-siemens opsys=usg5-4 |
| 2065 NON_GNU_CC=/usr/ccs/bin/cc | 1269 NON_GNU_CC=/usr/ccs/bin/cc |
| 2066 NON_GNU_CPP=/usr/ccs/lib/cpp | 1270 NON_GNU_CPP=/usr/ccs/lib/cpp |
| 2067 ;; | 1271 ;; |
| 2068 | 1272 |
| 2069 ## Silicon Graphics machines | 1273 ## Silicon Graphics machines |
| 2070 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030) | 1274 ## Iris 2500 and Iris 2500 Turbo (aka the Iris 3030) |
| 2071 m68*-sgi-iris3.5* ) | 1275 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; |
| 2072 machine=irist opsys=iris3-5 | 1276 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; |
| 2073 ;; | |
| 2074 m68*-sgi-iris3.6* | m68*-sgi-iris*) | |
| 2075 machine=irist opsys=iris3-6 | |
| 2076 ;; | |
| 2077 ## Iris 4D | 1277 ## Iris 4D |
| 2078 mips-sgi-irix3.* ) | 1278 mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;; |
| 2079 machine=iris4d opsys=irix3-3 | 1279 mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;; |
| 2080 ;; | 1280 mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 NON_GNU_CPP=/lib/cpp ;; |
| 2081 mips-sgi-irix4.* ) | 1281 mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;; |
| 2082 machine=iris4d opsys=irix4-0 | 1282 mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;; |
| 2083 ;; | 1283 mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;; |
| 2084 mips-sgi-irix6* ) | 1284 mips-sgi-irix* ) machine=iris4d opsys=irix5-0 ;; |
| 2085 machine=iris4d opsys=irix6-0 | |
| 2086 NON_GNU_CPP="cc -cckr -E" | |
| 2087 ;; | |
| 2088 mips-sgi-irix5.[3-9]* ) | |
| 2089 machine=iris4d opsys=irix5-3 | |
| 2090 ;; | |
| 2091 mips-sgi-irix5.2* ) | |
| 2092 machine=iris4d opsys=irix5-2 | |
| 2093 ;; | |
| 2094 mips-sgi-irix5.1* ) | |
| 2095 machine=iris4d opsys=irix5-1 | |
| 2096 ;; | |
| 2097 mips-sgi-irix5.* | mips-sgi-irix* ) | |
| 2098 machine=iris4d opsys=irix5-0 | |
| 2099 ;; | |
| 2100 | 1285 |
| 2101 ## SONY machines | 1286 ## SONY machines |
| 2102 m68*-sony-bsd4.2* ) | 1287 m68*-sony-bsd4.2* ) machine=news opsys=bsd4-2 ;; |
| 2103 machine=news opsys=bsd4-2 | 1288 m68*-sony-bsd4.3* ) machine=news opsys=bsd4-3 ;; |
| 2104 ;; | 1289 m68*-sony-newsos3* | m68*-sony-news3*) machine=news opsys=bsd4-3 ;; |
| 2105 m68*-sony-bsd4.3* ) | 1290 mips-sony-bsd* | mips-sony-newsos4* | mips-sony-news4*) machine=news-risc opsys=bsd4-3 ;; |
| 2106 machine=news opsys=bsd4-3 | 1291 mips-sony-news* ) machine=news-risc opsys=newsos5 ;; |
| 2107 ;; | |
| 2108 m68*-sony-newsos3* | m68*-sony-news3*) | |
| 2109 machine=news opsys=bsd4-3 | |
| 2110 ;; | |
| 2111 mips-sony-bsd* | mips-sony-newsos4* | mips-sony-news4*) | |
| 2112 machine=news-risc opsys=bsd4-3 | |
| 2113 ;; | |
| 2114 mips-sony-news* ) | |
| 2115 machine=news-risc opsys=newsos5 | |
| 2116 ;; | |
| 2117 | 1292 |
| 2118 ## Stride | 1293 ## Stride |
| 2119 m68*-stride-sysv* ) | 1294 m68*-stride-sysv* ) machine=stride opsys=usg5-2 ;; |
| 2120 machine=stride opsys=usg5-2 | |
| 2121 ;; | |
| 2122 | 1295 |
| 2123 ## Suns | 1296 ## Suns |
| 2124 sparc-*-linux* ) | 1297 sparc-*-linux* ) machine=sparc opsys=linux ;; |
| 2125 machine=sparc opsys=linux | |
| 2126 ;; | |
| 2127 | 1298 |
| 2128 *-*-solaris* | *-*-sunos* | *-sun-mach* | *-sun-bsd* ) | 1299 *-*-solaris* | *-*-sunos* | *-sun-mach* | *-sun-bsd* ) |
| 2129 # Hardware type | 1300 # Hardware type |
| 2130 case "${canonical}" in | 1301 case "${canonical}" in |
| 2131 m68*-sunos1* ) machine=sun1 ;; | 1302 m68*-sunos1* ) machine=sun1 ;; |
| 2139 * ) unported=yes ;; | 1310 * ) unported=yes ;; |
| 2140 esac | 1311 esac |
| 2141 | 1312 |
| 2142 # Make `canonical' even more so. | 1313 # Make `canonical' even more so. |
| 2143 case "${canonical}" in *-sunos5*) | 1314 case "${canonical}" in *-sunos5*) |
| 2144 canonical="`echo \"${canonical}\" | sed -e s/sunos5/solaris2/`"; | 1315 canonical="`echo \"${canonical}\" | sed -e s/sunos5/solaris2/`";; |
| 2145 esac | 1316 esac |
| 2146 | 1317 |
| 2147 # On SunOS 4, use /usr/lib/cpp, sans dynodump, /bin/ranlib | 1318 # On SunOS 4, use /usr/lib/cpp, sans dynodump, /bin/ranlib |
| 2148 # On SunOS 5, use /usr/ccs/lib/cpp, need dynodump, RANLIB not needed | 1319 # On SunOS 5, use /usr/ccs/lib/cpp, need dynodump, RANLIB not needed |
| 2149 # But, SunOS 5.6 no longer needs dynodump because it has a similar | 1320 # But, SunOS 5.6 no longer needs dynodump because it has a similar |
| 2150 # function integrated. | 1321 # function integrated. |
| 2151 case "${canonical}" in | 1322 case "${canonical}" in |
| 2152 *-sunos4* ) | 1323 *-sunos4* ) |
| 2153 test -x /usr/lib/cpp && NON_GNU_CPP=/usr/lib/cpp ;; | 1324 test -f /usr/lib/cpp && NON_GNU_CPP=/usr/lib/cpp ;; |
| 2154 *-solaris2.6* ) | 1325 *-solaris2* ) |
| 2155 test -x /usr/ccs/lib/cpp && NON_GNU_CPP=/usr/ccs/lib/cpp | 1326 test -f /usr/ccs/lib/cpp && NON_GNU_CPP=/usr/ccs/lib/cpp |
| 2156 RANLIB=':' | 1327 RANLIB=':' |
| 2157 need_dynodump=no ;; | 1328 case "${canonical}" in |
| 2158 *-solaris2* ) | 1329 *-solaris2.[6-9]* ) need_dynodump=no ;; |
| 2159 test -x /usr/ccs/lib/cpp && NON_GNU_CPP=/usr/ccs/lib/cpp | 1330 *-solaris2* ) need_dynodump=yes ;; |
| 2160 RANLIB=':' | 1331 esac |
| 2161 need_dynodump=yes ;; | |
| 2162 esac | 1332 esac |
| 2163 | 1333 |
| 2164 # (NON)?_GCC_TEST_OPTIONS variables are unused. | |
| 2165 # What were they supposed to do, exactly? | |
| 2166 # case "${canonical}" in | |
| 2167 # *-sunos4* ) GCC_TEST_OPTIONS=-static NON_GCC_TEST_OPTIONS=-bstatic ;; | |
| 2168 # esac | |
| 2169 | |
| 2170 # FSF 19.31 has NON_GNU_CPP=/usr/lib/cpp for SunOS 4.x. | |
| 2171 | |
| 2172 case "${canonical}" in | 1334 case "${canonical}" in |
| 2173 ## The Sun386 didn't get past 4.0. | 1335 ## The Sun386 didn't get past 4.0. |
| 2174 i[3-9]86-*-sunos4 ) opsys=sunos4-0 ;; | 1336 i[3-9]86-*-sunos4 ) opsys=sunos4-0 ;; |
| 2175 *-sunos4*shr* ) opsys=sunos4-0-shr ;; | 1337 *-sunos4shr* ) opsys=sunos4-0shr ;; |
| 2176 *-sunos4-0*shr* ) opsys=sunos4-0-shr ;; | 1338 *-sunos4-0shr* ) opsys=sunos4-0shr ;; |
| 2177 *-sunos4-1*shr* ) opsys=sunos4-1-shr ;; | 1339 *-sunos4-1shr* ) opsys=sunos4-1shr ;; |
| 2178 *-sunos4-1-2*shr* ) opsys=sunos4-1-2-shr ;; | 1340 *-sunos4-1-2shr* ) opsys=sunos4-1-2shr ;; |
| 2179 *-sunos4-1-3*shr* ) opsys=sunos4-1-3-shr ;; | 1341 *-sunos4-1-[3-9]shr* ) opsys=sunos4-1-3shr ;; |
| 2180 *-sunos4-1-[4-9]*shr* ) opsys=sunos4-1-4-shr ;; | |
| 2181 *-sunos4.0* ) opsys=sunos4-0 ;; | 1342 *-sunos4.0* ) opsys=sunos4-0 ;; |
| 2182 *-sunos4.1.2* ) opsys=sunos4-1-2 ;; | 1343 *-sunos4.1.2* ) opsys=sunos4-1-2 ;; |
| 2183 *-sunos4.1.3* ) opsys=sunos4-1-3 ;; | 1344 *-sunos4.1.[3-9]* ) opsys=sunos4-1-3 ;; |
| 2184 *-sunos4.1.[4-9]* ) opsys=sunos4-1-4 ;; | |
| 2185 *-sunos4* | *-sunos ) opsys=sunos4-1 ;; | 1345 *-sunos4* | *-sunos ) opsys=sunos4-1 ;; |
| 2186 | 1346 |
| 2187 *-solaris2.3* ) opsys=sol2-3 ;; | 1347 *-solaris2.3* ) opsys=sol2-3 ;; |
| 2188 *-solaris2.4* ) opsys=sol2-4 ;; | 1348 *-solaris2.4* ) opsys=sol2-4 ;; |
| 2189 *-solaris2.5* ) opsys=sol2-5 ;; | 1349 *-solaris2.5* ) opsys=sol2-5 ;; |
| 2190 *-solaris2.[6-9]* ) opsys=sol2-6 ;; | 1350 *-solaris2.[6-9]* ) opsys=sol2-6 ;; |
| 2191 *-solaris* ) opsys=sol2 ;; | 1351 *-solaris* ) opsys=sol2 ;; |
| 2192 *-mach* ) opsys=mach-bsd4-3 ;; | 1352 *-mach* ) opsys=mach-bsd4-3 ;; |
| 2193 * ) opsys=bsd4-2 ;; | 1353 * ) opsys=bsd4-2 ;; |
| 2194 esac | 1354 esac |
| 2195 ## Watch out for a compiler that we know will not work. | 1355 |
| 1356 ## Watch out for a compiler that is guaranteed not to work. | |
| 2196 case "${canonical}" in | 1357 case "${canonical}" in |
| 2197 *-solaris* | *-sunos5* ) | 1358 *-solaris* ) test "$CC" = "/usr/ucb/cc" && unset CC ;; |
| 2198 if [ "x$CC" = x/usr/ucb/cc ]; then | |
| 2199 ## /usr/ucb/cc doesn't work; | |
| 2200 ## we should find some other compiler that does work. | |
| 2201 unset CC | |
| 2202 fi | |
| 2203 ;; | |
| 2204 *) ;; | |
| 2205 esac | 1359 esac |
| 2206 ;; | 1360 ;; |
| 2207 sparc-*-nextstep* ) | 1361 |
| 2208 machine=sparc opsys=nextstep | 1362 sparc-*-nextstep* ) machine=sparc opsys=nextstep ;; |
| 2209 ;; | |
| 2210 | 1363 |
| 2211 ## Tadpole 68k | 1364 ## Tadpole 68k |
| 2212 m68*-tadpole-sysv* ) | 1365 m68*-tadpole-sysv* ) machine=tad68k opsys=usg5-3 ;; |
| 2213 machine=tad68k opsys=usg5-3 | |
| 2214 ;; | |
| 2215 | 1366 |
| 2216 ## Tahoe machines | 1367 ## Tahoe machines |
| 2217 tahoe-tahoe-bsd4.2* ) | 1368 tahoe-tahoe-bsd4.2* ) machine=tahoe opsys=bsd4-2 ;; |
| 2218 machine=tahoe opsys=bsd4-2 | 1369 tahoe-tahoe-bsd4.3* ) machine=tahoe opsys=bsd4-3 ;; |
| 2219 ;; | |
| 2220 tahoe-tahoe-bsd4.3* ) | |
| 2221 machine=tahoe opsys=bsd4-3 | |
| 2222 ;; | |
| 2223 | 1370 |
| 2224 ## Tandem Integrity S2 | 1371 ## Tandem Integrity S2 |
| 2225 mips-tandem-sysv* ) | 1372 mips-tandem-sysv* ) machine=tandem-s2 opsys=usg5-3 ;; |
| 2226 machine=tandem-s2 opsys=usg5-3 | |
| 2227 ;; | |
| 2228 | 1373 |
| 2229 ## Tektronix XD88 | 1374 ## Tektronix XD88 |
| 2230 m88k-tektronix-sysv3* ) | 1375 m88k-tektronix-sysv3* ) machine=tekxd88 opsys=usg5-3 ;; |
| 2231 machine=tekxd88 opsys=usg5-3 | |
| 2232 ;; | |
| 2233 | 1376 |
| 2234 ## Tektronix 16000 box (6130?) | 1377 ## Tektronix 16000 box (6130?) |
| 2235 ns16k-tektronix-bsd* ) | 1378 ns16k-tektronix-bsd* ) machine=ns16000 opsys=bsd4-2 ;; |
| 2236 machine=ns16000 opsys=bsd4-2 | |
| 2237 ;; | |
| 2238 ## Tektronix 4300 | 1379 ## Tektronix 4300 |
| 2239 ## src/m/tek4300.h hints that this is a m68k machine. | 1380 ## src/m/tek4300.h hints that this is a m68k machine. |
| 2240 m68*-tektronix-bsd* ) | 1381 m68*-tektronix-bsd* ) machine=tek4300 opsys=bsd4-3 ;; |
| 2241 machine=tek4300 opsys=bsd4-3 | |
| 2242 ;; | |
| 2243 | 1382 |
| 2244 ## Titan P2 or P3 | 1383 ## Titan P2 or P3 |
| 2245 ## We seem to have lost the machine-description file titan.h! | 1384 ## We seem to have lost the machine-description file titan.h! |
| 2246 titan-titan-sysv* ) | 1385 titan-titan-sysv* ) machine=titan opsys=usg5-3 ;; |
| 2247 machine=titan opsys=usg5-3 | |
| 2248 ;; | |
| 2249 | 1386 |
| 2250 ## Ustation E30 (SS5E) | 1387 ## Ustation E30 (SS5E) |
| 2251 m68*-unisys-uniplus* ) | 1388 m68*-unisys-uniplus* ) machine=ustation opsystem=unipl5-2 ;; |
| 2252 machine=ustation opsystem=unipl5-2 | |
| 2253 ;; | |
| 2254 | 1389 |
| 2255 ## Vaxen. | 1390 ## Vaxen. |
| 2256 vax-dec-* ) | 1391 vax-dec-* ) |
| 2257 machine=vax | 1392 machine=vax |
| 2258 case "${canonical}" in | 1393 case "${canonical}" in |
| 2266 * ) unported=yes | 1401 * ) unported=yes |
| 2267 esac | 1402 esac |
| 2268 ;; | 1403 ;; |
| 2269 | 1404 |
| 2270 ## Whitechapel MG1 | 1405 ## Whitechapel MG1 |
| 2271 ns16k-whitechapel-* ) | 1406 ## We don't know what sort of OS runs on these; we'll let the |
| 2272 machine=mg1 | 1407 ## operating system guessing code below try. |
| 2273 ## We don't know what sort of OS runs on these; we'll let the | 1408 ns16k-whitechapel-* ) machine=mg1 ;; |
| 2274 ## operating system guessing code below try. | |
| 2275 ;; | |
| 2276 | 1409 |
| 2277 ## Wicat | 1410 ## Wicat |
| 2278 m68*-wicat-sysv* ) | 1411 m68*-wicat-sysv* ) machine=wicat opsys=usg5-2 ;; |
| 2279 machine=wicat opsys=usg5-2 | |
| 2280 ;; | |
| 2281 | 1412 |
| 2282 ## Intel 386 machines where we don't care about the manufacturer | 1413 ## Intel 386 machines where we don't care about the manufacturer |
| 2283 i[3-9]86-*-* ) | 1414 i[3-9]86-*-* ) |
| 2284 machine=intel386 | 1415 machine=intel386 |
| 2285 CPPFLAGS_MAKEFILEGEN="${CPPFLAGS_MAKEFILEGEN} -Ui386" | |
| 2286 case "${canonical}" in | 1416 case "${canonical}" in |
| 2287 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; | 1417 *-isc1.* | *-isc2.[01]* ) opsys=386-ix ;; |
| 2288 *-isc2.2* ) opsys=isc2-2 ;; | 1418 *-isc2.2* ) opsys=isc2-2 ;; |
| 2289 *-isc4.0* ) opsys=isc4-0 ;; | 1419 *-isc4.0* ) opsys=isc4-0 ;; |
| 2290 *-isc4.* ) opsys=isc4-1 | 1420 *-isc4.* ) opsys=isc4-1 |
| 2297 *-mach* ) opsys=mach-bsd4-3 ;; | 1427 *-mach* ) opsys=mach-bsd4-3 ;; |
| 2298 *-xenix* ) opsys=xenix ;; | 1428 *-xenix* ) opsys=xenix ;; |
| 2299 *-linux* ) opsys=linux ;; | 1429 *-linux* ) opsys=linux ;; |
| 2300 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;; | 1430 *-sco3.2v4* ) opsys=sco4 ; NON_GNU_CPP=/lib/cpp ;; |
| 2301 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; | 1431 *-bsd386* | *-bsdi1* ) opsys=bsd386 ;; |
| 2302 *-bsdi3* ) opsys=bsdos3 ;; | |
| 2303 *-bsdi2.1* ) opsys=bsdos2-1 ;; | 1432 *-bsdi2.1* ) opsys=bsdos2-1 ;; |
| 2304 *-bsdi2* ) opsys=bsdos2 ;; | 1433 *-bsdi2* ) opsys=bsdos2 ;; |
| 2305 *-sco3.2v5* ) opsys=sco5 ; | 1434 *-sco3.2v5* ) opsys=sco5 ; |
| 2306 ## This is a pain. Like the current USL cc, SCO's cc -E | 1435 ## This is a pain. Like the current USL cc, SCO's cc -E |
| 2307 ## tokenizes as it preprocesses, making configure very | 1436 ## tokenizes as it preprocesses, making configure very |
| 2308 ## unhappy. Unfortunately, /lib/cpp doesn't understand | 1437 ## unhappy. Unfortunately, /lib/cpp doesn't understand |
| 2309 ## flags like "-b elf", so we have to cheat in order to | 1438 ## flags like "-b elf", so we have to cheat in order to |
| 2310 ## pick up the right defines for UNEXEC from the s-file. | 1439 ## pick up the right defines for UNEXEC from the s-file. |
| 2311 ## 01/05/95 robertl@dgii.com | 1440 ## 01/05/95 robertl@dgii.com |
| 2312 if [ "${dynamic}" = "yes" ]; then | 1441 if test "${dynamic}" = "yes" ; then |
| 2313 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE -D_SCO_ELF" ; | 1442 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE -D_SCO_ELF" ; |
| 2314 else | 1443 else |
| 2315 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE" ; | 1444 NON_GNU_CPP="/lib/cpp -D_XOPEN_SOURCE" ; |
| 2316 fi ;; | 1445 fi ;; |
| 2317 *-386bsd* ) opsys=386bsd ;; | 1446 *-386bsd* ) opsys=386bsd ;; |
| 2318 *-freebsd* ) opsys=freebsd ;; | 1447 *-freebsd* ) opsys=freebsd ;; |
| 2319 *-nextstep* ) opsys=nextstep ;; | 1448 *-nextstep* ) opsys=nextstep ;; |
| 2320 ## Otherwise, we'll fall through to the generic opsys code at the bottom. | 1449 ## Otherwise, we'll fall through to the generic opsys code at the bottom. |
| 2321 esac | 1450 esac |
| 2322 ;; | 1451 ;; |
| 2323 | 1452 |
| 2324 ## Linux/68k | 1453 ## Linux/68k |
| 2325 m68k-*-linux* ) | 1454 m68k-*-linux* ) machine=m68k opsys=linux ;; |
| 2326 machine=m68k opsys=linux | 1455 |
| 2327 ;; | 1456 * ) unported=yes ;; |
| 2328 | |
| 2329 * ) | |
| 2330 unported=yes | |
| 2331 ;; | |
| 2332 esac | 1457 esac |
| 2333 | 1458 |
| 2334 ### If the code above didn't choose an operating system, just choose | 1459 ### If the code above didn't choose an operating system, just choose |
| 2335 ### an operating system based on the configuration name. You really | 1460 ### an operating system based on the configuration name. You really |
| 2336 ### only want to use this when you have no idea what the right | 1461 ### only want to use this when you have no idea what the right |
| 2337 ### operating system is; if you know what operating systems a machine | 1462 ### operating system is; if you know what operating systems a machine |
| 2338 ### runs, it's cleaner to make it explicit in the case statement | 1463 ### runs, it's cleaner to make it explicit in the case statement |
| 2339 ### above. | 1464 ### above. |
| 2340 if [ x"${opsys}" = x ]; then | 1465 if test -z "${opsys}" ; then |
| 2341 case "${canonical}" in | 1466 case "${canonical}" in |
| 2342 *-gnu* ) opsys=gnu ;; | 1467 *-gnu* ) opsys=gnu ;; |
| 2343 *-bsd4.[01] ) opsys=bsd4-1 ;; | 1468 *-bsd4.[01] ) opsys=bsd4-1 ;; |
| 2344 *-bsd4.2 ) opsys=bsd4-2 ;; | 1469 *-bsd4.2 ) opsys=bsd4-2 ;; |
| 2345 *-bsd4.3 ) opsys=bsd4-3 ;; | 1470 *-bsd4.3 ) opsys=bsd4-3 ;; |
| 2346 *-sysv0 | *-sysvr0 ) opsys=usg5-0 ;; | 1471 *-sysv0 | *-sysvr0 ) opsys=usg5-0 ;; |
| 2347 *-sysv2 | *-sysvr2 ) opsys=usg5-2 ;; | 1472 *-sysv2 | *-sysvr2 ) opsys=usg5-2 ;; |
| 2348 *-sysv2.2 | *-sysvr2.2 ) opsys=usg5-2-2 ;; | 1473 *-sysv2.2 | *-sysvr2.2 ) opsys=usg5-2-2 ;; |
| 2349 *-sysv3* | *-sysvr3* ) opsys=usg5-3 ;; | 1474 *-sysv3* | *-sysvr3* ) opsys=usg5-3 ;; |
| 2350 *-sysv4.1* | *-sysvr4.1* ) | 1475 *-sysv4.1* | *-sysvr4.1* ) |
| 2351 NON_GNU_CPP=/usr/lib/cpp | 1476 NON_GNU_CPP=/usr/lib/cpp |
| 2352 opsys=usg5-4 ;; | 1477 opsys=usg5-4 ;; |
| 2353 *-sysv4.[2-9]* | *-sysvr4.[2-9]* ) | 1478 *-sysv4.[2-9]* | *-sysvr4.[2-9]* ) |
| 2354 if [ x$NON_GNU_CPP = x ]; then | 1479 if test -z "$NON_GNU_CPP" ; then |
| 2355 if [ -f /usr/ccs/lib/cpp ]; then | 1480 if test -f /usr/ccs/lib/cpp |
| 2356 NON_GNU_CPP=/usr/ccs/lib/cpp | 1481 then NON_GNU_CPP=/usr/ccs/lib/cpp |
| 2357 else | 1482 else NON_GNU_CPP=/lib/cpp |
| 2358 NON_GNU_CPP=/lib/cpp | |
| 2359 fi | 1483 fi |
| 2360 fi | 1484 fi |
| 2361 opsys=usg5-4-2 ;; | 1485 opsys=usg5-4-2 ;; |
| 2362 *-sysv4* | *-sysvr4* ) opsys=usg5-4 ;; | 1486 *-sysv4* | *-sysvr4* ) opsys=usg5-4 ;; |
| 2363 * ) | 1487 * ) unported=yes ;; |
| 2364 unported=yes | |
| 2365 ;; | |
| 2366 esac | 1488 esac |
| 2367 fi | 1489 fi |
| 2368 | 1490 |
| 2369 if test "x$RANLIB" = x; then | 1491 test -z "$RANLIB" && RANLIB=ranlib |
| 2370 RANLIB=ranlib | |
| 2371 fi | |
| 2372 | 1492 |
| 2373 if test ${unported} = yes; then | 1493 if test ${unported} = yes; then |
| 2374 (echo "${progname}: XEmacs hasn't been ported to \`${canonical}' systems." | 1494 (echo "${progname}: XEmacs hasn't been ported to \`${canonical}' systems." |
| 2375 echo "${progname}: Check \`etc/MACHINES' for recognized configuration names." | 1495 echo "${progname}: Check \`etc/MACHINES' for recognized configuration names." |
| 2376 ) >&2 | 1496 ) >&2 |
| 2377 exit 1 | 1497 exit 1 |
| 2378 fi | 1498 fi |
| 2379 | 1499 |
| 2380 if [ "${dynamic}" = "yes" ]; then | 1500 if test "${dynamic}" = "yes" ; then |
| 2381 case "${opsys}" in | 1501 case "${opsys}" in |
| 2382 hpux8 ) opsys=hpux8-shr ;; | 1502 hpux8 | hpux9 | hpux10 | sunos4-0 | sunos4-1 | sunos4-1-2 | sunos4-1-3 | sco5 ) |
| 2383 hpux9 ) opsys=hpux9-shr ;; | 1503 opsys="${opsys}-shr" ;; |
| 2384 hpux10 ) opsys=hpux10-shr ;; | |
| 2385 sunos4-0 ) opsys=sunos4-0-shr ;; | |
| 2386 sunos4-1 ) opsys=sunos4-1-shr ;; | |
| 2387 sunos4-1-2 ) opsys=sunos4-1-2-shr ;; | |
| 2388 sunos4-1-3 ) opsys=sunos4-1-3-shr ;; | |
| 2389 sunos4-1-4 ) opsys=sunos4-1-4-shr ;; | |
| 2390 sco5 ) opsys=sco5-shr ;; | |
| 2391 esac | 1504 esac |
| 2392 elif [ "${dynamic}" = "no" ]; then | 1505 elif test "${dynamic}" = "no" ; then |
| 2393 case "${opsys}" in | 1506 case "${opsys}" in |
| 2394 sol2 ) opsys=sol2-static ;; | 1507 sol2 | sol2-3 | sol2-4 | decosf1-3 | decosf3-1 | decosf3-2 | linux ) |
| 2395 sol2-3 ) opsys=sol2-3-static ;; | 1508 opsys="${opsys}-static" ;; |
| 2396 sol2-4 ) opsys=sol2-4-static ;; | |
| 2397 decosf1-3 ) opsys=decosf1-3-static ;; | |
| 2398 decosf3-1 ) opsys=decosf3-1-static ;; | |
| 2399 decosf3-2 ) opsys=decosf3-2-static ;; | |
| 2400 decosf4-0 ) opsys=decosf4-0-static ;; | |
| 2401 linux ) opsys=linux-static ;; | |
| 2402 esac | 1509 esac |
| 2403 fi | 1510 fi |
| 2404 | 1511 |
| 2405 dynodump_arch='' | 1512 dynodump_arch='' |
| 2406 if [ "${need_dynodump}" = "yes" ]; then | 1513 if test "${need_dynodump}" = "yes" ; then |
| 2407 case "${canonical}" in | 1514 case "${canonical}" in |
| 2408 sparc* ) dynodump_arch=sparc ;; | 1515 sparc* ) dynodump_arch=sparc ;; |
| 2409 powerpc* ) dynodump_arch=ppc ;; | 1516 powerpc* ) dynodump_arch=ppc ;; |
| 2410 i[3-9]86* ) dynodump_arch=i386 ;; | 1517 i[3-9]86* ) dynodump_arch=i386 ;; |
| 2411 esac | 1518 esac |
| 2418 ############################################################################ | 1525 ############################################################################ |
| 2419 # # | 1526 # # |
| 2420 # Determine the compiler, set up for feature testing # | 1527 # Determine the compiler, set up for feature testing # |
| 2421 # # | 1528 # # |
| 2422 ############################################################################ | 1529 ############################################################################ |
| 1530 | |
| 1531 | |
| 1532 | |
| 2423 | 1533 |
| 2424 | 1534 |
| 2425 ac_ext=c | 1535 ac_ext=c |
| 2426 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1536 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 2427 ac_cpp='${CPP}' | 1537 ac_cpp='${CPP}' |
| 2484 ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1' | 1594 ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS >/dev/null 2>&1' |
| 2485 | 1595 |
| 2486 | 1596 |
| 2487 | 1597 |
| 2488 | 1598 |
| 2489 | 1599 if test "${extra_verbose}" = "yes" ; then |
| 2490 | |
| 2491 if [ "${extra_verbose}" = "yes" ] ; then | |
| 2492 # This is identical to the version that A\C_LANG_C generates except that | 1600 # This is identical to the version that A\C_LANG_C generates except that |
| 2493 # it omits the redirection of all output to /dev/null. | 1601 # it omits the redirection of all output to /dev/null. |
| 2494 ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS' | 1602 ac_compile='${CC-cc} $CFLAGS $LDFLAGS conftest.${ac_ext} -o conftest $LIBS' |
| 2495 fi | 1603 fi |
| 2496 | 1604 |
| 2497 #### Choose a compiler. | 1605 #### Choose a compiler. |
| 2498 if [ "x$CC" = x ] ; then | 1606 if test "x$CC" = x ; then |
| 2499 cc_specified=1 | 1607 cc_specified=1 |
| 2500 fi | 1608 fi |
| 2501 | 1609 |
| 2502 # Save the value of CFLAGS that the user specified. | 1610 # Save the value of CFLAGS that the user specified. |
| 2503 SPECIFIED_CFLAGS="$CFLAGS" | 1611 SPECIFIED_CFLAGS="$CFLAGS" |
| 2504 | 1612 |
| 2505 if [ "${with_gcc}" = "yes" ] ; then | 1613 if test "${with_gcc}" = "yes" ; then |
| 2506 CC="${compiler-gcc}" | 1614 CC="${compiler-gcc}" |
| 2507 GCC=1 | 1615 GCC=1 |
| 2508 elif [ "${with_lcc}" = "yes" ] ; then | 1616 elif test "${with_lcc}" = "yes" ; then |
| 2509 CC="${compiler-lcc}" | 1617 CC="${compiler-lcc}" |
| 2510 dash_r_space=' ' # this bullshit is here because lcc for solaris | 1618 dash_r_space=' ' # this bullshit is here because lcc for solaris |
| 2511 # will not accept -Rargument. | 1619 # will not accept -Rargument. |
| 2512 # It needs -R argument instead. Yuck yuck yuck. | 1620 # It needs -R argument instead. Yuck yuck yuck. |
| 2513 if [ "x$NON_GNU_CPP" = x ] ; then | 1621 test -z "$NON_GNU_CPP" && NON_GNU_CPP="yes" # this is handled specially below... |
| 2514 NON_GNU_CPP="yes" # this is handled specially below... | 1622 elif test "${compiler}" != "" ; then CC="${compiler}" |
| 2515 fi | 1623 elif test "${with_gcc}" = "no" ; then CC="cc" |
| 2516 elif [ "${compiler}" != "" ] ; then | 1624 elif test "${with_lcc}" = "no" ; then |
| 2517 CC="${compiler}" | 1625 test -z "$CC" && CC=cc |
| 2518 elif [ "${with_gcc}" = "no" ] ; then | |
| 2519 CC="cc" | |
| 2520 elif [ "${with_lcc}" = "no" ] ; then | |
| 2521 if [ "x$CC" = x ] | |
| 2522 then CC=cc; | |
| 2523 else true; | |
| 2524 fi | |
| 2525 else | 1626 else |
| 2526 case "${canonical}" in | 1627 case "${canonical}" in |
| 2527 * ) | 1628 * ) |
| 2528 if test -z "$CC"; then | 1629 if test -z "$CC"; then |
| 2529 # Extract the first word of `gcc', so it can be a program name with args. | 1630 # Extract the first word of `gcc', so it can be a program name with args. |
| 2530 set ac_dummy gcc; ac_word=$2 | 1631 set ac_dummy gcc; ac_word=$2 |
| 2531 test -n "$silent" || echo "checking for $ac_word" | 1632 test -n "$silent" || echo "checking for $ac_word" |
| 2532 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" | 1633 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
| 2533 for ac_dir in $PATH; do | 1634 for ac_dir in $PATH; do |
| 2551 ${CC-cc} -E conftest.c > conftest.out 2>&1 | 1652 ${CC-cc} -E conftest.c > conftest.out 2>&1 |
| 2552 if egrep yes conftest.out >/dev/null 2>&1; then | 1653 if egrep yes conftest.out >/dev/null 2>&1; then |
| 2553 GCC=1 # For later tests. | 1654 GCC=1 # For later tests. |
| 2554 fi | 1655 fi |
| 2555 rm -f conftest* | 1656 rm -f conftest* |
| 2556 | 1657 |
| 2557 if [ "${CC}" = "gcc" ] ; then | 1658 if test "${CC}" = "gcc" ; then |
| 2558 with_gcc="yes" | 1659 with_gcc="yes" |
| 2559 GCC=1 | 1660 GCC=1 |
| 2560 fi | 1661 fi |
| 2561 ;; | 1662 ;; |
| 2562 esac | 1663 esac |
| 2563 fi | 1664 fi |
| 2564 | 1665 |
| 2565 # On Suns, sometimes $CPP names a directory. | 1666 |
| 2566 if [ -n "$CPP" ] && [ -d "$CPP" ] ; then | |
| 2567 CPP= | |
| 2568 fi | |
| 2569 | 1667 |
| 2570 #### Some systems specify a CPP to use unless we are using GCC. | 1668 #### Some systems specify a CPP to use unless we are using GCC. |
| 2571 #### Now that we know whether we are using GCC, we can decide whether | 1669 #### Now that we know whether we are using GCC, we can decide whether |
| 2572 #### to use that one. | 1670 #### to use that one. |
| 2573 | 1671 if test "x$NON_GNU_CPP" = x -o x$GCC = x1 |
| 2574 if [ "x$GCC" = x1 ] || [ "x$NON_GNU_CPP" = x ] ; then | 1672 then true |
| 2575 true | 1673 else |
| 2576 else | 1674 if test "x$CPP" = x ; then |
| 2577 if [ "x$CPP" = x ]; then | 1675 if test "${with_lcc}" = "yes" -a "${NON_GNU_CPP}" = "yes"; then |
| 2578 if [ "${with_lcc}" = "yes" ] && [ "${NON_GNU_CPP}" = "yes" ] ; then | |
| 2579 CPP='gcc -E -traditional' # cross fingers and hope it's there.... | 1676 CPP='gcc -E -traditional' # cross fingers and hope it's there.... |
| 2580 else | 1677 else |
| 2581 CPP="$NON_GNU_CPP" | 1678 CPP="$NON_GNU_CPP" |
| 2582 fi | 1679 fi |
| 2583 fi | 1680 fi |
| 2584 fi | 1681 fi |
| 2585 | 1682 |
| 2586 #### Some systems specify a CC to use unless we are using GCC. | 1683 #### Some systems specify a CC to use unless we are using GCC. |
| 2587 #### Now that we know whether we are using GCC, we can decide whether | 1684 #### Now that we know whether we are using GCC, we can decide whether |
| 2588 #### to use that one. | 1685 #### to use that one. |
| 2589 if [ "x$NON_GNU_CC" = x ] || [ x$GCC = x1 ] || [ x$cc_specified = x1 ] | 1686 if test "x$NON_GNU_CC" = x -o x$GCC = x1 -o x$cc_specified = x1 |
| 2590 then true | 1687 then true |
| 2591 else | 1688 else |
| 2592 CC="$NON_GNU_CC" | 1689 CC="$NON_GNU_CC" |
| 2593 fi | 1690 fi |
| 2594 | 1691 |
| 2595 ## Huh? I commented out the following because it always enabled | 1692 ## Huh? I commented out the following because it always enabled |
| 2596 ## the "test" options, whatever the hell those are supposed to be | 1693 ## the "test" options, whatever the hell those are supposed to be |
| 2597 ## for, and the result is that SunOS builds were always static. | 1694 ## for, and the result is that SunOS builds were always static. |
| 2598 | 1695 |
| 2599 #if [ x$GCC = x1 ] && [ "x$GCC_TEST_OPTIONS" != x ] | 1696 # test x$GCC = x1 -a "x$GCC_TEST_OPTIONS" != x && CC="$CC $GCC_TEST_OPTIONS" |
| 2600 #then | 1697 # test x$GCC = x -a "x$NON_GCC_TEST_OPTIONS" != x && CC="$CC $NON_GCC_TEST_OPTIONS" |
| 2601 # CC="$CC $GCC_TEST_OPTIONS" | |
| 2602 #fi | |
| 2603 # | |
| 2604 #if [ x$GCC = x ] && [ "x$NON_GCC_TEST_OPTIONS" != x ] | |
| 2605 #then | |
| 2606 # CC="$CC $NON_GCC_TEST_OPTIONS" | |
| 2607 #fi | |
| 2608 | 1698 |
| 2609 ############################################################################ | 1699 ############################################################################ |
| 2610 # # | 1700 # # |
| 2611 # Do some misc autoconf-special tests # | 1701 # Do some misc autoconf-special tests # |
| 2612 # # | 1702 # # |
| 2625 cat > conftest.${ac_ext} <<EOF | 1715 cat > conftest.${ac_ext} <<EOF |
| 2626 #include "confdefs.h" | 1716 #include "confdefs.h" |
| 2627 #include <stdio.h> | 1717 #include <stdio.h> |
| 2628 Syntax Error | 1718 Syntax Error |
| 2629 EOF | 1719 EOF |
| 2630 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 2631 # the parens. | |
| 2632 # The exec was added by Mly to make this work under BSDI | |
| 2633 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 1720 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 2634 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 2635 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 1721 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 2636 echo "$ac_err" | 1722 echo "$ac_err" |
| 2637 fi | 1723 fi |
| 2638 if test -z "$ac_err"; then | 1724 if test -z "$ac_err"; then |
| 2639 : | 1725 : |
| 2643 cat > conftest.${ac_ext} <<EOF | 1729 cat > conftest.${ac_ext} <<EOF |
| 2644 #include "confdefs.h" | 1730 #include "confdefs.h" |
| 2645 #include <stdio.h> | 1731 #include <stdio.h> |
| 2646 Syntax Error | 1732 Syntax Error |
| 2647 EOF | 1733 EOF |
| 2648 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 2649 # the parens. | |
| 2650 # The exec was added by Mly to make this work under BSDI | |
| 2651 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 1734 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 2652 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 2653 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 1735 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 2654 echo "$ac_err" | 1736 echo "$ac_err" |
| 2655 fi | 1737 fi |
| 2656 if test -z "$ac_err"; then | 1738 if test -z "$ac_err"; then |
| 2657 : | 1739 : |
| 2666 test -n "$verbose" && echo " setting CPP to $CPP" | 1748 test -n "$verbose" && echo " setting CPP to $CPP" |
| 2667 | 1749 |
| 2668 | 1750 |
| 2669 case "${canonical}" in | 1751 case "${canonical}" in |
| 2670 *-sun-sunos* ) | 1752 *-sun-sunos* ) |
| 2671 if [ "${CPP}" = "acc -E" ] ; then | 1753 if test "${CPP}" = "acc -E" ; then |
| 2672 CPP="acc -E -Xs" | 1754 CPP="acc -E -Xs" |
| 2673 fi | 1755 fi |
| 2674 ;; | 1756 ;; |
| 2675 esac | 1757 esac |
| 2676 | 1758 |
| 2806 fi | 1888 fi |
| 2807 rm -f conftest* | 1889 rm -f conftest* |
| 2808 | 1890 |
| 2809 | 1891 |
| 2810 | 1892 |
| 2811 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h utime.h sys/wait.h libintl.h locale.h libgen.h linux/version.h | 1893 for ac_hdr in mach/mach.h sys/stropts.h sys/timeb.h sys/time.h unistd.h utime.h sys/wait.h libintl.h locale.h libgen.h linux/version.h kstat.h sys/pstat.h |
| 2812 do | 1894 do |
| 2813 ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'` | 1895 ac_tr_hdr=HAVE_`echo $ac_hdr | tr '[a-z]./' '[A-Z]__'` |
| 2814 test -n "$silent" || echo "checking for ${ac_hdr}" | 1896 test -n "$silent" || echo "checking for ${ac_hdr}" |
| 2815 cat > conftest.${ac_ext} <<EOF | 1897 cat > conftest.${ac_ext} <<EOF |
| 2816 #include "confdefs.h" | 1898 #include "confdefs.h" |
| 2817 #include <${ac_hdr}> | 1899 #include <${ac_hdr}> |
| 2818 EOF | 1900 EOF |
| 2819 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 2820 # the parens. | |
| 2821 # The exec was added by Mly to make this work under BSDI | |
| 2822 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 1901 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 2823 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 2824 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 1902 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 2825 echo "$ac_err" | 1903 echo "$ac_err" |
| 2826 fi | 1904 fi |
| 2827 if test -z "$ac_err"; then | 1905 if test -z "$ac_err"; then |
| 2828 rm -rf conftest* | 1906 rm -rf conftest* |
| 2849 #include <stdlib.h> | 1927 #include <stdlib.h> |
| 2850 #include <stdarg.h> | 1928 #include <stdarg.h> |
| 2851 #include <string.h> | 1929 #include <string.h> |
| 2852 #include <float.h> | 1930 #include <float.h> |
| 2853 EOF | 1931 EOF |
| 2854 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 2855 # the parens. | |
| 2856 # The exec was added by Mly to make this work under BSDI | |
| 2857 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 1932 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 2858 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 2859 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 1933 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 2860 echo "$ac_err" | 1934 echo "$ac_err" |
| 2861 fi | 1935 fi |
| 2862 if test -z "$ac_err"; then | 1936 if test -z "$ac_err"; then |
| 2863 rm -rf conftest* | 1937 rm -rf conftest* |
| 3357 | 2431 |
| 3358 #### Choose a window system. | 2432 #### Choose a window system. |
| 3359 echo "checking for specified window system" | 2433 echo "checking for specified window system" |
| 3360 | 2434 |
| 3361 window_system='' | 2435 window_system='' |
| 3362 case "${with_x11}" in | 2436 case "${with_x11}" in |
| 3363 yes ) | 2437 yes ) window_system=${window_system}x11 ;; |
| 3364 window_system=${window_system}x11 | 2438 no ) window_system=${window_system}none ;; |
| 3365 ;; | |
| 3366 no ) | |
| 3367 window_system=${window_system}none | |
| 3368 esac | 2439 esac |
| 3369 | 2440 |
| 3370 case "${window_system}" in | 2441 case "${window_system}" in |
| 3371 "none" | "x11" ) ;; | 2442 "none" | "x11" ) ;; |
| 3372 "" ) | 2443 "" ) |
| 3373 # --x-includes or --x-libraries implies --with-x11. | 2444 # --x-includes or --x-libraries implies --with-x11. |
| 3374 if [ -n "${x_includes}" ] || [ -n "${x_libraries}" ]; then | 2445 if test -n "${x_includes}" -o -n "${x_libraries}"; then |
| 3375 window_system=x11 | 2446 window_system=x11 |
| 3376 else | 2447 else |
| 3377 echo " No window system specified. Looking for X11." | 2448 echo " No window system specified. Looking for X11." |
| 3378 # If the user didn't specify a window system and we found X11, use it. | 2449 # If the user didn't specify a window system and we found X11, use it. |
| 3379 if [ -r /usr/lib/libX11.a \ | 2450 if test -r /usr/lib/libX11.a \ |
| 3380 -o -d /usr/include/X11 \ | 2451 -o -d /usr/include/X11 \ |
| 3381 -o -d /usr/X386/include \ | 2452 -o -d /usr/X386/include \ |
| 3382 -o -d /usr/X11R6/include \ | 2453 -o -d /usr/X11R6/include \ |
| 3383 -o -d ${x_includes}/X11 ]; then | 2454 -o -d ${x_includes}/X11 ; then |
| 3384 window_system=x11 | 2455 window_system=x11 |
| 3385 fi | 2456 fi |
| 3386 fi | 2457 fi |
| 3387 ;; | 2458 ;; |
| 3388 * ) | 2459 * ) |
| 3389 echo "Don't specify a window system more than once." >&2 | 2460 echo "Don't specify a window system more than once." >&2 |
| 3390 exit 1 | 2461 exit 1 |
| 3391 ;; | 2462 ;; |
| 3392 esac | 2463 esac |
| 3393 | 2464 |
| 3394 case "${window_system}" in | 2465 |
| 3395 "" | "x11" ) | 2466 case "${window_system}" in "" | "x11" ) |
| 3396 ### If the user hasn't specified where we should find X, try | 2467 ### If the user hasn't specified where we should find X, try |
| 3397 ### letting autoconf figure that out. | 2468 ### letting autoconf figure that out. |
| 3398 if [ -z "${x_includes}" ] && [ -z "${x_libraries}" ]; then | 2469 if test -z "${x_includes}${x_libraries}" ; then |
| 3399 | 2470 # If we find X, set shell vars x_includes and x_libraries to the paths. |
| 3400 # If we find X, set shell vars x_includes and x_libraries to the paths. | |
| 3401 no_x=true | 2471 no_x=true |
| 3402 if test "x$with_x" != xno; then | 2472 if test "x$with_x" != xno; then |
| 3403 test -n "$silent" || echo "checking for X include and library files with xmkmf" | 2473 test -n "$silent" || echo "checking for X include and library files with xmkmf" |
| 3404 rm -fr conftestdir | 2474 rm -fr conftestdir |
| 3405 if mkdir conftestdir; then | 2475 if mkdir conftestdir; then |
| 3441 fi | 2511 fi |
| 3442 cat > conftest.${ac_ext} <<EOF | 2512 cat > conftest.${ac_ext} <<EOF |
| 3443 #include "confdefs.h" | 2513 #include "confdefs.h" |
| 3444 #include <$x_direct_test_include> | 2514 #include <$x_direct_test_include> |
| 3445 EOF | 2515 EOF |
| 3446 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 3447 # the parens. | |
| 3448 # The exec was added by Mly to make this work under BSDI | |
| 3449 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 2516 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 3450 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 3451 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 2517 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 3452 echo "$ac_err" | 2518 echo "$ac_err" |
| 3453 fi | 2519 fi |
| 3454 if test -z "$ac_err"; then | 2520 if test -z "$ac_err"; then |
| 3455 rm -rf conftest* | 2521 rm -rf conftest* |
| 3575 fi | 2641 fi |
| 3576 test -n "$x_includes" && test -n "$verbose" && echo " X11 headers are in $x_includes" | 2642 test -n "$x_includes" && test -n "$verbose" && echo " X11 headers are in $x_includes" |
| 3577 test -n "$x_libraries" && test -n "$verbose" && echo " X11 libraries are in $x_libraries" | 2643 test -n "$x_libraries" && test -n "$verbose" && echo " X11 libraries are in $x_libraries" |
| 3578 fi | 2644 fi |
| 3579 | 2645 |
| 3580 | |
| 3581 fi | 2646 fi |
| 3582 if [ -n "${x_includes}" ] || [ -n "${x_libraries}" ]; then | 2647 if test -n "${x_includes}${x_libraries}" ; then window_system=x11 ; fi |
| 3583 window_system=x11 | |
| 3584 fi | |
| 3585 ;; | 2648 ;; |
| 3586 esac | 2649 esac |
| 3587 | 2650 |
| 3588 [ -z "${window_system}" ] && window_system=none | 2651 test -z "${window_system}" && window_system="none" |
| 3589 | 2652 |
| 3590 if [ "${window_system}" = "none" ]; then | 2653 if test "${window_system}" = "none" ; then |
| 3591 if [ "${with_tty}" != "yes" ]; then | 2654 if test "${with_tty}" != "yes" ; then |
| 3592 echo "No window system support, and no TTY support." >&2 | 2655 echo "No window system support, and no TTY support." >&2 |
| 3593 echo "Unable to proceed." >&2 | 2656 echo "Unable to proceed." >&2 |
| 3594 exit 1 | 2657 exit 1 |
| 3595 fi | 2658 fi |
| 3596 if [ "${with_epoch}" = "yes" ]; then | 2659 for feature in epoch cde offix menubars scrollbars toolbars dialogs xim tiff |
| 3597 echo "configure: warning: --with-epoch ignored: Not valid without X support" >&2 | 2660 do |
| 3598 with_epoch='no' | 2661 if eval "test -n \"\$with_$feature\" -a \"\$with_$feature\" != no" ; then |
| 3599 fi | 2662 echo "configure: warning: --with-$feature ignored: Not valid without X support" >&2 |
| 3600 if [ "x${with_cde}" != x ]; then | 2663 fi |
| 3601 echo "configure: warning: --with-cde ignored: Not valid without X support" >&2 | 2664 eval "with_$feature=no" |
| 3602 with_menubars='no' | 2665 done |
| 3603 fi | 2666 elif test -z "${with_toolbars}" ; then |
| 3604 if [ "x${with_offix}" != x ]; then | |
| 3605 echo "configure: warning: --with-offix ignored: Not valid without X support" >&2 | |
| 3606 with_offix='no' | |
| 3607 fi | |
| 3608 if [ "x${with_menubars}" != x ]; then | |
| 3609 echo "configure: warning: --with-menubars ignored: Not valid without X support" >&2 | |
| 3610 with_menubars='no' | |
| 3611 fi | |
| 3612 if [ "x${with_scrollbars}" != x ]; then | |
| 3613 echo "configure: warning: --with-scrollbars ignored: Not valid without X support" >&2 | |
| 3614 with_scrollbars='no' | |
| 3615 fi | |
| 3616 if [ "x${with_dialogs}" != x ]; then | |
| 3617 echo "configure: warning: --with-dialogs ignored: Not valid without X support" >&2 | |
| 3618 with_dialogs='no' | |
| 3619 fi | |
| 3620 if [ "x${with_toolbars}" != x ]; then | |
| 3621 echo "configure: warning: --with-toolbars ignored: Not valid without X support" >&2 | |
| 3622 with_toolbars='no' | |
| 3623 fi | |
| 3624 with_cde='no' | |
| 3625 with_offix='no' | |
| 3626 with_menubars='no' | |
| 3627 with_scrollbars='no' | |
| 3628 with_dialogs='no' | |
| 3629 with_toolbars='no' | |
| 3630 elif [ -z "${with_toolbars}" ] ; then | |
| 3631 with_toolbars='yes' | 2667 with_toolbars='yes' |
| 3632 fi | 2668 fi |
| 3633 | 2669 |
| 3634 case "${canonical}" in | 2670 case "${canonical}" in |
| 3635 *-sun-solaris* | *-sun-sunos5* ) add_runtime_flag=yes ;; | 2671 *-sun-solaris* | *-sun-sunos5* ) add_runtime_flag=yes ;; |
| 3636 esac | 2672 esac |
| 3637 | 2673 |
| 3638 if [ -n "${x_libraries}" ]; then | 2674 if test -n "${x_libraries}" ; then |
| 3639 if [ "${add_runtime_flag}" ]; then | 2675 if test "${add_runtime_flag}" ; then |
| 3640 LD_SWITCH_X_SITE="-L${x_libraries} -R${dash_r_space}${x_libraries}" | 2676 LD_SWITCH_X_SITE="-L${x_libraries} -R${dash_r_space}${x_libraries}" |
| 3641 else | 2677 else |
| 3642 LD_SWITCH_X_SITE="-L${x_libraries}" | 2678 LD_SWITCH_X_SITE="-L${x_libraries}" |
| 3643 fi | 2679 fi |
| 3644 fi | 2680 fi |
| 3645 # LD_SWITCH_X_SITE_AUX (from FSF) is ill-conceived. See s/sol2*.h. | 2681 # LD_SWITCH_X_SITE_AUX (from FSF) is ill-conceived. See s/sol2*.h. |
| 3646 # [ -n "${x_libraries}" ] && LD_SWITCH_X_SITE_AUX="-R${x_libraries}" | 2682 # test -n "${x_libraries}" -a LD_SWITCH_X_SITE_AUX="-R${x_libraries}" |
| 3647 [ -n "${x_includes}" ] && C_SWITCH_X_SITE="-I${x_includes}" | 2683 test -n "${x_includes}" && C_SWITCH_X_SITE="-I${x_includes}" |
| 3648 | 2684 |
| 3649 if [ -n "${site_libraries}" ]; then | 2685 if test -n "${site_libraries}" ; then |
| 3650 for arg in ${site_libraries} | 2686 for arg in ${site_libraries} |
| 3651 do | 2687 do |
| 3652 LD_SWITCH_SITE="${LD_SWITCH_SITE} -L${arg}" | 2688 LD_SWITCH_SITE="${LD_SWITCH_SITE} -L${arg}" |
| 3653 done | 2689 done |
| 3654 fi | 2690 fi |
| 3655 if [ -n "${site_runtime_libraries}" ]; then | 2691 if test -n "${site_runtime_libraries}" ; then |
| 3656 for arg in ${site_runtime_libraries} | 2692 for arg in ${site_runtime_libraries} |
| 3657 do | 2693 do |
| 3658 LD_SWITCH_SITE="${LD_SWITCH_SITE} -L${arg}" | 2694 LD_SWITCH_SITE="${LD_SWITCH_SITE} -L${arg}" |
| 3659 LD_SWITCH_SITE="${LD_SWITCH_SITE} -R${dash_r_space}${arg}" | 2695 LD_SWITCH_SITE="${LD_SWITCH_SITE} -R${dash_r_space}${arg}" |
| 3660 done | 2696 done |
| 3661 fi | 2697 fi |
| 3662 if [ -n "${site_includes}" ]; then | 2698 if test -n "${site_includes}" ; then |
| 3663 for arg in ${site_includes} | 2699 for arg in ${site_includes} |
| 3664 do | 2700 do |
| 3665 C_SWITCH_SITE="${C_SWITCH_SITE} -I${arg}" | 2701 C_SWITCH_SITE="${C_SWITCH_SITE} -I${arg}" |
| 3666 CPP="${CPP} -I${arg}" | 2702 CPP="${CPP} -I${arg}" |
| 3667 done | 2703 done |
| 3669 | 2705 |
| 3670 # FSF 19.29 has some bitmapdir stuff here. | 2706 # FSF 19.29 has some bitmapdir stuff here. |
| 3671 bitmapdir= | 2707 bitmapdir= |
| 3672 | 2708 |
| 3673 # Avoid forcing the search of /usr/include before fixed include files. | 2709 # Avoid forcing the search of /usr/include before fixed include files. |
| 3674 if [ "$C_SWITCH_X_SITE" = "-I/usr/include" ]; then | 2710 test "$C_SWITCH_X_SITE" = "-I/usr/include" && C_SWITCH_X_SITE=" " |
| 3675 C_SWITCH_X_SITE=" " | |
| 3676 fi | |
| 3677 | 2711 |
| 3678 # Need for check for audio/Xtutil.h. | 2712 # Need for check for audio/Xtutil.h. |
| 3679 CPP="${CPP} ${C_SWITCH_X_SITE}" | 2713 CPP="${CPP} ${C_SWITCH_X_SITE}" |
| 3680 | 2714 |
| 3681 case "${window_system}" in | 2715 case "${window_system}" in |
| 3682 x11 ) | 2716 x11 ) HAVE_X_WINDOWS=yes; echo " Using X11." ;; |
| 3683 HAVE_X_WINDOWS=yes | 2717 none ) HAVE_X_WINDOWS=no ; echo " Using no window system." ;; |
| 3684 echo " Using X11." | |
| 3685 ;; | |
| 3686 none ) | |
| 3687 HAVE_X_WINDOWS=no | |
| 3688 echo " Using no window system." | |
| 3689 ;; | |
| 3690 esac | 2718 esac |
| 3691 | 2719 |
| 3692 if test "${opsys}" = "hpux9"; then | 2720 if test "${opsys}" = "hpux9"; then |
| 3693 case "${x_libraries}" in | 2721 case "${x_libraries}" in |
| 3694 *X11R4* ) | 2722 *X11R4* ) opsysfile="s/hpux9-x11r4.h" ;; |
| 3695 opsysfile="s/hpux9-x11r4.h" | |
| 3696 ;; | |
| 3697 esac | 2723 esac |
| 3698 fi | 2724 fi |
| 3699 | 2725 |
| 3700 if test "${opsys}" = "hpux9-shr"; then | 2726 if test "${opsys}" = "hpux9shr"; then |
| 3701 case "${x_libraries}" in | 2727 case "${x_libraries}" in |
| 3702 *X11R4* ) | 2728 *X11R4* ) opsysfile="s/hpux9shxr4.h" ;; |
| 3703 opsysfile="s/hpux9shxr4.h" | |
| 3704 ;; | |
| 3705 esac | 2729 esac |
| 3706 fi | 2730 fi |
| 3707 | 2731 |
| 3708 ############################################################################ | 2732 ############################################################################ |
| 3709 # # | 2733 # # |
| 3818 # to get its actual value... | 2842 # to get its actual value... |
| 3819 CPP=`eval "echo $CPP"` | 2843 CPP=`eval "echo $CPP"` |
| 3820 eval `${CPP} -Isrc ${tempcname} \ | 2844 eval `${CPP} -Isrc ${tempcname} \ |
| 3821 | grep 'configure___' \ | 2845 | grep 'configure___' \ |
| 3822 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` | 2846 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` |
| 3823 if [ "x$SPECIFIED_CFLAGS" = x ]; then | 2847 if test "x$SPECIFIED_CFLAGS" = x ; then |
| 3824 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \ | 2848 eval `${CPP} -Isrc -DTHIS_IS_CONFIGURE ${tempcname} \ |
| 3825 | grep 'configure___' \ | 2849 | grep 'configure___' \ |
| 3826 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` | 2850 | sed -n -e 's/^configure___ \([^=]*=\)\(.*\)$/\1"\2"/p'` |
| 3827 else | 2851 else |
| 3828 REAL_CFLAGS="$CFLAGS" | 2852 REAL_CFLAGS="$CFLAGS" |
| 3829 fi | 2853 fi |
| 3830 rm ${tempcname} | 2854 rm ${tempcname} |
| 3831 | 2855 |
| 3832 # override CFLAGS if user wishes | 2856 # override CFLAGS if user wishes |
| 3833 if [ "${cflags}" != "NO_CFLAGS_DEFINED" ]; then | 2857 if test "${cflags}" != "NO_CFLAGS_DEFINED" ; then |
| 3834 REAL_CFLAGS=${cflags} | 2858 REAL_CFLAGS=${cflags} |
| 3835 fi | 2859 fi |
| 3836 | 2860 |
| 3837 ### Compute the unexec source name from the object name. | 2861 ### Compute the unexec source name from the object name. |
| 3838 UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" | 2862 UNEXEC_SRC="`echo ${unexec} | sed 's/\.o/.c/'`" |
| 3839 | 2863 |
| 3840 # Do the opsystem or machine files prohibit the use of the GNU malloc? | 2864 # Do the opsystem or machine files prohibit the use of the GNU malloc? |
| 3841 # Assume not, until told otherwise. | 2865 # Assume not, until told otherwise. |
| 3842 GNU_MALLOC=yes | 2866 GNU_MALLOC=yes |
| 3843 if [ "${system_malloc}" = "yes" ]; then | 2867 if test "${system_malloc}" = "yes" ; then |
| 3844 GNU_MALLOC=no | 2868 GNU_MALLOC=no |
| 3845 GNU_MALLOC_reason=" | 2869 GNU_MALLOC_reason=" |
| 3846 (The GNU allocators don't work with this system configuration.)" | 2870 (The GNU allocators don't work with this system configuration.)" |
| 3847 elif [ "${use_system_malloc}" = "yes" ]; then | 2871 elif test "${use_system_malloc}" = "yes" ; then |
| 3848 GNU_MALLOC=no | 2872 GNU_MALLOC=no |
| 3849 GNU_MALLOC_reason=" | 2873 GNU_MALLOC_reason=" |
| 3850 (User chose not to use GNU allocators.)" | 2874 (User chose not to use GNU allocators.)" |
| 3851 fi | 2875 fi |
| 3852 | 2876 |
| 3893 LIBS="${LIBS} -ldnet" | 2917 LIBS="${LIBS} -ldnet" |
| 3894 fi | 2918 fi |
| 3895 | 2919 |
| 3896 | 2920 |
| 3897 ac_save_LIBS="${LIBS}" | 2921 ac_save_LIBS="${LIBS}" |
| 2922 LIBS="${LIBS} -lkstat" | |
| 2923 ac_have_lib="" | |
| 2924 test -n "$silent" || echo "checking for -lkstat" | |
| 2925 cat > conftest.${ac_ext} <<EOF | |
| 2926 #include "confdefs.h" | |
| 2927 | |
| 2928 int main() { return 0; } | |
| 2929 int t() { main();; return 0; } | |
| 2930 EOF | |
| 2931 if eval $ac_compile; then | |
| 2932 rm -rf conftest* | |
| 2933 ac_have_lib="1" | |
| 2934 | |
| 2935 fi | |
| 2936 rm -f conftest* | |
| 2937 LIBS="${ac_save_LIBS}" | |
| 2938 if test -n "${ac_have_lib}"; then | |
| 2939 | |
| 2940 { | |
| 2941 test -n "$verbose" && \ | |
| 2942 echo " defining HAVE_LIBKSTAT" | |
| 2943 echo "#define" HAVE_LIBKSTAT "1" >> confdefs.h | |
| 2944 DEFS="$DEFS -DHAVE_LIBKSTAT=1" | |
| 2945 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBKSTAT\${ac_dB}HAVE_LIBKSTAT\${ac_dC}1\${ac_dD} | |
| 2946 \${ac_uA}HAVE_LIBKSTAT\${ac_uB}HAVE_LIBKSTAT\${ac_uC}1\${ac_uD} | |
| 2947 \${ac_eA}HAVE_LIBKSTAT\${ac_eB}HAVE_LIBKSTAT\${ac_eC}1\${ac_eD} | |
| 2948 " | |
| 2949 } | |
| 2950 | |
| 2951 LIBS="${LIBS} -lkstat" | |
| 2952 fi | |
| 2953 | |
| 2954 | |
| 2955 ac_save_LIBS="${LIBS}" | |
| 3898 LIBS="${LIBS} -lXbsd" | 2956 LIBS="${LIBS} -lXbsd" |
| 3899 ac_have_lib="" | 2957 ac_have_lib="" |
| 3900 test -n "$silent" || echo "checking for -lXbsd" | 2958 test -n "$silent" || echo "checking for -lXbsd" |
| 3901 cat > conftest.${ac_ext} <<EOF | 2959 cat > conftest.${ac_ext} <<EOF |
| 3902 #include "confdefs.h" | 2960 #include "confdefs.h" |
| 3962 if test "${window_system}" != "none" ; then | 3020 if test "${window_system}" != "none" ; then |
| 3963 test -n "$silent" || echo "checking for XFree86" | 3021 test -n "$silent" || echo "checking for XFree86" |
| 3964 if test -d /usr/X386/include; then | 3022 if test -d /usr/X386/include; then |
| 3965 HAVE_XFREE386=yes | 3023 HAVE_XFREE386=yes |
| 3966 test -z "${C_SWITCH_X_SITE}" && C_SWITCH_X_SITE="-I/usr/X386/include" | 3024 test -z "${C_SWITCH_X_SITE}" && C_SWITCH_X_SITE="-I/usr/X386/include" |
| 3967 elif test -f /etc/XF86Config -o \ | 3025 elif test -d /usr/X11R6/include; then |
| 3968 -f /etc/X11/XF86Config -o \ | |
| 3969 -f /usr/X11R6/lib/X11/XF86Config; then | |
| 3970 HAVE_XFREE386=yes | 3026 HAVE_XFREE386=yes |
| 3971 test -z "${C_SWITCH_X_SITE}" && C_SWITCH_X_SITE="-I/usr/X11R6/include" | 3027 test -z "${C_SWITCH_X_SITE}" && C_SWITCH_X_SITE="-I/usr/X11R6/include" |
| 3972 else | 3028 else |
| 3973 HAVE_XFREE386=no | 3029 HAVE_XFREE386=no |
| 3974 fi | 3030 fi |
| 4202 if test "${internal_xauth_includes_found}" = "yes" ; then | 3258 if test "${internal_xauth_includes_found}" = "yes" ; then |
| 4203 with_xauth='yes' | 3259 with_xauth='yes' |
| 4204 fi | 3260 fi |
| 4205 fi | 3261 fi |
| 4206 fi | 3262 fi |
| 4207 if test "${with_xauth}" = "yes" ; then | 3263 test "${with_xauth}" = yes && |
| 4208 | |
| 4209 { | 3264 { |
| 4210 test -n "$verbose" && \ | 3265 test -n "$verbose" && \ |
| 4211 echo " defining HAVE_XAUTH" | 3266 echo " defining HAVE_XAUTH" |
| 4212 echo "#define" HAVE_XAUTH "1" >> confdefs.h | 3267 echo "#define" HAVE_XAUTH "1" >> confdefs.h |
| 4213 DEFS="$DEFS -DHAVE_XAUTH=1" | 3268 DEFS="$DEFS -DHAVE_XAUTH=1" |
| 4215 \${ac_uA}HAVE_XAUTH\${ac_uB}HAVE_XAUTH\${ac_uC}1\${ac_uD} | 3270 \${ac_uA}HAVE_XAUTH\${ac_uB}HAVE_XAUTH\${ac_uC}1\${ac_uD} |
| 4216 \${ac_eA}HAVE_XAUTH\${ac_eB}HAVE_XAUTH\${ac_eC}1\${ac_eD} | 3271 \${ac_eA}HAVE_XAUTH\${ac_eB}HAVE_XAUTH\${ac_eC}1\${ac_eD} |
| 4217 " | 3272 " |
| 4218 } | 3273 } |
| 4219 | 3274 |
| 4220 fi | |
| 4221 | 3275 |
| 4222 # | 3276 # |
| 4223 # See if we can find CDE. | 3277 # See if we can find CDE. |
| 4224 # | 3278 # |
| 4225 if test "${window_system}" != "none" ; then | 3279 if test "${window_system}" != "none" -a \ |
| 4226 if test "${with_cde}" != "no" ; then | 3280 "${with_cde}" != "no" -a \ |
| 4227 if test "${with_cde}" != "yes" ; then | 3281 "${with_cde}" != "yes" ; then |
| 4228 internal_cde_lib_found='no' | 3282 internal_cde_lib_found='no' |
| 4229 ac_save_LIBS="${LIBS}" | 3283 ac_save_LIBS="${LIBS}" |
| 4230 LIBS="${LIBS} -lDtSvc" | 3284 LIBS="${LIBS} -lDtSvc" |
| 4231 ac_have_lib="" | 3285 ac_have_lib="" |
| 4232 test -n "$silent" || echo "checking for -lDtSvc" | 3286 test -n "$silent" || echo "checking for -lDtSvc" |
| 4233 cat > conftest.${ac_ext} <<EOF | 3287 cat > conftest.${ac_ext} <<EOF |
| 4234 #include "confdefs.h" | 3288 #include "confdefs.h" |
| 4247 :; internal_cde_lib_found='yes' | 3301 :; internal_cde_lib_found='yes' |
| 4248 else | 3302 else |
| 4249 :; | 3303 :; |
| 4250 fi | 3304 fi |
| 4251 | 3305 |
| 4252 if test "${internal_cde_lib_found}" = "yes" ; then | 3306 if test "${internal_cde_lib_found}" = "yes" ; then |
| 4253 internal_cde_includes_found='no' | 3307 internal_cde_includes_found='no' |
| 4254 for arg in ${DEFS} /usr/include | 3308 for arg in ${DEFS} /usr/include ; do |
| 4255 do | 3309 if test -f `echo "${arg}/Dt/Dt.h" | sed 's/^\-I//'` ; then |
| 4256 if test -f `echo "${arg}/Dt/Dt.h" | sed 's/^\-I//'` ; then | 3310 internal_cde_includes_found='yes' |
| 4257 internal_cde_includes_found='yes' | |
| 4258 fi | |
| 4259 done | |
| 4260 if test "${internal_cde_includes_found}" = "yes" ; then | |
| 4261 with_cde='yes' | |
| 4262 fi | |
| 4263 fi | 3311 fi |
| 3312 done | |
| 3313 if test "${internal_cde_includes_found}" = "yes" ; then | |
| 3314 with_cde='yes' | |
| 4264 fi | 3315 fi |
| 4265 fi | 3316 fi |
| 4266 fi | 3317 fi |
| 4267 if test "${with_cde}" = "yes" ; then | 3318 test "${with_cde}" = yes && |
| 4268 | |
| 4269 { | 3319 { |
| 4270 test -n "$verbose" && \ | 3320 test -n "$verbose" && \ |
| 4271 echo " defining HAVE_CDE" | 3321 echo " defining HAVE_CDE" |
| 4272 echo "#define" HAVE_CDE "1" >> confdefs.h | 3322 echo "#define" HAVE_CDE "1" >> confdefs.h |
| 4273 DEFS="$DEFS -DHAVE_CDE=1" | 3323 DEFS="$DEFS -DHAVE_CDE=1" |
| 4275 \${ac_uA}HAVE_CDE\${ac_uB}HAVE_CDE\${ac_uC}1\${ac_uD} | 3325 \${ac_uA}HAVE_CDE\${ac_uB}HAVE_CDE\${ac_uC}1\${ac_uD} |
| 4276 \${ac_eA}HAVE_CDE\${ac_eB}HAVE_CDE\${ac_eC}1\${ac_eD} | 3326 \${ac_eA}HAVE_CDE\${ac_eB}HAVE_CDE\${ac_eC}1\${ac_eD} |
| 4277 " | 3327 " |
| 4278 } | 3328 } |
| 4279 | 3329 |
| 4280 fi | |
| 4281 | 3330 |
| 4282 # | 3331 # |
| 4283 # See if we can find OffiX. | 3332 # See if we can find OffiX. |
| 4284 # | 3333 # |
| 4285 if test "${window_system}" != "none" ; then | 3334 if test "${window_system}" != "none" -a \ |
| 4286 if test "${with_offix}" != "no" ; then | 3335 "${with_offix}" != "no" -a \ |
| 4287 if test "${with_offix}" != "yes" ; then | 3336 "${with_offix}" != "yes" ; then |
| 4288 internal_offix_lib_found='no' | 3337 internal_offix_lib_found='no' |
| 4289 ac_save_LIBS="${LIBS}" | 3338 ac_save_LIBS="${LIBS}" |
| 4290 LIBS="${LIBS} -lDnd" | 3339 LIBS="${LIBS} -lDnd" |
| 4291 ac_have_lib="" | 3340 ac_have_lib="" |
| 4292 test -n "$silent" || echo "checking for -lDnd" | 3341 test -n "$silent" || echo "checking for -lDnd" |
| 4293 cat > conftest.${ac_ext} <<EOF | 3342 cat > conftest.${ac_ext} <<EOF |
| 4294 #include "confdefs.h" | 3343 #include "confdefs.h" |
| 4307 :; internal_offix_lib_found='yes' | 3356 :; internal_offix_lib_found='yes' |
| 4308 else | 3357 else |
| 4309 :; | 3358 :; |
| 4310 fi | 3359 fi |
| 4311 | 3360 |
| 4312 if test "${internal_offix_lib_found}" = "yes" ; then | 3361 if test "${internal_offix_lib_found}" = "yes" ; then |
| 4313 internal_offix_includes_found='no' | 3362 internal_offix_includes_found='no' |
| 4314 for arg in ${DEFS} /usr/include | 3363 for arg in ${DEFS} /usr/include ; do |
| 4315 do | 3364 if test -f `echo "${arg}/OffiX/DragAndDrop.h" | sed 's/^\-I//'` ; then |
| 4316 if test -f `echo "${arg}/OffiX/DragAndDrop.h" | sed 's/^\-I//'` ; then | 3365 internal_offix_includes_found='yes' |
| 4317 internal_offix_includes_found='yes' | |
| 4318 fi | |
| 4319 done | |
| 4320 if test "${internal_offix_includes_found}" = "yes" ; then | |
| 4321 with_offix='yes' | |
| 4322 fi | |
| 4323 fi | 3366 fi |
| 4324 fi | 3367 done |
| 3368 test "${internal_offix_includes_found}" = "yes" && with_offix='yes' | |
| 4325 fi | 3369 fi |
| 4326 fi | 3370 fi |
| 4327 if test "${with_offix}" = "yes" ; then | 3371 test "${with_offix}" = yes && |
| 4328 | |
| 4329 { | 3372 { |
| 4330 test -n "$verbose" && \ | 3373 test -n "$verbose" && \ |
| 4331 echo " defining HAVE_OFFIX_DND" | 3374 echo " defining HAVE_OFFIX_DND" |
| 4332 echo "#define" HAVE_OFFIX_DND "1" >> confdefs.h | 3375 echo "#define" HAVE_OFFIX_DND "1" >> confdefs.h |
| 4333 DEFS="$DEFS -DHAVE_OFFIX_DND=1" | 3376 DEFS="$DEFS -DHAVE_OFFIX_DND=1" |
| 4335 \${ac_uA}HAVE_OFFIX_DND\${ac_uB}HAVE_OFFIX_DND\${ac_uC}1\${ac_uD} | 3378 \${ac_uA}HAVE_OFFIX_DND\${ac_uB}HAVE_OFFIX_DND\${ac_uC}1\${ac_uD} |
| 4336 \${ac_eA}HAVE_OFFIX_DND\${ac_eB}HAVE_OFFIX_DND\${ac_eC}1\${ac_eD} | 3379 \${ac_eA}HAVE_OFFIX_DND\${ac_eB}HAVE_OFFIX_DND\${ac_eC}1\${ac_eD} |
| 4337 " | 3380 " |
| 4338 } | 3381 } |
| 4339 | 3382 |
| 4340 fi | 3383 |
| 4341 | 3384 # X window options |
| 4342 # | |
| 4343 # See if we can find Xlocale.h. | |
| 4344 # | |
| 4345 with_xlocale_h='no' | |
| 4346 if test "${window_system}" != "none" ; then | |
| 4347 for arg in ${DEFS} /usr/include | |
| 4348 do | |
| 4349 if test -f `echo "${arg}/X11/Xlocale.h" | sed 's/^\-I//'` ; then | |
| 4350 with_xlocale_h='yes' | |
| 4351 fi | |
| 4352 done | |
| 4353 fi | |
| 4354 if test "${with_xlocale_h}" = "yes" ; then | |
| 4355 | |
| 4356 { | |
| 4357 test -n "$verbose" && \ | |
| 4358 echo " defining HAVE_XLOCALE_H" | |
| 4359 echo "#define" HAVE_XLOCALE_H "1" >> confdefs.h | |
| 4360 DEFS="$DEFS -DHAVE_XLOCALE_H=1" | |
| 4361 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_XLOCALE_H\${ac_dB}HAVE_XLOCALE_H\${ac_dC}1\${ac_dD} | |
| 4362 \${ac_uA}HAVE_XLOCALE_H\${ac_uB}HAVE_XLOCALE_H\${ac_uC}1\${ac_uD} | |
| 4363 \${ac_eA}HAVE_XLOCALE_H\${ac_eB}HAVE_XLOCALE_H\${ac_eC}1\${ac_eD} | |
| 4364 " | |
| 4365 } | |
| 4366 | |
| 4367 fi | |
| 4368 | |
| 4369 if test "${window_system}" != "none" ; then | 3385 if test "${window_system}" != "none" ; then |
| 4370 test -n "$silent" || echo "checking the version of X11 being used" | 3386 test -n "$silent" || echo "checking the version of X11 being used" |
| 4371 cat > conftest.${ac_ext} <<EOF | 3387 cat > conftest.${ac_ext} <<EOF |
| 4372 #include <X11/Intrinsic.h> | 3388 #include <X11/Intrinsic.h> |
| 4373 int main() { | 3389 int main() { |
| 4384 } | 3400 } |
| 4385 EOF | 3401 EOF |
| 4386 ac_save_LIBS="${LIBS}" | 3402 ac_save_LIBS="${LIBS}" |
| 4387 LIBS="${LIBS} ${DEFS}" | 3403 LIBS="${LIBS} ${DEFS}" |
| 4388 if eval $ac_compile; then | 3404 if eval $ac_compile; then |
| 4389 ac_find_x_version=`./conftest` | 3405 case "`./conftest`" in |
| 4390 | 3406 X11R4 ) |
| 4391 if [ "$ac_find_x_version" = "X11R4" ]; then | |
| 4392 | |
| 4393 { | 3407 { |
| 4394 test -n "$verbose" && \ | 3408 test -n "$verbose" && \ |
| 4395 echo " defining THIS_IS_X11R4" | 3409 echo " defining THIS_IS_X11R4" |
| 4396 echo "#define" THIS_IS_X11R4 "1" >> confdefs.h | 3410 echo "#define" THIS_IS_X11R4 "1" >> confdefs.h |
| 4397 DEFS="$DEFS -DTHIS_IS_X11R4=1" | 3411 DEFS="$DEFS -DTHIS_IS_X11R4=1" |
| 4398 ac_sed_defs="${ac_sed_defs}\${ac_dA}THIS_IS_X11R4\${ac_dB}THIS_IS_X11R4\${ac_dC}1\${ac_dD} | 3412 ac_sed_defs="${ac_sed_defs}\${ac_dA}THIS_IS_X11R4\${ac_dB}THIS_IS_X11R4\${ac_dC}1\${ac_dD} |
| 4399 \${ac_uA}THIS_IS_X11R4\${ac_uB}THIS_IS_X11R4\${ac_uC}1\${ac_uD} | 3413 \${ac_uA}THIS_IS_X11R4\${ac_uB}THIS_IS_X11R4\${ac_uC}1\${ac_uD} |
| 4400 \${ac_eA}THIS_IS_X11R4\${ac_eB}THIS_IS_X11R4\${ac_eC}1\${ac_eD} | 3414 \${ac_eA}THIS_IS_X11R4\${ac_eB}THIS_IS_X11R4\${ac_eC}1\${ac_eD} |
| 4401 " | 3415 " |
| 4402 } | 3416 } |
| 4403 | 3417 ;; |
| 4404 elif [ "$ac_find_x_version" = "X11R5" ]; then | 3418 X11R5 ) |
| 4405 | |
| 4406 { | 3419 { |
| 4407 test -n "$verbose" && \ | 3420 test -n "$verbose" && \ |
| 4408 echo " defining THIS_IS_X11R5" | 3421 echo " defining THIS_IS_X11R5" |
| 4409 echo "#define" THIS_IS_X11R5 "1" >> confdefs.h | 3422 echo "#define" THIS_IS_X11R5 "1" >> confdefs.h |
| 4410 DEFS="$DEFS -DTHIS_IS_X11R5=1" | 3423 DEFS="$DEFS -DTHIS_IS_X11R5=1" |
| 4411 ac_sed_defs="${ac_sed_defs}\${ac_dA}THIS_IS_X11R5\${ac_dB}THIS_IS_X11R5\${ac_dC}1\${ac_dD} | 3424 ac_sed_defs="${ac_sed_defs}\${ac_dA}THIS_IS_X11R5\${ac_dB}THIS_IS_X11R5\${ac_dC}1\${ac_dD} |
| 4412 \${ac_uA}THIS_IS_X11R5\${ac_uB}THIS_IS_X11R5\${ac_uC}1\${ac_uD} | 3425 \${ac_uA}THIS_IS_X11R5\${ac_uB}THIS_IS_X11R5\${ac_uC}1\${ac_uD} |
| 4413 \${ac_eA}THIS_IS_X11R5\${ac_eB}THIS_IS_X11R5\${ac_eC}1\${ac_eD} | 3426 \${ac_eA}THIS_IS_X11R5\${ac_eB}THIS_IS_X11R5\${ac_eC}1\${ac_eD} |
| 4414 " | 3427 " |
| 4415 } | 3428 } |
| 4416 | 3429 ;; |
| 4417 elif [ "$ac_find_x_version" = "X11R6" ]; then | 3430 X11R6 ) |
| 4418 | |
| 4419 { | 3431 { |
| 4420 test -n "$verbose" && \ | 3432 test -n "$verbose" && \ |
| 4421 echo " defining THIS_IS_X11R6" | 3433 echo " defining THIS_IS_X11R6" |
| 4422 echo "#define" THIS_IS_X11R6 "1" >> confdefs.h | 3434 echo "#define" THIS_IS_X11R6 "1" >> confdefs.h |
| 4423 DEFS="$DEFS -DTHIS_IS_X11R6=1" | 3435 DEFS="$DEFS -DTHIS_IS_X11R6=1" |
| 4424 ac_sed_defs="${ac_sed_defs}\${ac_dA}THIS_IS_X11R6\${ac_dB}THIS_IS_X11R6\${ac_dC}1\${ac_dD} | 3436 ac_sed_defs="${ac_sed_defs}\${ac_dA}THIS_IS_X11R6\${ac_dB}THIS_IS_X11R6\${ac_dC}1\${ac_dD} |
| 4425 \${ac_uA}THIS_IS_X11R6\${ac_uB}THIS_IS_X11R6\${ac_uC}1\${ac_uD} | 3437 \${ac_uA}THIS_IS_X11R6\${ac_uB}THIS_IS_X11R6\${ac_uC}1\${ac_uD} |
| 4426 \${ac_eA}THIS_IS_X11R6\${ac_eB}THIS_IS_X11R6\${ac_eC}1\${ac_eD} | 3438 \${ac_eA}THIS_IS_X11R6\${ac_eB}THIS_IS_X11R6\${ac_eC}1\${ac_eD} |
| 4427 " | 3439 " |
| 4428 } | 3440 } |
| 4429 | 3441 ;; |
| 4430 fi | 3442 esac |
| 4431 | |
| 4432 fi | 3443 fi |
| 4433 LIBS=$ac_save_LIBS | 3444 LIBS=$ac_save_LIBS |
| 4434 rm -f conftest* | 3445 rm -f conftest* |
| 4435 | 3446 |
| 4436 for ac_hdr in X11/Xlocale.h | 3447 for ac_hdr in X11/Xlocale.h |
| 4439 test -n "$silent" || echo "checking for ${ac_hdr}" | 3450 test -n "$silent" || echo "checking for ${ac_hdr}" |
| 4440 cat > conftest.${ac_ext} <<EOF | 3451 cat > conftest.${ac_ext} <<EOF |
| 4441 #include "confdefs.h" | 3452 #include "confdefs.h" |
| 4442 #include <${ac_hdr}> | 3453 #include <${ac_hdr}> |
| 4443 EOF | 3454 EOF |
| 4444 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 4445 # the parens. | |
| 4446 # The exec was added by Mly to make this work under BSDI | |
| 4447 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 3455 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 4448 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 4449 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 3456 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 4450 echo "$ac_err" | 3457 echo "$ac_err" |
| 4451 fi | 3458 fi |
| 4452 if test -z "$ac_err"; then | 3459 if test -z "$ac_err"; then |
| 4453 rm -rf conftest* | 3460 rm -rf conftest* |
| 4578 | 3585 |
| 4579 | 3586 |
| 4580 # | 3587 # |
| 4581 # see if XPM is hanging around somewhere | 3588 # see if XPM is hanging around somewhere |
| 4582 # | 3589 # |
| 4583 if test "${window_system}" != "none" ; then | 3590 test "${window_system}" != "none" -a \ |
| 4584 if test "${with_xpm}" != "no" ; then | 3591 "${with_xpm}" != "no" -a \ |
| 4585 if test "${with_xpm}" != "yes" ; then | 3592 "${with_xpm}" != "yes" && { ac_save_LIBS="${LIBS}" |
| 4586 ac_save_LIBS="${LIBS}" | |
| 4587 LIBS="${LIBS} -lXpm" | 3593 LIBS="${LIBS} -lXpm" |
| 4588 ac_have_lib="" | 3594 ac_have_lib="" |
| 4589 test -n "$silent" || echo "checking for -lXpm" | 3595 test -n "$silent" || echo "checking for -lXpm" |
| 4590 cat > conftest.${ac_ext} <<EOF | 3596 cat > conftest.${ac_ext} <<EOF |
| 4591 #include "confdefs.h" | 3597 #include "confdefs.h" |
| 4603 if test -n "${ac_have_lib}"; then | 3609 if test -n "${ac_have_lib}"; then |
| 4604 :; with_xpm="yes" | 3610 :; with_xpm="yes" |
| 4605 else | 3611 else |
| 4606 :; | 3612 :; |
| 4607 fi | 3613 fi |
| 4608 | 3614 } |
| 4609 fi | 3615 |
| 4610 fi | 3616 test "${with_xpm}" = yes && |
| 4611 fi | |
| 4612 if test "${with_xpm}" = "yes" ; then | |
| 4613 | |
| 4614 { | 3617 { |
| 4615 test -n "$verbose" && \ | 3618 test -n "$verbose" && \ |
| 4616 echo " defining HAVE_XPM" | 3619 echo " defining HAVE_XPM" |
| 4617 echo "#define" HAVE_XPM "1" >> confdefs.h | 3620 echo "#define" HAVE_XPM "1" >> confdefs.h |
| 4618 DEFS="$DEFS -DHAVE_XPM=1" | 3621 DEFS="$DEFS -DHAVE_XPM=1" |
| 4620 \${ac_uA}HAVE_XPM\${ac_uB}HAVE_XPM\${ac_uC}1\${ac_uD} | 3623 \${ac_uA}HAVE_XPM\${ac_uB}HAVE_XPM\${ac_uC}1\${ac_uD} |
| 4621 \${ac_eA}HAVE_XPM\${ac_eB}HAVE_XPM\${ac_eC}1\${ac_eD} | 3624 \${ac_eA}HAVE_XPM\${ac_eB}HAVE_XPM\${ac_eC}1\${ac_eD} |
| 4622 " | 3625 " |
| 4623 } | 3626 } |
| 4624 | 3627 |
| 4625 fi | |
| 4626 | 3628 |
| 4627 # | 3629 # |
| 4628 # see if Xmu is hanging around somewhere | 3630 # see if Xmu is hanging around somewhere |
| 4629 # | 3631 # |
| 4630 # FSF 19.31 has this: | 3632 # FSF 19.31 has this: |
| 4639 # A C_CHECK_LIB(Xmu, XmuConvertStandardSelection) | 3641 # A C_CHECK_LIB(Xmu, XmuConvertStandardSelection) |
| 4640 # LIBS="$OLDLIBS" | 3642 # LIBS="$OLDLIBS" |
| 4641 | 3643 |
| 4642 if test "${window_system}" != "none" ; then | 3644 if test "${window_system}" != "none" ; then |
| 4643 if test "${with_xmu}" != "no" ; then | 3645 if test "${with_xmu}" != "no" ; then |
| 4644 if test "${with_xmu}" != "yes" ; then | 3646 test "${with_xmu}" != "yes" && { ac_save_LIBS="${LIBS}" |
| 4645 ac_save_LIBS="${LIBS}" | |
| 4646 LIBS="${LIBS} -lXmu" | 3647 LIBS="${LIBS} -lXmu" |
| 4647 ac_have_lib="" | 3648 ac_have_lib="" |
| 4648 test -n "$silent" || echo "checking for -lXmu" | 3649 test -n "$silent" || echo "checking for -lXmu" |
| 4649 cat > conftest.${ac_ext} <<EOF | 3650 cat > conftest.${ac_ext} <<EOF |
| 4650 #include "confdefs.h" | 3651 #include "confdefs.h" |
| 4662 if test -n "${ac_have_lib}"; then | 3663 if test -n "${ac_have_lib}"; then |
| 4663 :; with_xmu="yes" | 3664 :; with_xmu="yes" |
| 4664 else | 3665 else |
| 4665 :; | 3666 :; |
| 4666 fi | 3667 fi |
| 4667 | 3668 } |
| 4668 fi | 3669 # On SunOS4 we must kludge harder to try to detect Xmu |
| 4669 # On SunOS4 (and 5!) we must kludge harder to try to detect Xmu | |
| 4670 # Upgrade to autoconf 2 and use ac_check_lib - mrb | 3670 # Upgrade to autoconf 2 and use ac_check_lib - mrb |
| 4671 if test "${with_xmu}" != "yes" ; then | 3671 if test "${with_xmu}" != "yes" -a -n "$OPENWINHOME" ; then |
| 4672 # begin expansion of ac_have_library | 3672 # begin expansion of ac_have_library |
| 4673 ac_save_LIBS="${LIBS}" | 3673 ac_save_LIBS="${LIBS}" |
| 4674 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm" | 3674 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm" |
| 4675 ac_have_lib="" | |
| 4676 cat > conftest.${ac_ext} <<EOF | |
| 4677 int main() { return 0; } | |
| 4678 EOF | |
| 4679 if eval $ac_compile; then | |
| 4680 rm -rf conftest* | |
| 4681 ac_have_lib="1" | |
| 4682 fi | |
| 4683 rm -f conftest* | |
| 4684 LIBS="${ac_save_LIBS}" | |
| 4685 test -n "${ac_have_lib}" && with_xmu="yes" | |
| 4686 # end expansion of ac_have_library | |
| 4687 fi | |
| 4688 # Sparc/Linux test - fp | |
| 4689 if test "${with_xmu}" != "yes" -a ${machine} = sparc -a ${opsys} = linux; then | |
| 4690 # begin expansion of ac_have_library | |
| 4691 ac_save_LIBS="${LIBS}" | |
| 4692 LIBS="${LIBS} -lXmu -lXt -lXext -lX11 -lm -lICE -lSM" | |
| 4693 ac_have_lib="" | 3675 ac_have_lib="" |
| 4694 cat > conftest.${ac_ext} <<EOF | 3676 cat > conftest.${ac_ext} <<EOF |
| 4695 int main() { return 0; } | 3677 int main() { return 0; } |
| 4696 EOF | 3678 EOF |
| 4697 if eval $ac_compile; then | 3679 if eval $ac_compile; then |
| 4726 test -n "${ac_have_lib}" && with_xmu="yes" | 3708 test -n "${ac_have_lib}" && with_xmu="yes" |
| 4727 # end expansion of ac_have_library | 3709 # end expansion of ac_have_library |
| 4728 fi | 3710 fi |
| 4729 fi | 3711 fi |
| 4730 fi | 3712 fi |
| 4731 if test "${with_xmu}" = "yes" ; then | 3713 test "${with_xmu}" = yes && |
| 4732 | |
| 4733 { | 3714 { |
| 4734 test -n "$verbose" && \ | 3715 test -n "$verbose" && \ |
| 4735 echo " defining HAVE_XMU" | 3716 echo " defining HAVE_XMU" |
| 4736 echo "#define" HAVE_XMU "1" >> confdefs.h | 3717 echo "#define" HAVE_XMU "1" >> confdefs.h |
| 4737 DEFS="$DEFS -DHAVE_XMU=1" | 3718 DEFS="$DEFS -DHAVE_XMU=1" |
| 4739 \${ac_uA}HAVE_XMU\${ac_uB}HAVE_XMU\${ac_uC}1\${ac_uD} | 3720 \${ac_uA}HAVE_XMU\${ac_uB}HAVE_XMU\${ac_uC}1\${ac_uD} |
| 4740 \${ac_eA}HAVE_XMU\${ac_eB}HAVE_XMU\${ac_eC}1\${ac_eD} | 3721 \${ac_eA}HAVE_XMU\${ac_eB}HAVE_XMU\${ac_eC}1\${ac_eD} |
| 4741 " | 3722 " |
| 4742 } | 3723 } |
| 4743 | 3724 |
| 4744 fi | |
| 4745 | 3725 |
| 4746 # | 3726 # |
| 4747 # see if COMPFACE is hanging around somewhere | 3727 # see if COMPFACE is hanging around somewhere |
| 4748 # | 3728 # |
| 4749 if test "${window_system}" != "none" ; then | 3729 if test "${window_system}" != "none" -a \ |
| 4750 if test "${with_xface}" != "no" ; then | 3730 "${with_xface}" != "no" -a \ |
| 4751 if test "${with_xface}" != "yes" ; then | 3731 "${with_xface}" != "yes" ; then |
| 4752 test -n "$silent" || echo "checking for compface.h" | 3732 test -n "$silent" || echo "checking for compface.h" |
| 4753 cat > conftest.${ac_ext} <<EOF | 3733 cat > conftest.${ac_ext} <<EOF |
| 4754 #include "confdefs.h" | 3734 #include "confdefs.h" |
| 4755 #include <compface.h> | 3735 #include <compface.h> |
| 4756 EOF | 3736 EOF |
| 4757 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 4758 # the parens. | |
| 4759 # The exec was added by Mly to make this work under BSDI | |
| 4760 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 3737 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 4761 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 4762 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 3738 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 4763 echo "$ac_err" | 3739 echo "$ac_err" |
| 4764 fi | 3740 fi |
| 4765 if test -z "$ac_err"; then | 3741 if test -z "$ac_err"; then |
| 4766 rm -rf conftest* | 3742 rm -rf conftest* |
| 4770 rm -rf conftest* | 3746 rm -rf conftest* |
| 4771 with_xface="no" | 3747 with_xface="no" |
| 4772 fi | 3748 fi |
| 4773 rm -f conftest* | 3749 rm -f conftest* |
| 4774 | 3750 |
| 4775 if test "${compface_incl}" = "yes" ; then | 3751 if test "${compface_incl}" = "yes" ; then |
| 4776 ac_save_LIBS="${LIBS}" | 3752 ac_save_LIBS="${LIBS}" |
| 4777 LIBS="${LIBS} -lcompface" | 3753 LIBS="${LIBS} -lcompface" |
| 4778 ac_have_lib="" | 3754 ac_have_lib="" |
| 4779 test -n "$silent" || echo "checking for -lcompface" | 3755 test -n "$silent" || echo "checking for -lcompface" |
| 4780 cat > conftest.${ac_ext} <<EOF | 3756 cat > conftest.${ac_ext} <<EOF |
| 4781 #include "confdefs.h" | 3757 #include "confdefs.h" |
| 4794 :; with_xface="yes" | 3770 :; with_xface="yes" |
| 4795 else | 3771 else |
| 4796 :; | 3772 :; |
| 4797 fi | 3773 fi |
| 4798 | 3774 |
| 4799 fi | |
| 4800 fi | |
| 4801 fi | 3775 fi |
| 4802 fi | 3776 fi |
| 4803 if test "${with_xface}" = "yes" ; then | 3777 test "${with_xface}" = yes && |
| 4804 | |
| 4805 { | 3778 { |
| 4806 test -n "$verbose" && \ | 3779 test -n "$verbose" && \ |
| 4807 echo " defining HAVE_XFACE" | 3780 echo " defining HAVE_XFACE" |
| 4808 echo "#define" HAVE_XFACE "1" >> confdefs.h | 3781 echo "#define" HAVE_XFACE "1" >> confdefs.h |
| 4809 DEFS="$DEFS -DHAVE_XFACE=1" | 3782 DEFS="$DEFS -DHAVE_XFACE=1" |
| 4811 \${ac_uA}HAVE_XFACE\${ac_uB}HAVE_XFACE\${ac_uC}1\${ac_uD} | 3784 \${ac_uA}HAVE_XFACE\${ac_uB}HAVE_XFACE\${ac_uC}1\${ac_uD} |
| 4812 \${ac_eA}HAVE_XFACE\${ac_eB}HAVE_XFACE\${ac_eC}1\${ac_eD} | 3785 \${ac_eA}HAVE_XFACE\${ac_eB}HAVE_XFACE\${ac_eC}1\${ac_eD} |
| 4813 " | 3786 " |
| 4814 } | 3787 } |
| 4815 | 3788 |
| 4816 fi | |
| 4817 | 3789 |
| 4818 # | 3790 # |
| 4819 # check whether we're using GIF support | 3791 # check whether we're using GIF support |
| 4820 # | 3792 # |
| 4821 if test "${window_system}" = "none" ; then | 3793 if test "${window_system}" = "none" ; then |
| 4826 exit 1 | 3798 exit 1 |
| 4827 fi | 3799 fi |
| 4828 elif test -z "${with_gif}" ; then | 3800 elif test -z "${with_gif}" ; then |
| 4829 with_gif=yes | 3801 with_gif=yes |
| 4830 fi | 3802 fi |
| 4831 if test "${with_gif}" = "yes" ; then | 3803 test "${with_gif}" = yes && |
| 4832 | |
| 4833 { | 3804 { |
| 4834 test -n "$verbose" && \ | 3805 test -n "$verbose" && \ |
| 4835 echo " defining HAVE_GIF" | 3806 echo " defining HAVE_GIF" |
| 4836 echo "#define" HAVE_GIF "1" >> confdefs.h | 3807 echo "#define" HAVE_GIF "1" >> confdefs.h |
| 4837 DEFS="$DEFS -DHAVE_GIF=1" | 3808 DEFS="$DEFS -DHAVE_GIF=1" |
| 4839 \${ac_uA}HAVE_GIF\${ac_uB}HAVE_GIF\${ac_uC}1\${ac_uD} | 3810 \${ac_uA}HAVE_GIF\${ac_uB}HAVE_GIF\${ac_uC}1\${ac_uD} |
| 4840 \${ac_eA}HAVE_GIF\${ac_eB}HAVE_GIF\${ac_eC}1\${ac_eD} | 3811 \${ac_eA}HAVE_GIF\${ac_eB}HAVE_GIF\${ac_eC}1\${ac_eD} |
| 4841 " | 3812 " |
| 4842 } | 3813 } |
| 4843 | 3814 |
| 4844 fi | 3815 |
| 4845 | |
| 4846 # | |
| 4847 # autodetect JPEG | |
| 4848 # | |
| 4849 if test "${window_system}" = "none" ; then | 3816 if test "${window_system}" = "none" ; then |
| 4850 if test -z "${with_jpeg}" ; then | 3817 if test -z "${with_jpeg}" ; then |
| 4851 with_jpeg=no | 3818 with_jpeg=no |
| 4852 elif test "${with_jpeg}" != "no" ; then | 3819 elif test "${with_jpeg}" != "no" ; then |
| 4853 echo "JPEG support cannot be specified without a window system." | 3820 echo "JPEG support cannot be specified without a window system." |
| 4854 exit 1 | 3821 exit 1 |
| 4855 fi | 3822 fi |
| 4856 else | 3823 else |
| 4857 if test "${with_jpeg}" != "no" ; then | 3824 if test "${with_jpeg}" != "no" -a \ |
| 4858 if test "${with_jpeg}" != "yes" ; then | 3825 "${with_jpeg}" != "yes" ; then |
| 4859 test -n "$silent" || echo "checking for jpeglib.h" | 3826 test -n "$silent" || echo "checking for jpeglib.h" |
| 4860 cat > conftest.${ac_ext} <<EOF | 3827 cat > conftest.${ac_ext} <<EOF |
| 4861 #include "confdefs.h" | 3828 #include "confdefs.h" |
| 4862 #include <jpeglib.h> | 3829 #include <jpeglib.h> |
| 4863 EOF | 3830 EOF |
| 4864 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 4865 # the parens. | |
| 4866 # The exec was added by Mly to make this work under BSDI | |
| 4867 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 3831 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 4868 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 4869 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 3832 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 4870 echo "$ac_err" | 3833 echo "$ac_err" |
| 4871 fi | 3834 fi |
| 4872 if test -z "$ac_err"; then | 3835 if test -z "$ac_err"; then |
| 4873 rm -rf conftest* | 3836 rm -rf conftest* |
| 4877 rm -rf conftest* | 3840 rm -rf conftest* |
| 4878 with_jpeg="no" | 3841 with_jpeg="no" |
| 4879 fi | 3842 fi |
| 4880 rm -f conftest* | 3843 rm -f conftest* |
| 4881 | 3844 |
| 4882 if test "${jpeglib_incl}" = "yes" ; then | 3845 test "${jpeglib_incl}" = "yes" && { ac_save_LIBS="${LIBS}" |
| 4883 ac_save_LIBS="${LIBS}" | |
| 4884 LIBS="${LIBS} -ljpeg" | 3846 LIBS="${LIBS} -ljpeg" |
| 4885 ac_have_lib="" | 3847 ac_have_lib="" |
| 4886 test -n "$silent" || echo "checking for -ljpeg" | 3848 test -n "$silent" || echo "checking for -ljpeg" |
| 4887 cat > conftest.${ac_ext} <<EOF | 3849 cat > conftest.${ac_ext} <<EOF |
| 4888 #include "confdefs.h" | 3850 #include "confdefs.h" |
| 4900 if test -n "${ac_have_lib}"; then | 3862 if test -n "${ac_have_lib}"; then |
| 4901 :; with_jpeg="yes" | 3863 :; with_jpeg="yes" |
| 4902 else | 3864 else |
| 4903 :; | 3865 :; |
| 4904 fi | 3866 fi |
| 4905 | 3867 } |
| 4906 fi | |
| 4907 fi | |
| 4908 fi | 3868 fi |
| 4909 fi | 3869 fi |
| 4910 if test "${with_jpeg}" = "yes" ; then | 3870 test "${with_jpeg}" = yes && |
| 4911 | |
| 4912 { | 3871 { |
| 4913 test -n "$verbose" && \ | 3872 test -n "$verbose" && \ |
| 4914 echo " defining HAVE_JPEG" | 3873 echo " defining HAVE_JPEG" |
| 4915 echo "#define" HAVE_JPEG "1" >> confdefs.h | 3874 echo "#define" HAVE_JPEG "1" >> confdefs.h |
| 4916 DEFS="$DEFS -DHAVE_JPEG=1" | 3875 DEFS="$DEFS -DHAVE_JPEG=1" |
| 4918 \${ac_uA}HAVE_JPEG\${ac_uB}HAVE_JPEG\${ac_uC}1\${ac_uD} | 3877 \${ac_uA}HAVE_JPEG\${ac_uB}HAVE_JPEG\${ac_uC}1\${ac_uD} |
| 4919 \${ac_eA}HAVE_JPEG\${ac_eB}HAVE_JPEG\${ac_eC}1\${ac_eD} | 3878 \${ac_eA}HAVE_JPEG\${ac_eB}HAVE_JPEG\${ac_eC}1\${ac_eD} |
| 4920 " | 3879 " |
| 4921 } | 3880 } |
| 4922 | 3881 |
| 4923 fi | 3882 |
| 4924 | |
| 4925 # | |
| 4926 # autodetect PNG | |
| 4927 # | |
| 4928 if test "${window_system}" = "none" ; then | 3883 if test "${window_system}" = "none" ; then |
| 4929 if test -z "${with_png}" ; then | 3884 if test -z "${with_png}" ; then |
| 4930 with_png=no | 3885 with_png=no |
| 4931 elif test "${with_png}" != "no" ; then | 3886 elif test "${with_png}" != "no" ; then |
| 4932 echo "PNG support cannot be specified without a window system." | 3887 echo "PNG support cannot be specified without a window system." |
| 4933 exit 1 | 3888 exit 1 |
| 4934 fi | 3889 fi |
| 4935 fi | 3890 fi |
| 4936 if test -z "${with_png}" ; then | 3891 test -z "${with_png}" && { test -n "$silent" || echo "checking for png.h" |
| 4937 test -n "$silent" || echo "checking for png.h" | |
| 4938 cat > conftest.${ac_ext} <<EOF | 3892 cat > conftest.${ac_ext} <<EOF |
| 4939 #include "confdefs.h" | 3893 #include "confdefs.h" |
| 4940 #include <png.h> | 3894 #include <png.h> |
| 4941 EOF | 3895 EOF |
| 4942 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 4943 # the parens. | |
| 4944 # The exec was added by Mly to make this work under BSDI | |
| 4945 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 3896 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 4946 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 4947 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 3897 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 4948 echo "$ac_err" | 3898 echo "$ac_err" |
| 4949 fi | 3899 fi |
| 4950 if test -z "$ac_err"; then | 3900 if test -z "$ac_err"; then |
| 4951 : | 3901 : |
| 4952 else | 3902 else |
| 4953 rm -rf conftest* | 3903 rm -rf conftest* |
| 4954 with_png="no" | 3904 with_png="no" |
| 4955 fi | 3905 fi |
| 4956 rm -f conftest* | 3906 rm -f conftest* |
| 4957 | 3907 } |
| 4958 fi | 3908 test -z "${with_png}" && { ac_save_LIBS="${LIBS}" |
| 4959 if test -z "${with_png}" ; then | |
| 4960 ac_save_LIBS="${LIBS}" | |
| 4961 LIBS="${LIBS} -lpng" | 3909 LIBS="${LIBS} -lpng" |
| 4962 ac_have_lib="" | 3910 ac_have_lib="" |
| 4963 test -n "$silent" || echo "checking for -lpng" | 3911 test -n "$silent" || echo "checking for -lpng" |
| 4964 cat > conftest.${ac_ext} <<EOF | 3912 cat > conftest.${ac_ext} <<EOF |
| 4965 #include "confdefs.h" | 3913 #include "confdefs.h" |
| 4977 if test -n "${ac_have_lib}"; then | 3925 if test -n "${ac_have_lib}"; then |
| 4978 :; | 3926 :; |
| 4979 else | 3927 else |
| 4980 :; with_png="no" | 3928 :; with_png="no" |
| 4981 fi | 3929 fi |
| 4982 | 3930 } |
| 4983 fi | 3931 test -z "${with_png}" && { ac_save_LIBS="${LIBS}" |
| 4984 if test -z "${with_png}" ; then | |
| 4985 ac_save_LIBS="${LIBS}" | |
| 4986 LIBS="${LIBS} -lz" | 3932 LIBS="${LIBS} -lz" |
| 4987 ac_have_lib="" | 3933 ac_have_lib="" |
| 4988 test -n "$silent" || echo "checking for -lz" | 3934 test -n "$silent" || echo "checking for -lz" |
| 4989 cat > conftest.${ac_ext} <<EOF | 3935 cat > conftest.${ac_ext} <<EOF |
| 4990 #include "confdefs.h" | 3936 #include "confdefs.h" |
| 5002 if test -n "${ac_have_lib}"; then | 3948 if test -n "${ac_have_lib}"; then |
| 5003 :; with_png="yes" | 3949 :; with_png="yes" |
| 5004 else | 3950 else |
| 5005 :; | 3951 :; |
| 5006 fi | 3952 fi |
| 5007 | 3953 } |
| 5008 fi | 3954 test -z "${with_png}" && { ac_save_LIBS="${LIBS}" |
| 5009 if test -z "${with_png}" ; then | |
| 5010 ac_save_LIBS="${LIBS}" | |
| 5011 LIBS="${LIBS} -lgz" | 3955 LIBS="${LIBS} -lgz" |
| 5012 ac_have_lib="" | 3956 ac_have_lib="" |
| 5013 test -n "$silent" || echo "checking for -lgz" | 3957 test -n "$silent" || echo "checking for -lgz" |
| 5014 cat > conftest.${ac_ext} <<EOF | 3958 cat > conftest.${ac_ext} <<EOF |
| 5015 #include "confdefs.h" | 3959 #include "confdefs.h" |
| 5027 if test -n "${ac_have_lib}"; then | 3971 if test -n "${ac_have_lib}"; then |
| 5028 :; with_png="gnuz" | 3972 :; with_png="gnuz" |
| 5029 else | 3973 else |
| 5030 :; with_png="no" | 3974 :; with_png="no" |
| 5031 fi | 3975 fi |
| 5032 | 3976 } |
| 5033 fi | 3977 case "${with_png}" in |
| 5034 if test "${with_png}" = "yes" ; then | 3978 yes ) |
| 5035 | |
| 5036 { | 3979 { |
| 5037 test -n "$verbose" && \ | 3980 test -n "$verbose" && \ |
| 5038 echo " defining HAVE_PNG" | 3981 echo " defining HAVE_PNG" |
| 5039 echo "#define" HAVE_PNG "1" >> confdefs.h | 3982 echo "#define" HAVE_PNG "1" >> confdefs.h |
| 5040 DEFS="$DEFS -DHAVE_PNG=1" | 3983 DEFS="$DEFS -DHAVE_PNG=1" |
| 5041 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_PNG\${ac_dB}HAVE_PNG\${ac_dC}1\${ac_dD} | 3984 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_PNG\${ac_dB}HAVE_PNG\${ac_dC}1\${ac_dD} |
| 5042 \${ac_uA}HAVE_PNG\${ac_uB}HAVE_PNG\${ac_uC}1\${ac_uD} | 3985 \${ac_uA}HAVE_PNG\${ac_uB}HAVE_PNG\${ac_uC}1\${ac_uD} |
| 5043 \${ac_eA}HAVE_PNG\${ac_eB}HAVE_PNG\${ac_eC}1\${ac_eD} | 3986 \${ac_eA}HAVE_PNG\${ac_eB}HAVE_PNG\${ac_eC}1\${ac_eD} |
| 5044 " | 3987 " |
| 5045 } | 3988 } |
| 5046 | 3989 ;; |
| 5047 fi | 3990 gnuz ) |
| 5048 if test "${with_png}" = "gnuz" ; then | |
| 5049 | |
| 5050 { | 3991 { |
| 5051 test -n "$verbose" && \ | 3992 test -n "$verbose" && \ |
| 5052 echo " defining HAVE_PNG" | 3993 echo " defining HAVE_PNG" |
| 5053 echo "#define" HAVE_PNG "1" >> confdefs.h | 3994 echo "#define" HAVE_PNG "1" >> confdefs.h |
| 5054 DEFS="$DEFS -DHAVE_PNG=1" | 3995 DEFS="$DEFS -DHAVE_PNG=1" |
| 5055 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_PNG\${ac_dB}HAVE_PNG\${ac_dC}1\${ac_dD} | 3996 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_PNG\${ac_dB}HAVE_PNG\${ac_dC}1\${ac_dD} |
| 5056 \${ac_uA}HAVE_PNG\${ac_uB}HAVE_PNG\${ac_uC}1\${ac_uD} | 3997 \${ac_uA}HAVE_PNG\${ac_uB}HAVE_PNG\${ac_uC}1\${ac_uD} |
| 5057 \${ac_eA}HAVE_PNG\${ac_eB}HAVE_PNG\${ac_eC}1\${ac_eD} | 3998 \${ac_eA}HAVE_PNG\${ac_eB}HAVE_PNG\${ac_eC}1\${ac_eD} |
| 5058 " | 3999 " |
| 5059 } | 4000 } |
| 5060 | 4001 |
| 5061 | |
| 5062 { | 4002 { |
| 5063 test -n "$verbose" && \ | 4003 test -n "$verbose" && \ |
| 5064 echo " defining HAVE_PNG_GNUZ" | 4004 echo " defining HAVE_PNG_GNUZ" |
| 5065 echo "#define" HAVE_PNG_GNUZ "1" >> confdefs.h | 4005 echo "#define" HAVE_PNG_GNUZ "1" >> confdefs.h |
| 5066 DEFS="$DEFS -DHAVE_PNG_GNUZ=1" | 4006 DEFS="$DEFS -DHAVE_PNG_GNUZ=1" |
| 5067 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_PNG_GNUZ\${ac_dB}HAVE_PNG_GNUZ\${ac_dC}1\${ac_dD} | 4007 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_PNG_GNUZ\${ac_dB}HAVE_PNG_GNUZ\${ac_dC}1\${ac_dD} |
| 5068 \${ac_uA}HAVE_PNG_GNUZ\${ac_uB}HAVE_PNG_GNUZ\${ac_uC}1\${ac_uD} | 4008 \${ac_uA}HAVE_PNG_GNUZ\${ac_uB}HAVE_PNG_GNUZ\${ac_uC}1\${ac_uD} |
| 5069 \${ac_eA}HAVE_PNG_GNUZ\${ac_eB}HAVE_PNG_GNUZ\${ac_eC}1\${ac_eD} | 4009 \${ac_eA}HAVE_PNG_GNUZ\${ac_eB}HAVE_PNG_GNUZ\${ac_eC}1\${ac_eD} |
| 5070 " | 4010 " |
| 5071 } | 4011 } |
| 5072 | 4012 ;; |
| 5073 fi | 4013 esac |
| 5074 | 4014 |
| 5075 # | 4015 test "${with_tiff}" = yes && |
| 5076 # autodetect TIFF (not yet implemented) | |
| 5077 # | |
| 5078 if test "${window_system}" = "none" ; then | |
| 5079 if test -z "${with_tiff}" ; then | |
| 5080 with_tiff=no | |
| 5081 elif test "${with_tiff}" != "no" ; then | |
| 5082 echo "TIFF support cannot be specified without a window system." | |
| 5083 exit 1 | |
| 5084 fi | |
| 5085 fi | |
| 5086 if test "${with_tiff}" = "yes" ; then | |
| 5087 | |
| 5088 { | 4016 { |
| 5089 test -n "$verbose" && \ | 4017 test -n "$verbose" && \ |
| 5090 echo " defining HAVE_TIFF" | 4018 echo " defining HAVE_TIFF" |
| 5091 echo "#define" HAVE_TIFF "1" >> confdefs.h | 4019 echo "#define" HAVE_TIFF "1" >> confdefs.h |
| 5092 DEFS="$DEFS -DHAVE_TIFF=1" | 4020 DEFS="$DEFS -DHAVE_TIFF=1" |
| 5094 \${ac_uA}HAVE_TIFF\${ac_uB}HAVE_TIFF\${ac_uC}1\${ac_uD} | 4022 \${ac_uA}HAVE_TIFF\${ac_uB}HAVE_TIFF\${ac_uC}1\${ac_uD} |
| 5095 \${ac_eA}HAVE_TIFF\${ac_eB}HAVE_TIFF\${ac_eC}1\${ac_eD} | 4023 \${ac_eA}HAVE_TIFF\${ac_eB}HAVE_TIFF\${ac_eC}1\${ac_eD} |
| 5096 " | 4024 " |
| 5097 } | 4025 } |
| 5098 | 4026 |
| 5099 fi | |
| 5100 | 4027 |
| 5101 # We use Lucid toolkit defaults for the menubars and scrollbars, but | 4028 # We use Lucid toolkit defaults for the menubars and scrollbars, but |
| 5102 # if Motif is available we use it for the dialog boxes. | 4029 # if Motif is available we use it for the dialog boxes. |
| 5103 if test "${window_system}" != "none" ; then | 4030 if test "${window_system}" != "none" ; then |
| 4031 save_libs="${LIBS}" | |
| 5104 if test "x${with_dialogs}" = "x" ; then | 4032 if test "x${with_dialogs}" = "x" ; then |
| 5105 # We can't use ac_have_library because it simply appends -lXm to the | 4033 # We can't use ac_have_library because it simply appends -lXm to the |
| 5106 # end of the link line which is insufficient since -lXm will generate | 4034 # end of the link line which is insufficient since -lXm will generate |
| 5107 # dependencies on -lXt | 4035 # dependencies on -lXt |
| 5108 # begin expansion of ac_have_library | 4036 # begin expansion of ac_have_library |
| 5122 | 4050 |
| 5123 fi | 4051 fi |
| 5124 rm -f conftest* | 4052 rm -f conftest* |
| 5125 LIBS="${ac_save_LIBS}" | 4053 LIBS="${ac_save_LIBS}" |
| 5126 if test -n "${ac_have_lib}"; then | 4054 if test -n "${ac_have_lib}"; then |
| 5127 :; with_dialogs="motif" | 4055 :; with_dialogs="motif" motif_libs="-lXm -lXt" |
| 5128 else | 4056 else |
| 5129 :; | 4057 :; |
| 5130 fi | 4058 fi |
| 5131 # end expansion of ac_have_library | 4059 # end expansion of ac_have_library |
| 5132 # Sigh. My Motif (MoTeeth) under Linux also depends on Xpm and Xext. | 4060 # Sigh. My Motif (MoTeeth) under Linux also depends on Xpm and Xext. |
| 5148 | 4076 |
| 5149 fi | 4077 fi |
| 5150 rm -f conftest* | 4078 rm -f conftest* |
| 5151 LIBS="${ac_save_LIBS}" | 4079 LIBS="${ac_save_LIBS}" |
| 5152 if test -n "${ac_have_lib}"; then | 4080 if test -n "${ac_have_lib}"; then |
| 5153 :; with_dialogs="motif" | 4081 :; with_dialogs="motif" motif_libs="-lXm -lXt -lXpm -lXext" |
| 5154 else | 4082 else |
| 5155 :; | 4083 :; |
| 5156 fi | 4084 fi |
| 5157 # end expansion of ac_have_library | 4085 # end expansion of ac_have_library |
| 5158 fi | 4086 fi |
| 5159 if test "${with_dialogs}" = "motif" ; then | 4087 test "${with_dialogs}" = "motif" && test -n "$verbose" && echo " Found Motif" |
| 5160 test -n "$verbose" && echo " Found Motif" | |
| 5161 fi | |
| 5162 fi | 4088 fi |
| 5163 fi | 4089 fi |
| 5164 | 4090 |
| 5165 | |
| 5166 if [ "${with_menubars}" = "motif" ] || [ "${with_scrollbars}" = "motif" ] \ | |
| 5167 || [ "${with_dialogs}" = "motif" ]; then | |
| 5168 with_motif='yes' | |
| 5169 fi | |
| 5170 if [ "${with_menubars}" = "athena" ] || [ "${with_scrollbars}" = "athena" ] \ | |
| 5171 || [ "${with_dialogs}" = "athena" ]; then | |
| 5172 with_athena='yes' | |
| 5173 fi | |
| 5174 if [ "${with_menubars}" = "athena3d" ] || [ "${with_scrollbars}" = "athena3d" ] \ | |
| 5175 || [ "${with_dialogs}" = "athena3d" ]; then | |
| 5176 with_athena='yes' | |
| 5177 fi | |
| 5178 | |
| 5179 # Finish ensuring that we have values for the various toolkit items. | 4091 # Finish ensuring that we have values for the various toolkit items. |
| 5180 if [ "x${with_menubars}" = "x" ] || [ "${with_menubars}" = "athena" ]; then | 4092 |
| 5181 with_menubars='lucid' | 4093 test "${with_menubars}" = "motif" -o \ |
| 5182 fi | 4094 "${with_scrollbars}" = "motif" -o \ |
| 5183 if [ "x${with_scrollbars}" = "x" ]; then | 4095 "${with_dialogs}" = "motif" && with_motif="yes" |
| 5184 with_scrollbars='lucid' | 4096 test "${with_menubars}" = "" && with_menubars="lucid" |
| 5185 fi | 4097 test "${with_menubars}" = "athena" && with_menubars="lucid" |
| 5186 if [ "x${with_dialogs}" = "x" ] || [ "${with_dialogs}" = "lucid" ]; then | 4098 test "${with_scrollbars}" = "" && with_scrollbars="lucid" |
| 5187 with_dialogs='athena' | 4099 test "${with_dialogs}" = "" && with_dialogs="athena" |
| 5188 fi | 4100 test "${with_dialogs}" = "lucid" && with_dialogs="athena" |
| 4101 | |
| 4102 test "${with_menubars}" != "no" && | |
| 4103 { | |
| 4104 test -n "$verbose" && \ | |
| 4105 echo " defining HAVE_MENUBARS" | |
| 4106 echo "#define" HAVE_MENUBARS "1" >> confdefs.h | |
| 4107 DEFS="$DEFS -DHAVE_MENUBARS=1" | |
| 4108 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_MENUBARS\${ac_dB}HAVE_MENUBARS\${ac_dC}1\${ac_dD} | |
| 4109 \${ac_uA}HAVE_MENUBARS\${ac_uB}HAVE_MENUBARS\${ac_uC}1\${ac_uD} | |
| 4110 \${ac_eA}HAVE_MENUBARS\${ac_eB}HAVE_MENUBARS\${ac_eC}1\${ac_eD} | |
| 4111 " | |
| 4112 } | |
| 4113 | |
| 4114 test "${with_scrollbars}" != "no" && | |
| 4115 { | |
| 4116 test -n "$verbose" && \ | |
| 4117 echo " defining HAVE_SCROLLBARS" | |
| 4118 echo "#define" HAVE_SCROLLBARS "1" >> confdefs.h | |
| 4119 DEFS="$DEFS -DHAVE_SCROLLBARS=1" | |
| 4120 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_SCROLLBARS\${ac_dB}HAVE_SCROLLBARS\${ac_dC}1\${ac_dD} | |
| 4121 \${ac_uA}HAVE_SCROLLBARS\${ac_uB}HAVE_SCROLLBARS\${ac_uC}1\${ac_uD} | |
| 4122 \${ac_eA}HAVE_SCROLLBARS\${ac_eB}HAVE_SCROLLBARS\${ac_eC}1\${ac_eD} | |
| 4123 " | |
| 4124 } | |
| 4125 | |
| 4126 test "${with_scrollbars}" != "no" && | |
| 4127 { | |
| 4128 test -n "$verbose" && \ | |
| 4129 echo " defining HAVE_DIALOGS" | |
| 4130 echo "#define" HAVE_DIALOGS "1" >> confdefs.h | |
| 4131 DEFS="$DEFS -DHAVE_DIALOGS=1" | |
| 4132 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_DIALOGS\${ac_dB}HAVE_DIALOGS\${ac_dC}1\${ac_dD} | |
| 4133 \${ac_uA}HAVE_DIALOGS\${ac_uB}HAVE_DIALOGS\${ac_uC}1\${ac_uD} | |
| 4134 \${ac_eA}HAVE_DIALOGS\${ac_eB}HAVE_DIALOGS\${ac_eC}1\${ac_eD} | |
| 4135 " | |
| 4136 } | |
| 4137 | |
| 4138 | |
| 4139 test "${with_menubars}" = "lucid" && | |
| 4140 { | |
| 4141 test -n "$verbose" && \ | |
| 4142 echo " defining LWLIB_MENUBARS_LUCID" | |
| 4143 echo "#define" LWLIB_MENUBARS_LUCID "1" >> confdefs.h | |
| 4144 DEFS="$DEFS -DLWLIB_MENUBARS_LUCID=1" | |
| 4145 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_MENUBARS_LUCID\${ac_dB}LWLIB_MENUBARS_LUCID\${ac_dC}1\${ac_dD} | |
| 4146 \${ac_uA}LWLIB_MENUBARS_LUCID\${ac_uB}LWLIB_MENUBARS_LUCID\${ac_uC}1\${ac_uD} | |
| 4147 \${ac_eA}LWLIB_MENUBARS_LUCID\${ac_eB}LWLIB_MENUBARS_LUCID\${ac_eC}1\${ac_eD} | |
| 4148 " | |
| 4149 } | |
| 4150 | |
| 4151 test "${with_menubars}" = "motif" && | |
| 4152 { | |
| 4153 test -n "$verbose" && \ | |
| 4154 echo " defining LWLIB_MENUBARS_MOTIF" | |
| 4155 echo "#define" LWLIB_MENUBARS_MOTIF "1" >> confdefs.h | |
| 4156 DEFS="$DEFS -DLWLIB_MENUBARS_MOTIF=1" | |
| 4157 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_MENUBARS_MOTIF\${ac_dB}LWLIB_MENUBARS_MOTIF\${ac_dC}1\${ac_dD} | |
| 4158 \${ac_uA}LWLIB_MENUBARS_MOTIF\${ac_uB}LWLIB_MENUBARS_MOTIF\${ac_uC}1\${ac_uD} | |
| 4159 \${ac_eA}LWLIB_MENUBARS_MOTIF\${ac_eB}LWLIB_MENUBARS_MOTIF\${ac_eC}1\${ac_eD} | |
| 4160 " | |
| 4161 } | |
| 4162 | |
| 4163 test "${with_scrollbars}" = "lucid" && | |
| 4164 { | |
| 4165 test -n "$verbose" && \ | |
| 4166 echo " defining LWLIB_SCROLLBARS_LUCID" | |
| 4167 echo "#define" LWLIB_SCROLLBARS_LUCID "1" >> confdefs.h | |
| 4168 DEFS="$DEFS -DLWLIB_SCROLLBARS_LUCID=1" | |
| 4169 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_LUCID\${ac_dB}LWLIB_SCROLLBARS_LUCID\${ac_dC}1\${ac_dD} | |
| 4170 \${ac_uA}LWLIB_SCROLLBARS_LUCID\${ac_uB}LWLIB_SCROLLBARS_LUCID\${ac_uC}1\${ac_uD} | |
| 4171 \${ac_eA}LWLIB_SCROLLBARS_LUCID\${ac_eB}LWLIB_SCROLLBARS_LUCID\${ac_eC}1\${ac_eD} | |
| 4172 " | |
| 4173 } | |
| 4174 | |
| 4175 test "${with_scrollbars}" = "motif" && | |
| 4176 { | |
| 4177 test -n "$verbose" && \ | |
| 4178 echo " defining LWLIB_SCROLLBARS_MOTIF" | |
| 4179 echo "#define" LWLIB_SCROLLBARS_MOTIF "1" >> confdefs.h | |
| 4180 DEFS="$DEFS -DLWLIB_SCROLLBARS_MOTIF=1" | |
| 4181 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_MOTIF\${ac_dB}LWLIB_SCROLLBARS_MOTIF\${ac_dC}1\${ac_dD} | |
| 4182 \${ac_uA}LWLIB_SCROLLBARS_MOTIF\${ac_uB}LWLIB_SCROLLBARS_MOTIF\${ac_uC}1\${ac_uD} | |
| 4183 \${ac_eA}LWLIB_SCROLLBARS_MOTIF\${ac_eB}LWLIB_SCROLLBARS_MOTIF\${ac_eC}1\${ac_eD} | |
| 4184 " | |
| 4185 } | |
| 4186 | |
| 4187 test "${with_scrollbars}" = "athena" && | |
| 4188 { | |
| 4189 test -n "$verbose" && \ | |
| 4190 echo " defining LWLIB_SCROLLBARS_ATHENA" | |
| 4191 echo "#define" LWLIB_SCROLLBARS_ATHENA "1" >> confdefs.h | |
| 4192 DEFS="$DEFS -DLWLIB_SCROLLBARS_ATHENA=1" | |
| 4193 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_ATHENA\${ac_dB}LWLIB_SCROLLBARS_ATHENA\${ac_dC}1\${ac_dD} | |
| 4194 \${ac_uA}LWLIB_SCROLLBARS_ATHENA\${ac_uB}LWLIB_SCROLLBARS_ATHENA\${ac_uC}1\${ac_uD} | |
| 4195 \${ac_eA}LWLIB_SCROLLBARS_ATHENA\${ac_eB}LWLIB_SCROLLBARS_ATHENA\${ac_eC}1\${ac_eD} | |
| 4196 " | |
| 4197 } | |
| 4198 | |
| 4199 test "${with_dialogs}" = "motif" && | |
| 4200 { | |
| 4201 test -n "$verbose" && \ | |
| 4202 echo " defining LWLIB_DIALOGS_MOTIF" | |
| 4203 echo "#define" LWLIB_DIALOGS_MOTIF "1" >> confdefs.h | |
| 4204 DEFS="$DEFS -DLWLIB_DIALOGS_MOTIF=1" | |
| 4205 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_DIALOGS_MOTIF\${ac_dB}LWLIB_DIALOGS_MOTIF\${ac_dC}1\${ac_dD} | |
| 4206 \${ac_uA}LWLIB_DIALOGS_MOTIF\${ac_uB}LWLIB_DIALOGS_MOTIF\${ac_uC}1\${ac_uD} | |
| 4207 \${ac_eA}LWLIB_DIALOGS_MOTIF\${ac_eB}LWLIB_DIALOGS_MOTIF\${ac_eC}1\${ac_eD} | |
| 4208 " | |
| 4209 } | |
| 4210 | |
| 4211 test "${with_dialogs}" = "athena" && | |
| 4212 { | |
| 4213 test -n "$verbose" && \ | |
| 4214 echo " defining LWLIB_DIALOGS_ATHENA" | |
| 4215 echo "#define" LWLIB_DIALOGS_ATHENA "1" >> confdefs.h | |
| 4216 DEFS="$DEFS -DLWLIB_DIALOGS_ATHENA=1" | |
| 4217 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_DIALOGS_ATHENA\${ac_dB}LWLIB_DIALOGS_ATHENA\${ac_dC}1\${ac_dD} | |
| 4218 \${ac_uA}LWLIB_DIALOGS_ATHENA\${ac_uB}LWLIB_DIALOGS_ATHENA\${ac_uC}1\${ac_uD} | |
| 4219 \${ac_eA}LWLIB_DIALOGS_ATHENA\${ac_eB}LWLIB_DIALOGS_ATHENA\${ac_eC}1\${ac_eD} | |
| 4220 " | |
| 4221 } | |
| 5189 | 4222 |
| 5190 | 4223 |
| 5191 ############################################################################ | 4224 ############################################################################ |
| 5192 # # | 4225 # # |
| 5193 # Misc other feature tests # | 4226 # Misc other feature tests # |
| 5194 # # | 4227 # # |
| 5195 ############################################################################ | 4228 ############################################################################ |
| 4229 | |
| 4230 # Mule-dependent option processing | |
| 4231 if test "$with_mule" = "yes" ; then | |
| 4232 # Do we have the XmIm* routines? And if so, do we want to use them? | |
| 4233 test "$with_xim" != no && test -n "$silent" || echo "checking for XIM" | |
| 4234 if test -z "$with_xim" -o "$with_xim" = "yes" ; then | |
| 4235 xim_save_libs="$LIBS" | |
| 4236 LIBS="${motif_libs} ${LIBS}" | |
| 4237 test -n "$silent" || echo "checking for XmImMbLookupString" | |
| 4238 cat > conftest.${ac_ext} <<EOF | |
| 4239 #include "confdefs.h" | |
| 4240 #include <ctype.h> | |
| 4241 int main() { return 0; } | |
| 4242 int t() { | |
| 4243 /* The GNU C library defines this for functions which it implements | |
| 4244 to always fail with ENOSYS. Some functions are actually named | |
| 4245 something starting with __ and the normal name is an alias. */ | |
| 4246 #if defined (__stub_XmImMbLookupString) || defined (__stub___XmImMbLookupString) | |
| 4247 choke me | |
| 4248 #else | |
| 4249 /* Override any gcc2 internal prototype to avoid an error. */ | |
| 4250 extern char XmImMbLookupString(); XmImMbLookupString(); | |
| 4251 #endif | |
| 4252 ; return 0; } | |
| 4253 EOF | |
| 4254 if eval $ac_compile; then | |
| 4255 rm -rf conftest* | |
| 4256 have_XmIm=yes | |
| 4257 | |
| 4258 else | |
| 4259 rm -rf conftest* | |
| 4260 have_XmIm=no | |
| 4261 fi | |
| 4262 rm -f conftest* | |
| 4263 | |
| 4264 LIBS="$xim_save_libs" | |
| 4265 if test "$have_XmIm" = "yes"; then with_xim=motif | |
| 4266 elif test "$with_xim" = "yes"; then with_xim=xlib | |
| 4267 else with_xim=no | |
| 4268 fi | |
| 4269 fi | |
| 4270 if test "$with_xim" != "no" ; then | |
| 4271 | |
| 4272 { | |
| 4273 test -n "$verbose" && \ | |
| 4274 echo " defining HAVE_XIM" | |
| 4275 echo "#define" HAVE_XIM "1" >> confdefs.h | |
| 4276 DEFS="$DEFS -DHAVE_XIM=1" | |
| 4277 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_XIM\${ac_dB}HAVE_XIM\${ac_dC}1\${ac_dD} | |
| 4278 \${ac_uA}HAVE_XIM\${ac_uB}HAVE_XIM\${ac_uC}1\${ac_uD} | |
| 4279 \${ac_eA}HAVE_XIM\${ac_eB}HAVE_XIM\${ac_eC}1\${ac_eD} | |
| 4280 " | |
| 4281 } | |
| 4282 | |
| 4283 test "$with_xim" = "xlib" && | |
| 4284 { | |
| 4285 test -n "$verbose" && \ | |
| 4286 echo " defining XIM_XLIB" | |
| 4287 echo "#define" XIM_XLIB "1" >> confdefs.h | |
| 4288 DEFS="$DEFS -DXIM_XLIB=1" | |
| 4289 ac_sed_defs="${ac_sed_defs}\${ac_dA}XIM_XLIB\${ac_dB}XIM_XLIB\${ac_dC}1\${ac_dD} | |
| 4290 \${ac_uA}XIM_XLIB\${ac_uB}XIM_XLIB\${ac_uC}1\${ac_uD} | |
| 4291 \${ac_eA}XIM_XLIB\${ac_eB}XIM_XLIB\${ac_eC}1\${ac_eD} | |
| 4292 " | |
| 4293 } | |
| 4294 | |
| 4295 test "$with_xim" = "motif" && | |
| 4296 { | |
| 4297 test -n "$verbose" && \ | |
| 4298 echo " defining XIM_MOTIF" | |
| 4299 echo "#define" XIM_MOTIF "1" >> confdefs.h | |
| 4300 DEFS="$DEFS -DXIM_MOTIF=1" | |
| 4301 ac_sed_defs="${ac_sed_defs}\${ac_dA}XIM_MOTIF\${ac_dB}XIM_MOTIF\${ac_dC}1\${ac_dD} | |
| 4302 \${ac_uA}XIM_MOTIF\${ac_uB}XIM_MOTIF\${ac_uC}1\${ac_uD} | |
| 4303 \${ac_eA}XIM_MOTIF\${ac_eB}XIM_MOTIF\${ac_eC}1\${ac_eD} | |
| 4304 " | |
| 4305 } | |
| 4306 | |
| 4307 fi | |
| 4308 else # Other internationalization features depend on Mule | |
| 4309 with_mule="no" | |
| 4310 for feature in xim canna wnn ; do | |
| 4311 if eval "test -n \"\$with_$feature\" -a \"\$with_$feature\" != no" ; then | |
| 4312 echo "configure: warning: --with-$feature ignored: Not valid without Mule support" >&2 | |
| 4313 fi | |
| 4314 eval "with_$feature=no" | |
| 4315 done | |
| 4316 fi | |
| 5196 | 4317 |
| 5197 # If netdb.h doesn't declare h_errno, we must declare it by hand. | 4318 # If netdb.h doesn't declare h_errno, we must declare it by hand. |
| 5198 test -n "$silent" || echo "checking for declaration of h_errno in netdb.h" | 4319 test -n "$silent" || echo "checking for declaration of h_errno in netdb.h" |
| 5199 cat > conftest.${ac_ext} <<EOF | 4320 cat > conftest.${ac_ext} <<EOF |
| 5200 #include "confdefs.h" | 4321 #include "confdefs.h" |
| 5718 test -n "$silent" || echo "checking for vfork.h" | 4839 test -n "$silent" || echo "checking for vfork.h" |
| 5719 cat > conftest.${ac_ext} <<EOF | 4840 cat > conftest.${ac_ext} <<EOF |
| 5720 #include "confdefs.h" | 4841 #include "confdefs.h" |
| 5721 #include <vfork.h> | 4842 #include <vfork.h> |
| 5722 EOF | 4843 EOF |
| 5723 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 5724 # the parens. | |
| 5725 # The exec was added by Mly to make this work under BSDI | |
| 5726 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 4844 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 5727 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 5728 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 4845 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 5729 echo "$ac_err" | 4846 echo "$ac_err" |
| 5730 fi | 4847 fi |
| 5731 if test -z "$ac_err"; then | 4848 if test -z "$ac_err"; then |
| 5732 rm -rf conftest* | 4849 rm -rf conftest* |
| 6055 rm -rf conftest* | 5172 rm -rf conftest* |
| 6056 found_mmap= | 5173 found_mmap= |
| 6057 fi | 5174 fi |
| 6058 rm -f conftest* | 5175 rm -f conftest* |
| 6059 | 5176 |
| 6060 if test -n "$found_mmap"; then | 5177 test -n "$found_mmap" && |
| 6061 | |
| 6062 { | 5178 { |
| 6063 test -n "$verbose" && \ | 5179 test -n "$verbose" && \ |
| 6064 echo " defining HAVE_MMAP" | 5180 echo " defining HAVE_MMAP" |
| 6065 echo "#define" HAVE_MMAP "1" >> confdefs.h | 5181 echo "#define" HAVE_MMAP "1" >> confdefs.h |
| 6066 DEFS="$DEFS -DHAVE_MMAP=1" | 5182 DEFS="$DEFS -DHAVE_MMAP=1" |
| 6068 \${ac_uA}HAVE_MMAP\${ac_uB}HAVE_MMAP\${ac_uC}1\${ac_uD} | 5184 \${ac_uA}HAVE_MMAP\${ac_uB}HAVE_MMAP\${ac_uC}1\${ac_uD} |
| 6069 \${ac_eA}HAVE_MMAP\${ac_eB}HAVE_MMAP\${ac_eC}1\${ac_eD} | 5185 \${ac_eA}HAVE_MMAP\${ac_eB}HAVE_MMAP\${ac_eC}1\${ac_eD} |
| 6070 " | 5186 " |
| 6071 } | 5187 } |
| 6072 | 5188 |
| 6073 fi | 5189 |
| 6074 | 5190 test "${GNU_MALLOC}" != "yes" -a "${found_mmap}" != "true" && rel_alloc=no |
| 6075 | 5191 test "${rel_alloc}" = "default" -a "${found_mmap}" = "true" && rel_alloc=yes |
| 6076 # rel_alloc requires either GNU malloc or system malloc with mmap | |
| 6077 if [ "${GNU_MALLOC}" != "yes" ]; then | |
| 6078 if [ "${found_mmap}" != "true" ]; then | |
| 6079 rel_alloc=no | |
| 6080 fi | |
| 6081 fi | |
| 6082 | |
| 6083 # We only turn rel_alloc on by default if mmap is available. | |
| 6084 if [ "${rel_alloc}" = "default" ]; then | |
| 6085 if [ "${found_mmap}" = "true" ]; then | |
| 6086 rel_alloc=yes | |
| 6087 fi | |
| 6088 fi | |
| 6089 | |
| 6090 | |
| 6091 | 5192 |
| 6092 # Check for Internet sockets. | 5193 # Check for Internet sockets. |
| 6093 | 5194 |
| 6094 ok_so_far=true | 5195 ok_so_far=true |
| 6095 test -n "$silent" || echo "checking for socket" | 5196 test -n "$silent" || echo "checking for socket" |
| 6115 rm -rf conftest* | 5216 rm -rf conftest* |
| 6116 ok_so_far= | 5217 ok_so_far= |
| 6117 fi | 5218 fi |
| 6118 rm -f conftest* | 5219 rm -f conftest* |
| 6119 | 5220 |
| 6120 if test -n "$ok_so_far"; then | 5221 test -n "$ok_so_far" && { test -n "$silent" || echo "checking for netinet/in.h" |
| 6121 test -n "$silent" || echo "checking for netinet/in.h" | |
| 6122 cat > conftest.${ac_ext} <<EOF | 5222 cat > conftest.${ac_ext} <<EOF |
| 6123 #include "confdefs.h" | 5223 #include "confdefs.h" |
| 6124 #include <netinet/in.h> | 5224 #include <netinet/in.h> |
| 6125 EOF | 5225 EOF |
| 6126 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6127 # the parens. | |
| 6128 # The exec was added by Mly to make this work under BSDI | |
| 6129 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5226 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6130 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6131 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5227 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6132 echo "$ac_err" | 5228 echo "$ac_err" |
| 6133 fi | 5229 fi |
| 6134 if test -z "$ac_err"; then | 5230 if test -z "$ac_err"; then |
| 6135 : | 5231 : |
| 6136 else | 5232 else |
| 6137 rm -rf conftest* | 5233 rm -rf conftest* |
| 6138 ok_so_far= | 5234 ok_so_far= |
| 6139 fi | 5235 fi |
| 6140 rm -f conftest* | 5236 rm -f conftest* |
| 6141 | 5237 } |
| 6142 fi | 5238 test -n "$ok_so_far" && { test -n "$silent" || echo "checking for arpa/inet.h" |
| 6143 if test -n "$ok_so_far"; then | |
| 6144 test -n "$silent" || echo "checking for arpa/inet.h" | |
| 6145 cat > conftest.${ac_ext} <<EOF | 5239 cat > conftest.${ac_ext} <<EOF |
| 6146 #include "confdefs.h" | 5240 #include "confdefs.h" |
| 6147 #include <arpa/inet.h> | 5241 #include <arpa/inet.h> |
| 6148 EOF | 5242 EOF |
| 6149 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6150 # the parens. | |
| 6151 # The exec was added by Mly to make this work under BSDI | |
| 6152 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5243 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6153 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6154 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5244 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6155 echo "$ac_err" | 5245 echo "$ac_err" |
| 6156 fi | 5246 fi |
| 6157 if test -z "$ac_err"; then | 5247 if test -z "$ac_err"; then |
| 6158 : | 5248 : |
| 6159 else | 5249 else |
| 6160 rm -rf conftest* | 5250 rm -rf conftest* |
| 6161 ok_so_far= | 5251 ok_so_far= |
| 6162 fi | 5252 fi |
| 6163 rm -f conftest* | 5253 rm -f conftest* |
| 6164 | 5254 } |
| 6165 fi | |
| 6166 if test -n "$ok_so_far"; then | 5255 if test -n "$ok_so_far"; then |
| 6167 | 5256 |
| 6168 { | 5257 { |
| 6169 test -n "$verbose" && \ | 5258 test -n "$verbose" && \ |
| 6170 echo " defining HAVE_SOCKETS" | 5259 echo " defining HAVE_SOCKETS" |
| 6234 rm -rf conftest* | 5323 rm -rf conftest* |
| 6235 ok_so_far= | 5324 ok_so_far= |
| 6236 fi | 5325 fi |
| 6237 rm -f conftest* | 5326 rm -f conftest* |
| 6238 | 5327 |
| 6239 if test -n "$ok_so_far"; then | 5328 test -n "$ok_so_far" && { test -n "$silent" || echo "checking for sys/ipc.h" |
| 6240 test -n "$silent" || echo "checking for sys/ipc.h" | |
| 6241 cat > conftest.${ac_ext} <<EOF | 5329 cat > conftest.${ac_ext} <<EOF |
| 6242 #include "confdefs.h" | 5330 #include "confdefs.h" |
| 6243 #include <sys/ipc.h> | 5331 #include <sys/ipc.h> |
| 6244 EOF | 5332 EOF |
| 6245 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6246 # the parens. | |
| 6247 # The exec was added by Mly to make this work under BSDI | |
| 6248 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5333 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6249 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6250 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5334 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6251 echo "$ac_err" | 5335 echo "$ac_err" |
| 6252 fi | 5336 fi |
| 6253 if test -z "$ac_err"; then | 5337 if test -z "$ac_err"; then |
| 6254 : | 5338 : |
| 6255 else | 5339 else |
| 6256 rm -rf conftest* | 5340 rm -rf conftest* |
| 6257 ok_so_far= | 5341 ok_so_far= |
| 6258 fi | 5342 fi |
| 6259 rm -f conftest* | 5343 rm -f conftest* |
| 6260 | 5344 } |
| 6261 fi | 5345 test -n "$ok_so_far" && { test -n "$silent" || echo "checking for sys/msg.h" |
| 6262 if test -n "$ok_so_far"; then | |
| 6263 test -n "$silent" || echo "checking for sys/msg.h" | |
| 6264 cat > conftest.${ac_ext} <<EOF | 5346 cat > conftest.${ac_ext} <<EOF |
| 6265 #include "confdefs.h" | 5347 #include "confdefs.h" |
| 6266 #include <sys/msg.h> | 5348 #include <sys/msg.h> |
| 6267 EOF | 5349 EOF |
| 6268 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6269 # the parens. | |
| 6270 # The exec was added by Mly to make this work under BSDI | |
| 6271 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5350 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6272 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6273 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5351 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6274 echo "$ac_err" | 5352 echo "$ac_err" |
| 6275 fi | 5353 fi |
| 6276 if test -z "$ac_err"; then | 5354 if test -z "$ac_err"; then |
| 6277 : | 5355 : |
| 6278 else | 5356 else |
| 6279 rm -rf conftest* | 5357 rm -rf conftest* |
| 6280 ok_so_far= | 5358 ok_so_far= |
| 6281 fi | 5359 fi |
| 6282 rm -f conftest* | 5360 rm -f conftest* |
| 6283 | 5361 } |
| 6284 fi | 5362 test -n "$ok_so_far" && |
| 6285 if test -n "$ok_so_far"; then | |
| 6286 | |
| 6287 { | 5363 { |
| 6288 test -n "$verbose" && \ | 5364 test -n "$verbose" && \ |
| 6289 echo " defining HAVE_SYSVIPC" | 5365 echo " defining HAVE_SYSVIPC" |
| 6290 echo "#define" HAVE_SYSVIPC "1" >> confdefs.h | 5366 echo "#define" HAVE_SYSVIPC "1" >> confdefs.h |
| 6291 DEFS="$DEFS -DHAVE_SYSVIPC=1" | 5367 DEFS="$DEFS -DHAVE_SYSVIPC=1" |
| 6293 \${ac_uA}HAVE_SYSVIPC\${ac_uB}HAVE_SYSVIPC\${ac_uC}1\${ac_uD} | 5369 \${ac_uA}HAVE_SYSVIPC\${ac_uB}HAVE_SYSVIPC\${ac_uC}1\${ac_uD} |
| 6294 \${ac_eA}HAVE_SYSVIPC\${ac_eB}HAVE_SYSVIPC\${ac_eC}1\${ac_eD} | 5370 \${ac_eA}HAVE_SYSVIPC\${ac_eB}HAVE_SYSVIPC\${ac_eC}1\${ac_eD} |
| 6295 " | 5371 " |
| 6296 } | 5372 } |
| 6297 | 5373 |
| 6298 fi | |
| 6299 fi | 5374 fi |
| 6300 | 5375 |
| 6301 # Check for directory variants | 5376 # Check for directory variants |
| 6302 | 5377 |
| 6303 sysv_system_dir= | 5378 sysv_system_dir= |
| 6305 test -n "$silent" || echo "checking for dirent.h" | 5380 test -n "$silent" || echo "checking for dirent.h" |
| 6306 cat > conftest.${ac_ext} <<EOF | 5381 cat > conftest.${ac_ext} <<EOF |
| 6307 #include "confdefs.h" | 5382 #include "confdefs.h" |
| 6308 #include <dirent.h> | 5383 #include <dirent.h> |
| 6309 EOF | 5384 EOF |
| 6310 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6311 # the parens. | |
| 6312 # The exec was added by Mly to make this work under BSDI | |
| 6313 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5385 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6314 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6315 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5386 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6316 echo "$ac_err" | 5387 echo "$ac_err" |
| 6317 fi | 5388 fi |
| 6318 if test -z "$ac_err"; then | 5389 if test -z "$ac_err"; then |
| 6319 rm -rf conftest* | 5390 rm -rf conftest* |
| 6320 sysv_system_dir=yes | 5391 sysv_system_dir=yes |
| 6321 | 5392 |
| 6322 fi | 5393 fi |
| 6323 rm -f conftest* | 5394 rm -f conftest* |
| 6324 | 5395 |
| 6325 if test -z "$sysv_system_dir" ; then | 5396 test -z "$sysv_system_dir" && |
| 6326 test -n "$silent" || echo "checking for sys/dir.h" | 5397 { test -n "$silent" || echo "checking for sys/dir.h" |
| 6327 cat > conftest.${ac_ext} <<EOF | 5398 cat > conftest.${ac_ext} <<EOF |
| 6328 #include "confdefs.h" | 5399 #include "confdefs.h" |
| 6329 #include <sys/dir.h> | 5400 #include <sys/dir.h> |
| 6330 EOF | 5401 EOF |
| 6331 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6332 # the parens. | |
| 6333 # The exec was added by Mly to make this work under BSDI | |
| 6334 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5402 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6335 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6336 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5403 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6337 echo "$ac_err" | 5404 echo "$ac_err" |
| 6338 fi | 5405 fi |
| 6339 if test -z "$ac_err"; then | 5406 if test -z "$ac_err"; then |
| 6340 : | 5407 : |
| 6341 else | 5408 else |
| 6342 rm -rf conftest* | 5409 rm -rf conftest* |
| 6343 nonsystem_dir_library=yes | 5410 nonsystem_dir_library=yes |
| 6344 fi | 5411 fi |
| 6345 rm -f conftest* | 5412 rm -f conftest* |
| 6346 | 5413 } |
| 6347 fi | 5414 if test -n "$sysv_system_dir" ; then |
| 6348 if test -n "$sysv_system_dir" ; then | |
| 6349 | |
| 6350 { | 5415 { |
| 6351 test -n "$verbose" && \ | 5416 test -n "$verbose" && \ |
| 6352 echo " defining SYSV_SYSTEM_DIR" | 5417 echo " defining SYSV_SYSTEM_DIR" |
| 6353 echo "#define" SYSV_SYSTEM_DIR "1" >> confdefs.h | 5418 echo "#define" SYSV_SYSTEM_DIR "1" >> confdefs.h |
| 6354 DEFS="$DEFS -DSYSV_SYSTEM_DIR=1" | 5419 DEFS="$DEFS -DSYSV_SYSTEM_DIR=1" |
| 6356 \${ac_uA}SYSV_SYSTEM_DIR\${ac_uB}SYSV_SYSTEM_DIR\${ac_uC}1\${ac_uD} | 5421 \${ac_uA}SYSV_SYSTEM_DIR\${ac_uB}SYSV_SYSTEM_DIR\${ac_uC}1\${ac_uD} |
| 6357 \${ac_eA}SYSV_SYSTEM_DIR\${ac_eB}SYSV_SYSTEM_DIR\${ac_eC}1\${ac_eD} | 5422 \${ac_eA}SYSV_SYSTEM_DIR\${ac_eB}SYSV_SYSTEM_DIR\${ac_eC}1\${ac_eD} |
| 6358 " | 5423 " |
| 6359 } | 5424 } |
| 6360 | 5425 |
| 6361 elif test -n "$nonsystem_dir_library" ; then | 5426 elif test -n "$nonsystem_dir_library" ; then |
| 6362 | |
| 6363 { | 5427 { |
| 6364 test -n "$verbose" && \ | 5428 test -n "$verbose" && \ |
| 6365 echo " defining NONSYSTEM_DIR_LIBRARY" | 5429 echo " defining NONSYSTEM_DIR_LIBRARY" |
| 6366 echo "#define" NONSYSTEM_DIR_LIBRARY "1" >> confdefs.h | 5430 echo "#define" NONSYSTEM_DIR_LIBRARY "1" >> confdefs.h |
| 6367 DEFS="$DEFS -DNONSYSTEM_DIR_LIBRARY=1" | 5431 DEFS="$DEFS -DNONSYSTEM_DIR_LIBRARY=1" |
| 6371 " | 5435 " |
| 6372 } | 5436 } |
| 6373 | 5437 |
| 6374 fi | 5438 fi |
| 6375 | 5439 |
| 6376 # Check for terminal I/O variants | |
| 6377 | 5440 |
| 6378 echo "checking how to do terminal I/O" | 5441 echo "checking how to do terminal I/O" |
| 6379 | 5442 |
| 6380 have_termios= | 5443 have_termios= |
| 6381 have_termio= | 5444 have_termio= |
| 6382 test -n "$silent" || echo "checking for termios.h" | 5445 test -n "$silent" || echo "checking for termios.h" |
| 6383 cat > conftest.${ac_ext} <<EOF | 5446 cat > conftest.${ac_ext} <<EOF |
| 6384 #include "confdefs.h" | 5447 #include "confdefs.h" |
| 6385 #include <termios.h> | 5448 #include <termios.h> |
| 6386 EOF | 5449 EOF |
| 6387 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6388 # the parens. | |
| 6389 # The exec was added by Mly to make this work under BSDI | |
| 6390 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5450 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6391 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6392 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5451 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6393 echo "$ac_err" | 5452 echo "$ac_err" |
| 6394 fi | 5453 fi |
| 6395 if test -z "$ac_err"; then | 5454 if test -z "$ac_err"; then |
| 6396 rm -rf conftest* | 5455 rm -rf conftest* |
| 6397 have_termios=yes | 5456 have_termios=yes |
| 6398 | 5457 |
| 6399 fi | 5458 fi |
| 6400 rm -f conftest* | 5459 rm -f conftest* |
| 6401 | 5460 |
| 6402 # TERMIOS systems may have termio.h, but not vice-versa, I think. | 5461 test -z "$have_termios" && { test -n "$silent" || echo "checking for termio.h" |
| 6403 if test -z "$have_termios" ; then | |
| 6404 test -n "$silent" || echo "checking for termio.h" | |
| 6405 cat > conftest.${ac_ext} <<EOF | 5462 cat > conftest.${ac_ext} <<EOF |
| 6406 #include "confdefs.h" | 5463 #include "confdefs.h" |
| 6407 #include <termio.h> | 5464 #include <termio.h> |
| 6408 EOF | 5465 EOF |
| 6409 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6410 # the parens. | |
| 6411 # The exec was added by Mly to make this work under BSDI | |
| 6412 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5466 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6413 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6414 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5467 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6415 echo "$ac_err" | 5468 echo "$ac_err" |
| 6416 fi | 5469 fi |
| 6417 if test -z "$ac_err"; then | 5470 if test -z "$ac_err"; then |
| 6418 rm -rf conftest* | 5471 rm -rf conftest* |
| 6419 have_termio=yes | 5472 have_termio=yes |
| 6420 | 5473 |
| 6421 fi | 5474 fi |
| 6422 rm -f conftest* | 5475 rm -f conftest* |
| 6423 | 5476 } |
| 6424 fi | 5477 if test -n "$have_termios" ; then |
| 6425 if test -n "$have_termios" ; then | |
| 6426 | |
| 6427 { | 5478 { |
| 6428 test -n "$verbose" && \ | 5479 test -n "$verbose" && \ |
| 6429 echo " defining HAVE_TERMIOS" | 5480 echo " defining HAVE_TERMIOS" |
| 6430 echo "#define" HAVE_TERMIOS "1" >> confdefs.h | 5481 echo "#define" HAVE_TERMIOS "1" >> confdefs.h |
| 6431 DEFS="$DEFS -DHAVE_TERMIOS=1" | 5482 DEFS="$DEFS -DHAVE_TERMIOS=1" |
| 6433 \${ac_uA}HAVE_TERMIOS\${ac_uB}HAVE_TERMIOS\${ac_uC}1\${ac_uD} | 5484 \${ac_uA}HAVE_TERMIOS\${ac_uB}HAVE_TERMIOS\${ac_uC}1\${ac_uD} |
| 6434 \${ac_eA}HAVE_TERMIOS\${ac_eB}HAVE_TERMIOS\${ac_eC}1\${ac_eD} | 5485 \${ac_eA}HAVE_TERMIOS\${ac_eB}HAVE_TERMIOS\${ac_eC}1\${ac_eD} |
| 6435 " | 5486 " |
| 6436 } | 5487 } |
| 6437 | 5488 |
| 6438 elif test -n "$have_termio" ; then | 5489 elif test -n "$have_termio" ; then |
| 6439 | |
| 6440 { | 5490 { |
| 6441 test -n "$verbose" && \ | 5491 test -n "$verbose" && \ |
| 6442 echo " defining HAVE_TERMIO" | 5492 echo " defining HAVE_TERMIO" |
| 6443 echo "#define" HAVE_TERMIO "1" >> confdefs.h | 5493 echo "#define" HAVE_TERMIO "1" >> confdefs.h |
| 6444 DEFS="$DEFS -DHAVE_TERMIO=1" | 5494 DEFS="$DEFS -DHAVE_TERMIO=1" |
| 6454 test -n "$silent" || echo "checking for nlist.h" | 5504 test -n "$silent" || echo "checking for nlist.h" |
| 6455 cat > conftest.${ac_ext} <<EOF | 5505 cat > conftest.${ac_ext} <<EOF |
| 6456 #include "confdefs.h" | 5506 #include "confdefs.h" |
| 6457 #include <nlist.h> | 5507 #include <nlist.h> |
| 6458 EOF | 5508 EOF |
| 6459 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6460 # the parens. | |
| 6461 # The exec was added by Mly to make this work under BSDI | |
| 6462 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5509 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6463 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6464 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5510 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6465 echo "$ac_err" | 5511 echo "$ac_err" |
| 6466 fi | 5512 fi |
| 6467 if test -z "$ac_err"; then | 5513 if test -z "$ac_err"; then |
| 6468 rm -rf conftest* | 5514 rm -rf conftest* |
| 6481 | 5527 |
| 6482 fi | 5528 fi |
| 6483 rm -f conftest* | 5529 rm -f conftest* |
| 6484 | 5530 |
| 6485 | 5531 |
| 6486 if test -f /usr/lpp/X11/bin/smt.exp ; then | 5532 # AIX export list |
| 6487 | 5533 for export in /usr/lpp/X11/bin/smt.exp /usr/bin/X11/smt.exp ; do |
| 6488 { | 5534 if test -f "$export" ; then |
| 6489 test -n "$verbose" && \ | 5535 |
| 6490 echo " defining" AIX_SMT_EXP to be "-bI:/usr/lpp/X11/bin/smt.exp" | 5536 { |
| 6491 echo "#define" AIX_SMT_EXP "-bI:/usr/lpp/X11/bin/smt.exp" >> confdefs.h | 5537 test -n "$verbose" && \ |
| 6492 DEFS="$DEFS -DAIX_SMT_EXP=-bI:/usr/lpp/X11/bin/smt.exp" | 5538 echo " defining" AIX_SMT_EXP to be "-bI:$export" |
| 6493 ac_sed_defs="${ac_sed_defs}\${ac_dA}AIX_SMT_EXP\${ac_dB}AIX_SMT_EXP\${ac_dC}-bI:/usr/lpp/X11/bin/smt.exp\${ac_dD} | 5539 echo "#define" AIX_SMT_EXP "-bI:$export" >> confdefs.h |
| 6494 \${ac_uA}AIX_SMT_EXP\${ac_uB}AIX_SMT_EXP\${ac_uC}-bI:/usr/lpp/X11/bin/smt.exp\${ac_uD} | 5540 DEFS="$DEFS -DAIX_SMT_EXP=-bI:$export" |
| 6495 \${ac_eA}AIX_SMT_EXP\${ac_eB}AIX_SMT_EXP\${ac_eC}-bI:/usr/lpp/X11/bin/smt.exp\${ac_eD} | 5541 ac_sed_defs="${ac_sed_defs}\${ac_dA}AIX_SMT_EXP\${ac_dB}AIX_SMT_EXP\${ac_dC}-bI:\\\\\\\$export\${ac_dD} |
| 6496 " | 5542 \${ac_uA}AIX_SMT_EXP\${ac_uB}AIX_SMT_EXP\${ac_uC}-bI:\\\\\\\$export\${ac_uD} |
| 6497 } | 5543 \${ac_eA}AIX_SMT_EXP\${ac_eB}AIX_SMT_EXP\${ac_eC}-bI:\\\\\\\$export\${ac_eD} |
| 6498 | 5544 " |
| 6499 elif test -f /usr/bin/X11/smt.exp ; then | 5545 } |
| 6500 | 5546 |
| 6501 { | 5547 break |
| 6502 test -n "$verbose" && \ | 5548 fi |
| 6503 echo " defining" AIX_SMT_EXP to be "-bI:/usr/bin/X11/smt.exp" | 5549 done |
| 6504 echo "#define" AIX_SMT_EXP "-bI:/usr/bin/X11/smt.exp" >> confdefs.h | 5550 |
| 6505 DEFS="$DEFS -DAIX_SMT_EXP=-bI:/usr/bin/X11/smt.exp" | |
| 6506 ac_sed_defs="${ac_sed_defs}\${ac_dA}AIX_SMT_EXP\${ac_dB}AIX_SMT_EXP\${ac_dC}-bI:/usr/bin/X11/smt.exp\${ac_dD} | |
| 6507 \${ac_uA}AIX_SMT_EXP\${ac_uB}AIX_SMT_EXP\${ac_uC}-bI:/usr/bin/X11/smt.exp\${ac_uD} | |
| 6508 \${ac_eA}AIX_SMT_EXP\${ac_eB}AIX_SMT_EXP\${ac_eC}-bI:/usr/bin/X11/smt.exp\${ac_eD} | |
| 6509 " | |
| 6510 } | |
| 6511 | |
| 6512 fi | |
| 6513 | |
| 6514 # Set up the CFLAGS for real compilation, so we can substitute it. | |
| 6515 CFLAGS="$REAL_CFLAGS" | 5551 CFLAGS="$REAL_CFLAGS" |
| 6516 | 5552 |
| 6517 | 5553 file="${srcdir}/lisp/version.el" |
| 6518 #### Find out which version of XEmacs this is. | 5554 version=`sed -ne 's/^(defconst emacs-version "\(.*\)".*/\1/p' "$file"` |
| 6519 version="19.16" | 5555 if test -z "${version}"; then |
| 6520 beta="" | 5556 echo "${progname}: can't find current emacs version in \"$file\"." >&2 |
| 6521 alpha="" | |
| 6522 if [ "X$beta" != "X" ]; then | |
| 6523 version=${version}-b${beta} | |
| 6524 fi | |
| 6525 if [ "X$alpha" != "X" ]; then | |
| 6526 version=${version}-a${alpha} | |
| 6527 fi | |
| 6528 if [ x"${version}" = x ]; then | |
| 6529 echo "${progname}: can't find current emacs version in | |
| 6530 \`${srcdir}/lisp/version.el'." >&2 | |
| 6531 exit 1 | 5557 exit 1 |
| 6532 fi | 5558 fi |
| 6533 | 5559 beta=`sed -ne 's/^.*XEmacs Lucid (beta\([0-9][0-9]*\)).*$/\1/p' "$file"` |
| 6534 # | 5560 test -n "$beta" && version="${version}-b${beta}" |
| 6535 # Check for sound of various sorts. | 5561 |
| 6536 # | 5562 |
| 6537 | 5563 |
| 6538 # the following needs to be fixed for SGI. | 5564 # the following needs to be fixed for SGI. |
| 6539 if [ -z "${native_sound_lib}" ]; then | 5565 if test -z "${native_sound_lib}" ; then |
| 6540 if [ -r /usr/demo/SOUND/lib/libaudio.a ]; then | 5566 if test -r /usr/demo/SOUND/lib/libaudio.a; then |
| 6541 native_sound_lib=/usr/demo/SOUND/lib/libaudio.a | 5567 native_sound_lib=/usr/demo/SOUND/lib/libaudio.a |
| 6542 elif [ -r /usr/demo/SOUND/libaudio.a ]; then | 5568 elif test -r /usr/demo/SOUND/libaudio.a ; then |
| 6543 native_sound_lib=/usr/demo/SOUND/libaudio.a | 5569 native_sound_lib=/usr/demo/SOUND/libaudio.a |
| 6544 else | 5570 else |
| 6545 case "${canonical}" in | 5571 case "${canonical}" in |
| 6546 *-sgi-* ) native_sound_lib=-laudio ;; | 5572 *-sgi-* ) ac_save_LIBS="${LIBS}" |
| 6547 hppa*-hp-hpux* ) native_sound_lib=-lAlib ;; | |
| 6548 esac | |
| 6549 fi | |
| 6550 fi | |
| 6551 | |
| 6552 if [ "${with_sound}" != "native" ] && [ "${with_sound}" != "nas" ] && [ "${with_sound}" != "both" ] && [ "${with_sound}" != "no" ] ; then | |
| 6553 if [ -d /usr/demo/SOUND/multimedia -o -d /usr/demo/SOUND/include/multimedia ]; then | |
| 6554 with_sound="native" | |
| 6555 else | |
| 6556 case "${canonical}" in | |
| 6557 *-sgi-* ) | |
| 6558 ac_save_LIBS="${LIBS}" | |
| 6559 LIBS="${LIBS} -laudio" | 5573 LIBS="${LIBS} -laudio" |
| 6560 ac_have_lib="" | 5574 ac_have_lib="" |
| 6561 test -n "$silent" || echo "checking for -laudio" | 5575 test -n "$silent" || echo "checking for -laudio" |
| 6562 cat > conftest.${ac_ext} <<EOF | 5576 cat > conftest.${ac_ext} <<EOF |
| 6563 #include "confdefs.h" | 5577 #include "confdefs.h" |
| 6571 | 5585 |
| 6572 fi | 5586 fi |
| 6573 rm -f conftest* | 5587 rm -f conftest* |
| 6574 LIBS="${ac_save_LIBS}" | 5588 LIBS="${ac_save_LIBS}" |
| 6575 if test -n "${ac_have_lib}"; then | 5589 if test -n "${ac_have_lib}"; then |
| 6576 :; with_sound="native" | 5590 :; native_sound_lib="-laudio" |
| 6577 else | 5591 else |
| 6578 :; | 5592 :; |
| 6579 fi | 5593 fi |
| 6580 | 5594 ;; |
| 6581 ;; | 5595 hppa*-hp-hpux* ) ac_save_LIBS="${LIBS}" |
| 6582 hppa*-hp-hpux* ) | |
| 6583 ac_save_LIBS="${LIBS}" | |
| 6584 LIBS="${LIBS} -lAlib" | 5596 LIBS="${LIBS} -lAlib" |
| 6585 ac_have_lib="" | 5597 ac_have_lib="" |
| 6586 test -n "$silent" || echo "checking for -lAlib" | 5598 test -n "$silent" || echo "checking for -lAlib" |
| 6587 cat > conftest.${ac_ext} <<EOF | 5599 cat > conftest.${ac_ext} <<EOF |
| 6588 #include "confdefs.h" | 5600 #include "confdefs.h" |
| 6596 | 5608 |
| 6597 fi | 5609 fi |
| 6598 rm -f conftest* | 5610 rm -f conftest* |
| 6599 LIBS="${ac_save_LIBS}" | 5611 LIBS="${ac_save_LIBS}" |
| 6600 if test -n "${ac_have_lib}"; then | 5612 if test -n "${ac_have_lib}"; then |
| 6601 :; with_sound="native" | 5613 :; native_sound_lib="-lAlib" |
| 6602 else | 5614 else |
| 6603 :; | 5615 :; |
| 6604 fi | 5616 fi |
| 6605 | 5617 ;; |
| 6606 ;; | |
| 6607 esac | 5618 esac |
| 6608 fi | 5619 fi |
| 6609 fi | 5620 fi |
| 5621 test -z "${with_sound}" -a -n "${native_sound_lib}" && with_sound="native"; | |
| 6610 | 5622 |
| 6611 #### If the nas library doesn't contain the error jump point, then | 5623 #### If the nas library doesn't contain the error jump point, then |
| 6612 #### we force safer behaviour. | 5624 #### we force safer behaviour. |
| 6613 | 5625 |
| 6614 if [ "${with_sound}" = "nas" ] || [ "${with_sound}" = "both" ] ; then | 5626 if test "${with_sound}" = "nas" -o \ |
| 6615 echo '#include "confdefs.h" | 5627 "${with_sound}" = "both"; then |
| 5628 echo '#include "confdefs.h" | |
| 6616 #include <audio/Xtutil.h>' > conftest.${ac_ext} | 5629 #include <audio/Xtutil.h>' > conftest.${ac_ext} |
| 6617 eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1" | 5630 eval "$ac_cpp conftest.${ac_ext} > conftest.out 2>&1" |
| 6618 if egrep "AuXtErrorJump" conftest.out >/dev/null 2>&1; then | 5631 if egrep "AuXtErrorJump" conftest.out >/dev/null 2>&1; then |
| 6619 : | 5632 : |
| 6620 else | 5633 else |
| 6621 rm -rf conftest* | 5634 rm -rf conftest* |
| 6622 old_nas=true | 5635 old_nas=true |
| 6623 fi | 5636 fi |
| 6624 rm -f conftest* | 5637 rm -f conftest* |
| 6625 | 5638 |
| 6626 fi | 5639 fi |
| 6627 | 5640 |
| 6628 if [ "${with_tooltalk}" = "yes" ]; then | 5641 if test "${with_tooltalk}" = "yes" ; then |
| 6629 for arg in ${DEFS} "-I/usr/include" "-I${OPENWINHOME-/usr/openwin}/include" | 5642 for arg in ${DEFS} "-I/usr/include" "-I${OPENWINHOME-/usr/openwin}/include" |
| 6630 do | 5643 do |
| 6631 if [ -f `echo "${arg}/desktop/tt_c.h" | sed 's/^\-I//'` ]; then | 5644 if test -f `echo "${arg}/desktop/tt_c.h" | sed 's/^\-I//'` ; then |
| 6632 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}/desktop" | 5645 C_SWITCH_X_SITE="${C_SWITCH_X_SITE} ${arg}/desktop" |
| 6633 fi | 5646 fi |
| 6634 done | 5647 done |
| 6635 | 5648 |
| 6636 for arg in ${LIBS} "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" | 5649 for arg in ${LIBS} "-L/usr/lib" "-L${OPENWINHHOME-/usr/openwin}/lib" |
| 6637 do | 5650 do |
| 6638 case "${arg}" in | 5651 case "${arg}" in |
| 6639 -L*) if [ -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ]; then | 5652 -L*) if test -f `echo "${arg}/libtt.a" | sed 's/^\-L//'` ; then |
| 6640 dash_r='' | 5653 dash_r='' |
| 6641 if [ -n "${add_runtime_flag}" ]; then | 5654 if test -n "${add_runtime_flag}" ; then |
| 6642 dash_r=`echo ${arg} | sed "s/^-L/-R${dash_r_space}/"` | 5655 dash_r=`echo ${arg} | sed "s/^-L/-R${dash_r_space}/"` |
| 6643 fi | 5656 fi |
| 6644 LD_SWITCH_X_SITE="${LD_SWITCH_X_SITE} ${arg} ${dash_r}" | 5657 LD_SWITCH_X_SITE="${LD_SWITCH_X_SITE} ${arg} ${dash_r}" |
| 6645 fi | 5658 fi |
| 6646 ;; | 5659 ;; |
| 6647 esac | 5660 esac |
| 6648 done | 5661 done |
| 6649 fi | 5662 fi |
| 6650 | 5663 |
| 6651 # | 5664 |
| 6652 # Check for ncurses. | 5665 if test "${with_tty}" != "no" ; then |
| 6653 # | 5666 ac_save_LIBS="${LIBS}" |
| 6654 | |
| 6655 if [ "${with_tty}" != "no" ] ; then | |
| 6656 ac_save_LIBS="${LIBS}" | |
| 6657 LIBS="${LIBS} -lncurses" | 5667 LIBS="${LIBS} -lncurses" |
| 6658 ac_have_lib="" | 5668 ac_have_lib="" |
| 6659 test -n "$silent" || echo "checking for -lncurses" | 5669 test -n "$silent" || echo "checking for -lncurses" |
| 6660 cat > conftest.${ac_ext} <<EOF | 5670 cat > conftest.${ac_ext} <<EOF |
| 6661 #include "confdefs.h" | 5671 #include "confdefs.h" |
| 6673 if test -n "${ac_have_lib}"; then | 5683 if test -n "${ac_have_lib}"; then |
| 6674 :; have_ncurses=yes | 5684 :; have_ncurses=yes |
| 6675 else | 5685 else |
| 6676 :; have_ncurses=no | 5686 :; have_ncurses=no |
| 6677 fi | 5687 fi |
| 6678 | 5688 |
| 6679 if [ "${have_ncurses}" = "yes" ] ; then | 5689 if test "${have_ncurses}" = "yes" ; then |
| 6680 | 5690 |
| 6681 { | 5691 { |
| 6682 test -n "$verbose" && \ | 5692 test -n "$verbose" && \ |
| 6683 echo " defining HAVE_NCURSES" | 5693 echo " defining HAVE_NCURSES" |
| 6684 echo "#define" HAVE_NCURSES "1" >> confdefs.h | 5694 echo "#define" HAVE_NCURSES "1" >> confdefs.h |
| 6685 DEFS="$DEFS -DHAVE_NCURSES=1" | 5695 DEFS="$DEFS -DHAVE_NCURSES=1" |
| 6686 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NCURSES\${ac_dB}HAVE_NCURSES\${ac_dC}1\${ac_dD} | 5696 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NCURSES\${ac_dB}HAVE_NCURSES\${ac_dC}1\${ac_dD} |
| 6687 \${ac_uA}HAVE_NCURSES\${ac_uB}HAVE_NCURSES\${ac_uC}1\${ac_uD} | 5697 \${ac_uA}HAVE_NCURSES\${ac_uB}HAVE_NCURSES\${ac_uC}1\${ac_uD} |
| 6688 \${ac_eA}HAVE_NCURSES\${ac_eB}HAVE_NCURSES\${ac_eC}1\${ac_eD} | 5698 \${ac_eA}HAVE_NCURSES\${ac_eB}HAVE_NCURSES\${ac_eC}1\${ac_eD} |
| 6689 " | 5699 " |
| 6690 } | 5700 } |
| 6691 | 5701 |
| 6692 test -n "$silent" || echo "checking for ncurses/term.h" | 5702 test -n "$silent" || echo "checking for ncurses/term.h" |
| 6693 cat > conftest.${ac_ext} <<EOF | 5703 cat > conftest.${ac_ext} <<EOF |
| 6694 #include "confdefs.h" | 5704 #include "confdefs.h" |
| 6695 #include <ncurses/term.h> | 5705 #include <ncurses/term.h> |
| 6696 EOF | 5706 EOF |
| 6697 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6698 # the parens. | |
| 6699 # The exec was added by Mly to make this work under BSDI | |
| 6700 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5707 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6701 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6702 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5708 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6703 echo "$ac_err" | 5709 echo "$ac_err" |
| 6704 fi | 5710 fi |
| 6705 if test -z "$ac_err"; then | 5711 if test -z "$ac_err"; then |
| 6706 rm -rf conftest* | 5712 rm -rf conftest* |
| 6709 else | 5715 else |
| 6710 rm -rf conftest* | 5716 rm -rf conftest* |
| 6711 have_ncurses_term_h=no | 5717 have_ncurses_term_h=no |
| 6712 fi | 5718 fi |
| 6713 rm -f conftest* | 5719 rm -f conftest* |
| 6714 | 5720 |
| 6715 if [ "${have_ncurses_term_h}" = "yes" ] ; then | 5721 test "${have_ncurses_term_h}" = yes && |
| 6716 | |
| 6717 { | 5722 { |
| 6718 test -n "$verbose" && \ | 5723 test -n "$verbose" && \ |
| 6719 echo " defining HAVE_NCURSES_TERM_H" | 5724 echo " defining HAVE_NCURSES_TERM_H" |
| 6720 echo "#define" HAVE_NCURSES_TERM_H "1" >> confdefs.h | 5725 echo "#define" HAVE_NCURSES_TERM_H "1" >> confdefs.h |
| 6721 DEFS="$DEFS -DHAVE_NCURSES_TERM_H=1" | 5726 DEFS="$DEFS -DHAVE_NCURSES_TERM_H=1" |
| 6722 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NCURSES_TERM_H\${ac_dB}HAVE_NCURSES_TERM_H\${ac_dC}1\${ac_dD} | 5727 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NCURSES_TERM_H\${ac_dB}HAVE_NCURSES_TERM_H\${ac_dC}1\${ac_dD} |
| 6723 \${ac_uA}HAVE_NCURSES_TERM_H\${ac_uB}HAVE_NCURSES_TERM_H\${ac_uC}1\${ac_uD} | 5728 \${ac_uA}HAVE_NCURSES_TERM_H\${ac_uB}HAVE_NCURSES_TERM_H\${ac_uC}1\${ac_uD} |
| 6724 \${ac_eA}HAVE_NCURSES_TERM_H\${ac_eB}HAVE_NCURSES_TERM_H\${ac_eC}1\${ac_eD} | 5729 \${ac_eA}HAVE_NCURSES_TERM_H\${ac_eB}HAVE_NCURSES_TERM_H\${ac_eC}1\${ac_eD} |
| 6725 " | 5730 " |
| 6726 } | 5731 } |
| 6727 | 5732 |
| 6728 fi | 5733 test -n "$silent" || echo "checking for ncurses/curses.h" |
| 6729 test -n "$silent" || echo "checking for ncurses/curses.h" | |
| 6730 cat > conftest.${ac_ext} <<EOF | 5734 cat > conftest.${ac_ext} <<EOF |
| 6731 #include "confdefs.h" | 5735 #include "confdefs.h" |
| 6732 #include <ncurses/curses.h> | 5736 #include <ncurses/curses.h> |
| 6733 EOF | 5737 EOF |
| 6734 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6735 # the parens. | |
| 6736 # The exec was added by Mly to make this work under BSDI | |
| 6737 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5738 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6738 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6739 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5739 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6740 echo "$ac_err" | 5740 echo "$ac_err" |
| 6741 fi | 5741 fi |
| 6742 if test -z "$ac_err"; then | 5742 if test -z "$ac_err"; then |
| 6743 rm -rf conftest* | 5743 rm -rf conftest* |
| 6746 else | 5746 else |
| 6747 rm -rf conftest* | 5747 rm -rf conftest* |
| 6748 have_ncurses_curses_h=no | 5748 have_ncurses_curses_h=no |
| 6749 fi | 5749 fi |
| 6750 rm -f conftest* | 5750 rm -f conftest* |
| 6751 | 5751 |
| 6752 if [ "${have_ncurses_curses_h}" = "no" ] ; then | 5752 if test "${have_ncurses_curses_h}" = "no" ; then |
| 6753 # Try again, and check for the bogus ncurses/ include bug. | 5753 OLD_CPP="${CPP}" |
| 6754 # (i.e. ncurses/curses.h bogusly includes <unctrl.h> instead of | |
| 6755 # <ncurses/unctrl.h>) | |
| 6756 OLD_CPP="${CPP}" | |
| 6757 CPP="${CPP} -I/usr/include/ncurses" | 5754 CPP="${CPP} -I/usr/include/ncurses" |
| 6758 test -n "$silent" || echo "checking for ncurses/curses.h" | 5755 test -n "$silent" || echo "checking for ncurses/curses.h" |
| 6759 cat > conftest.${ac_ext} <<EOF | 5756 cat > conftest.${ac_ext} <<EOF |
| 6760 #include "confdefs.h" | 5757 #include "confdefs.h" |
| 6761 #include <ncurses/curses.h> | 5758 #include <ncurses/curses.h> |
| 6762 EOF | 5759 EOF |
| 6763 # Some shells (Coherent) do redirections in the wrong order, so need | |
| 6764 # the parens. | |
| 6765 # The exec was added by Mly to make this work under BSDI | |
| 6766 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` | 5760 ac_err=`eval "(exec $ac_cpp conftest.${ac_ext} >/dev/null) 2>&1"` |
| 6767 # Use test here, not brackets, to avoid strange autoconf-quoting lossage. | |
| 6768 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then | 5761 if test "${extra_verbose}" = "yes" && test -n "$ac_err"; then |
| 6769 echo "$ac_err" | 5762 echo "$ac_err" |
| 6770 fi | 5763 fi |
| 6771 if test -z "$ac_err"; then | 5764 if test -z "$ac_err"; then |
| 6772 rm -rf conftest* | 5765 rm -rf conftest* |
| 6775 else | 5768 else |
| 6776 rm -rf conftest* | 5769 rm -rf conftest* |
| 6777 have_ncurses_curses_h=no | 5770 have_ncurses_curses_h=no |
| 6778 fi | 5771 fi |
| 6779 rm -f conftest* | 5772 rm -f conftest* |
| 6780 | 5773 |
| 6781 if [ "${have_ncurses_curses_h}" = "yes" ] ; then | 5774 if test "${have_ncurses_curses_h}" = "yes" ; then |
| 6782 site_includes="${site_includes} /usr/include/ncurses" | 5775 site_includes="${site_includes} /usr/include/ncurses" |
| 6783 C_SWITCH_SITE="${C_SWITCH_SITE} -I/usr/include/ncurses" | 5776 C_SWITCH_SITE="${C_SWITCH_SITE} -I/usr/include/ncurses" |
| 6784 test -n "$verbose" && echo " Your system has the bogus ncurses include bug." | 5777 test -n "$verbose" && echo " Your system has the bogus ncurses include bug." |
| 6785 else | 5778 else |
| 6786 CPP="${OLD_CPP}" | 5779 CPP="${OLD_CPP}" |
| 6787 fi | 5780 fi |
| 6788 fi | 5781 fi |
| 6789 if [ "${have_ncurses_curses_h}" = "yes" ] ; then | 5782 test "${have_ncurses_curses_h}" = yes && |
| 6790 | |
| 6791 { | 5783 { |
| 6792 test -n "$verbose" && \ | 5784 test -n "$verbose" && \ |
| 6793 echo " defining HAVE_NCURSES_CURSES_H" | 5785 echo " defining HAVE_NCURSES_CURSES_H" |
| 6794 echo "#define" HAVE_NCURSES_CURSES_H "1" >> confdefs.h | 5786 echo "#define" HAVE_NCURSES_CURSES_H "1" >> confdefs.h |
| 6795 DEFS="$DEFS -DHAVE_NCURSES_CURSES_H=1" | 5787 DEFS="$DEFS -DHAVE_NCURSES_CURSES_H=1" |
| 6796 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NCURSES_CURSES_H\${ac_dB}HAVE_NCURSES_CURSES_H\${ac_dC}1\${ac_dD} | 5788 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NCURSES_CURSES_H\${ac_dB}HAVE_NCURSES_CURSES_H\${ac_dC}1\${ac_dD} |
| 6797 \${ac_uA}HAVE_NCURSES_CURSES_H\${ac_uB}HAVE_NCURSES_CURSES_H\${ac_uC}1\${ac_uD} | 5789 \${ac_uA}HAVE_NCURSES_CURSES_H\${ac_uB}HAVE_NCURSES_CURSES_H\${ac_uC}1\${ac_uD} |
| 6798 \${ac_eA}HAVE_NCURSES_CURSES_H\${ac_eB}HAVE_NCURSES_CURSES_H\${ac_eC}1\${ac_eD} | 5790 \${ac_eA}HAVE_NCURSES_CURSES_H\${ac_eB}HAVE_NCURSES_CURSES_H\${ac_eC}1\${ac_eD} |
| 6799 " | 5791 " |
| 6800 } | 5792 } |
| 6801 | 5793 |
| 6802 fi | |
| 6803 fi | 5794 fi |
| 6804 fi | 5795 fi |
| 6805 | 5796 |
| 6806 # | 5797 |
| 6807 # Check for database support. | 5798 |
| 6808 # | 5799 if test "${with_database_berkdb}" != "no" ; then |
| 6809 | 5800 ac_save_LIBS="${LIBS}" |
| 6810 | |
| 6811 if [ "${with_database_berkdb}" != "no" ] ; then | |
| 6812 ac_save_LIBS="${LIBS}" | |
| 6813 LIBS="${LIBS} -ldb" | 5801 LIBS="${LIBS} -ldb" |
| 6814 ac_have_lib="" | 5802 ac_have_lib="" |
| 6815 test -n "$silent" || echo "checking for -ldb" | 5803 test -n "$silent" || echo "checking for -ldb" |
| 6816 cat > conftest.${ac_ext} <<EOF | 5804 cat > conftest.${ac_ext} <<EOF |
| 6817 #include "confdefs.h" | 5805 #include "confdefs.h" |
| 6829 if test -n "${ac_have_lib}"; then | 5817 if test -n "${ac_have_lib}"; then |
| 6830 :; have_libdb=yes | 5818 :; have_libdb=yes |
| 6831 else | 5819 else |
| 6832 :; have_libdb=no | 5820 :; have_libdb=no |
| 6833 fi | 5821 fi |
| 6834 | 5822 |
| 6835 if [ "${have_libdb}" = "yes" ] ; then | 5823 test "${have_libdb}" = yes && |
| 6836 | |
| 6837 { | 5824 { |
| 6838 test -n "$verbose" && \ | 5825 test -n "$verbose" && \ |
| 6839 echo " defining HAVE_LIBDB" | 5826 echo " defining HAVE_LIBDB" |
| 6840 echo "#define" HAVE_LIBDB "1" >> confdefs.h | 5827 echo "#define" HAVE_LIBDB "1" >> confdefs.h |
| 6841 DEFS="$DEFS -DHAVE_LIBDB=1" | 5828 DEFS="$DEFS -DHAVE_LIBDB=1" |
| 6842 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBDB\${ac_dB}HAVE_LIBDB\${ac_dC}1\${ac_dD} | 5829 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBDB\${ac_dB}HAVE_LIBDB\${ac_dC}1\${ac_dD} |
| 6843 \${ac_uA}HAVE_LIBDB\${ac_uB}HAVE_LIBDB\${ac_uC}1\${ac_uD} | 5830 \${ac_uA}HAVE_LIBDB\${ac_uB}HAVE_LIBDB\${ac_uC}1\${ac_uD} |
| 6844 \${ac_eA}HAVE_LIBDB\${ac_eB}HAVE_LIBDB\${ac_eC}1\${ac_eD} | 5831 \${ac_eA}HAVE_LIBDB\${ac_eB}HAVE_LIBDB\${ac_eC}1\${ac_eD} |
| 6845 " | 5832 " |
| 6846 } | 5833 } |
| 6847 | 5834 |
| 6848 fi | 5835 if test "${with_database_berkdb}" != "yes" ; then |
| 6849 if [ "${with_database_berkdb}" != "yes" ] ; then | 5836 if test "${have_libdb}" = "yes" ; then |
| 6850 if [ "${have_libdb}" = "yes" ] ; then | |
| 6851 with_database_berkdb=yes | 5837 with_database_berkdb=yes |
| 6852 else | 5838 else |
| 6853 test -n "$silent" || echo "checking for dbopen" | 5839 test -n "$silent" || echo "checking for dbopen" |
| 6854 cat > conftest.${ac_ext} <<EOF | 5840 cat > conftest.${ac_ext} <<EOF |
| 6855 #include "confdefs.h" | 5841 #include "confdefs.h" |
| 6856 #include <ctype.h> | 5842 #include <ctype.h> |
| 6857 int main() { return 0; } | 5843 int main() { return 0; } |
| 6858 int t() { | 5844 int t() { |
| 6867 #endif | 5853 #endif |
| 6868 ; return 0; } | 5854 ; return 0; } |
| 6869 EOF | 5855 EOF |
| 6870 if eval $ac_compile; then | 5856 if eval $ac_compile; then |
| 6871 rm -rf conftest* | 5857 rm -rf conftest* |
| 6872 have_dbopen=yes | 5858 with_database_berkdb=yes |
| 6873 | 5859 |
| 6874 else | 5860 else |
| 6875 rm -rf conftest* | 5861 rm -rf conftest* |
| 6876 have_dbopen=no | 5862 with_database_berkdb=no |
| 6877 fi | 5863 fi |
| 6878 rm -f conftest* | 5864 rm -f conftest* |
| 6879 | 5865 |
| 6880 if [ "${have_dbopen}" = "yes" ] ; then | |
| 6881 with_database_berkdb=yes | |
| 6882 else | |
| 6883 with_database_berkdb=no | |
| 6884 fi | |
| 6885 fi | 5866 fi |
| 6886 fi | 5867 fi |
| 6887 fi | 5868 fi |
| 6888 if [ "${with_database_berkdb}" = "yes" ]; then | 5869 test "${with_database_berkdb}" = yes && |
| 6889 | |
| 6890 { | 5870 { |
| 6891 test -n "$verbose" && \ | 5871 test -n "$verbose" && \ |
| 6892 echo " defining HAVE_BERKELEY_DB" | 5872 echo " defining HAVE_BERKELEY_DB" |
| 6893 echo "#define" HAVE_BERKELEY_DB "1" >> confdefs.h | 5873 echo "#define" HAVE_BERKELEY_DB "1" >> confdefs.h |
| 6894 DEFS="$DEFS -DHAVE_BERKELEY_DB=1" | 5874 DEFS="$DEFS -DHAVE_BERKELEY_DB=1" |
| 6895 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_BERKELEY_DB\${ac_dB}HAVE_BERKELEY_DB\${ac_dC}1\${ac_dD} | 5875 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_BERKELEY_DB\${ac_dB}HAVE_BERKELEY_DB\${ac_dC}1\${ac_dD} |
| 6896 \${ac_uA}HAVE_BERKELEY_DB\${ac_uB}HAVE_BERKELEY_DB\${ac_uC}1\${ac_uD} | 5876 \${ac_uA}HAVE_BERKELEY_DB\${ac_uB}HAVE_BERKELEY_DB\${ac_uC}1\${ac_uD} |
| 6897 \${ac_eA}HAVE_BERKELEY_DB\${ac_eB}HAVE_BERKELEY_DB\${ac_eC}1\${ac_eD} | 5877 \${ac_eA}HAVE_BERKELEY_DB\${ac_eB}HAVE_BERKELEY_DB\${ac_eC}1\${ac_eD} |
| 6898 " | 5878 " |
| 6899 } | 5879 } |
| 6900 | 5880 |
| 6901 fi | 5881 |
| 6902 | 5882 if test "${with_database_gnudbm}" != "no" ; then |
| 6903 if [ "${with_database_gnudbm}" != "no" ] ; then | 5883 ac_save_LIBS="${LIBS}" |
| 6904 ac_save_LIBS="${LIBS}" | |
| 6905 LIBS="${LIBS} -lgdbm" | 5884 LIBS="${LIBS} -lgdbm" |
| 6906 ac_have_lib="" | 5885 ac_have_lib="" |
| 6907 test -n "$silent" || echo "checking for -lgdbm" | 5886 test -n "$silent" || echo "checking for -lgdbm" |
| 6908 cat > conftest.${ac_ext} <<EOF | 5887 cat > conftest.${ac_ext} <<EOF |
| 6909 #include "confdefs.h" | 5888 #include "confdefs.h" |
| 6921 if test -n "${ac_have_lib}"; then | 5900 if test -n "${ac_have_lib}"; then |
| 6922 :; have_libgdbm=yes | 5901 :; have_libgdbm=yes |
| 6923 else | 5902 else |
| 6924 :; have_libgdbm=no | 5903 :; have_libgdbm=no |
| 6925 fi | 5904 fi |
| 6926 | 5905 |
| 6927 if [ "${have_libgdbm}" = "yes" ] ; then | 5906 test "${have_libgdbm}" = yes && |
| 6928 | |
| 6929 { | 5907 { |
| 6930 test -n "$verbose" && \ | 5908 test -n "$verbose" && \ |
| 6931 echo " defining HAVE_LIBGDBM" | 5909 echo " defining HAVE_LIBGDBM" |
| 6932 echo "#define" HAVE_LIBGDBM "1" >> confdefs.h | 5910 echo "#define" HAVE_LIBGDBM "1" >> confdefs.h |
| 6933 DEFS="$DEFS -DHAVE_LIBGDBM=1" | 5911 DEFS="$DEFS -DHAVE_LIBGDBM=1" |
| 6934 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBGDBM\${ac_dB}HAVE_LIBGDBM\${ac_dC}1\${ac_dD} | 5912 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBGDBM\${ac_dB}HAVE_LIBGDBM\${ac_dC}1\${ac_dD} |
| 6935 \${ac_uA}HAVE_LIBGDBM\${ac_uB}HAVE_LIBGDBM\${ac_uC}1\${ac_uD} | 5913 \${ac_uA}HAVE_LIBGDBM\${ac_uB}HAVE_LIBGDBM\${ac_uC}1\${ac_uD} |
| 6936 \${ac_eA}HAVE_LIBGDBM\${ac_eB}HAVE_LIBGDBM\${ac_eC}1\${ac_eD} | 5914 \${ac_eA}HAVE_LIBGDBM\${ac_eB}HAVE_LIBGDBM\${ac_eC}1\${ac_eD} |
| 6937 " | 5915 " |
| 6938 } | 5916 } |
| 6939 | 5917 |
| 6940 fi | 5918 test -z "${with_database_gnudbm}" && with_database_gnudbm="${have_libgdbm}" |
| 6941 if [ "${with_database_gnudbm}" != "yes" ] ; then | 5919 fi |
| 6942 if [ "${have_libgdbm}" = "yes" ] ; then | 5920 if test "${with_database_gnudbm}" = "yes" ; then |
| 6943 with_database_gnudbm=yes | 5921 |
| 6944 else | |
| 6945 with_database_gnudbm=no | |
| 6946 fi | |
| 6947 fi | |
| 6948 fi | |
| 6949 if [ "${with_database_gnudbm}" = "yes" ]; then | |
| 6950 | |
| 6951 { | 5922 { |
| 6952 test -n "$verbose" && \ | 5923 test -n "$verbose" && \ |
| 6953 echo " defining HAVE_DBM" | 5924 echo " defining HAVE_DBM" |
| 6954 echo "#define" HAVE_DBM "1" >> confdefs.h | 5925 echo "#define" HAVE_DBM "1" >> confdefs.h |
| 6955 DEFS="$DEFS -DHAVE_DBM=1" | 5926 DEFS="$DEFS -DHAVE_DBM=1" |
| 6956 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_DBM\${ac_dB}HAVE_DBM\${ac_dC}1\${ac_dD} | 5927 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_DBM\${ac_dB}HAVE_DBM\${ac_dC}1\${ac_dD} |
| 6957 \${ac_uA}HAVE_DBM\${ac_uB}HAVE_DBM\${ac_uC}1\${ac_uD} | 5928 \${ac_uA}HAVE_DBM\${ac_uB}HAVE_DBM\${ac_uC}1\${ac_uD} |
| 6958 \${ac_eA}HAVE_DBM\${ac_eB}HAVE_DBM\${ac_eC}1\${ac_eD} | 5929 \${ac_eA}HAVE_DBM\${ac_eB}HAVE_DBM\${ac_eC}1\${ac_eD} |
| 6959 " | 5930 " |
| 6960 } | 5931 } |
| 6961 | 5932 |
| 6962 | 5933 |
| 6963 { | 5934 { |
| 6964 test -n "$verbose" && \ | 5935 test -n "$verbose" && \ |
| 6965 echo " defining HAVE_GNU_DBM" | 5936 echo " defining HAVE_GNU_DBM" |
| 6966 echo "#define" HAVE_GNU_DBM "1" >> confdefs.h | 5937 echo "#define" HAVE_GNU_DBM "1" >> confdefs.h |
| 6967 DEFS="$DEFS -DHAVE_GNU_DBM=1" | 5938 DEFS="$DEFS -DHAVE_GNU_DBM=1" |
| 6968 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_GNU_DBM\${ac_dB}HAVE_GNU_DBM\${ac_dC}1\${ac_dD} | 5939 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_GNU_DBM\${ac_dB}HAVE_GNU_DBM\${ac_dC}1\${ac_dD} |
| 6969 \${ac_uA}HAVE_GNU_DBM\${ac_uB}HAVE_GNU_DBM\${ac_uC}1\${ac_uD} | 5940 \${ac_uA}HAVE_GNU_DBM\${ac_uB}HAVE_GNU_DBM\${ac_uC}1\${ac_uD} |
| 6970 \${ac_eA}HAVE_GNU_DBM\${ac_eB}HAVE_GNU_DBM\${ac_eC}1\${ac_eD} | 5941 \${ac_eA}HAVE_GNU_DBM\${ac_eB}HAVE_GNU_DBM\${ac_eC}1\${ac_eD} |
| 6971 " | 5942 " |
| 6972 } | 5943 } |
| 6973 | 5944 |
| 6974 with_database_dbm=no | 5945 with_database_dbm=no |
| 6975 fi | 5946 fi |
| 6976 | 5947 |
| 6977 if [ "${with_database_dbm}" != "no" ] ; then | 5948 if test "${with_database_dbm}" != "no" ; then |
| 6978 ac_save_LIBS="${LIBS}" | 5949 ac_save_LIBS="${LIBS}" |
| 6979 LIBS="${LIBS} -ldbm" | 5950 LIBS="${LIBS} -ldbm" |
| 6980 ac_have_lib="" | 5951 ac_have_lib="" |
| 6981 test -n "$silent" || echo "checking for -ldbm" | 5952 test -n "$silent" || echo "checking for -ldbm" |
| 6982 cat > conftest.${ac_ext} <<EOF | 5953 cat > conftest.${ac_ext} <<EOF |
| 6983 #include "confdefs.h" | 5954 #include "confdefs.h" |
| 6995 if test -n "${ac_have_lib}"; then | 5966 if test -n "${ac_have_lib}"; then |
| 6996 :; have_libdbm=yes | 5967 :; have_libdbm=yes |
| 6997 else | 5968 else |
| 6998 :; have_libdbm=no | 5969 :; have_libdbm=no |
| 6999 fi | 5970 fi |
| 7000 | 5971 |
| 7001 if [ "${have_libdbm}" = "yes" ] ; then | 5972 test "${have_libdbm}" = yes && |
| 7002 | |
| 7003 { | 5973 { |
| 7004 test -n "$verbose" && \ | 5974 test -n "$verbose" && \ |
| 7005 echo " defining HAVE_LIBDBM" | 5975 echo " defining HAVE_LIBDBM" |
| 7006 echo "#define" HAVE_LIBDBM "1" >> confdefs.h | 5976 echo "#define" HAVE_LIBDBM "1" >> confdefs.h |
| 7007 DEFS="$DEFS -DHAVE_LIBDBM=1" | 5977 DEFS="$DEFS -DHAVE_LIBDBM=1" |
| 7008 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBDBM\${ac_dB}HAVE_LIBDBM\${ac_dC}1\${ac_dD} | 5978 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_LIBDBM\${ac_dB}HAVE_LIBDBM\${ac_dC}1\${ac_dD} |
| 7009 \${ac_uA}HAVE_LIBDBM\${ac_uB}HAVE_LIBDBM\${ac_uC}1\${ac_uD} | 5979 \${ac_uA}HAVE_LIBDBM\${ac_uB}HAVE_LIBDBM\${ac_uC}1\${ac_uD} |
| 7010 \${ac_eA}HAVE_LIBDBM\${ac_eB}HAVE_LIBDBM\${ac_eC}1\${ac_eD} | 5980 \${ac_eA}HAVE_LIBDBM\${ac_eB}HAVE_LIBDBM\${ac_eC}1\${ac_eD} |
| 7011 " | 5981 " |
| 7012 } | 5982 } |
| 7013 | 5983 |
| 7014 fi | 5984 if test "${with_database_dbm}" != "yes" ; then |
| 7015 if [ "${with_database_dbm}" != "yes" ] ; then | 5985 if test "${have_libdbm}" = "yes" ; then |
| 7016 if [ "${have_libdbm}" = "yes" ] ; then | |
| 7017 with_database_dbm=yes | 5986 with_database_dbm=yes |
| 7018 else | 5987 else |
| 7019 test -n "$silent" || echo "checking for dbm_open" | 5988 test -n "$silent" || echo "checking for dbm_open" |
| 7020 cat > conftest.${ac_ext} <<EOF | 5989 cat > conftest.${ac_ext} <<EOF |
| 7021 #include "confdefs.h" | 5990 #include "confdefs.h" |
| 7022 #include <ctype.h> | 5991 #include <ctype.h> |
| 7023 int main() { return 0; } | 5992 int main() { return 0; } |
| 7024 int t() { | 5993 int t() { |
| 7033 #endif | 6002 #endif |
| 7034 ; return 0; } | 6003 ; return 0; } |
| 7035 EOF | 6004 EOF |
| 7036 if eval $ac_compile; then | 6005 if eval $ac_compile; then |
| 7037 rm -rf conftest* | 6006 rm -rf conftest* |
| 7038 have_dbm_open=yes | 6007 with_database_dbm=yes |
| 7039 | 6008 |
| 7040 else | 6009 else |
| 7041 rm -rf conftest* | 6010 rm -rf conftest* |
| 7042 have_dbm_open=no | 6011 with_database_dbm=no |
| 7043 fi | 6012 fi |
| 7044 rm -f conftest* | 6013 rm -f conftest* |
| 7045 | 6014 |
| 7046 if [ "${have_dbm_open}" = "yes" ] ; then | |
| 7047 with_database_dbm=yes | |
| 7048 else | |
| 7049 with_database_dbm=no | |
| 7050 fi | |
| 7051 fi | 6015 fi |
| 7052 fi | 6016 fi |
| 7053 fi | 6017 fi |
| 7054 if [ "${with_database_dbm}" = "yes" ]; then | 6018 test "${with_database_dbm}" = yes && |
| 7055 | |
| 7056 { | 6019 { |
| 7057 test -n "$verbose" && \ | 6020 test -n "$verbose" && \ |
| 7058 echo " defining HAVE_DBM" | 6021 echo " defining HAVE_DBM" |
| 7059 echo "#define" HAVE_DBM "1" >> confdefs.h | 6022 echo "#define" HAVE_DBM "1" >> confdefs.h |
| 7060 DEFS="$DEFS -DHAVE_DBM=1" | 6023 DEFS="$DEFS -DHAVE_DBM=1" |
| 7061 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_DBM\${ac_dB}HAVE_DBM\${ac_dC}1\${ac_dD} | 6024 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_DBM\${ac_dB}HAVE_DBM\${ac_dC}1\${ac_dD} |
| 7062 \${ac_uA}HAVE_DBM\${ac_uB}HAVE_DBM\${ac_uC}1\${ac_uD} | 6025 \${ac_uA}HAVE_DBM\${ac_uB}HAVE_DBM\${ac_uC}1\${ac_uD} |
| 7063 \${ac_eA}HAVE_DBM\${ac_eB}HAVE_DBM\${ac_eC}1\${ac_eD} | 6026 \${ac_eA}HAVE_DBM\${ac_eB}HAVE_DBM\${ac_eC}1\${ac_eD} |
| 7064 " | 6027 " |
| 7065 } | 6028 } |
| 7066 | 6029 |
| 7067 fi | |
| 7068 | 6030 |
| 7069 | 6031 |
| 7070 ############################################################################ | 6032 ############################################################################ |
| 7071 # # | 6033 # # |
| 7072 # Substitute into Makefile and config.h # | 6034 # Substitute into Makefile and config.h # |
| 7073 # # | 6035 # # |
| 7074 ############################################################################ | 6036 ############################################################################ |
| 7075 | 6037 |
| 7076 ### Specify what sort of things we'll be editing into Makefile and config.h. | 6038 |
| 7077 ### Use configuration here uncanonicalized to avoid exceeding size limits. | 6039 |
| 7078 | 6040 |
| 7079 | 6041 |
| 7080 | 6042 |
| 7081 | 6043 |
| 7082 | 6044 |
| 7083 | 6045 |
| 7084 | 6046 |
| 7085 | 6047 |
| 7086 | 6048 |
| 7087 | 6049 |
| 7088 | 6050 |
| 7089 | 6051 |
| 7090 | 6052 |
| 7091 | 6053 |
| 7092 | 6054 |
| 7093 | 6055 |
| 7094 | 6056 |
| 7095 | 6057 |
| 7096 | 6058 |
| 7097 | 6059 |
| 7098 | 6060 |
| 7099 | 6061 |
| 7100 | 6062 |
| 7101 | 6063 |
| 7102 | 6064 |
| 7103 | 6065 |
| 7104 | 6066 |
| 7105 | 6067 |
| 7106 | 6068 |
| 7107 | 6069 |
| 7108 | 6070 |
| 7109 | 6071 |
| 7110 | 6072 |
| 7111 | 6073 |
| 7112 | 6074 |
| 7113 | 6075 |
| 7114 | 6076 |
| 7115 | 6077 |
| 7116 | 6078 |
| 6079 { | |
| 6080 test -n "$verbose" && \ | |
| 6081 echo " defining" EMACS_VERSION to be ""${version}"" | |
| 6082 echo "#define" EMACS_VERSION ""${version}"" >> confdefs.h | |
| 6083 DEFS="$DEFS -DEMACS_VERSION="${version}"" | |
| 6084 ac_sed_defs="${ac_sed_defs}\${ac_dA}EMACS_VERSION\${ac_dB}EMACS_VERSION\${ac_dC}"${version}"\${ac_dD} | |
| 6085 \${ac_uA}EMACS_VERSION\${ac_uB}EMACS_VERSION\${ac_uC}"${version}"\${ac_uD} | |
| 6086 \${ac_eA}EMACS_VERSION\${ac_eB}EMACS_VERSION\${ac_eC}"${version}"\${ac_eD} | |
| 6087 " | |
| 6088 } | |
| 7117 | 6089 |
| 7118 | 6090 |
| 7119 { | 6091 { |
| 7120 test -n "$verbose" && \ | 6092 test -n "$verbose" && \ |
| 7121 echo " defining" EMACS_CONFIGURATION to be ""\"${canonical}\""" | 6093 echo " defining" EMACS_CONFIGURATION to be ""\"${canonical}\""" |
| 7223 " | 6195 " |
| 7224 } | 6196 } |
| 7225 | 6197 |
| 7226 | 6198 |
| 7227 | 6199 |
| 7228 | 6200 test -n "${puresize}" && |
| 7229 # Note: as a general rule, *only* define things here that are not | 6201 { |
| 7230 # autodetected. For things that are autodetected, define them | 6202 test -n "$verbose" && \ |
| 7231 # at the point where the autodetection occurs or would occur, | 6203 echo " defining" PURESIZE to be "${puresize}" |
| 7232 # so that the user gets immediate feedback on the results of the | 6204 echo "#define" PURESIZE "${puresize}" >> confdefs.h |
| 7233 # autodetection. | 6205 DEFS="$DEFS -DPURESIZE=${puresize}" |
| 7234 | 6206 ac_sed_defs="${ac_sed_defs}\${ac_dA}PURESIZE\${ac_dB}PURESIZE\${ac_dC}${puresize}\${ac_dD} |
| 7235 if [ x"${puresize}" != x ] ; then | 6207 \${ac_uA}PURESIZE\${ac_uB}PURESIZE\${ac_uC}${puresize}\${ac_uD} |
| 7236 | 6208 \${ac_eA}PURESIZE\${ac_eB}PURESIZE\${ac_eC}${puresize}\${ac_eD} |
| 7237 { | 6209 " |
| 7238 test -n "$verbose" && \ | 6210 } |
| 7239 echo " defining" RAW_PURESIZE to be "${puresize}" | 6211 |
| 7240 echo "#define" RAW_PURESIZE "${puresize}" >> confdefs.h | 6212 test "${HAVE_X_WINDOWS}" = yes && |
| 7241 DEFS="$DEFS -DRAW_PURESIZE=${puresize}" | |
| 7242 ac_sed_defs="${ac_sed_defs}\${ac_dA}RAW_PURESIZE\${ac_dB}RAW_PURESIZE\${ac_dC}${puresize}\${ac_dD} | |
| 7243 \${ac_uA}RAW_PURESIZE\${ac_uB}RAW_PURESIZE\${ac_uC}${puresize}\${ac_uD} | |
| 7244 \${ac_eA}RAW_PURESIZE\${ac_eB}RAW_PURESIZE\${ac_eC}${puresize}\${ac_eD} | |
| 7245 " | |
| 7246 } | |
| 7247 | |
| 7248 fi | |
| 7249 if [ "${HAVE_X_WINDOWS}" = "yes" ] ; then | |
| 7250 | |
| 7251 { | 6213 { |
| 7252 test -n "$verbose" && \ | 6214 test -n "$verbose" && \ |
| 7253 echo " defining HAVE_X_WINDOWS" | 6215 echo " defining HAVE_X_WINDOWS" |
| 7254 echo "#define" HAVE_X_WINDOWS "1" >> confdefs.h | 6216 echo "#define" HAVE_X_WINDOWS "1" >> confdefs.h |
| 7255 DEFS="$DEFS -DHAVE_X_WINDOWS=1" | 6217 DEFS="$DEFS -DHAVE_X_WINDOWS=1" |
| 7256 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_X_WINDOWS\${ac_dB}HAVE_X_WINDOWS\${ac_dC}1\${ac_dD} | 6218 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_X_WINDOWS\${ac_dB}HAVE_X_WINDOWS\${ac_dC}1\${ac_dD} |
| 7257 \${ac_uA}HAVE_X_WINDOWS\${ac_uB}HAVE_X_WINDOWS\${ac_uC}1\${ac_uD} | 6219 \${ac_uA}HAVE_X_WINDOWS\${ac_uB}HAVE_X_WINDOWS\${ac_uC}1\${ac_uD} |
| 7258 \${ac_eA}HAVE_X_WINDOWS\${ac_eB}HAVE_X_WINDOWS\${ac_eC}1\${ac_eD} | 6220 \${ac_eA}HAVE_X_WINDOWS\${ac_eB}HAVE_X_WINDOWS\${ac_eC}1\${ac_eD} |
| 7259 " | 6221 " |
| 7260 } | 6222 } |
| 7261 | 6223 |
| 7262 fi | 6224 test "${HAVE_XFREE386}" = yes && |
| 7263 if [ "${HAVE_XFREE386}" = "yes" ] ; then | |
| 7264 | |
| 7265 { | 6225 { |
| 7266 test -n "$verbose" && \ | 6226 test -n "$verbose" && \ |
| 7267 echo " defining HAVE_XFREE386" | 6227 echo " defining HAVE_XFREE386" |
| 7268 echo "#define" HAVE_XFREE386 "1" >> confdefs.h | 6228 echo "#define" HAVE_XFREE386 "1" >> confdefs.h |
| 7269 DEFS="$DEFS -DHAVE_XFREE386=1" | 6229 DEFS="$DEFS -DHAVE_XFREE386=1" |
| 7270 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_XFREE386\${ac_dB}HAVE_XFREE386\${ac_dC}1\${ac_dD} | 6230 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_XFREE386\${ac_dB}HAVE_XFREE386\${ac_dC}1\${ac_dD} |
| 7271 \${ac_uA}HAVE_XFREE386\${ac_uB}HAVE_XFREE386\${ac_uC}1\${ac_uD} | 6231 \${ac_uA}HAVE_XFREE386\${ac_uB}HAVE_XFREE386\${ac_uC}1\${ac_uD} |
| 7272 \${ac_eA}HAVE_XFREE386\${ac_eB}HAVE_XFREE386\${ac_eC}1\${ac_eD} | 6232 \${ac_eA}HAVE_XFREE386\${ac_eB}HAVE_XFREE386\${ac_eC}1\${ac_eD} |
| 7273 " | 6233 " |
| 7274 } | 6234 } |
| 7275 | 6235 |
| 7276 fi | 6236 |
| 7277 if [ "${GNU_MALLOC}" = "yes" ] ; then | 6237 if test "${GNU_MALLOC}" = yes; then |
| 7278 | |
| 7279 { | 6238 { |
| 7280 test -n "$verbose" && \ | 6239 test -n "$verbose" && \ |
| 7281 echo " defining GNU_MALLOC" | 6240 echo " defining GNU_MALLOC" |
| 7282 echo "#define" GNU_MALLOC "1" >> confdefs.h | 6241 echo "#define" GNU_MALLOC "1" >> confdefs.h |
| 7283 DEFS="$DEFS -DGNU_MALLOC=1" | 6242 DEFS="$DEFS -DGNU_MALLOC=1" |
| 7284 ac_sed_defs="${ac_sed_defs}\${ac_dA}GNU_MALLOC\${ac_dB}GNU_MALLOC\${ac_dC}1\${ac_dD} | 6243 ac_sed_defs="${ac_sed_defs}\${ac_dA}GNU_MALLOC\${ac_dB}GNU_MALLOC\${ac_dC}1\${ac_dD} |
| 7285 \${ac_uA}GNU_MALLOC\${ac_uB}GNU_MALLOC\${ac_uC}1\${ac_uD} | 6244 \${ac_uA}GNU_MALLOC\${ac_uB}GNU_MALLOC\${ac_uC}1\${ac_uD} |
| 7286 \${ac_eA}GNU_MALLOC\${ac_eB}GNU_MALLOC\${ac_eC}1\${ac_eD} | 6245 \${ac_eA}GNU_MALLOC\${ac_eB}GNU_MALLOC\${ac_eC}1\${ac_eD} |
| 7287 " | 6246 " |
| 7288 } | 6247 } |
| 7289 | 6248 |
| 7290 elif [ "${use_system_malloc}" = "yes" ]; then | 6249 elif test "${use_system_malloc}" = yes; then |
| 7291 | |
| 7292 { | 6250 { |
| 7293 test -n "$verbose" && \ | 6251 test -n "$verbose" && \ |
| 7294 echo " defining USE_SYSTEM_MALLOC" | 6252 echo " defining USE_SYSTEM_MALLOC" |
| 7295 echo "#define" USE_SYSTEM_MALLOC "1" >> confdefs.h | 6253 echo "#define" USE_SYSTEM_MALLOC "1" >> confdefs.h |
| 7296 DEFS="$DEFS -DUSE_SYSTEM_MALLOC=1" | 6254 DEFS="$DEFS -DUSE_SYSTEM_MALLOC=1" |
| 7297 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_SYSTEM_MALLOC\${ac_dB}USE_SYSTEM_MALLOC\${ac_dC}1\${ac_dD} | 6255 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_SYSTEM_MALLOC\${ac_dB}USE_SYSTEM_MALLOC\${ac_dC}1\${ac_dD} |
| 7298 \${ac_uA}USE_SYSTEM_MALLOC\${ac_uB}USE_SYSTEM_MALLOC\${ac_uC}1\${ac_uD} | 6256 \${ac_uA}USE_SYSTEM_MALLOC\${ac_uB}USE_SYSTEM_MALLOC\${ac_uC}1\${ac_uD} |
| 7299 \${ac_eA}USE_SYSTEM_MALLOC\${ac_eB}USE_SYSTEM_MALLOC\${ac_eC}1\${ac_eD} | 6257 \${ac_eA}USE_SYSTEM_MALLOC\${ac_eB}USE_SYSTEM_MALLOC\${ac_eC}1\${ac_eD} |
| 7300 " | 6258 " |
| 7301 } | 6259 } |
| 7302 | 6260 |
| 7303 fi | 6261 fi |
| 7304 if [ "${rel_alloc}" = "yes" ] ; then | 6262 test "${rel_alloc}" = yes && |
| 7305 | |
| 7306 { | 6263 { |
| 7307 test -n "$verbose" && \ | 6264 test -n "$verbose" && \ |
| 7308 echo " defining REL_ALLOC" | 6265 echo " defining REL_ALLOC" |
| 7309 echo "#define" REL_ALLOC "1" >> confdefs.h | 6266 echo "#define" REL_ALLOC "1" >> confdefs.h |
| 7310 DEFS="$DEFS -DREL_ALLOC=1" | 6267 DEFS="$DEFS -DREL_ALLOC=1" |
| 7311 ac_sed_defs="${ac_sed_defs}\${ac_dA}REL_ALLOC\${ac_dB}REL_ALLOC\${ac_dC}1\${ac_dD} | 6268 ac_sed_defs="${ac_sed_defs}\${ac_dA}REL_ALLOC\${ac_dB}REL_ALLOC\${ac_dC}1\${ac_dD} |
| 7312 \${ac_uA}REL_ALLOC\${ac_uB}REL_ALLOC\${ac_uC}1\${ac_uD} | 6269 \${ac_uA}REL_ALLOC\${ac_uB}REL_ALLOC\${ac_uC}1\${ac_uD} |
| 7313 \${ac_eA}REL_ALLOC\${ac_eB}REL_ALLOC\${ac_eC}1\${ac_eD} | 6270 \${ac_eA}REL_ALLOC\${ac_eB}REL_ALLOC\${ac_eC}1\${ac_eD} |
| 7314 " | 6271 " |
| 7315 } | 6272 } |
| 7316 | 6273 |
| 7317 fi | 6274 test "${LISP_FLOAT_TYPE}" = yes && |
| 7318 if [ "${LISP_FLOAT_TYPE}" = "yes" ] ; then | |
| 7319 | |
| 7320 { | 6275 { |
| 7321 test -n "$verbose" && \ | 6276 test -n "$verbose" && \ |
| 7322 echo " defining LISP_FLOAT_TYPE" | 6277 echo " defining LISP_FLOAT_TYPE" |
| 7323 echo "#define" LISP_FLOAT_TYPE "1" >> confdefs.h | 6278 echo "#define" LISP_FLOAT_TYPE "1" >> confdefs.h |
| 7324 DEFS="$DEFS -DLISP_FLOAT_TYPE=1" | 6279 DEFS="$DEFS -DLISP_FLOAT_TYPE=1" |
| 7325 ac_sed_defs="${ac_sed_defs}\${ac_dA}LISP_FLOAT_TYPE\${ac_dB}LISP_FLOAT_TYPE\${ac_dC}1\${ac_dD} | 6280 ac_sed_defs="${ac_sed_defs}\${ac_dA}LISP_FLOAT_TYPE\${ac_dB}LISP_FLOAT_TYPE\${ac_dC}1\${ac_dD} |
| 7326 \${ac_uA}LISP_FLOAT_TYPE\${ac_uB}LISP_FLOAT_TYPE\${ac_uC}1\${ac_uD} | 6281 \${ac_uA}LISP_FLOAT_TYPE\${ac_uB}LISP_FLOAT_TYPE\${ac_uC}1\${ac_uD} |
| 7327 \${ac_eA}LISP_FLOAT_TYPE\${ac_eB}LISP_FLOAT_TYPE\${ac_eC}1\${ac_eD} | 6282 \${ac_eA}LISP_FLOAT_TYPE\${ac_eB}LISP_FLOAT_TYPE\${ac_eC}1\${ac_eD} |
| 7328 " | 6283 " |
| 7329 } | 6284 } |
| 7330 | 6285 |
| 7331 fi | 6286 test "${with_motif}" = yes && |
| 7332 if [ "${with_motif}" = "yes" ] ; then | |
| 7333 | |
| 7334 { | 6287 { |
| 7335 test -n "$verbose" && \ | 6288 test -n "$verbose" && \ |
| 7336 echo " defining LWLIB_USES_MOTIF" | 6289 echo " defining LWLIB_USES_MOTIF" |
| 7337 echo "#define" LWLIB_USES_MOTIF "1" >> confdefs.h | 6290 echo "#define" LWLIB_USES_MOTIF "1" >> confdefs.h |
| 7338 DEFS="$DEFS -DLWLIB_USES_MOTIF=1" | 6291 DEFS="$DEFS -DLWLIB_USES_MOTIF=1" |
| 7339 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_USES_MOTIF\${ac_dB}LWLIB_USES_MOTIF\${ac_dC}1\${ac_dD} | 6292 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_USES_MOTIF\${ac_dB}LWLIB_USES_MOTIF\${ac_dC}1\${ac_dD} |
| 7340 \${ac_uA}LWLIB_USES_MOTIF\${ac_uB}LWLIB_USES_MOTIF\${ac_uC}1\${ac_uD} | 6293 \${ac_uA}LWLIB_USES_MOTIF\${ac_uB}LWLIB_USES_MOTIF\${ac_uC}1\${ac_uD} |
| 7341 \${ac_eA}LWLIB_USES_MOTIF\${ac_eB}LWLIB_USES_MOTIF\${ac_eC}1\${ac_eD} | 6294 \${ac_eA}LWLIB_USES_MOTIF\${ac_eB}LWLIB_USES_MOTIF\${ac_eC}1\${ac_eD} |
| 7342 " | 6295 " |
| 7343 } | 6296 } |
| 7344 | 6297 |
| 7345 fi | 6298 test "${with_toolbars}" = yes && |
| 7346 if [ "${with_athena}" = "yes" ] ; then | |
| 7347 | |
| 7348 { | |
| 7349 test -n "$verbose" && \ | |
| 7350 echo " defining LWLIB_USES_ATHENA" | |
| 7351 echo "#define" LWLIB_USES_ATHENA "1" >> confdefs.h | |
| 7352 DEFS="$DEFS -DLWLIB_USES_ATHENA=1" | |
| 7353 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_USES_ATHENA\${ac_dB}LWLIB_USES_ATHENA\${ac_dC}1\${ac_dD} | |
| 7354 \${ac_uA}LWLIB_USES_ATHENA\${ac_uB}LWLIB_USES_ATHENA\${ac_uC}1\${ac_uD} | |
| 7355 \${ac_eA}LWLIB_USES_ATHENA\${ac_eB}LWLIB_USES_ATHENA\${ac_eC}1\${ac_eD} | |
| 7356 " | |
| 7357 } | |
| 7358 | |
| 7359 fi | |
| 7360 if [ "${with_menubars}" = "lucid" ] ; then | |
| 7361 | |
| 7362 { | |
| 7363 test -n "$verbose" && \ | |
| 7364 echo " defining LWLIB_MENUBARS_LUCID" | |
| 7365 echo "#define" LWLIB_MENUBARS_LUCID "1" >> confdefs.h | |
| 7366 DEFS="$DEFS -DLWLIB_MENUBARS_LUCID=1" | |
| 7367 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_MENUBARS_LUCID\${ac_dB}LWLIB_MENUBARS_LUCID\${ac_dC}1\${ac_dD} | |
| 7368 \${ac_uA}LWLIB_MENUBARS_LUCID\${ac_uB}LWLIB_MENUBARS_LUCID\${ac_uC}1\${ac_uD} | |
| 7369 \${ac_eA}LWLIB_MENUBARS_LUCID\${ac_eB}LWLIB_MENUBARS_LUCID\${ac_eC}1\${ac_eD} | |
| 7370 " | |
| 7371 } | |
| 7372 | |
| 7373 | |
| 7374 { | |
| 7375 test -n "$verbose" && \ | |
| 7376 echo " defining HAVE_MENUBARS" | |
| 7377 echo "#define" HAVE_MENUBARS "1" >> confdefs.h | |
| 7378 DEFS="$DEFS -DHAVE_MENUBARS=1" | |
| 7379 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_MENUBARS\${ac_dB}HAVE_MENUBARS\${ac_dC}1\${ac_dD} | |
| 7380 \${ac_uA}HAVE_MENUBARS\${ac_uB}HAVE_MENUBARS\${ac_uC}1\${ac_uD} | |
| 7381 \${ac_eA}HAVE_MENUBARS\${ac_eB}HAVE_MENUBARS\${ac_eC}1\${ac_eD} | |
| 7382 " | |
| 7383 } | |
| 7384 | |
| 7385 fi | |
| 7386 if [ "${with_menubars}" = "motif" ]; then | |
| 7387 | |
| 7388 { | |
| 7389 test -n "$verbose" && \ | |
| 7390 echo " defining LWLIB_MENUBARS_MOTIF" | |
| 7391 echo "#define" LWLIB_MENUBARS_MOTIF "1" >> confdefs.h | |
| 7392 DEFS="$DEFS -DLWLIB_MENUBARS_MOTIF=1" | |
| 7393 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_MENUBARS_MOTIF\${ac_dB}LWLIB_MENUBARS_MOTIF\${ac_dC}1\${ac_dD} | |
| 7394 \${ac_uA}LWLIB_MENUBARS_MOTIF\${ac_uB}LWLIB_MENUBARS_MOTIF\${ac_uC}1\${ac_uD} | |
| 7395 \${ac_eA}LWLIB_MENUBARS_MOTIF\${ac_eB}LWLIB_MENUBARS_MOTIF\${ac_eC}1\${ac_eD} | |
| 7396 " | |
| 7397 } | |
| 7398 | |
| 7399 | |
| 7400 { | |
| 7401 test -n "$verbose" && \ | |
| 7402 echo " defining HAVE_MENUBARS" | |
| 7403 echo "#define" HAVE_MENUBARS "1" >> confdefs.h | |
| 7404 DEFS="$DEFS -DHAVE_MENUBARS=1" | |
| 7405 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_MENUBARS\${ac_dB}HAVE_MENUBARS\${ac_dC}1\${ac_dD} | |
| 7406 \${ac_uA}HAVE_MENUBARS\${ac_uB}HAVE_MENUBARS\${ac_uC}1\${ac_uD} | |
| 7407 \${ac_eA}HAVE_MENUBARS\${ac_eB}HAVE_MENUBARS\${ac_eC}1\${ac_eD} | |
| 7408 " | |
| 7409 } | |
| 7410 | |
| 7411 fi | |
| 7412 if [ "${with_scrollbars}" = "lucid" ] ; then | |
| 7413 | |
| 7414 { | |
| 7415 test -n "$verbose" && \ | |
| 7416 echo " defining LWLIB_SCROLLBARS_LUCID" | |
| 7417 echo "#define" LWLIB_SCROLLBARS_LUCID "1" >> confdefs.h | |
| 7418 DEFS="$DEFS -DLWLIB_SCROLLBARS_LUCID=1" | |
| 7419 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_LUCID\${ac_dB}LWLIB_SCROLLBARS_LUCID\${ac_dC}1\${ac_dD} | |
| 7420 \${ac_uA}LWLIB_SCROLLBARS_LUCID\${ac_uB}LWLIB_SCROLLBARS_LUCID\${ac_uC}1\${ac_uD} | |
| 7421 \${ac_eA}LWLIB_SCROLLBARS_LUCID\${ac_eB}LWLIB_SCROLLBARS_LUCID\${ac_eC}1\${ac_eD} | |
| 7422 " | |
| 7423 } | |
| 7424 | |
| 7425 | |
| 7426 { | |
| 7427 test -n "$verbose" && \ | |
| 7428 echo " defining HAVE_SCROLLBARS" | |
| 7429 echo "#define" HAVE_SCROLLBARS "1" >> confdefs.h | |
| 7430 DEFS="$DEFS -DHAVE_SCROLLBARS=1" | |
| 7431 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_SCROLLBARS\${ac_dB}HAVE_SCROLLBARS\${ac_dC}1\${ac_dD} | |
| 7432 \${ac_uA}HAVE_SCROLLBARS\${ac_uB}HAVE_SCROLLBARS\${ac_uC}1\${ac_uD} | |
| 7433 \${ac_eA}HAVE_SCROLLBARS\${ac_eB}HAVE_SCROLLBARS\${ac_eC}1\${ac_eD} | |
| 7434 " | |
| 7435 } | |
| 7436 | |
| 7437 fi | |
| 7438 if [ "${with_scrollbars}" = "motif" ] ; then | |
| 7439 | |
| 7440 { | |
| 7441 test -n "$verbose" && \ | |
| 7442 echo " defining LWLIB_SCROLLBARS_MOTIF" | |
| 7443 echo "#define" LWLIB_SCROLLBARS_MOTIF "1" >> confdefs.h | |
| 7444 DEFS="$DEFS -DLWLIB_SCROLLBARS_MOTIF=1" | |
| 7445 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_MOTIF\${ac_dB}LWLIB_SCROLLBARS_MOTIF\${ac_dC}1\${ac_dD} | |
| 7446 \${ac_uA}LWLIB_SCROLLBARS_MOTIF\${ac_uB}LWLIB_SCROLLBARS_MOTIF\${ac_uC}1\${ac_uD} | |
| 7447 \${ac_eA}LWLIB_SCROLLBARS_MOTIF\${ac_eB}LWLIB_SCROLLBARS_MOTIF\${ac_eC}1\${ac_eD} | |
| 7448 " | |
| 7449 } | |
| 7450 | |
| 7451 | |
| 7452 { | |
| 7453 test -n "$verbose" && \ | |
| 7454 echo " defining HAVE_SCROLLBARS" | |
| 7455 echo "#define" HAVE_SCROLLBARS "1" >> confdefs.h | |
| 7456 DEFS="$DEFS -DHAVE_SCROLLBARS=1" | |
| 7457 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_SCROLLBARS\${ac_dB}HAVE_SCROLLBARS\${ac_dC}1\${ac_dD} | |
| 7458 \${ac_uA}HAVE_SCROLLBARS\${ac_uB}HAVE_SCROLLBARS\${ac_uC}1\${ac_uD} | |
| 7459 \${ac_eA}HAVE_SCROLLBARS\${ac_eB}HAVE_SCROLLBARS\${ac_eC}1\${ac_eD} | |
| 7460 " | |
| 7461 } | |
| 7462 | |
| 7463 fi | |
| 7464 if [ "${with_scrollbars}" = "athena" ] ; then | |
| 7465 | |
| 7466 { | |
| 7467 test -n "$verbose" && \ | |
| 7468 echo " defining LWLIB_SCROLLBARS_ATHENA" | |
| 7469 echo "#define" LWLIB_SCROLLBARS_ATHENA "1" >> confdefs.h | |
| 7470 DEFS="$DEFS -DLWLIB_SCROLLBARS_ATHENA=1" | |
| 7471 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_ATHENA\${ac_dB}LWLIB_SCROLLBARS_ATHENA\${ac_dC}1\${ac_dD} | |
| 7472 \${ac_uA}LWLIB_SCROLLBARS_ATHENA\${ac_uB}LWLIB_SCROLLBARS_ATHENA\${ac_uC}1\${ac_uD} | |
| 7473 \${ac_eA}LWLIB_SCROLLBARS_ATHENA\${ac_eB}LWLIB_SCROLLBARS_ATHENA\${ac_eC}1\${ac_eD} | |
| 7474 " | |
| 7475 } | |
| 7476 | |
| 7477 | |
| 7478 { | |
| 7479 test -n "$verbose" && \ | |
| 7480 echo " defining HAVE_SCROLLBARS" | |
| 7481 echo "#define" HAVE_SCROLLBARS "1" >> confdefs.h | |
| 7482 DEFS="$DEFS -DHAVE_SCROLLBARS=1" | |
| 7483 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_SCROLLBARS\${ac_dB}HAVE_SCROLLBARS\${ac_dC}1\${ac_dD} | |
| 7484 \${ac_uA}HAVE_SCROLLBARS\${ac_uB}HAVE_SCROLLBARS\${ac_uC}1\${ac_uD} | |
| 7485 \${ac_eA}HAVE_SCROLLBARS\${ac_eB}HAVE_SCROLLBARS\${ac_eC}1\${ac_eD} | |
| 7486 " | |
| 7487 } | |
| 7488 | |
| 7489 fi | |
| 7490 if [ "${with_dialogs}" = "motif" ] ; then | |
| 7491 | |
| 7492 { | |
| 7493 test -n "$verbose" && \ | |
| 7494 echo " defining LWLIB_DIALOGS_MOTIF" | |
| 7495 echo "#define" LWLIB_DIALOGS_MOTIF "1" >> confdefs.h | |
| 7496 DEFS="$DEFS -DLWLIB_DIALOGS_MOTIF=1" | |
| 7497 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_DIALOGS_MOTIF\${ac_dB}LWLIB_DIALOGS_MOTIF\${ac_dC}1\${ac_dD} | |
| 7498 \${ac_uA}LWLIB_DIALOGS_MOTIF\${ac_uB}LWLIB_DIALOGS_MOTIF\${ac_uC}1\${ac_uD} | |
| 7499 \${ac_eA}LWLIB_DIALOGS_MOTIF\${ac_eB}LWLIB_DIALOGS_MOTIF\${ac_eC}1\${ac_eD} | |
| 7500 " | |
| 7501 } | |
| 7502 | |
| 7503 | |
| 7504 { | |
| 7505 test -n "$verbose" && \ | |
| 7506 echo " defining HAVE_DIALOGS" | |
| 7507 echo "#define" HAVE_DIALOGS "1" >> confdefs.h | |
| 7508 DEFS="$DEFS -DHAVE_DIALOGS=1" | |
| 7509 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_DIALOGS\${ac_dB}HAVE_DIALOGS\${ac_dC}1\${ac_dD} | |
| 7510 \${ac_uA}HAVE_DIALOGS\${ac_uB}HAVE_DIALOGS\${ac_uC}1\${ac_uD} | |
| 7511 \${ac_eA}HAVE_DIALOGS\${ac_eB}HAVE_DIALOGS\${ac_eC}1\${ac_eD} | |
| 7512 " | |
| 7513 } | |
| 7514 | |
| 7515 fi | |
| 7516 if [ "${with_dialogs}" = "athena" ] ; then | |
| 7517 | |
| 7518 { | |
| 7519 test -n "$verbose" && \ | |
| 7520 echo " defining LWLIB_DIALOGS_ATHENA" | |
| 7521 echo "#define" LWLIB_DIALOGS_ATHENA "1" >> confdefs.h | |
| 7522 DEFS="$DEFS -DLWLIB_DIALOGS_ATHENA=1" | |
| 7523 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_DIALOGS_ATHENA\${ac_dB}LWLIB_DIALOGS_ATHENA\${ac_dC}1\${ac_dD} | |
| 7524 \${ac_uA}LWLIB_DIALOGS_ATHENA\${ac_uB}LWLIB_DIALOGS_ATHENA\${ac_uC}1\${ac_uD} | |
| 7525 \${ac_eA}LWLIB_DIALOGS_ATHENA\${ac_eB}LWLIB_DIALOGS_ATHENA\${ac_eC}1\${ac_eD} | |
| 7526 " | |
| 7527 } | |
| 7528 | |
| 7529 | |
| 7530 { | |
| 7531 test -n "$verbose" && \ | |
| 7532 echo " defining HAVE_DIALOGS" | |
| 7533 echo "#define" HAVE_DIALOGS "1" >> confdefs.h | |
| 7534 DEFS="$DEFS -DHAVE_DIALOGS=1" | |
| 7535 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_DIALOGS\${ac_dB}HAVE_DIALOGS\${ac_dC}1\${ac_dD} | |
| 7536 \${ac_uA}HAVE_DIALOGS\${ac_uB}HAVE_DIALOGS\${ac_uC}1\${ac_uD} | |
| 7537 \${ac_eA}HAVE_DIALOGS\${ac_eB}HAVE_DIALOGS\${ac_eC}1\${ac_eD} | |
| 7538 " | |
| 7539 } | |
| 7540 | |
| 7541 fi | |
| 7542 if [ "${with_toolbars}" = "yes" ] ; then | |
| 7543 | |
| 7544 { | 6299 { |
| 7545 test -n "$verbose" && \ | 6300 test -n "$verbose" && \ |
| 7546 echo " defining HAVE_TOOLBARS" | 6301 echo " defining HAVE_TOOLBARS" |
| 7547 echo "#define" HAVE_TOOLBARS "1" >> confdefs.h | 6302 echo "#define" HAVE_TOOLBARS "1" >> confdefs.h |
| 7548 DEFS="$DEFS -DHAVE_TOOLBARS=1" | 6303 DEFS="$DEFS -DHAVE_TOOLBARS=1" |
| 7549 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_TOOLBARS\${ac_dB}HAVE_TOOLBARS\${ac_dC}1\${ac_dD} | 6304 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_TOOLBARS\${ac_dB}HAVE_TOOLBARS\${ac_dC}1\${ac_dD} |
| 7550 \${ac_uA}HAVE_TOOLBARS\${ac_uB}HAVE_TOOLBARS\${ac_uC}1\${ac_uD} | 6305 \${ac_uA}HAVE_TOOLBARS\${ac_uB}HAVE_TOOLBARS\${ac_uC}1\${ac_uD} |
| 7551 \${ac_eA}HAVE_TOOLBARS\${ac_eB}HAVE_TOOLBARS\${ac_eC}1\${ac_eD} | 6306 \${ac_eA}HAVE_TOOLBARS\${ac_eB}HAVE_TOOLBARS\${ac_eC}1\${ac_eD} |
| 7552 " | 6307 " |
| 7553 } | 6308 } |
| 7554 | 6309 |
| 7555 fi | 6310 test "${with_tty}" = yes && |
| 7556 if [ "${with_tty}" = "yes" ] ; then | |
| 7557 | |
| 7558 { | 6311 { |
| 7559 test -n "$verbose" && \ | 6312 test -n "$verbose" && \ |
| 7560 echo " defining HAVE_TTY" | 6313 echo " defining HAVE_TTY" |
| 7561 echo "#define" HAVE_TTY "1" >> confdefs.h | 6314 echo "#define" HAVE_TTY "1" >> confdefs.h |
| 7562 DEFS="$DEFS -DHAVE_TTY=1" | 6315 DEFS="$DEFS -DHAVE_TTY=1" |
| 7563 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_TTY\${ac_dB}HAVE_TTY\${ac_dC}1\${ac_dD} | 6316 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_TTY\${ac_dB}HAVE_TTY\${ac_dC}1\${ac_dD} |
| 7564 \${ac_uA}HAVE_TTY\${ac_uB}HAVE_TTY\${ac_uC}1\${ac_uD} | 6317 \${ac_uA}HAVE_TTY\${ac_uB}HAVE_TTY\${ac_uC}1\${ac_uD} |
| 7565 \${ac_eA}HAVE_TTY\${ac_eB}HAVE_TTY\${ac_eC}1\${ac_eD} | 6318 \${ac_eA}HAVE_TTY\${ac_eB}HAVE_TTY\${ac_eC}1\${ac_eD} |
| 7566 " | 6319 " |
| 7567 } | 6320 } |
| 7568 | 6321 |
| 7569 fi | 6322 test "${with_tooltalk}" = yes && |
| 7570 if [ "${with_tooltalk}" = "yes" ] ; then | |
| 7571 | |
| 7572 { | 6323 { |
| 7573 test -n "$verbose" && \ | 6324 test -n "$verbose" && \ |
| 7574 echo " defining TOOLTALK" | 6325 echo " defining TOOLTALK" |
| 7575 echo "#define" TOOLTALK "1" >> confdefs.h | 6326 echo "#define" TOOLTALK "1" >> confdefs.h |
| 7576 DEFS="$DEFS -DTOOLTALK=1" | 6327 DEFS="$DEFS -DTOOLTALK=1" |
| 7577 ac_sed_defs="${ac_sed_defs}\${ac_dA}TOOLTALK\${ac_dB}TOOLTALK\${ac_dC}1\${ac_dD} | 6328 ac_sed_defs="${ac_sed_defs}\${ac_dA}TOOLTALK\${ac_dB}TOOLTALK\${ac_dC}1\${ac_dD} |
| 7578 \${ac_uA}TOOLTALK\${ac_uB}TOOLTALK\${ac_uC}1\${ac_uD} | 6329 \${ac_uA}TOOLTALK\${ac_uB}TOOLTALK\${ac_uC}1\${ac_uD} |
| 7579 \${ac_eA}TOOLTALK\${ac_eB}TOOLTALK\${ac_eC}1\${ac_eD} | 6330 \${ac_eA}TOOLTALK\${ac_eB}TOOLTALK\${ac_eC}1\${ac_eD} |
| 7580 " | 6331 " |
| 7581 } | 6332 } |
| 7582 | 6333 |
| 7583 fi | 6334 test "${with_i18n3}" = yes && |
| 7584 if [ "$with_mocklisp" = "yes" ]; then | 6335 { |
| 7585 | 6336 test -n "$verbose" && \ |
| 6337 echo " defining I18N3" | |
| 6338 echo "#define" I18N3 "1" >> confdefs.h | |
| 6339 DEFS="$DEFS -DI18N3=1" | |
| 6340 ac_sed_defs="${ac_sed_defs}\${ac_dA}I18N3\${ac_dB}I18N3\${ac_dC}1\${ac_dD} | |
| 6341 \${ac_uA}I18N3\${ac_uB}I18N3\${ac_uC}1\${ac_uD} | |
| 6342 \${ac_eA}I18N3\${ac_eB}I18N3\${ac_eC}1\${ac_eD} | |
| 6343 " | |
| 6344 } | |
| 6345 | |
| 6346 test "${with_mule}" = yes && | |
| 6347 { | |
| 6348 test -n "$verbose" && \ | |
| 6349 echo " defining MULE" | |
| 6350 echo "#define" MULE "1" >> confdefs.h | |
| 6351 DEFS="$DEFS -DMULE=1" | |
| 6352 ac_sed_defs="${ac_sed_defs}\${ac_dA}MULE\${ac_dB}MULE\${ac_dC}1\${ac_dD} | |
| 6353 \${ac_uA}MULE\${ac_uB}MULE\${ac_uC}1\${ac_uD} | |
| 6354 \${ac_eA}MULE\${ac_eB}MULE\${ac_eC}1\${ac_eD} | |
| 6355 " | |
| 6356 } | |
| 6357 | |
| 6358 test "${with_canna}" = yes && | |
| 6359 { | |
| 6360 test -n "$verbose" && \ | |
| 6361 echo " defining HAVE_CANNA" | |
| 6362 echo "#define" HAVE_CANNA "1" >> confdefs.h | |
| 6363 DEFS="$DEFS -DHAVE_CANNA=1" | |
| 6364 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_CANNA\${ac_dB}HAVE_CANNA\${ac_dC}1\${ac_dD} | |
| 6365 \${ac_uA}HAVE_CANNA\${ac_uB}HAVE_CANNA\${ac_uC}1\${ac_uD} | |
| 6366 \${ac_eA}HAVE_CANNA\${ac_eB}HAVE_CANNA\${ac_eC}1\${ac_eD} | |
| 6367 " | |
| 6368 } | |
| 6369 | |
| 6370 test "${with_wnn}" = yes && | |
| 6371 { | |
| 6372 test -n "$verbose" && \ | |
| 6373 echo " defining HAVE_WNN" | |
| 6374 echo "#define" HAVE_WNN "1" >> confdefs.h | |
| 6375 DEFS="$DEFS -DHAVE_WNN=1" | |
| 6376 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_WNN\${ac_dB}HAVE_WNN\${ac_dC}1\${ac_dD} | |
| 6377 \${ac_uA}HAVE_WNN\${ac_uB}HAVE_WNN\${ac_uC}1\${ac_uD} | |
| 6378 \${ac_eA}HAVE_WNN\${ac_eB}HAVE_WNN\${ac_eC}1\${ac_eD} | |
| 6379 " | |
| 6380 } | |
| 6381 | |
| 6382 test "${with_mock}" = yes && | |
| 7586 { | 6383 { |
| 7587 test -n "$verbose" && \ | 6384 test -n "$verbose" && \ |
| 7588 echo " defining MOCKLISP_SUPPORT" | 6385 echo " defining MOCKLISP_SUPPORT" |
| 7589 echo "#define" MOCKLISP_SUPPORT "1" >> confdefs.h | 6386 echo "#define" MOCKLISP_SUPPORT "1" >> confdefs.h |
| 7590 DEFS="$DEFS -DMOCKLISP_SUPPORT=1" | 6387 DEFS="$DEFS -DMOCKLISP_SUPPORT=1" |
| 7591 ac_sed_defs="${ac_sed_defs}\${ac_dA}MOCKLISP_SUPPORT\${ac_dB}MOCKLISP_SUPPORT\${ac_dC}1\${ac_dD} | 6388 ac_sed_defs="${ac_sed_defs}\${ac_dA}MOCKLISP_SUPPORT\${ac_dB}MOCKLISP_SUPPORT\${ac_dC}1\${ac_dD} |
| 7592 \${ac_uA}MOCKLISP_SUPPORT\${ac_uB}MOCKLISP_SUPPORT\${ac_uC}1\${ac_uD} | 6389 \${ac_uA}MOCKLISP_SUPPORT\${ac_uB}MOCKLISP_SUPPORT\${ac_uC}1\${ac_uD} |
| 7593 \${ac_eA}MOCKLISP_SUPPORT\${ac_eB}MOCKLISP_SUPPORT\${ac_eC}1\${ac_eD} | 6390 \${ac_eA}MOCKLISP_SUPPORT\${ac_eB}MOCKLISP_SUPPORT\${ac_eC}1\${ac_eD} |
| 7594 " | 6391 " |
| 7595 } | 6392 } |
| 7596 | 6393 |
| 7597 fi | 6394 test "${with_sparcworks}" = yes && |
| 7598 if [ "${with_sparcworks}" = "yes" ] ; then | |
| 7599 | |
| 7600 { | 6395 { |
| 7601 test -n "$verbose" && \ | 6396 test -n "$verbose" && \ |
| 7602 echo " defining SUNPRO" | 6397 echo " defining SUNPRO" |
| 7603 echo "#define" SUNPRO "1" >> confdefs.h | 6398 echo "#define" SUNPRO "1" >> confdefs.h |
| 7604 DEFS="$DEFS -DSUNPRO=1" | 6399 DEFS="$DEFS -DSUNPRO=1" |
| 7605 ac_sed_defs="${ac_sed_defs}\${ac_dA}SUNPRO\${ac_dB}SUNPRO\${ac_dC}1\${ac_dD} | 6400 ac_sed_defs="${ac_sed_defs}\${ac_dA}SUNPRO\${ac_dB}SUNPRO\${ac_dC}1\${ac_dD} |
| 7606 \${ac_uA}SUNPRO\${ac_uB}SUNPRO\${ac_uC}1\${ac_uD} | 6401 \${ac_uA}SUNPRO\${ac_uB}SUNPRO\${ac_uC}1\${ac_uD} |
| 7607 \${ac_eA}SUNPRO\${ac_eB}SUNPRO\${ac_eC}1\${ac_eD} | 6402 \${ac_eA}SUNPRO\${ac_eB}SUNPRO\${ac_eC}1\${ac_eD} |
| 7608 " | 6403 " |
| 7609 } | 6404 } |
| 7610 | 6405 |
| 7611 fi | 6406 test "${usage_tracking}" = yes && |
| 7612 if [ "${usage_tracking}" = "yes" ] ; then | |
| 7613 | |
| 7614 { | 6407 { |
| 7615 test -n "$verbose" && \ | 6408 test -n "$verbose" && \ |
| 7616 echo " defining USAGE_TRACKING" | 6409 echo " defining USAGE_TRACKING" |
| 7617 echo "#define" USAGE_TRACKING "1" >> confdefs.h | 6410 echo "#define" USAGE_TRACKING "1" >> confdefs.h |
| 7618 DEFS="$DEFS -DUSAGE_TRACKING=1" | 6411 DEFS="$DEFS -DUSAGE_TRACKING=1" |
| 7619 ac_sed_defs="${ac_sed_defs}\${ac_dA}USAGE_TRACKING\${ac_dB}USAGE_TRACKING\${ac_dC}1\${ac_dD} | 6412 ac_sed_defs="${ac_sed_defs}\${ac_dA}USAGE_TRACKING\${ac_dB}USAGE_TRACKING\${ac_dC}1\${ac_dD} |
| 7620 \${ac_uA}USAGE_TRACKING\${ac_uB}USAGE_TRACKING\${ac_uC}1\${ac_uD} | 6413 \${ac_uA}USAGE_TRACKING\${ac_uB}USAGE_TRACKING\${ac_uC}1\${ac_uD} |
| 7621 \${ac_eA}USAGE_TRACKING\${ac_eB}USAGE_TRACKING\${ac_eC}1\${ac_eD} | 6414 \${ac_eA}USAGE_TRACKING\${ac_eB}USAGE_TRACKING\${ac_eC}1\${ac_eD} |
| 7622 " | 6415 " |
| 7623 } | 6416 } |
| 7624 | 6417 |
| 7625 fi | 6418 test "${need_dynodump}" = yes && |
| 7626 if [ "${with_energize}" = "yes" ] ; then | 6419 { |
| 7627 | 6420 test -n "$verbose" && \ |
| 6421 echo " defining DYNODUMP" | |
| 6422 echo "#define" DYNODUMP "1" >> confdefs.h | |
| 6423 DEFS="$DEFS -DDYNODUMP=1" | |
| 6424 ac_sed_defs="${ac_sed_defs}\${ac_dA}DYNODUMP\${ac_dB}DYNODUMP\${ac_dC}1\${ac_dD} | |
| 6425 \${ac_uA}DYNODUMP\${ac_uB}DYNODUMP\${ac_uC}1\${ac_uD} | |
| 6426 \${ac_eA}DYNODUMP\${ac_eB}DYNODUMP\${ac_eC}1\${ac_eD} | |
| 6427 " | |
| 6428 } | |
| 6429 | |
| 6430 test "${need_xildoff}" = yes && | |
| 6431 { | |
| 6432 test -n "$verbose" && \ | |
| 6433 echo " defining NEED_XILDOFF" | |
| 6434 echo "#define" NEED_XILDOFF "1" >> confdefs.h | |
| 6435 DEFS="$DEFS -DNEED_XILDOFF=1" | |
| 6436 ac_sed_defs="${ac_sed_defs}\${ac_dA}NEED_XILDOFF\${ac_dB}NEED_XILDOFF\${ac_dC}1\${ac_dD} | |
| 6437 \${ac_uA}NEED_XILDOFF\${ac_uB}NEED_XILDOFF\${ac_uC}1\${ac_uD} | |
| 6438 \${ac_eA}NEED_XILDOFF\${ac_eB}NEED_XILDOFF\${ac_eC}1\${ac_eD} | |
| 6439 " | |
| 6440 } | |
| 6441 | |
| 6442 test "${with_gcc}" = yes && | |
| 6443 { | |
| 6444 test -n "$verbose" && \ | |
| 6445 echo " defining USE_GCC" | |
| 6446 echo "#define" USE_GCC "1" >> confdefs.h | |
| 6447 DEFS="$DEFS -DUSE_GCC=1" | |
| 6448 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_GCC\${ac_dB}USE_GCC\${ac_dC}1\${ac_dD} | |
| 6449 \${ac_uA}USE_GCC\${ac_uB}USE_GCC\${ac_uC}1\${ac_uD} | |
| 6450 \${ac_eA}USE_GCC\${ac_eB}USE_GCC\${ac_eC}1\${ac_eD} | |
| 6451 " | |
| 6452 } | |
| 6453 | |
| 6454 test "${with_lcc}" = yes && | |
| 6455 { | |
| 6456 test -n "$verbose" && \ | |
| 6457 echo " defining USE_LCC" | |
| 6458 echo "#define" USE_LCC "1" >> confdefs.h | |
| 6459 DEFS="$DEFS -DUSE_LCC=1" | |
| 6460 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_LCC\${ac_dB}USE_LCC\${ac_dC}1\${ac_dD} | |
| 6461 \${ac_uA}USE_LCC\${ac_uB}USE_LCC\${ac_uC}1\${ac_uD} | |
| 6462 \${ac_eA}USE_LCC\${ac_eB}USE_LCC\${ac_eC}1\${ac_eD} | |
| 6463 " | |
| 6464 } | |
| 6465 | |
| 6466 test "${with_socks}" = yes && | |
| 6467 { | |
| 6468 test -n "$verbose" && \ | |
| 6469 echo " defining HAVE_SOCKS" | |
| 6470 echo "#define" HAVE_SOCKS "1" >> confdefs.h | |
| 6471 DEFS="$DEFS -DHAVE_SOCKS=1" | |
| 6472 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_SOCKS\${ac_dB}HAVE_SOCKS\${ac_dC}1\${ac_dD} | |
| 6473 \${ac_uA}HAVE_SOCKS\${ac_uB}HAVE_SOCKS\${ac_uC}1\${ac_uD} | |
| 6474 \${ac_eA}HAVE_SOCKS\${ac_eB}HAVE_SOCKS\${ac_eC}1\${ac_eD} | |
| 6475 " | |
| 6476 } | |
| 6477 | |
| 6478 test "${with_term}" = yes && | |
| 6479 { | |
| 6480 test -n "$verbose" && \ | |
| 6481 echo " defining HAVE_TERM" | |
| 6482 echo "#define" HAVE_TERM "1" >> confdefs.h | |
| 6483 DEFS="$DEFS -DHAVE_TERM=1" | |
| 6484 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_TERM\${ac_dB}HAVE_TERM\${ac_dC}1\${ac_dD} | |
| 6485 \${ac_uA}HAVE_TERM\${ac_uB}HAVE_TERM\${ac_uC}1\${ac_uD} | |
| 6486 \${ac_eA}HAVE_TERM\${ac_eB}HAVE_TERM\${ac_eC}1\${ac_eD} | |
| 6487 " | |
| 6488 } | |
| 6489 | |
| 6490 test "${with_epoch}" = yes && | |
| 6491 { | |
| 6492 test -n "$verbose" && \ | |
| 6493 echo " defining EPOCH" | |
| 6494 echo "#define" EPOCH "1" >> confdefs.h | |
| 6495 DEFS="$DEFS -DEPOCH=1" | |
| 6496 ac_sed_defs="${ac_sed_defs}\${ac_dA}EPOCH\${ac_dB}EPOCH\${ac_dC}1\${ac_dD} | |
| 6497 \${ac_uA}EPOCH\${ac_uB}EPOCH\${ac_uC}1\${ac_uD} | |
| 6498 \${ac_eA}EPOCH\${ac_eB}EPOCH\${ac_eC}1\${ac_eD} | |
| 6499 " | |
| 6500 } | |
| 6501 | |
| 6502 test "${external_widget}" = yes && | |
| 6503 { | |
| 6504 test -n "$verbose" && \ | |
| 6505 echo " defining EXTERNAL_WIDGET" | |
| 6506 echo "#define" EXTERNAL_WIDGET "1" >> confdefs.h | |
| 6507 DEFS="$DEFS -DEXTERNAL_WIDGET=1" | |
| 6508 ac_sed_defs="${ac_sed_defs}\${ac_dA}EXTERNAL_WIDGET\${ac_dB}EXTERNAL_WIDGET\${ac_dC}1\${ac_dD} | |
| 6509 \${ac_uA}EXTERNAL_WIDGET\${ac_uB}EXTERNAL_WIDGET\${ac_uC}1\${ac_uD} | |
| 6510 \${ac_eA}EXTERNAL_WIDGET\${ac_eB}EXTERNAL_WIDGET\${ac_eC}1\${ac_eD} | |
| 6511 " | |
| 6512 } | |
| 6513 | |
| 6514 test "${with_gnu_make}" = yes && | |
| 6515 { | |
| 6516 test -n "$verbose" && \ | |
| 6517 echo " defining USE_GNU_MAKE" | |
| 6518 echo "#define" USE_GNU_MAKE "1" >> confdefs.h | |
| 6519 DEFS="$DEFS -DUSE_GNU_MAKE=1" | |
| 6520 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_GNU_MAKE\${ac_dB}USE_GNU_MAKE\${ac_dC}1\${ac_dD} | |
| 6521 \${ac_uA}USE_GNU_MAKE\${ac_uB}USE_GNU_MAKE\${ac_uC}1\${ac_uD} | |
| 6522 \${ac_eA}USE_GNU_MAKE\${ac_eB}USE_GNU_MAKE\${ac_eC}1\${ac_eD} | |
| 6523 " | |
| 6524 } | |
| 6525 | |
| 6526 test "${no_doc_file}" = yes && | |
| 6527 { | |
| 6528 test -n "$verbose" && \ | |
| 6529 echo " defining NO_DOC_FILE" | |
| 6530 echo "#define" NO_DOC_FILE "1" >> confdefs.h | |
| 6531 DEFS="$DEFS -DNO_DOC_FILE=1" | |
| 6532 ac_sed_defs="${ac_sed_defs}\${ac_dA}NO_DOC_FILE\${ac_dB}NO_DOC_FILE\${ac_dC}1\${ac_dD} | |
| 6533 \${ac_uA}NO_DOC_FILE\${ac_uB}NO_DOC_FILE\${ac_uC}1\${ac_uD} | |
| 6534 \${ac_eA}NO_DOC_FILE\${ac_eB}NO_DOC_FILE\${ac_eC}1\${ac_eD} | |
| 6535 " | |
| 6536 } | |
| 6537 | |
| 6538 test "${const_is_losing}" = yes && | |
| 6539 { | |
| 6540 test -n "$verbose" && \ | |
| 6541 echo " defining CONST_IS_LOSING" | |
| 6542 echo "#define" CONST_IS_LOSING "1" >> confdefs.h | |
| 6543 DEFS="$DEFS -DCONST_IS_LOSING=1" | |
| 6544 ac_sed_defs="${ac_sed_defs}\${ac_dA}CONST_IS_LOSING\${ac_dB}CONST_IS_LOSING\${ac_dC}1\${ac_dD} | |
| 6545 \${ac_uA}CONST_IS_LOSING\${ac_uB}CONST_IS_LOSING\${ac_uC}1\${ac_uD} | |
| 6546 \${ac_eA}CONST_IS_LOSING\${ac_eB}CONST_IS_LOSING\${ac_eC}1\${ac_eD} | |
| 6547 " | |
| 6548 } | |
| 6549 | |
| 6550 test "${use_assertions}" = yes && | |
| 6551 { | |
| 6552 test -n "$verbose" && \ | |
| 6553 echo " defining USE_ASSERTIONS" | |
| 6554 echo "#define" USE_ASSERTIONS "1" >> confdefs.h | |
| 6555 DEFS="$DEFS -DUSE_ASSERTIONS=1" | |
| 6556 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_ASSERTIONS\${ac_dB}USE_ASSERTIONS\${ac_dC}1\${ac_dD} | |
| 6557 \${ac_uA}USE_ASSERTIONS\${ac_uB}USE_ASSERTIONS\${ac_uC}1\${ac_uD} | |
| 6558 \${ac_eA}USE_ASSERTIONS\${ac_eB}USE_ASSERTIONS\${ac_eC}1\${ac_eD} | |
| 6559 " | |
| 6560 } | |
| 6561 | |
| 6562 test "${debug}" = yes && | |
| 6563 { | |
| 6564 test -n "$verbose" && \ | |
| 6565 echo " defining DEBUG_XEMACS" | |
| 6566 echo "#define" DEBUG_XEMACS "1" >> confdefs.h | |
| 6567 DEFS="$DEFS -DDEBUG_XEMACS=1" | |
| 6568 ac_sed_defs="${ac_sed_defs}\${ac_dA}DEBUG_XEMACS\${ac_dB}DEBUG_XEMACS\${ac_dC}1\${ac_dD} | |
| 6569 \${ac_uA}DEBUG_XEMACS\${ac_uB}DEBUG_XEMACS\${ac_uC}1\${ac_uD} | |
| 6570 \${ac_eA}DEBUG_XEMACS\${ac_eB}DEBUG_XEMACS\${ac_eC}1\${ac_eD} | |
| 6571 " | |
| 6572 } | |
| 6573 | |
| 6574 test "${quantify}" = yes && | |
| 6575 { | |
| 6576 test -n "$verbose" && \ | |
| 6577 echo " defining QUANTIFY" | |
| 6578 echo "#define" QUANTIFY "1" >> confdefs.h | |
| 6579 DEFS="$DEFS -DQUANTIFY=1" | |
| 6580 ac_sed_defs="${ac_sed_defs}\${ac_dA}QUANTIFY\${ac_dB}QUANTIFY\${ac_dC}1\${ac_dD} | |
| 6581 \${ac_uA}QUANTIFY\${ac_uB}QUANTIFY\${ac_uC}1\${ac_uD} | |
| 6582 \${ac_eA}QUANTIFY\${ac_eB}QUANTIFY\${ac_eC}1\${ac_eD} | |
| 6583 " | |
| 6584 } | |
| 6585 | |
| 6586 test "${memory_usage_stats}" = yes && | |
| 6587 { | |
| 6588 test -n "$verbose" && \ | |
| 6589 echo " defining MEMORY_USAGE_STATS" | |
| 6590 echo "#define" MEMORY_USAGE_STATS "1" >> confdefs.h | |
| 6591 DEFS="$DEFS -DMEMORY_USAGE_STATS=1" | |
| 6592 ac_sed_defs="${ac_sed_defs}\${ac_dA}MEMORY_USAGE_STATS\${ac_dB}MEMORY_USAGE_STATS\${ac_dC}1\${ac_dD} | |
| 6593 \${ac_uA}MEMORY_USAGE_STATS\${ac_uB}MEMORY_USAGE_STATS\${ac_uC}1\${ac_uD} | |
| 6594 \${ac_eA}MEMORY_USAGE_STATS\${ac_eB}MEMORY_USAGE_STATS\${ac_eC}1\${ac_eD} | |
| 6595 " | |
| 6596 } | |
| 6597 | |
| 6598 | |
| 6599 test "${error_check_extents}" = yes && | |
| 6600 { | |
| 6601 test -n "$verbose" && \ | |
| 6602 echo " defining ERROR_CHECK_EXTENTS" | |
| 6603 echo "#define" ERROR_CHECK_EXTENTS "1" >> confdefs.h | |
| 6604 DEFS="$DEFS -DERROR_CHECK_EXTENTS=1" | |
| 6605 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_EXTENTS\${ac_dB}ERROR_CHECK_EXTENTS\${ac_dC}1\${ac_dD} | |
| 6606 \${ac_uA}ERROR_CHECK_EXTENTS\${ac_uB}ERROR_CHECK_EXTENTS\${ac_uC}1\${ac_uD} | |
| 6607 \${ac_eA}ERROR_CHECK_EXTENTS\${ac_eB}ERROR_CHECK_EXTENTS\${ac_eC}1\${ac_eD} | |
| 6608 " | |
| 6609 } | |
| 6610 | |
| 6611 test "${error_check_typecheck}" = yes && | |
| 6612 { | |
| 6613 test -n "$verbose" && \ | |
| 6614 echo " defining ERROR_CHECK_TYPECHECK" | |
| 6615 echo "#define" ERROR_CHECK_TYPECHECK "1" >> confdefs.h | |
| 6616 DEFS="$DEFS -DERROR_CHECK_TYPECHECK=1" | |
| 6617 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_TYPECHECK\${ac_dB}ERROR_CHECK_TYPECHECK\${ac_dC}1\${ac_dD} | |
| 6618 \${ac_uA}ERROR_CHECK_TYPECHECK\${ac_uB}ERROR_CHECK_TYPECHECK\${ac_uC}1\${ac_uD} | |
| 6619 \${ac_eA}ERROR_CHECK_TYPECHECK\${ac_eB}ERROR_CHECK_TYPECHECK\${ac_eC}1\${ac_eD} | |
| 6620 " | |
| 6621 } | |
| 6622 | |
| 6623 test "${error_check_bufpos}" = yes && | |
| 6624 { | |
| 6625 test -n "$verbose" && \ | |
| 6626 echo " defining ERROR_CHECK_BUFPOS" | |
| 6627 echo "#define" ERROR_CHECK_BUFPOS "1" >> confdefs.h | |
| 6628 DEFS="$DEFS -DERROR_CHECK_BUFPOS=1" | |
| 6629 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_BUFPOS\${ac_dB}ERROR_CHECK_BUFPOS\${ac_dC}1\${ac_dD} | |
| 6630 \${ac_uA}ERROR_CHECK_BUFPOS\${ac_uB}ERROR_CHECK_BUFPOS\${ac_uC}1\${ac_uD} | |
| 6631 \${ac_eA}ERROR_CHECK_BUFPOS\${ac_eB}ERROR_CHECK_BUFPOS\${ac_eC}1\${ac_eD} | |
| 6632 " | |
| 6633 } | |
| 6634 | |
| 6635 test "${error_check_gc}" = yes && | |
| 6636 { | |
| 6637 test -n "$verbose" && \ | |
| 6638 echo " defining ERROR_CHECK_GC" | |
| 6639 echo "#define" ERROR_CHECK_GC "1" >> confdefs.h | |
| 6640 DEFS="$DEFS -DERROR_CHECK_GC=1" | |
| 6641 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_GC\${ac_dB}ERROR_CHECK_GC\${ac_dC}1\${ac_dD} | |
| 6642 \${ac_uA}ERROR_CHECK_GC\${ac_uB}ERROR_CHECK_GC\${ac_uC}1\${ac_uD} | |
| 6643 \${ac_eA}ERROR_CHECK_GC\${ac_eB}ERROR_CHECK_GC\${ac_eC}1\${ac_eD} | |
| 6644 " | |
| 6645 } | |
| 6646 | |
| 6647 test "${error_check_malloc}" = yes && | |
| 6648 { | |
| 6649 test -n "$verbose" && \ | |
| 6650 echo " defining ERROR_CHECK_MALLOC" | |
| 6651 echo "#define" ERROR_CHECK_MALLOC "1" >> confdefs.h | |
| 6652 DEFS="$DEFS -DERROR_CHECK_MALLOC=1" | |
| 6653 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_MALLOC\${ac_dB}ERROR_CHECK_MALLOC\${ac_dC}1\${ac_dD} | |
| 6654 \${ac_uA}ERROR_CHECK_MALLOC\${ac_uB}ERROR_CHECK_MALLOC\${ac_uC}1\${ac_uD} | |
| 6655 \${ac_eA}ERROR_CHECK_MALLOC\${ac_eB}ERROR_CHECK_MALLOC\${ac_eC}1\${ac_eD} | |
| 6656 " | |
| 6657 } | |
| 6658 | |
| 6659 | |
| 6660 if test "${with_energize}" = yes; then | |
| 6661 | |
| 7628 { | 6662 { |
| 7629 test -n "$verbose" && \ | 6663 test -n "$verbose" && \ |
| 7630 echo " defining ENERGIZE" | 6664 echo " defining ENERGIZE" |
| 7631 echo "#define" ENERGIZE "1" >> confdefs.h | 6665 echo "#define" ENERGIZE "1" >> confdefs.h |
| 7632 DEFS="$DEFS -DENERGIZE=1" | 6666 DEFS="$DEFS -DENERGIZE=1" |
| 7633 ac_sed_defs="${ac_sed_defs}\${ac_dA}ENERGIZE\${ac_dB}ENERGIZE\${ac_dC}1\${ac_dD} | 6667 ac_sed_defs="${ac_sed_defs}\${ac_dA}ENERGIZE\${ac_dB}ENERGIZE\${ac_dC}1\${ac_dD} |
| 7634 \${ac_uA}ENERGIZE\${ac_uB}ENERGIZE\${ac_uC}1\${ac_uD} | 6668 \${ac_uA}ENERGIZE\${ac_uB}ENERGIZE\${ac_uC}1\${ac_uD} |
| 7635 \${ac_eA}ENERGIZE\${ac_eB}ENERGIZE\${ac_eC}1\${ac_eD} | 6669 \${ac_eA}ENERGIZE\${ac_eB}ENERGIZE\${ac_eC}1\${ac_eD} |
| 7636 " | 6670 " |
| 7637 } | 6671 } |
| 7638 | 6672 |
| 7639 if [ "${energize_version}" = "2.X" ] ; then | 6673 test "${energize_version}" = "2.X" && |
| 7640 | |
| 7641 { | 6674 { |
| 7642 test -n "$verbose" && \ | 6675 test -n "$verbose" && \ |
| 7643 echo " defining ENERGIZE_2" | 6676 echo " defining ENERGIZE_2" |
| 7644 echo "#define" ENERGIZE_2 "1" >> confdefs.h | 6677 echo "#define" ENERGIZE_2 "1" >> confdefs.h |
| 7645 DEFS="$DEFS -DENERGIZE_2=1" | 6678 DEFS="$DEFS -DENERGIZE_2=1" |
| 7646 ac_sed_defs="${ac_sed_defs}\${ac_dA}ENERGIZE_2\${ac_dB}ENERGIZE_2\${ac_dC}1\${ac_dD} | 6679 ac_sed_defs="${ac_sed_defs}\${ac_dA}ENERGIZE_2\${ac_dB}ENERGIZE_2\${ac_dC}1\${ac_dD} |
| 7647 \${ac_uA}ENERGIZE_2\${ac_uB}ENERGIZE_2\${ac_uC}1\${ac_uD} | 6680 \${ac_uA}ENERGIZE_2\${ac_uB}ENERGIZE_2\${ac_uC}1\${ac_uD} |
| 7648 \${ac_eA}ENERGIZE_2\${ac_eB}ENERGIZE_2\${ac_eC}1\${ac_eD} | 6681 \${ac_eA}ENERGIZE_2\${ac_eB}ENERGIZE_2\${ac_eC}1\${ac_eD} |
| 7649 " | 6682 " |
| 7650 } | 6683 } |
| 7651 | 6684 |
| 7652 elif [ "${energize_version}" = "3.X" ] ; then | 6685 test "${energize_version}" = "3.X" && |
| 7653 | |
| 7654 { | 6686 { |
| 7655 test -n "$verbose" && \ | 6687 test -n "$verbose" && \ |
| 7656 echo " defining ENERGIZE_3" | 6688 echo " defining ENERGIZE_3" |
| 7657 echo "#define" ENERGIZE_3 "1" >> confdefs.h | 6689 echo "#define" ENERGIZE_3 "1" >> confdefs.h |
| 7658 DEFS="$DEFS -DENERGIZE_3=1" | 6690 DEFS="$DEFS -DENERGIZE_3=1" |
| 7659 ac_sed_defs="${ac_sed_defs}\${ac_dA}ENERGIZE_3\${ac_dB}ENERGIZE_3\${ac_dC}1\${ac_dD} | 6691 ac_sed_defs="${ac_sed_defs}\${ac_dA}ENERGIZE_3\${ac_dB}ENERGIZE_3\${ac_dC}1\${ac_dD} |
| 7660 \${ac_uA}ENERGIZE_3\${ac_uB}ENERGIZE_3\${ac_uC}1\${ac_uD} | 6692 \${ac_uA}ENERGIZE_3\${ac_uB}ENERGIZE_3\${ac_uC}1\${ac_uD} |
| 7661 \${ac_eA}ENERGIZE_3\${ac_eB}ENERGIZE_3\${ac_eC}1\${ac_eD} | 6693 \${ac_eA}ENERGIZE_3\${ac_eB}ENERGIZE_3\${ac_eC}1\${ac_eD} |
| 7662 " | 6694 " |
| 7663 } | 6695 } |
| 7664 | 6696 |
| 7665 fi | 6697 fi |
| 7666 fi | 6698 |
| 7667 if [ "${need_dynodump}" = "yes" ] ; then | 6699 test "${with_sound}" = "native" -o "${with_sound}" = "both" && |
| 7668 | |
| 7669 { | |
| 7670 test -n "$verbose" && \ | |
| 7671 echo " defining DYNODUMP" | |
| 7672 echo "#define" DYNODUMP "1" >> confdefs.h | |
| 7673 DEFS="$DEFS -DDYNODUMP=1" | |
| 7674 ac_sed_defs="${ac_sed_defs}\${ac_dA}DYNODUMP\${ac_dB}DYNODUMP\${ac_dC}1\${ac_dD} | |
| 7675 \${ac_uA}DYNODUMP\${ac_uB}DYNODUMP\${ac_uC}1\${ac_uD} | |
| 7676 \${ac_eA}DYNODUMP\${ac_eB}DYNODUMP\${ac_eC}1\${ac_eD} | |
| 7677 " | |
| 7678 } | |
| 7679 | |
| 7680 fi | |
| 7681 if [ "${need_xildoff}" = "yes" ] ; then | |
| 7682 | |
| 7683 { | |
| 7684 test -n "$verbose" && \ | |
| 7685 echo " defining NEED_XILDOFF" | |
| 7686 echo "#define" NEED_XILDOFF "1" >> confdefs.h | |
| 7687 DEFS="$DEFS -DNEED_XILDOFF=1" | |
| 7688 ac_sed_defs="${ac_sed_defs}\${ac_dA}NEED_XILDOFF\${ac_dB}NEED_XILDOFF\${ac_dC}1\${ac_dD} | |
| 7689 \${ac_uA}NEED_XILDOFF\${ac_uB}NEED_XILDOFF\${ac_uC}1\${ac_uD} | |
| 7690 \${ac_eA}NEED_XILDOFF\${ac_eB}NEED_XILDOFF\${ac_eC}1\${ac_eD} | |
| 7691 " | |
| 7692 } | |
| 7693 | |
| 7694 fi | |
| 7695 if [ "${with_gcc}" = "yes" ] ; then | |
| 7696 | |
| 7697 { | |
| 7698 test -n "$verbose" && \ | |
| 7699 echo " defining USE_GCC" | |
| 7700 echo "#define" USE_GCC "1" >> confdefs.h | |
| 7701 DEFS="$DEFS -DUSE_GCC=1" | |
| 7702 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_GCC\${ac_dB}USE_GCC\${ac_dC}1\${ac_dD} | |
| 7703 \${ac_uA}USE_GCC\${ac_uB}USE_GCC\${ac_uC}1\${ac_uD} | |
| 7704 \${ac_eA}USE_GCC\${ac_eB}USE_GCC\${ac_eC}1\${ac_eD} | |
| 7705 " | |
| 7706 } | |
| 7707 | |
| 7708 fi | |
| 7709 if [ "${with_lcc}" = "yes" ] ; then | |
| 7710 | |
| 7711 { | |
| 7712 test -n "$verbose" && \ | |
| 7713 echo " defining USE_LCC" | |
| 7714 echo "#define" USE_LCC "1" >> confdefs.h | |
| 7715 DEFS="$DEFS -DUSE_LCC=1" | |
| 7716 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_LCC\${ac_dB}USE_LCC\${ac_dC}1\${ac_dD} | |
| 7717 \${ac_uA}USE_LCC\${ac_uB}USE_LCC\${ac_uC}1\${ac_uD} | |
| 7718 \${ac_eA}USE_LCC\${ac_eB}USE_LCC\${ac_eC}1\${ac_eD} | |
| 7719 " | |
| 7720 } | |
| 7721 | |
| 7722 fi | |
| 7723 if [ "${with_socks}" = "yes" ]; then | |
| 7724 | |
| 7725 { | |
| 7726 test -n "$verbose" && \ | |
| 7727 echo " defining HAVE_SOCKS" | |
| 7728 echo "#define" HAVE_SOCKS "1" >> confdefs.h | |
| 7729 DEFS="$DEFS -DHAVE_SOCKS=1" | |
| 7730 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_SOCKS\${ac_dB}HAVE_SOCKS\${ac_dC}1\${ac_dD} | |
| 7731 \${ac_uA}HAVE_SOCKS\${ac_uB}HAVE_SOCKS\${ac_uC}1\${ac_uD} | |
| 7732 \${ac_eA}HAVE_SOCKS\${ac_eB}HAVE_SOCKS\${ac_eC}1\${ac_eD} | |
| 7733 " | |
| 7734 } | |
| 7735 | |
| 7736 fi | |
| 7737 if [ "${with_term}" = "yes" ]; then | |
| 7738 | |
| 7739 { | |
| 7740 test -n "$verbose" && \ | |
| 7741 echo " defining HAVE_TERM" | |
| 7742 echo "#define" HAVE_TERM "1" >> confdefs.h | |
| 7743 DEFS="$DEFS -DHAVE_TERM=1" | |
| 7744 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_TERM\${ac_dB}HAVE_TERM\${ac_dC}1\${ac_dD} | |
| 7745 \${ac_uA}HAVE_TERM\${ac_uB}HAVE_TERM\${ac_uC}1\${ac_uD} | |
| 7746 \${ac_eA}HAVE_TERM\${ac_eB}HAVE_TERM\${ac_eC}1\${ac_eD} | |
| 7747 " | |
| 7748 } | |
| 7749 | |
| 7750 fi | |
| 7751 if [ "${with_epoch}" = "yes" ]; then | |
| 7752 | |
| 7753 { | |
| 7754 test -n "$verbose" && \ | |
| 7755 echo " defining EPOCH" | |
| 7756 echo "#define" EPOCH "1" >> confdefs.h | |
| 7757 DEFS="$DEFS -DEPOCH=1" | |
| 7758 ac_sed_defs="${ac_sed_defs}\${ac_dA}EPOCH\${ac_dB}EPOCH\${ac_dC}1\${ac_dD} | |
| 7759 \${ac_uA}EPOCH\${ac_uB}EPOCH\${ac_uC}1\${ac_uD} | |
| 7760 \${ac_eA}EPOCH\${ac_eB}EPOCH\${ac_eC}1\${ac_eD} | |
| 7761 " | |
| 7762 } | |
| 7763 | |
| 7764 fi | |
| 7765 if [ "${with_sound}" = "native" -o "${with_sound}" = "both" ]; then | |
| 7766 | |
| 7767 { | 6700 { |
| 7768 test -n "$verbose" && \ | 6701 test -n "$verbose" && \ |
| 7769 echo " defining HAVE_NATIVE_SOUND" | 6702 echo " defining HAVE_NATIVE_SOUND" |
| 7770 echo "#define" HAVE_NATIVE_SOUND "1" >> confdefs.h | 6703 echo "#define" HAVE_NATIVE_SOUND "1" >> confdefs.h |
| 7771 DEFS="$DEFS -DHAVE_NATIVE_SOUND=1" | 6704 DEFS="$DEFS -DHAVE_NATIVE_SOUND=1" |
| 7772 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NATIVE_SOUND\${ac_dB}HAVE_NATIVE_SOUND\${ac_dC}1\${ac_dD} | 6705 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NATIVE_SOUND\${ac_dB}HAVE_NATIVE_SOUND\${ac_dC}1\${ac_dD} |
| 7773 \${ac_uA}HAVE_NATIVE_SOUND\${ac_uB}HAVE_NATIVE_SOUND\${ac_uC}1\${ac_uD} | 6706 \${ac_uA}HAVE_NATIVE_SOUND\${ac_uB}HAVE_NATIVE_SOUND\${ac_uC}1\${ac_uD} |
| 7774 \${ac_eA}HAVE_NATIVE_SOUND\${ac_eB}HAVE_NATIVE_SOUND\${ac_eC}1\${ac_eD} | 6707 \${ac_eA}HAVE_NATIVE_SOUND\${ac_eB}HAVE_NATIVE_SOUND\${ac_eC}1\${ac_eD} |
| 7775 " | 6708 " |
| 7776 } | 6709 } |
| 7777 | 6710 |
| 7778 fi | 6711 test "${with_sound}" = "nas" -o "${with_sound}" = "both" && |
| 7779 if [ "${with_sound}" = "nas" -o "${with_sound}" = "both" ]; then | |
| 7780 | |
| 7781 { | 6712 { |
| 7782 test -n "$verbose" && \ | 6713 test -n "$verbose" && \ |
| 7783 echo " defining HAVE_NAS_SOUND" | 6714 echo " defining HAVE_NAS_SOUND" |
| 7784 echo "#define" HAVE_NAS_SOUND "1" >> confdefs.h | 6715 echo "#define" HAVE_NAS_SOUND "1" >> confdefs.h |
| 7785 DEFS="$DEFS -DHAVE_NAS_SOUND=1" | 6716 DEFS="$DEFS -DHAVE_NAS_SOUND=1" |
| 7786 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NAS_SOUND\${ac_dB}HAVE_NAS_SOUND\${ac_dC}1\${ac_dD} | 6717 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_NAS_SOUND\${ac_dB}HAVE_NAS_SOUND\${ac_dC}1\${ac_dD} |
| 7787 \${ac_uA}HAVE_NAS_SOUND\${ac_uB}HAVE_NAS_SOUND\${ac_uC}1\${ac_uD} | 6718 \${ac_uA}HAVE_NAS_SOUND\${ac_uB}HAVE_NAS_SOUND\${ac_uC}1\${ac_uD} |
| 7788 \${ac_eA}HAVE_NAS_SOUND\${ac_eB}HAVE_NAS_SOUND\${ac_eC}1\${ac_eD} | 6719 \${ac_eA}HAVE_NAS_SOUND\${ac_eB}HAVE_NAS_SOUND\${ac_eC}1\${ac_eD} |
| 7789 " | 6720 " |
| 7790 } | 6721 } |
| 7791 | 6722 |
| 7792 fi | 6723 test "${old_nas}" = "true" && |
| 7793 if [ "${old_nas}" = "true" ] ; then | |
| 7794 | |
| 7795 { | 6724 { |
| 7796 test -n "$verbose" && \ | 6725 test -n "$verbose" && \ |
| 7797 echo " defining NAS_NO_ERROR_JUMP" | 6726 echo " defining NAS_NO_ERROR_JUMP" |
| 7798 echo "#define" NAS_NO_ERROR_JUMP "1" >> confdefs.h | 6727 echo "#define" NAS_NO_ERROR_JUMP "1" >> confdefs.h |
| 7799 DEFS="$DEFS -DNAS_NO_ERROR_JUMP=1" | 6728 DEFS="$DEFS -DNAS_NO_ERROR_JUMP=1" |
| 7800 ac_sed_defs="${ac_sed_defs}\${ac_dA}NAS_NO_ERROR_JUMP\${ac_dB}NAS_NO_ERROR_JUMP\${ac_dC}1\${ac_dD} | 6729 ac_sed_defs="${ac_sed_defs}\${ac_dA}NAS_NO_ERROR_JUMP\${ac_dB}NAS_NO_ERROR_JUMP\${ac_dC}1\${ac_dD} |
| 7801 \${ac_uA}NAS_NO_ERROR_JUMP\${ac_uB}NAS_NO_ERROR_JUMP\${ac_uC}1\${ac_uD} | 6730 \${ac_uA}NAS_NO_ERROR_JUMP\${ac_uB}NAS_NO_ERROR_JUMP\${ac_uC}1\${ac_uD} |
| 7802 \${ac_eA}NAS_NO_ERROR_JUMP\${ac_eB}NAS_NO_ERROR_JUMP\${ac_eC}1\${ac_eD} | 6731 \${ac_eA}NAS_NO_ERROR_JUMP\${ac_eB}NAS_NO_ERROR_JUMP\${ac_eC}1\${ac_eD} |
| 7803 " | 6732 " |
| 7804 } | 6733 } |
| 7805 | 6734 |
| 7806 fi | 6735 |
| 7807 if [ "${external_widget}" = "yes" ]; then | 6736 test "${use_union_type}" != yes && |
| 7808 | |
| 7809 { | |
| 7810 test -n "$verbose" && \ | |
| 7811 echo " defining EXTERNAL_WIDGET" | |
| 7812 echo "#define" EXTERNAL_WIDGET "1" >> confdefs.h | |
| 7813 DEFS="$DEFS -DEXTERNAL_WIDGET=1" | |
| 7814 ac_sed_defs="${ac_sed_defs}\${ac_dA}EXTERNAL_WIDGET\${ac_dB}EXTERNAL_WIDGET\${ac_dC}1\${ac_dD} | |
| 7815 \${ac_uA}EXTERNAL_WIDGET\${ac_uB}EXTERNAL_WIDGET\${ac_uC}1\${ac_uD} | |
| 7816 \${ac_eA}EXTERNAL_WIDGET\${ac_eB}EXTERNAL_WIDGET\${ac_eC}1\${ac_eD} | |
| 7817 " | |
| 7818 } | |
| 7819 | |
| 7820 fi | |
| 7821 if [ "${with_gnu_make}" = "yes" ]; then | |
| 7822 | |
| 7823 { | |
| 7824 test -n "$verbose" && \ | |
| 7825 echo " defining USE_GNU_MAKE" | |
| 7826 echo "#define" USE_GNU_MAKE "1" >> confdefs.h | |
| 7827 DEFS="$DEFS -DUSE_GNU_MAKE=1" | |
| 7828 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_GNU_MAKE\${ac_dB}USE_GNU_MAKE\${ac_dC}1\${ac_dD} | |
| 7829 \${ac_uA}USE_GNU_MAKE\${ac_uB}USE_GNU_MAKE\${ac_uC}1\${ac_uD} | |
| 7830 \${ac_eA}USE_GNU_MAKE\${ac_eB}USE_GNU_MAKE\${ac_eC}1\${ac_eD} | |
| 7831 " | |
| 7832 } | |
| 7833 | |
| 7834 fi | |
| 7835 if [ "${no_doc_file}" = "yes" ]; then | |
| 7836 | |
| 7837 { | |
| 7838 test -n "$verbose" && \ | |
| 7839 echo " defining NO_DOC_FILE" | |
| 7840 echo "#define" NO_DOC_FILE "1" >> confdefs.h | |
| 7841 DEFS="$DEFS -DNO_DOC_FILE=1" | |
| 7842 ac_sed_defs="${ac_sed_defs}\${ac_dA}NO_DOC_FILE\${ac_dB}NO_DOC_FILE\${ac_dC}1\${ac_dD} | |
| 7843 \${ac_uA}NO_DOC_FILE\${ac_uB}NO_DOC_FILE\${ac_uC}1\${ac_uD} | |
| 7844 \${ac_eA}NO_DOC_FILE\${ac_eB}NO_DOC_FILE\${ac_eC}1\${ac_eD} | |
| 7845 " | |
| 7846 } | |
| 7847 | |
| 7848 fi | |
| 7849 if [ "${const_is_losing}" = "yes" ]; then | |
| 7850 | |
| 7851 { | |
| 7852 test -n "$verbose" && \ | |
| 7853 echo " defining CONST_IS_LOSING" | |
| 7854 echo "#define" CONST_IS_LOSING "1" >> confdefs.h | |
| 7855 DEFS="$DEFS -DCONST_IS_LOSING=1" | |
| 7856 ac_sed_defs="${ac_sed_defs}\${ac_dA}CONST_IS_LOSING\${ac_dB}CONST_IS_LOSING\${ac_dC}1\${ac_dD} | |
| 7857 \${ac_uA}CONST_IS_LOSING\${ac_uB}CONST_IS_LOSING\${ac_uC}1\${ac_uD} | |
| 7858 \${ac_eA}CONST_IS_LOSING\${ac_eB}CONST_IS_LOSING\${ac_eC}1\${ac_eD} | |
| 7859 " | |
| 7860 } | |
| 7861 | |
| 7862 fi | |
| 7863 if [ "${use_assertions}" = "yes" ]; then | |
| 7864 | |
| 7865 { | |
| 7866 test -n "$verbose" && \ | |
| 7867 echo " defining USE_ASSERTIONS" | |
| 7868 echo "#define" USE_ASSERTIONS "1" >> confdefs.h | |
| 7869 DEFS="$DEFS -DUSE_ASSERTIONS=1" | |
| 7870 ac_sed_defs="${ac_sed_defs}\${ac_dA}USE_ASSERTIONS\${ac_dB}USE_ASSERTIONS\${ac_dC}1\${ac_dD} | |
| 7871 \${ac_uA}USE_ASSERTIONS\${ac_uB}USE_ASSERTIONS\${ac_uC}1\${ac_uD} | |
| 7872 \${ac_eA}USE_ASSERTIONS\${ac_eB}USE_ASSERTIONS\${ac_eC}1\${ac_eD} | |
| 7873 " | |
| 7874 } | |
| 7875 | |
| 7876 fi | |
| 7877 if [ "${error_check_extents}" = "yes" ]; then | |
| 7878 | |
| 7879 { | |
| 7880 test -n "$verbose" && \ | |
| 7881 echo " defining ERROR_CHECK_EXTENTS" | |
| 7882 echo "#define" ERROR_CHECK_EXTENTS "1" >> confdefs.h | |
| 7883 DEFS="$DEFS -DERROR_CHECK_EXTENTS=1" | |
| 7884 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_EXTENTS\${ac_dB}ERROR_CHECK_EXTENTS\${ac_dC}1\${ac_dD} | |
| 7885 \${ac_uA}ERROR_CHECK_EXTENTS\${ac_uB}ERROR_CHECK_EXTENTS\${ac_uC}1\${ac_uD} | |
| 7886 \${ac_eA}ERROR_CHECK_EXTENTS\${ac_eB}ERROR_CHECK_EXTENTS\${ac_eC}1\${ac_eD} | |
| 7887 " | |
| 7888 } | |
| 7889 | |
| 7890 fi | |
| 7891 if [ "${error_check_typecheck}" = "yes" ]; then | |
| 7892 | |
| 7893 { | |
| 7894 test -n "$verbose" && \ | |
| 7895 echo " defining ERROR_CHECK_TYPECHECK" | |
| 7896 echo "#define" ERROR_CHECK_TYPECHECK "1" >> confdefs.h | |
| 7897 DEFS="$DEFS -DERROR_CHECK_TYPECHECK=1" | |
| 7898 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_TYPECHECK\${ac_dB}ERROR_CHECK_TYPECHECK\${ac_dC}1\${ac_dD} | |
| 7899 \${ac_uA}ERROR_CHECK_TYPECHECK\${ac_uB}ERROR_CHECK_TYPECHECK\${ac_uC}1\${ac_uD} | |
| 7900 \${ac_eA}ERROR_CHECK_TYPECHECK\${ac_eB}ERROR_CHECK_TYPECHECK\${ac_eC}1\${ac_eD} | |
| 7901 " | |
| 7902 } | |
| 7903 | |
| 7904 fi | |
| 7905 if [ "${error_check_bufpos}" = "yes" ]; then | |
| 7906 | |
| 7907 { | |
| 7908 test -n "$verbose" && \ | |
| 7909 echo " defining ERROR_CHECK_BUFPOS" | |
| 7910 echo "#define" ERROR_CHECK_BUFPOS "1" >> confdefs.h | |
| 7911 DEFS="$DEFS -DERROR_CHECK_BUFPOS=1" | |
| 7912 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_BUFPOS\${ac_dB}ERROR_CHECK_BUFPOS\${ac_dC}1\${ac_dD} | |
| 7913 \${ac_uA}ERROR_CHECK_BUFPOS\${ac_uB}ERROR_CHECK_BUFPOS\${ac_uC}1\${ac_uD} | |
| 7914 \${ac_eA}ERROR_CHECK_BUFPOS\${ac_eB}ERROR_CHECK_BUFPOS\${ac_eC}1\${ac_eD} | |
| 7915 " | |
| 7916 } | |
| 7917 | |
| 7918 fi | |
| 7919 if [ "${error_check_gc}" = "yes" ]; then | |
| 7920 | |
| 7921 { | |
| 7922 test -n "$verbose" && \ | |
| 7923 echo " defining ERROR_CHECK_GC" | |
| 7924 echo "#define" ERROR_CHECK_GC "1" >> confdefs.h | |
| 7925 DEFS="$DEFS -DERROR_CHECK_GC=1" | |
| 7926 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_GC\${ac_dB}ERROR_CHECK_GC\${ac_dC}1\${ac_dD} | |
| 7927 \${ac_uA}ERROR_CHECK_GC\${ac_uB}ERROR_CHECK_GC\${ac_uC}1\${ac_uD} | |
| 7928 \${ac_eA}ERROR_CHECK_GC\${ac_eB}ERROR_CHECK_GC\${ac_eC}1\${ac_eD} | |
| 7929 " | |
| 7930 } | |
| 7931 | |
| 7932 fi | |
| 7933 if [ "${error_check_malloc}" = "yes" ]; then | |
| 7934 | |
| 7935 { | |
| 7936 test -n "$verbose" && \ | |
| 7937 echo " defining ERROR_CHECK_MALLOC" | |
| 7938 echo "#define" ERROR_CHECK_MALLOC "1" >> confdefs.h | |
| 7939 DEFS="$DEFS -DERROR_CHECK_MALLOC=1" | |
| 7940 ac_sed_defs="${ac_sed_defs}\${ac_dA}ERROR_CHECK_MALLOC\${ac_dB}ERROR_CHECK_MALLOC\${ac_dC}1\${ac_dD} | |
| 7941 \${ac_uA}ERROR_CHECK_MALLOC\${ac_uB}ERROR_CHECK_MALLOC\${ac_uC}1\${ac_uD} | |
| 7942 \${ac_eA}ERROR_CHECK_MALLOC\${ac_eB}ERROR_CHECK_MALLOC\${ac_eC}1\${ac_eD} | |
| 7943 " | |
| 7944 } | |
| 7945 | |
| 7946 fi | |
| 7947 if [ "${debug}" = "yes" ]; then | |
| 7948 | |
| 7949 { | |
| 7950 test -n "$verbose" && \ | |
| 7951 echo " defining DEBUG_XEMACS" | |
| 7952 echo "#define" DEBUG_XEMACS "1" >> confdefs.h | |
| 7953 DEFS="$DEFS -DDEBUG_XEMACS=1" | |
| 7954 ac_sed_defs="${ac_sed_defs}\${ac_dA}DEBUG_XEMACS\${ac_dB}DEBUG_XEMACS\${ac_dC}1\${ac_dD} | |
| 7955 \${ac_uA}DEBUG_XEMACS\${ac_uB}DEBUG_XEMACS\${ac_uC}1\${ac_uD} | |
| 7956 \${ac_eA}DEBUG_XEMACS\${ac_eB}DEBUG_XEMACS\${ac_eC}1\${ac_eD} | |
| 7957 " | |
| 7958 } | |
| 7959 | |
| 7960 fi | |
| 7961 if [ "${memory_usage_stats}" = "yes" ]; then | |
| 7962 | |
| 7963 { | |
| 7964 test -n "$verbose" && \ | |
| 7965 echo " defining MEMORY_USAGE_STATS" | |
| 7966 echo "#define" MEMORY_USAGE_STATS "1" >> confdefs.h | |
| 7967 DEFS="$DEFS -DMEMORY_USAGE_STATS=1" | |
| 7968 ac_sed_defs="${ac_sed_defs}\${ac_dA}MEMORY_USAGE_STATS\${ac_dB}MEMORY_USAGE_STATS\${ac_dC}1\${ac_dD} | |
| 7969 \${ac_uA}MEMORY_USAGE_STATS\${ac_uB}MEMORY_USAGE_STATS\${ac_uC}1\${ac_uD} | |
| 7970 \${ac_eA}MEMORY_USAGE_STATS\${ac_eB}MEMORY_USAGE_STATS\${ac_eC}1\${ac_eD} | |
| 7971 " | |
| 7972 } | |
| 7973 | |
| 7974 fi | |
| 7975 if [ "${use_union_type}" != "yes" ]; then | |
| 7976 | |
| 7977 { | 6737 { |
| 7978 test -n "$verbose" && \ | 6738 test -n "$verbose" && \ |
| 7979 echo " defining NO_UNION_TYPE" | 6739 echo " defining NO_UNION_TYPE" |
| 7980 echo "#define" NO_UNION_TYPE "1" >> confdefs.h | 6740 echo "#define" NO_UNION_TYPE "1" >> confdefs.h |
| 7981 DEFS="$DEFS -DNO_UNION_TYPE=1" | 6741 DEFS="$DEFS -DNO_UNION_TYPE=1" |
| 7982 ac_sed_defs="${ac_sed_defs}\${ac_dA}NO_UNION_TYPE\${ac_dB}NO_UNION_TYPE\${ac_dC}1\${ac_dD} | 6742 ac_sed_defs="${ac_sed_defs}\${ac_dA}NO_UNION_TYPE\${ac_dB}NO_UNION_TYPE\${ac_dC}1\${ac_dD} |
| 7983 \${ac_uA}NO_UNION_TYPE\${ac_uB}NO_UNION_TYPE\${ac_uC}1\${ac_uD} | 6743 \${ac_uA}NO_UNION_TYPE\${ac_uB}NO_UNION_TYPE\${ac_uC}1\${ac_uD} |
| 7984 \${ac_eA}NO_UNION_TYPE\${ac_eB}NO_UNION_TYPE\${ac_eC}1\${ac_eD} | 6744 \${ac_eA}NO_UNION_TYPE\${ac_eB}NO_UNION_TYPE\${ac_eC}1\${ac_eD} |
| 7985 " | 6745 " |
| 7986 } | 6746 } |
| 7987 | 6747 |
| 7988 fi | 6748 |
| 7989 if [ "${quantify}" = "yes" ]; then | |
| 7990 | |
| 7991 { | |
| 7992 test -n "$verbose" && \ | |
| 7993 echo " defining QUANTIFY" | |
| 7994 echo "#define" QUANTIFY "1" >> confdefs.h | |
| 7995 DEFS="$DEFS -DQUANTIFY=1" | |
| 7996 ac_sed_defs="${ac_sed_defs}\${ac_dA}QUANTIFY\${ac_dB}QUANTIFY\${ac_dC}1\${ac_dD} | |
| 7997 \${ac_uA}QUANTIFY\${ac_uB}QUANTIFY\${ac_uC}1\${ac_uD} | |
| 7998 \${ac_eA}QUANTIFY\${ac_eB}QUANTIFY\${ac_eC}1\${ac_eD} | |
| 7999 " | |
| 8000 } | |
| 8001 | |
| 8002 fi | |
| 8003 | |
| 8004 # ====================== Developer's configuration ======================= | |
| 8005 | |
| 8006 # The following assignments make sense if you're running XEmacs on a single | |
| 8007 # machine, one version at a time, and you want changes to the lisp and etc | |
| 8008 # directories in the source tree to show up immediately in your working | |
| 8009 # environment. It saves a great deal of disk space by not duplicating the | |
| 8010 # lisp and etc directories. | |
| 8011 | |
| 8012 if [ "$run_in_place" = "yes" ]; then | |
| 8013 prefix='${srcdir}' | |
| 8014 exec_prefix='${srcdir}' | |
| 8015 bindir='${exec_prefix}/bin/${configuration}' | |
| 8016 lispdir='${srcdir}/lisp' | |
| 8017 sitelispdir='${lispdir}/site-lisp' | |
| 8018 etcdir='${srcdir}/etc' | |
| 8019 lockdir='${srcdir}/lock' | |
| 8020 archlibdir='${srcdir}/lib-src/${configuration}' | |
| 8021 infodir='${srcdir}/info' | |
| 8022 fi | |
| 8023 #elif [ "$single_tree" = "1" ]; then | |
| 8024 # if [ "$exec_prefix_specified" = "" ]; then | |
| 8025 # exec_prefix='${prefix}' | |
| 8026 # fi | |
| 8027 # if [ "$bindir_specified" = "" ]; then | |
| 8028 # bindir='${exec_prefix}/bin/${configuration}' | |
| 8029 # fi | |
| 8030 # if [ "$datadir_specified" = "" ]; then | |
| 8031 # datadir='${prefix}/common' | |
| 8032 # fi | |
| 8033 # if [ "$statedir_specified" = "" ]; then | |
| 8034 # statedir='${prefix}/common' | |
| 8035 # fi | |
| 8036 # if [ "$libdir_specified" = "" ]; then | |
| 8037 # libdir='${bindir}' | |
| 8038 # fi | |
| 8039 # if [ "$lispdir_specified" = "" ]; then | |
| 8040 # lispdir='${prefix}/common/lisp' | |
| 8041 # fi | |
| 8042 # if [ "$locallisppath_specified" = "" ]; then | |
| 8043 # locallisppath='${prefix}/common/site-lisp' | |
| 8044 # fi | |
| 8045 # if [ "$lockdir_specified" = "" ]; then | |
| 8046 # lockdir='${prefix}/common/lock' | |
| 8047 # fi | |
| 8048 # if [ "$archlibdir_specified" = "" ]; then | |
| 8049 # archlibdir='${libdir}/etc' | |
| 8050 # fi | |
| 8051 # if [ "$etcdir_specified" = "" ]; then | |
| 8052 # etcdir='${prefix}/common/data' | |
| 8053 # fi | |
| 8054 # if [ "$docdir_specified" = "" ]; then | |
| 8055 # docdir='${prefix}/common/data' | |
| 8056 # fi | |
| 8057 #fi | |
| 8058 | |
| 8059 ############################################################################ | |
| 8060 # # | |
| 8061 # Report on what we decided to do # | |
| 8062 # # | |
| 8063 ############################################################################ | |
| 8064 | 6749 |
| 8065 echo " | 6750 echo " |
| 8066 | 6751 |
| 8067 Configured for \`${canonical}'. | 6752 Configured for \`${canonical}'. |
| 8068 | 6753 |
| 8075 Should XEmacs use the relocating allocator for buffers? ${rel_alloc} | 6760 Should XEmacs use the relocating allocator for buffers? ${rel_alloc} |
| 8076 What window system should XEmacs use? ${window_system}${x_includes+ | 6761 What window system should XEmacs use? ${window_system}${x_includes+ |
| 8077 Where do we find X Windows header files? }${x_includes}${x_libraries+ | 6762 Where do we find X Windows header files? }${x_includes}${x_libraries+ |
| 8078 Where do we find X Windows libraries? }${x_libraries}" | 6763 Where do we find X Windows libraries? }${x_libraries}" |
| 8079 | 6764 |
| 8080 if [ -n "$site_includes" ]; then | 6765 if test -n "$site_includes"; then |
| 8081 echo " Additional header files: ${site_includes}" | 6766 echo " Additional header files: ${site_includes}" |
| 8082 fi | 6767 fi |
| 8083 | 6768 |
| 8084 if [ -n "$site_libraries" ] && [ -n "$site_runtime_libraries" ]; then | 6769 if test -n "$site_libraries" -a -n "$site_runtime_libraries"; then |
| 8085 echo " Additional libraries: ${site_libraries} ${site_runtime_libraries}" | 6770 echo " Additional libraries: ${site_libraries} ${site_runtime_libraries}" |
| 8086 elif [ -n "$site_libraries" ]; then | 6771 elif test -n "$site_libraries"; then |
| 8087 echo " Additional libraries: ${site_libraries}" | 6772 echo " Additional libraries: ${site_libraries}" |
| 8088 elif [ -n "$site_runtime_libraries" ]; then | 6773 elif test -n "$site_runtime_libraries"; then |
| 8089 echo " Additional libraries: ${site_runtime_libraries}" | 6774 echo " Additional libraries: ${site_runtime_libraries}" |
| 8090 fi | 6775 fi |
| 8091 | 6776 |
| 8092 | 6777 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
| 8093 if [ "$with_socks" = "yes" ]; then | 6778 test "$with_term" = yes && echo " Compiling in support for TERM." |
| 8094 echo " Compiling in support for SOCKS." | 6779 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." |
| 8095 fi | 6780 test "$with_xpm" = yes && echo " Compiling in support for XPM." |
| 8096 if [ "$with_term" = "yes" ]; then | 6781 if test "$with_xmu" != yes -a "$window_system" != none; then |
| 8097 echo " Compiling in support for TERM." | |
| 8098 fi | |
| 8099 if [ "$with_xauth" = "yes" ]; then | |
| 8100 echo " Compiling in support for XAUTH." | |
| 8101 fi | |
| 8102 if [ "$with_xpm" = "yes" ]; then | |
| 8103 echo " Compiling in support for XPM." | |
| 8104 fi | |
| 8105 if [ "$with_xmu" != "yes" ] && [ "$window_system" != "none" ]; then | |
| 8106 echo " No Xmu; substituting equivalent routines." | 6782 echo " No Xmu; substituting equivalent routines." |
| 8107 fi | 6783 fi |
| 8108 if [ "$with_xface" = "yes" ]; then | 6784 test "$with_xface" = yes && echo " Compiling in support for X-Face headers." |
| 8109 echo " Compiling in support for X-Face headers." | 6785 test "$with_gif" = yes && echo " Compiling in support for GIF image conversion." |
| 8110 fi | 6786 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image conversion." |
| 8111 if [ "$with_gif" = "yes" ]; then | 6787 if test "$with_png" = yes -o "$with_png" = gnuz; then |
| 8112 echo " Compiling in support for GIF image conversion." | |
| 8113 fi | |
| 8114 if [ "$with_jpeg" = "yes" ]; then | |
| 8115 echo " Compiling in support for JPEG image conversion." | |
| 8116 fi | |
| 8117 if [ "$with_png" = "yes" ] || [ "$with_png" = "gnuz" ]; then | |
| 8118 echo " Compiling in support for PNG image conversion." | 6788 echo " Compiling in support for PNG image conversion." |
| 8119 fi | 6789 fi |
| 8120 if [ "$with_png" = "gnuz" ]; then | 6790 if test "$with_png" = gnuz; then |
| 8121 echo " (Using -lgz instead of -lz.)" | 6791 echo " (Using -lgz instead of -lz.)" |
| 8122 fi | 6792 fi |
| 8123 if [ "$with_tiff" = "yes" ]; then | 6793 test "$with_tiff" = yes && echo " Compiling in support for TIFF image conversion (not implemented)." |
| 8124 echo " Compiling in support for TIFF image conversion (not implemented)." | 6794 test "$with_epoch" = yes && echo " Compiling in extra Epoch compatibility." |
| 8125 fi | 6795 |
| 8126 if [ "$with_epoch" = "yes" ]; then | 6796 test "$with_sound" = nas && echo " Compiling in network sound support." |
| 8127 echo " Compiling in extra Epoch compatibility." | 6797 test "$with_sound" = native && echo " Compiling in native sound support." |
| 8128 fi | 6798 test "$with_sound" = both && echo " Compiling in both network and native sound support." |
| 8129 if [ "$with_sound" = "nas" ]; then | 6799 test "$old_nas" = true && echo " nas library lacks error trapping, will play synchronously" |
| 8130 echo " Compiling in network sound support." | 6800 |
| 8131 fi | 6801 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." |
| 8132 if [ "$with_sound" = "native" ]; then | 6802 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." |
| 8133 echo " Compiling in native sound support." | 6803 test "$with_database_gnudbm" = yes && echo " Compiling in support for GNU DBM." |
| 8134 fi | 6804 |
| 8135 if [ "$with_sound" = "both" ]; then | 6805 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
| 8136 echo " Compiling in both network and native sound support." | 6806 test "$with_socks" = yes && echo " Compiling in support for SOCKS." |
| 8137 fi | 6807 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." |
| 8138 if [ "$old_nas" = true ]; then | 6808 |
| 8139 echo " nas library lacks error trapping, will play synchronously" | 6809 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." |
| 8140 fi | 6810 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." |
| 8141 if [ "$with_database_berkdb" = "yes" ]; then | 6811 test "$with_xim" = motif && echo " Using Motif to provide XIM support." |
| 8142 echo " Compiling in support for Berkeley DB." | 6812 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." |
| 8143 fi | 6813 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." |
| 8144 if [ "$with_database_dbm" = "yes" ]; then | 6814 test "$with_wnn" = yes && echo " Compiling in support for WNN on Mule (doesn't currently work)." |
| 8145 echo " Compiling in support for DBM." | 6815 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)." |
| 8146 fi | 6816 |
| 8147 if [ "$with_database_gnudbm" = "yes" ]; then | 6817 test "$with_cde" = yes && echo " Compiling in support for CDE." |
| 8148 echo " Compiling in support for GNU DBM." | 6818 test "$with_offix" = yes && echo " Compiling in support for OffiX." |
| 8149 fi | 6819 test "$with_mocklisp" = yes && echo " Compiling in support for Mocklisp." |
| 8150 if [ "$with_ncurses" = "yes" ]; then | 6820 test "$with_sparcworks" = yes && echo " Compiling in support for SparcWorks." |
| 8151 echo " Compiling in support for ncurses." | 6821 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)." |
| 8152 fi | 6822 test "$with_menubars" = "lucid" && echo " Using the Lucid menubar." |
| 8153 if [ "$with_socks" = "yes" ]; then | 6823 if test "$with_menubars" = "motif"; then |
| 8154 echo " Compiling in support for SOCKS." | |
| 8155 fi | |
| 8156 if [ "$with_tooltalk" = "yes" ]; then | |
| 8157 echo " Compiling in support for ToolTalk." | |
| 8158 fi | |
| 8159 if [ "$with_cde" = "yes" ]; then | |
| 8160 echo " Compiling in support for CDE." | |
| 8161 fi | |
| 8162 if [ "$with_offix" = "yes" ]; then | |
| 8163 echo " Compiling in support for OffiX." | |
| 8164 fi | |
| 8165 if [ "$with_mocklisp" = "yes" ]; then | |
| 8166 echo " Compiling in support for Mocklisp." | |
| 8167 fi | |
| 8168 if [ "$with_sparcworks" = "yes" ]; then | |
| 8169 echo " Compiling in support for SparcWorks." | |
| 8170 fi | |
| 8171 if [ "$with_energize" = "yes" ]; then | |
| 8172 echo " Compiling in support for Lucid Energize (doesn't currently work)." | |
| 8173 fi | |
| 8174 if [ "$with_menubars" = "lucid" ]; then | |
| 8175 echo " Using the Lucid menubar." | |
| 8176 fi | |
| 8177 if [ "$with_menubars" = "motif" ]; then | |
| 8178 echo " Using the Motif menubar." | 6824 echo " Using the Motif menubar." |
| 8179 echo " *WARNING* The Motif menubar is currently buggy. We recommend" | 6825 echo " *WARNING* The Motif menubar is currently buggy. We recommend" |
| 8180 echo " that you use the Lucid menubar instead. Re-run" | 6826 echo " that you use the Lucid menubar instead. Re-run" |
| 8181 echo " configure with --with-menubars='lucid'." | 6827 echo " configure with --with-menubars='lucid'." |
| 8182 fi | 6828 fi |
| 8183 if [ "$with_scrollbars" = "lucid" ]; then | 6829 test "$with_scrollbars" = lucid && echo " Using the Lucid scrollbar." |
| 8184 echo " Using the Lucid scrollbar." | 6830 test "$with_scrollbars" = motif && echo " Using the Motif scrollbar." |
| 8185 fi | 6831 test "$with_scrollbars" = athena && echo " Using the Athena scrollbar." |
| 8186 if [ "$with_scrollbars" = "motif" ]; then | 6832 test "$with_dialogs" = motif && echo " Using the Motif dialog boxes." |
| 8187 echo " Using the Motif scrollbar." | 6833 test "$with_dialogs" = athena && echo " Using the Athena dialog boxes." |
| 8188 fi | 6834 |
| 8189 if [ "$with_scrollbars" = "athena" ]; then | 6835 test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects." |
| 8190 echo " Using the Athena scrollbar." | 6836 test "${debug}" = yes && echo " Compiling in extra code for debugging." |
| 8191 fi | 6837 test "${memory_usage_stats}" = yes && echo " Compiling in code for checking XEmacs memory usage." |
| 8192 if [ "$with_dialogs" = "motif" ]; then | 6838 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." |
| 8193 echo " Using the Motif dialog boxes." | |
| 8194 fi | |
| 8195 if [ "$with_dialogs" = "athena" ]; then | |
| 8196 echo " Using the Athena dialog boxes." | |
| 8197 fi | |
| 8198 if [ "${use_union_type}" = "yes" ]; then | |
| 8199 echo " Using the union type for Lisp_Objects." | |
| 8200 fi | |
| 8201 if [ "${debug}" = "yes" ]; then | |
| 8202 echo " Compiling in extra code for debugging." | |
| 8203 fi | |
| 8204 if [ "${memory_usage_stats}" = "yes" ]; then | |
| 8205 echo " Compiling in code for checking XEmacs memory usage." | |
| 8206 fi | |
| 8207 if [ "$usage_tracking" = "yes" ]; then | |
| 8208 echo " Compiling with usage tracking active (Sun internal)." | |
| 8209 fi | |
| 8210 echo " | 6839 echo " |
| 8211 " | 6840 " |
| 8212 | 6841 |
| 8213 ############################################################################ | 6842 |
| 8214 # # | 6843 |
| 8215 # Now generate! # | |
| 8216 # # | |
| 8217 ############################################################################ | |
| 8218 | |
| 8219 # This has to be called in order for this variable to get into config.status | |
| 8220 | |
| 8221 # Remove any trailing slashes in these variables. | 6844 # Remove any trailing slashes in these variables. |
| 8222 test -n "${prefix}" && | 6845 test -n "${prefix}" && |
| 8223 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` | 6846 prefix=`echo "${prefix}" | sed 's,\([^/]\)/*$,\1,'` |
| 8224 test -n "${exec_prefix}" && | 6847 test -n "${exec_prefix}" && |
| 8225 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'` | 6848 exec_prefix=`echo "${exec_prefix}" | sed 's,\([^/]\)/*$,\1,'` |
| 8262 # Generated automatically by configure. | 6885 # Generated automatically by configure. |
| 8263 # Run this file to recreate the current configuration. | 6886 # Run this file to recreate the current configuration. |
| 8264 # This directory was configured as follows, | 6887 # This directory was configured as follows, |
| 8265 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 6888 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
| 8266 # | 6889 # |
| 8267 EOF | 6890 # $0 $configure_args |
| 8268 sed 's/^/# /' >> config.status <<EOF | 6891 |
| 8269 $0 $quoted_arguments | |
| 8270 EOF | |
| 8271 cat >> config.status <<EOF | |
| 8272 ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]" | 6892 ac_cs_usage="Usage: config.status [--recheck] [--version] [--help]" |
| 8273 for ac_option | 6893 for ac_option |
| 8274 do | 6894 do |
| 8275 case "\$ac_option" in | 6895 case "\$ac_option" in |
| 8276 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 6896 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
| 8277 echo running \${CONFIG_SHELL-/bin/sh} $0 $quoted_arguments --no-create | 6897 echo running \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create |
| 8278 exec \${CONFIG_SHELL-/bin/sh} $0 $quoted_arguments --no-create ;; | 6898 exec \${CONFIG_SHELL-/bin/sh} $0 $configure_args --no-create ;; |
| 8279 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) | 6899 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
| 8280 echo "config.status generated by autoconf version 1.11" | 6900 echo "config.status generated by autoconf version 1.11" |
| 8281 exit 0 ;; | 6901 exit 0 ;; |
| 8282 -help | --help | --hel | --he | --h) | 6902 -help | --help | --hel | --he | --h) |
| 8283 echo "\$ac_cs_usage"; exit 0 ;; | 6903 echo "\$ac_cs_usage"; exit 0 ;; |
| 8542 | 7162 |
| 8543 # Build: | 7163 # Build: |
| 8544 # src/Makefile from ${srcdir}/src/Makefile.in | 7164 # src/Makefile from ${srcdir}/src/Makefile.in |
| 8545 # lwlib/Makefile from ${srcdir}/lwlib/Makefile.in | 7165 # lwlib/Makefile from ${srcdir}/lwlib/Makefile.in |
| 8546 # lib-src/Makefile from ${srcdir}/lib-src/Makefile.in | 7166 # lib-src/Makefile from ${srcdir}/lib-src/Makefile.in |
| 8547 # man/*/Makefile from ${srcdir}/man/*/Makefile.in | |
| 8548 # dynodump/Makefile from ${srcdir}/dynodump/Makefile.in | 7167 # dynodump/Makefile from ${srcdir}/dynodump/Makefile.in |
| 8549 # and possibly | 7168 # and possibly |
| 8550 # lwlib/energize/Makefile from ${srcdir}/lwlib/energize/Makefile.in. | 7169 # lwlib/energize/Makefile from ${srcdir}/lwlib/energize/Makefile.in. |
| 8551 # This must be done after src/config.h is built, since we rely on that | 7170 # This must be done after src/config.h is built, since we rely on that |
| 8552 # file. Only do the build if "config.status" is present, since its | 7171 # file. Only do the build if "config.status" is present, since its |
| 8553 # non-presence indicates an error occured. | 7172 # non-presence indicates an error occured. |
| 8554 status=$? | 7173 status=$? |
| 8555 if [ ! -f ./config.status ]; then | 7174 if test ! -f ./config.status ; then |
| 8556 exit $status | 7175 exit $status |
| 8557 fi | 7176 fi |
| 8558 topsrcdir=${srcdir} | 7177 topsrcdir=${srcdir} |
| 8559 # We discard all lines in Makefile.in that start with `# Generated' or /**/# | 7178 # We discard all lines in Makefile.in that start with `# Generated' or /**/# |
| 8560 # because some cpps get confused by them. | 7179 # because some cpps get confused by them. |
| 8563 makefile_command='echo "creating src/Makefile"; | 7182 makefile_command='echo "creating src/Makefile"; |
| 8564 topsrcdir='"${topsrcdir}"'; | 7183 topsrcdir='"${topsrcdir}"'; |
| 8565 ( cd ./src; | 7184 ( cd ./src; |
| 8566 rm -f junk.c; | 7185 rm -f junk.c; |
| 8567 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; | 7186 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; |
| 8568 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; | 7187 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; |
| 8569 < junk.cpp '\ | 7188 < junk.cpp '\ |
| 8570 ' sed -e '\''s/^#.*//'\'' '\ | 7189 ' sed -e '\''s/^#.*//'\'' '\ |
| 8571 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ | 7190 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ |
| 8572 ' -e '\''s/^ / /'\'' '\ | 7191 ' -e '\''s/^ / /'\'' '\ |
| 8573 ' | sed -n -e '\''/^..*$/p'\'' '\ | 7192 ' | sed -n -e '\''/^..*$/p'\'' '\ |
| 8580 lwlib_makefile_command='echo "creating lwlib/Makefile"; | 7199 lwlib_makefile_command='echo "creating lwlib/Makefile"; |
| 8581 topsrcdir='"${topsrcdir}"'; | 7200 topsrcdir='"${topsrcdir}"'; |
| 8582 ( cd ./lwlib; | 7201 ( cd ./lwlib; |
| 8583 rm -f junk.c; | 7202 rm -f junk.c; |
| 8584 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; | 7203 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; |
| 8585 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; | 7204 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; |
| 8586 < junk.cpp '\ | 7205 < junk.cpp '\ |
| 8587 ' sed -e '\''s/^#.*//'\'' '\ | 7206 ' sed -e '\''s/^#.*//'\'' '\ |
| 8588 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ | 7207 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ |
| 8589 ' -e '\''s/^ / /'\'' '\ | 7208 ' -e '\''s/^ / /'\'' '\ |
| 8590 ' | sed -n -e '\''/^..*$/p'\'' '\ | 7209 ' | sed -n -e '\''/^..*$/p'\'' '\ |
| 8597 lib_src_makefile_command='echo "creating lib-src/Makefile"; | 7216 lib_src_makefile_command='echo "creating lib-src/Makefile"; |
| 8598 topsrcdir='"${topsrcdir}"'; | 7217 topsrcdir='"${topsrcdir}"'; |
| 8599 ( cd ./lib-src; | 7218 ( cd ./lib-src; |
| 8600 rm -f junk.c; | 7219 rm -f junk.c; |
| 8601 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; | 7220 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; |
| 8602 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; | 7221 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; |
| 8603 < junk.cpp '\ | 7222 < junk.cpp '\ |
| 8604 ' sed -e '\''s/^#.*//'\'' '\ | 7223 ' sed -e '\''s/^#.*//'\'' '\ |
| 8605 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ | 7224 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ |
| 8606 ' -e '\''s/^ / /'\'' '\ | 7225 ' -e '\''s/^ / /'\'' '\ |
| 8607 ' | sed -n -e '\''/^..*$/p'\'' '\ | 7226 ' | sed -n -e '\''/^..*$/p'\'' '\ |
| 8609 chmod 444 Makefile.new; | 7228 chmod 444 Makefile.new; |
| 8610 mv -f Makefile.new Makefile; | 7229 mv -f Makefile.new Makefile; |
| 8611 rm -f junk.c junk.cpp; | 7230 rm -f junk.c junk.cpp; |
| 8612 )' | 7231 )' |
| 8613 eval `echo $lib_src_makefile_command` | 7232 eval `echo $lib_src_makefile_command` |
| 7233 | |
| 7234 # Mule utilitity programs - currently disabled | |
| 7235 if test "${with_mule_util}" = "yes"; then | |
| 7236 lib_src_mule_makefile_command='echo "creating lib-src/mule/Makefile"; | |
| 7237 topsrcdir='"${topsrcdir}"'; | |
| 7238 ( cd ./lib-src/mule; | |
| 7239 rm -f junk.c; | |
| 7240 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; | |
| 7241 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; | |
| 7242 < junk.cpp '\ | |
| 7243 ' sed -e '\''s/^#.*//'\'' '\ | |
| 7244 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ | |
| 7245 ' -e '\''s/^ / /'\'' '\ | |
| 7246 ' | sed -n -e '\''/^..*$/p'\'' '\ | |
| 7247 ' > Makefile.new; | |
| 7248 chmod 444 Makefile.new; | |
| 7249 mv -f Makefile.new Makefile; | |
| 7250 rm -f junk.c junk.cpp; | |
| 7251 )' | |
| 7252 eval `echo $lib_src_mule_makefile_command` | |
| 7253 fi # Mule | |
| 7254 | |
| 8614 dynodump_makefile_command='echo "creating dynodump/Makefile"; | 7255 dynodump_makefile_command='echo "creating dynodump/Makefile"; |
| 8615 topsrcdir='"${topsrcdir}"'; | 7256 topsrcdir='"${topsrcdir}"'; |
| 8616 ( cd ./dynodump; | 7257 ( cd ./dynodump; |
| 8617 rm -f junk.c; | 7258 rm -f junk.c; |
| 8618 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; | 7259 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; |
| 8619 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; | 7260 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; |
| 8620 < junk.cpp '\ | 7261 < junk.cpp '\ |
| 8621 ' sed -e '\''s/^#.*//'\'' '\ | 7262 ' sed -e '\''s/^#.*//'\'' '\ |
| 8622 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ | 7263 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ |
| 8623 ' -e '\''s/^ / /'\'' '\ | 7264 ' -e '\''s/^ / /'\'' '\ |
| 8624 ' | sed -n -e '\''/^..*$/p'\'' '\ | 7265 ' | sed -n -e '\''/^..*$/p'\'' '\ |
| 8626 chmod 444 Makefile.new; | 7267 chmod 444 Makefile.new; |
| 8627 mv -f Makefile.new Makefile; | 7268 mv -f Makefile.new Makefile; |
| 8628 rm -f junk.c junk.cpp; | 7269 rm -f junk.c junk.cpp; |
| 8629 )' | 7270 )' |
| 8630 eval `echo $dynodump_makefile_command` | 7271 eval `echo $dynodump_makefile_command` |
| 8631 if [ "${with_energize}" = "yes" ]; then | 7272 if test "${with_energize}" = "yes" ; then |
| 8632 energize_makefile_command='echo "creating lwlib/energize/Makefile"; | 7273 energize_makefile_command='echo "creating lwlib/energize/Makefile"; |
| 8633 topsrcdir='"${topsrcdir}"'; | 7274 topsrcdir='"${topsrcdir}"'; |
| 8634 ( cd ./lwlib/energize; | 7275 ( cd ./lwlib/energize; |
| 8635 rm -f junk.c; | 7276 rm -f junk.c; |
| 8636 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; | 7277 sed -e '\''s/^# Generated.*//'\'' -e '\''s%/\*\*/#.*%%'\'' < Makefile.in > junk.c; |
| 8637 eval `echo ${CPP} ${CPPFLAGS_MAKEFILEGEN} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; | 7278 eval `echo ${CPP} -I. -I${topsrcdir}/src ${CPPFLAGS} junk.c \>junk.cpp`; |
| 8638 < junk.cpp '\ | 7279 < junk.cpp '\ |
| 8639 ' sed -e '\''s/^#.*//'\'' '\ | 7280 ' sed -e '\''s/^#.*//'\'' '\ |
| 8640 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ | 7281 ' -e '\''s/^[ \f\t][ \f\t]*$//'\'' '\ |
| 8641 ' -e '\''s/^ / /'\'' '\ | 7282 ' -e '\''s/^ / /'\'' '\ |
| 8642 ' | sed -n -e '\''/^..*$/p'\'' '\ | 7283 ' | sed -n -e '\''/^..*$/p'\'' '\ |
| 8654 # "exit 0" which appears at the end of `config.status'. | 7295 # "exit 0" which appears at the end of `config.status'. |
| 8655 <config.status sed -e 's/^exit 0$//' >config.new | 7296 <config.status sed -e 's/^exit 0$//' >config.new |
| 8656 echo $makefile_command >>config.new | 7297 echo $makefile_command >>config.new |
| 8657 echo $lwlib_makefile_command >>config.new | 7298 echo $lwlib_makefile_command >>config.new |
| 8658 echo $lib_src_makefile_command >>config.new | 7299 echo $lib_src_makefile_command >>config.new |
| 7300 if test "${with_mule_util}" = "yes"; then | |
| 7301 echo $lib_src_mule_makefile_command >>config.new | |
| 7302 fi | |
| 8659 echo $dynodump_makefile_command >>config.new | 7303 echo $dynodump_makefile_command >>config.new |
| 8660 echo $man_makefile_command >>config.new | 7304 echo $man_makefile_command >>config.new |
| 8661 if [ "${with_energize}" = "yes" ]; then | 7305 if test "${with_energize}" = "yes" ; then |
| 8662 echo $energize_makefile_command >>config.new | 7306 echo $energize_makefile_command >>config.new |
| 8663 fi | 7307 fi |
| 8664 echo exit 0 >>config.new | 7308 echo exit 0 >>config.new |
| 8665 mv -f config.new config.status | 7309 mv -f config.new config.status |
| 8666 chmod +x config.status | 7310 chmod +x config.status |
| 8667 # Don't let the fact that we just rewrote config.status make Makefile think | 7311 # Don't let the fact that we just rewrote config.status make Makefile think |
| 8668 # that it is now newer. We have just rewritten all of the Makefiles as well. | 7312 # that it is now newer. We have just rewritten all of the Makefiles as well. |
| 8669 MFS="Makefile src/Makefile src/Makefile.in lib-src/Makefile lib-src/Makefile.in dynodump/Makefile dynodump/Makefile.in lwlib/Makefile lwlib/Makefile.in" | 7313 MFS="Makefile \ |
| 8670 for file in $MFS; do | 7314 src/Makefile src/Makefile.in \ |
| 8671 chmod a+w $file; touch $file; chmod 444 $file | 7315 lib-src/Makefile lib-src/Makefile.in \ |
| 8672 done | 7316 dynodump/Makefile dynodump/Makefile.in \ |
| 7317 lwlib/Makefile lwlib/Makefile.in" | |
| 7318 chmod a+w $MFS | |
| 7319 touch $MFS | |
| 7320 chmod 444 $MFS | |
| 8673 | 7321 |
| 8674 if test ! -f src/gdbinit && test -f $topsrcdir/src/gdbinit; then | 7322 if test ! -f src/gdbinit && test -f $topsrcdir/src/gdbinit; then |
| 8675 echo creating src/gdbinit | 7323 echo creating src/gdbinit |
| 8676 echo source $topsrcdir/src/gdbinit > src/gdbinit | 7324 echo source $topsrcdir/src/gdbinit > src/gdbinit |
| 8677 fi | 7325 fi |
| 8678 | 7326 |
| 8679 exit 0 | 7327 exit 0 |
| 8680 | 7328 |
| 8681 # I've removed "mode: ksh" from the following. ksh mode sucks for | |
| 8682 # editing this file. (It seems that ksh mode sucks in general. | |
| 8683 # I wonder if the new 19.29 shell-script mode is better.) | |
| 8684 | |
| 8685 # Local Variables: | |
| 8686 # compile-command: "autoconf" | |
| 8687 # End: | |
| 8688 |
