Mercurial > hg > xemacs-beta
comparison configure.ac @ 3073:0ae46b360391
[xemacs-hg @ 2005-11-16 11:53:47 by malcolmp]
Improve the help output of configure.
author | malcolmp |
---|---|
date | Wed, 16 Nov 2005 11:54:10 +0000 |
parents | 4c038e89d563 |
children | 141c2920ea48 |
comparison
equal
deleted
inserted
replaced
3072:4c038e89d563 | 3073:0ae46b360391 |
---|---|
29 dnl | 29 dnl |
30 dnl ------------------------------------------------------------------------- | 30 dnl ------------------------------------------------------------------------- |
31 dnl Local copyright notices. | 31 dnl Local copyright notices. |
32 | 32 |
33 AC_COPYRIGHT( | 33 AC_COPYRIGHT( |
34 [#### Configuration script for XEmacs. Largely divergent from FSF. | 34 [Configuration script for XEmacs. Largely divergent from FSF. |
35 #### Guess values for system-dependent variables and create Makefiles. | 35 Guess values for system-dependent variables and create Makefiles. |
36 #### Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. | 36 |
37 #### Copyright (C) 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc. | 37 Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. |
38 #### Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. | 38 Copyright (C) 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc. |
39 #### Copyright (C) 1993, 1994, 1995 Board of Trustees, University of Illinois. | 39 Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
40 #### Copyright (C) 1996, 1997 Sun Microsystems, Inc. | 40 Copyright (C) 1993, 1994, 1995 Board of Trustees, University of Illinois. |
41 #### Copyright (C) 1995, 1996, 2002, 2003, 2004 Ben Wing. | 41 Copyright (C) 1996, 1997 Sun Microsystems, Inc. |
42 #### Copyright (C) 2000, 2001 Martin Buchholz. | 42 Copyright (C) 1995, 1996, 2002, 2003, 2004 Ben Wing. |
43 #### Copyright (C) 1998, 1999 J. Kean Johnston. | 43 Copyright (C) 2000, 2001 Martin Buchholz. |
44 #### Copyright (C) 2005 Malcolm Purvis | 44 Copyright (C) 1998, 1999 J. Kean Johnston. |
45 | 45 Copyright (C) 2005 Malcolm Purvis |
46 ### Don't edit this script! | 46 |
47 ### This script was automatically generated by the `autoconf' program | 47 Don't edit this script! |
48 ### from the file `./configure.in'. | 48 This script was automatically generated by the `autoconf' program |
49 ### To rebuild it, execute the command | 49 from the file `./configure.ac'. To rebuild it, execute the command: |
50 ### autoconf | 50 |
51 ### in the this directory. You must have autoconf version 2.50 or later. | 51 autoconf |
52 ### Note: this script has been tested only with autoconf version 2.5x. | 52 |
53 | 53 in the this directory. You must have autoconf version 2.59. |
54 ### This file is part of XEmacs. | 54 |
55 | 55 This file is part of XEmacs. |
56 ### XEmacs is free software; you can redistribute it and/or modify it | 56 |
57 ### under the terms of the GNU General Public License as published by | 57 XEmacs is free software; you can redistribute it and/or modify it |
58 ### the Free Software Foundation; either version 2, or (at your | 58 under the terms of the GNU General Public License as published by |
59 ### option) any later version. | 59 the Free Software Foundation; either version 2, or (at your |
60 | 60 option) any later version. |
61 ### XEmacs is distributed in the hope that it will be useful, but | 61 |
62 ### WITHOUT ANY WARRANTY; without even the implied warranty of | 62 XEmacs is distributed in the hope that it will be useful, but |
63 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 63 WITHOUT ANY WARRANTY; without even the implied warranty of |
64 ### General Public License for more details. | 64 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
65 | 65 General Public License for more details. |
66 ### You should have received a copy of the GNU General Public License | 66 |
67 ### along with XEmacs; see the file COPYING. If not, write to the Free | 67 You should have received a copy of the GNU General Public License |
68 ### Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | 68 along with XEmacs; see the file COPYING. If not, write to the Free |
69 ### 02111-1307, USA. | 69 Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
70 | 70 Boston, MA 02110-1301, USA. |
71 ### For usage, run `./configure --help' | 71 |
72 ### For more detailed information on building and installing XEmacs, | 72 For usage, run `./configure --help' |
73 ### read the file `INSTALL'. | 73 For more detailed information on building and installing XEmacs, |
74 ### | 74 read the file `INSTALL'. |
75 ### If configure succeeds, it leaves its status in config.status. | 75 |
76 ### A log of configuration tests can be found in config.log. | 76 If configure succeeds, it leaves its status in config.status. |
77 ### If configure fails after disturbing the status quo, | 77 A log of configuration tests can be found in config.log. |
78 ### config.status is removed. | 78 If configure fails after disturbing the status quo, |
79 config.status is removed. | |
79 ]) | 80 ]) |
80 | 81 |
81 dnl ------------------------------------------------------------------------- | 82 dnl ------------------------------------------------------------------------- |
82 dnl Program name (sanitize $0) | 83 dnl Program name (sanitize $0) |
83 dnl Remove any more than one leading "." element from the path name. | 84 dnl Remove any more than one leading "." element from the path name. |
266 m4_ifvaln([$4], [else | 267 m4_ifvaln([$4], [else |
267 $4])dnl | 268 $4])dnl |
268 fi; dnl | 269 fi; dnl |
269 ])dnl XE_MERGED_ARG | 270 ])dnl XE_MERGED_ARG |
270 dnl | 271 dnl |
272 dnl XE_HELP_SUBSECTION(HEADING) | |
273 dnl -------------------------- | |
274 dnl | |
275 dnl Add subsection headings to the help text for XE_MERGED_ARG options. | |
276 dnl | |
277 AC_DEFUN([XE_HELP_SUBSECTION], | |
278 [m4_divert_once([HELP_ENABLE], [[ | |
279 Optional Features: | |
280 --with-FEATURE[=ARG] include FEATURE [ARG=yes] | |
281 --enable-FEATURE[=ARG] alias for --with-FEATURE | |
282 --without-FEATURE do not use FEATURE (same as --with-FEATURE=no) | |
283 --disable-FEATURE alias for --without-FEATURE]])dnl | |
284 dnl NOTE: The next eol adds a blank line before the heading. | |
285 m4_divert_once([HELP_ENABLE], [[ | |
286 $1]])dnl | |
287 dnl Add an underscpne | |
288 dnl NOTE: The next eol adds a blank line after the underscore. | |
289 m4_divert_text([HELP_ENABLE], patsubst([$1], [.], [-]) | |
290 )])dnl | |
291 dnl | |
271 dnl XEmacs keyword option support | 292 dnl XEmacs keyword option support |
272 dnl ============================= | 293 dnl ============================= |
273 dnl | 294 dnl |
274 dnl A "keyword" option is one that accepts one of a number of pre-defined | 295 dnl A "keyword" option is one that accepts one of a number of pre-defined |
275 dnl values. For example --with-mail-locking=flock. | 296 dnl values. For example --with-mail-locking=flock. |
388 dnl | 409 dnl |
389 dnl XE_PARSE_COMPLEX_OPTION(prefix, cmdline-flag) | 410 dnl XE_PARSE_COMPLEX_OPTION(prefix, cmdline-flag) |
390 dnl --------------------------------------------- | 411 dnl --------------------------------------------- |
391 dnl | 412 dnl |
392 dnl Internal macro to parse the option values. If an undeclared option is | 413 dnl Internal macro to parse the option values. If an undeclared option is |
393 dnl found then an error is generated. | 414 dnl found then an error is generated. Because something has been supplied on |
415 dnl the command line initialise all the complex options to 'no' rather than | |
416 dnl the default. In thius way --enable-complex=foo will give the expected | |
417 dnl value (no) for bar. | |
394 dnl | 418 dnl |
395 define([XE_PARSE_COMPLEX_OPTION], | 419 define([XE_PARSE_COMPLEX_OPTION], |
396 [for x in `echo "$with_[$1]" | sed -e 's/,/ /g'` ; do | 420 [for y in $_[$1]_types; do |
421 eval "with_[$1]_$y=no" | |
422 eval "enable_[$1]_$y=no" | |
423 done | |
424 for x in `echo "$with_[$1]" | sed -e 's/,/ /g'` ; do | |
397 _[$1]_all_default="" | 425 _[$1]_all_default="" |
398 _[$1]_found="" | 426 _[$1]_found="" |
399 case "$x" in | 427 case "$x" in |
400 n | no | non | none ) _[$1]_all_default=no ;; | 428 n | no | non | none ) _[$1]_all_default=no ;; |
401 a | al | all | both ) _[$1]_all_default=yes ;; | 429 a | al | all | both ) _[$1]_all_default=yes ;; |
493 dnl --use-union-type --enable-union-type | 521 dnl --use-union-type --enable-union-type |
494 dnl --pdump --enable-pdump | 522 dnl --pdump --enable-pdump |
495 dnl --use-kkcc --enable-kkcc | 523 dnl --use-kkcc --enable-kkcc |
496 dnl | 524 dnl |
497 dnl parse flags | 525 dnl parse flags |
526 XE_HELP_SUBSECTION([Compilation options]) | |
527 XE_MERGED_ARG([compiler], | |
528 AC_HELP_STRING([--with-compiler],[C compiler to use]), | |
529 [], []) | |
530 XE_MERGED_ARG([xemacs-compiler], | |
531 AC_HELP_STRING([--with-xemacs-compiler], | |
532 [compiler to use to compile just the xemacs executable and C modules. | |
533 If you want to compile XEmacs as C++, use e.g. | |
534 `--with-xemacs-compiler=g++'. This turns on a lot of | |
535 additional error-checking.]), | |
536 [], []) | |
537 XE_MERGED_ARG([gcc], | |
538 AC_HELP_STRING([--with-gcc],[Use GCC to compile XEmacs.]), | |
539 [], []) | |
540 XE_MERGED_ARG([cflags], | |
541 AC_HELP_STRING([--with-cflags=FLAGS], | |
542 [Compiler flags. These flags will be placed after any flags inserted for warnings, debugging or optimization; setting this does not disable the insertion of those flags. Use configure settings such as `--with-optimization=no' or `enable-debug=no' to turn them off, or override them with `--with-cflags-optimization', `--with-cflags-debugging', or `with-cflags-warning'.]), | |
543 [], []) | |
544 XE_MERGED_ARG([cflags-warning], | |
545 AC_HELP_STRING([--with-cflags-warning=FLAGS],[Override compiler flags used to control warnings. | |
546 Normally, don't set this, as XEmacs already turns on | |
547 the maximum safe warning level.]), | |
548 [], []) | |
549 XE_MERGED_ARG([optimization], | |
550 AC_HELP_STRING([--with-optimization],[Control whether compilation is optimized. By default, optimization is on in release versions and off in beta versions, since it can interfere with proper stack backtraces.]), | |
551 [], []) | |
552 XE_MERGED_ARG([cflags-optimization], | |
553 AC_HELP_STRING([--with-cflags-optimization=FLAGS], | |
554 [Override compiler flags used to control optimization. If blank, forces no optimization; if non-blank, forces optimization. Normally, don't set this; XEmacs automatically sets the maximum safe optimization flags appropriate for the compiler being invoked. If you just want to turn optimization on or off, use `with-optimization' instead.]), | |
555 [], []) | |
556 XE_MERGED_ARG([cflags-debugging], | |
557 AC_HELP_STRING([--with-cflags-debugging=FLAGS], | |
558 [Override compiler flags used to add debugging information to the executable. Normally, debugging information is added whenever possible (i.e. unless optimization is turned on and the compiler does not permit debugging and optimization simultaneously).]), | |
559 [], []) | |
560 XE_MERGED_ARG([cpp], | |
561 AC_HELP_STRING([--with-cpp],[C preprocessor to use (e.g. /usr/ccs/lib/cpp or cc -E)]), | |
562 [CPP="$with_cpp"], []) | |
563 XE_MERGED_ARG([cppflags], | |
564 AC_HELP_STRING([--with-cppflags],[C preprocessor flags (e.g. -I/foo or -Dfoo=bar)]), | |
565 [CPPFLAGS="$with_cppflags"], []) | |
566 XE_MERGED_ARG([libs=LIBS], | |
567 AC_HELP_STRING([--with-libs],[Additional libraries (e.g. -lfoo)]), | |
568 [LIBS="$with_libs"], []) | |
569 XE_MERGED_ARG([ldflags=FLAGS], | |
570 AC_HELP_STRING([--with-ldflags],[Additional linker flags (e.g. -L/foo)]), | |
571 [LDFLAGS="$with_ldflags"], []) | |
572 XE_MERGED_ARG([site-includes], | |
573 AC_HELP_STRING([--with-site-includes=PATHS],[Prepend to include search path.]), | |
574 [], []) | |
575 XE_MERGED_ARG([site-libraries], | |
576 AC_HELP_STRING([--with-site-libraries=PATHS],[Prepend to library search path.]), | |
577 [], []) | |
578 XE_MERGED_ARG([site-prefixes], | |
579 AC_HELP_STRING([--with-site-prefixes=PATHS],[Prepend to include and library search paths, with /include and /lib added. Comes after site-includes and site-libraries, if any.]), | |
580 [], []) | |
581 XE_MERGED_ARG([site-runtime-libraries], | |
582 AC_HELP_STRING([--with-site-runtime-libraries=PATHS],[Prepend to the runtime library search path]), | |
583 [], []) | |
584 XE_MERGED_ARG([dynamic], | |
585 AC_HELP_STRING([--with-dynamic],[Link dynamically if supported by system. 'No' forces static linking.]), | |
586 [], []) | |
587 dnl | |
588 XE_HELP_SUBSECTION([Installation options]) | |
498 XE_MERGED_ARG([prefix], | 589 XE_MERGED_ARG([prefix], |
499 AC_HELP_STRING([--with-prefix=no],[Don't compile the value for `prefix' into the executable.]), | 590 AC_HELP_STRING([--with-prefix=no],[Don't compile the value for `prefix' into the executable.]), |
500 [true], [with_prefix=yes]) | 591 [true], [with_prefix=yes]) |
592 XE_MERGED_ARG([netinstall], | |
593 AC_HELP_STRING([--with-netinstall],[Support for installation over the internet. | |
594 Only functional on the MS Windows platforms.]), | |
595 [], [with_netinstall="no"]) | |
596 XE_MERGED_ARG([statedir], | |
597 AC_HELP_STRING([--with-statedir=DIR],[]), | |
598 [], [with_statedir='${prefix}/lib']) | |
599 XE_MERGED_ARG([lispdir], | |
600 AC_HELP_STRING([--with-lispdir=DIR],[]), | |
601 [AC_DEFINE(LISPDIR_USER_DEFINED)], [with_lispdir='${datadir}/${instvardir}/lisp']) | |
602 XE_MERGED_ARG([archlibdir], | |
603 AC_HELP_STRING([--with-archlibdir=DIR],[]), | |
604 [AC_DEFINE(ARCHLIBDIR_USER_DEFINED)], [with_archlibdir='${libdir}/${instvardir}/${configuration}']) | |
605 XE_MERGED_ARG([moduledir], | |
606 AC_HELP_STRING([--with-moduledir=DIR],[]), | |
607 [AC_DEFINE(MODULEDIR_USER_DEFINED)], [with_moduledir='${libdir}/${instvardir}/${configuration}/modules']) | |
608 XE_MERGED_ARG([etcdir], | |
609 AC_HELP_STRING([--with-etcdir=DIR],[]), | |
610 [AC_DEFINE(ETCDIR_USER_DEFINED)], [with_etcdir='${datadir}/${instvardir}/etc']) | |
611 XE_MERGED_ARG([docdir], | |
612 AC_HELP_STRING([--with-docdir=DIR],[]), | |
613 [AC_DEFINE(DOCDIR_USER_DEFINED)], [with_docdir='${archlibdir}']) | |
614 dnl | |
615 XE_HELP_SUBSECTION([Run-time path-searching options]) | |
501 XE_MERGED_ARG([site-lisp], | 616 XE_MERGED_ARG([site-lisp], |
502 AC_HELP_STRING([--with-site-lisp=no],[Allow for a site-lisp directory in the XEmacs hierarchy searched before the installation packages.]), | 617 AC_HELP_STRING([--with-site-lisp=no],[Allow for a site-lisp directory in the XEmacs hierarchy searched before the installation packages.]), |
503 [true], [with_site_lisp=no]) | 618 [true], [with_site_lisp=no]) |
504 XE_MERGED_ARG([site-modules], | 619 XE_MERGED_ARG([site-modules], |
505 AC_HELP_STRING([--with-site-modules],[Disable site-modules directory in the XEmacs hierarchy, which is searched before the installation modules.]), | 620 AC_HELP_STRING([--with-site-modules=no],[Disable site-modules directory in the XEmacs hierarchy, which is searched before the installation modules.]), |
506 [], []) | 621 [], []) |
622 XE_MERGED_ARG([package-prefix], | |
623 AC_HELP_STRING([--with-package-prefix=DIR],[Specify packages root.]), | |
624 [AC_DEFINE(PACKAGE_PATH_USER_DEFINED)], []) | |
625 XE_MERGED_ARG([package-path], | |
626 AC_HELP_STRING([--with-package-path=PATH],[Search path for package hierarchies.]), | |
627 [AC_DEFINE(PACKAGE_PATH_USER_DEFINED)], []) | |
628 XE_MERGED_ARG([infopath], | |
629 AC_HELP_STRING([--with-infopath=PATH],[Location of info directories]), | |
630 [AC_DEFINE(INFOPATH_USER_DEFINED)], []) | |
631 dnl | |
632 XE_HELP_SUBSECTION([Window-system options]) | |
507 XE_MERGED_ARG([gtk], | 633 XE_MERGED_ARG([gtk], |
508 AC_HELP_STRING([--with-gtk],[Support GTK on the X Window System. (EXPERIMENTAL)]), | 634 AC_HELP_STRING([--with-gtk],[Support GTK on the X Window System. (EXPERIMENTAL)]), |
509 [true], [with_gtk=no]) | 635 [true], [with_gtk=no]) |
510 XE_MERGED_ARG([gnome], | 636 XE_MERGED_ARG([gnome], |
511 AC_HELP_STRING([--with-gnome],[Support GNOME on the X Window System. (EXPERIMENTAL)]), | 637 AC_HELP_STRING([--with-gnome],[Support GNOME on the X Window System. (EXPERIMENTAL)]), |
512 [true], [with_gnome=no]) | 638 [true], [with_gnome=no]) |
513 XE_MERGED_ARG([msw], | 639 XE_MERGED_ARG([msw], |
514 AC_HELP_STRING([--with-msw],[Support MS Windows as a window system (only under Cygwin and MinGW). `--with-msw=no' may be needed on *nix systems with Wine installed.]), | 640 AC_HELP_STRING([--with-msw],[Support MS Windows as a window system (only under Cygwin and MinGW). `--with-msw=no' may be needed on *nix systems with Wine installed.]), |
515 [], []) | 641 [], []) |
516 XE_MERGED_ARG([gcc], | 642 XE_MERGED_ARG([toolbars], |
517 AC_HELP_STRING([--with-gcc],[Use GCC to compile XEmacs.]), | 643 AC_HELP_STRING([--enable-toolbars],[Enable toolbar support. Default: yes.]), |
518 [], []) | 644 [], []) |
519 XE_MERGED_ARG([dynamic], | 645 XE_MERGED_ARG([wmcommand], |
520 AC_HELP_STRING([--with-dynamic],[Link dynamically if supported by system. 'No' forces static linking.]), | 646 AC_HELP_STRING([--with-wmcommand],[Compile without realized leader window which will |
521 [], []) | 647 keep the WM_COMMAND property.]), |
522 XE_MERGED_ARG([ncurses], | 648 [], []) |
523 AC_HELP_STRING([--with-ncurses],[Use the ncurses library for tty support.]), | 649 XE_KEYWORD_ARG([athena], |
524 [], []) | 650 AC_HELP_STRING([--with-athena=TYPE],[Use TYPE Athena widgets (`xaw', `3d', `next', `95', or `xpm').]), |
525 XE_MERGED_ARG([dnet], | 651 [],[],[xaw,3d,next,95,xpm])dnl |
526 AC_HELP_STRING([--with-dnet],[Compile with support for DECnet.]), | 652 XE_KEYWORD_ARG([menubars], |
527 [], []) | 653 AC_HELP_STRING([--enable-menubars=TYPE],[Use TYPE menubars ('yes', '`no', `lucid', `motif', `athena', `gtk', or `msw'). The Lucid |
528 XE_MERGED_ARG([socks], | 654 widgets emulate Motif (mostly) but are faster. |
529 AC_HELP_STRING([--with-socks],[Compile with support for SOCKS (an Internet proxy).]), | 655 *WARNING* The Motif menubar is currently broken. |
530 [], []) | 656 Lucid menubars are the default.]), |
657 [], [],[yes,no,lucid,motif,athena,gtk,msw]) | |
658 XE_KEYWORD_ARG([scrollbars], | |
659 AC_HELP_STRING([--enable-scrollbars=TYPE],[Use TYPE scrollbars 'yes', '`no', `lucid', `motif', `athena', `gtk', or `msw'). | |
660 Lucid scrollbars are the default.]), | |
661 [], [],[yes,no,lucid,motif,athena,gtk,msw]) | |
662 XE_KEYWORD_ARG([dialogs], | |
663 AC_HELP_STRING([--enable-dialogs=TYPE],[Use TYPE dialog boxes 'yes', '`no', `lucid', `motif', `athena', `gtk', or `msw'). | |
664 There are no true Lucid dialogs; Motif dialogs will be | |
665 used if Motif can be found, else Athena is used.]), | |
666 [], [],[yes,no,lucid,motif,athena,gtk,msw]) | |
667 XE_KEYWORD_ARG([widgets], | |
668 AC_HELP_STRING([--enable-widgets=TYPE],[Use TYPE native widgets ('yes', '`no', `lucid', `motif', `athena', `gtk', or `msw'). | |
669 Other widget types are currently unsupported. | |
670 There are no true Lucid widgets; Motif widgets will be | |
671 used if Motif can be found, else Athena is used.]), | |
672 [], [],[yes,no,lucid,motif,athena,gtk,msw]) | |
531 XE_MERGED_ARG([dragndrop], | 673 XE_MERGED_ARG([dragndrop], |
532 AC_HELP_STRING([--with-dragndrop],[Compile in the generic drag and drop API. This is automatically added if one of the drag and drop | 674 AC_HELP_STRING([--with-dragndrop],[Compile in the generic drag and drop API. This is automatically added if one of the drag and drop |
533 protocols is found (currently CDE, OffiX, MSWindows, | 675 protocols is found (currently CDE, OffiX, MSWindows, |
534 and GTK). | 676 and GTK). |
535 *WARNING* The Drag'n'drop support is under development | 677 *WARNING* The Drag'n'drop support is under development |
544 able to use multiple X displays success- | 686 able to use multiple X displays success- |
545 fully. If the two servers are from | 687 fully. If the two servers are from |
546 different vendors, the results may be | 688 different vendors, the results may be |
547 unpredictable.]), | 689 unpredictable.]), |
548 [], []) | 690 [], []) |
691 XE_MERGED_ARG([xmu], | |
692 AC_HELP_STRING([--with-xmu],[Use Xmu utilities. Default: yes.]), | |
693 [], []) | |
694 XE_MERGED_ARG([external-widget], | |
695 AC_HELP_STRING([--enable-external-widget],[Support XEmacs server for text widgets in other applications.]), | |
696 [], []) | |
697 dnl | |
698 XE_HELP_SUBSECTION([TTY (character terminal) options]) | |
699 XE_MERGED_ARG([tty], | |
700 AC_HELP_STRING([--with-tty],[Enable TTY support. Default: yes.]), | |
701 [], []) | |
702 XE_MERGED_ARG([ncurses], | |
703 AC_HELP_STRING([--with-ncurses],[Use the ncurses library for tty support.]), | |
704 [], []) | |
549 XE_MERGED_ARG([gpm], | 705 XE_MERGED_ARG([gpm], |
550 AC_HELP_STRING([--with-gpm],[Compile in GPM mouse support for ttys.]), | 706 AC_HELP_STRING([--with-gpm],[Compile in GPM mouse support for ttys.]), |
551 [], []) | 707 [], []) |
708 dnl | |
709 XE_HELP_SUBSECTION([Image options]) | |
552 XE_MERGED_ARG([xpm], | 710 XE_MERGED_ARG([xpm], |
553 AC_HELP_STRING([--with-xpm],[Compile with support for XPM images. PRACTICALLY | 711 AC_HELP_STRING([--with-xpm],[Compile with support for XPM images. PRACTICALLY |
554 REQUIRED. Although this library is nonstandard and | 712 REQUIRED. Although this library is nonstandard and |
555 a real hassle to build, many basic things (e.g. | 713 a real hassle to build, many basic things (e.g. |
556 toolbars) depend on it, and you will run into | 714 toolbars) depend on it, and you will run into |
557 many problems without it.]), | 715 many problems without it.]), |
558 [], []) | 716 [], []) |
559 XE_MERGED_ARG([xface], | 717 XE_MERGED_ARG([png], |
560 AC_HELP_STRING([--with-xface],[Compile with support for X-Face mail headers. | 718 AC_HELP_STRING([--with-png],[Compile with support for PNG images. Recommended |
561 Requires the compface package.]), | 719 because the images on the About page are not viewable |
562 [], []) | 720 without it.]), |
563 XE_MERGED_ARG([gif], | |
564 AC_HELP_STRING([--with-gif],[Compile without the (builtin) support for GIF images.]), | |
565 [], []) | 721 [], []) |
566 XE_MERGED_ARG([jpeg], | 722 XE_MERGED_ARG([jpeg], |
567 AC_HELP_STRING([--with-jpeg],[Compile with support for JPEG images. Useful if | 723 AC_HELP_STRING([--with-jpeg],[Compile with support for JPEG images. Useful if |
568 you are using a mail, news reader, or web browser | 724 you are using a mail, news reader, or web browser |
569 in XEmacs, so that JPEG images can be displayed.]), | 725 in XEmacs, so that JPEG images can be displayed.]), |
570 [], []) | 726 [], []) |
571 XE_MERGED_ARG([png], | |
572 AC_HELP_STRING([--with-png],[Compile with support for PNG images. Recommended | |
573 because the images on the About page are not viewable | |
574 without it.]), | |
575 [], []) | |
576 XE_MERGED_ARG([tiff], | 727 XE_MERGED_ARG([tiff], |
577 AC_HELP_STRING([--with-tiff],[Compile with support for TIFF images. Possibly | 728 AC_HELP_STRING([--with-tiff],[Compile with support for TIFF images. Possibly |
578 useful, for the same reason as JPEG images.]), | 729 useful, for the same reason as JPEG images.]), |
579 [], []) | 730 [], []) |
580 XE_MERGED_ARG([zlib], | 731 XE_MERGED_ARG([xface], |
581 AC_HELP_STRING([--with-zlib],[Support inflate (de)compression internally.]), | 732 AC_HELP_STRING([--with-xface],[Compile with support for X-Face mail headers. |
582 [], []) | 733 Requires the compface package.]), |
583 XE_MERGED_ARG([wmcommand], | 734 [], []) |
584 AC_HELP_STRING([--with-wmcommand],[Compile without realized leader window which will | 735 XE_MERGED_ARG([gif], |
585 keep the WM_COMMAND property.]), | 736 AC_HELP_STRING([--with-gif],[Compile without the (builtin) support for GIF images.]), |
586 [], []) | 737 [], []) |
587 XE_MERGED_ARG([xmu], | 738 dnl |
588 AC_HELP_STRING([--with-xmu],[Use Xmu utilities. Default: yes.]), | 739 XE_HELP_SUBSECTION([Sound options]) |
589 [], []) | |
590 XE_MERGED_ARG([purify], | |
591 AC_HELP_STRING([--with-purify],[Support memory debugging using Purify.]), | |
592 [], []) | |
593 XE_MERGED_ARG([quantify], | |
594 AC_HELP_STRING([--with-quantify],[Support performance debugging using Quantify.]), | |
595 [], []) | |
596 XE_MERGED_ARG([toolbars], | |
597 AC_HELP_STRING([--enable-toolbars],[Enable toolbar support. Default: yes.]), | |
598 [], []) | |
599 XE_MERGED_ARG([tty], | |
600 AC_HELP_STRING([--with-tty],[Enable TTY support. Default: yes.]), | |
601 [], []) | |
602 XE_MERGED_ARG([xfs], | |
603 AC_HELP_STRING([--with-xfs],[Enable XFontSet support for internationalized | |
604 menubar. Incompatible with `--with-xim=motif'. | |
605 `--enable-menubars=lucid' (the default) is desirable.]), | |
606 [], []) | |
607 XE_MERGED_ARG([mule], | |
608 AC_HELP_STRING([--enable-mule],[Compile with Mule (Multi-Lingual Emacs) support, | |
609 needed to support non-Latin-1 (including Asian) | |
610 languages.]), | |
611 [], []) | |
612 XE_MERGED_ARG([default-eol-detection], | |
613 AC_HELP_STRING([--enable-default-eol-detection],[Turns on by default auto-detection of end-of-line type | |
614 when reading a file. Applies to those platforms where | |
615 auto-detection is off by default (non-Mule Unix). Has | |
616 no effect otherwise.]), | |
617 [], []) | |
618 XE_MERGED_ARG([canna], | |
619 AC_HELP_STRING([--with-canna],[Support the Canna Japanese input method. Requires Mule.]), | |
620 [], []) | |
621 XE_MERGED_ARG([wnn], | |
622 AC_HELP_STRING([--with-wnn],[Support the Wnn Asian language input | |
623 method. Requires Mule.]), | |
624 [], []) | |
625 XE_MERGED_ARG([wnn6], | |
626 AC_HELP_STRING([--with-wnn6],[Support the Wnn6 Asian language input | |
627 method (proprietary). Requires Mule.]), | |
628 [], []) | |
629 XE_MERGED_ARG([workshop], | |
630 AC_HELP_STRING([--with-workshop],[Support the Sun WorkShop (formerly Sparcworks) | |
631 development environment.]), | |
632 [], []) | |
633 XE_MERGED_ARG([sparcworks], | |
634 AC_HELP_STRING([--with-sparcworks],[Alias for --with-workshop]), | |
635 [], []) | |
636 XE_MERGED_ARG([tooltalk], | |
637 AC_HELP_STRING([--with-tooltalk],[Support the ToolTalk IPC protocol.]), | |
638 [], []) | |
639 XE_MERGED_ARG([ldap], | |
640 AC_HELP_STRING([--with-ldap],[Support the LDAP protocol.]), | |
641 [], []) | |
642 XE_MERGED_ARG([postgresql], | |
643 AC_HELP_STRING([--with-postgresql],[Support the PostgreSQL RDBMS.]), | |
644 [], []) | |
645 XE_MERGED_ARG([pop], | |
646 AC_HELP_STRING([--with-pop],[Support POP for mail retrieval.]), | |
647 [], []) | |
648 XE_MERGED_ARG([kerberos], | |
649 AC_HELP_STRING([--with-kerberos],[Support Kerberos-authenticated POP.]), | |
650 [], []) | |
651 XE_MERGED_ARG([hesiod], | |
652 AC_HELP_STRING([--with-hesiod],[Support Hesiod to get the POP server host.]), | |
653 [], []) | |
654 XE_MERGED_ARG([infodock], | |
655 AC_HELP_STRING([--with-infodock],[Support the Infodock version of XEmacs. Infodock is a SourceForge project).]), | |
656 [], []) | |
657 XE_MERGED_ARG([native-sound-lib], | |
658 AC_HELP_STRING([--with-native-sound-lib],[Path to sound library (for systems with name conflicts).]), | |
659 [], []) | |
660 XE_MERGED_ARG([netinstall], | |
661 AC_HELP_STRING([--with-netinstall],[Support for installation over the internet. | |
662 Only functional on the MS Windows platforms.]), | |
663 [], [with_netinstall="no"]) | |
664 XE_MERGED_ARG([optimization], | |
665 AC_HELP_STRING([--with-optimization],[Control whether compilation is optimized. By default, optimization is on in release versions and off in beta versions, since it can interfere with proper stack backtraces.]), | |
666 [], []) | |
667 XE_MERGED_ARG([ipv6-cname], | |
668 AC_HELP_STRING([--with-ipv6-cname],[Try IPv6 information first when canonicalizing host names. This option has no effect unless system supports getaddrinfo(3) and getnameinfo(3).]), | |
669 [], [with_ipv6_cname="no"]) | |
670 XE_MERGED_ARG([site-includes], | |
671 AC_HELP_STRING([--with-site-includes],[Prepend to include search path.]), | |
672 [], []) | |
673 XE_MERGED_ARG([site-libraries], | |
674 AC_HELP_STRING([--with-site-libraries],[Prepend to library search path.]), | |
675 [], []) | |
676 XE_MERGED_ARG([site-prefixes], | |
677 AC_HELP_STRING([--with-site-prefixes],[Prepend to include and library search paths, with /include and /lib added. Comes after site-includes and site-libraries, if any.]), | |
678 [], []) | |
679 XE_MERGED_ARG([statedir], | |
680 AC_HELP_STRING([--with-statedir],[]), | |
681 [], [with_statedir='${prefix}/lib']) | |
682 XE_MERGED_ARG([lispdir], | |
683 AC_HELP_STRING([--with-lispdir],[]), | |
684 [AC_DEFINE(LISPDIR_USER_DEFINED)], [with_lispdir='${datadir}/${instvardir}/lisp']) | |
685 XE_MERGED_ARG([archlibdir], | |
686 AC_HELP_STRING([--with-archlibdir],[]), | |
687 [AC_DEFINE(ARCHLIBDIR_USER_DEFINED)], [with_archlibdir='${libdir}/${instvardir}/${configuration}']) | |
688 XE_MERGED_ARG([moduledir], | |
689 AC_HELP_STRING([--with-moduledir],[]), | |
690 [AC_DEFINE(MODULEDIR_USER_DEFINED)], [with_moduledir='${libdir}/${instvardir}/${configuration}/modules']) | |
691 XE_MERGED_ARG([etcdir], | |
692 AC_HELP_STRING([--with-etcdir],[]), | |
693 [AC_DEFINE(ETCDIR_USER_DEFINED)], [with_etcdir='${datadir}/${instvardir}/etc']) | |
694 XE_MERGED_ARG([infopath], | |
695 AC_HELP_STRING([--with-infopath],[]), | |
696 [AC_DEFINE(INFOPATH_USER_DEFINED)], []) | |
697 XE_MERGED_ARG([docdir], | |
698 AC_HELP_STRING([--with-docdir],[]), | |
699 [AC_DEFINE(DOCDIR_USER_DEFINED)], [with_docdir='${archlibdir}']) | |
700 XE_MERGED_ARG([site-runtime-libraries], | |
701 AC_HELP_STRING([--with-site-runtime-libraries],[]), | |
702 [], []) | |
703 XE_MERGED_ARG([package-prefix], | |
704 AC_HELP_STRING([--with-package-prefix],[Specify packages root.]), | |
705 [AC_DEFINE(PACKAGE_PATH_USER_DEFINED)], []) | |
706 XE_MERGED_ARG([package-path], | |
707 AC_HELP_STRING([--with-package-path],[Search path for package hierarchies.]), | |
708 [AC_DEFINE(PACKAGE_PATH_USER_DEFINED)], []) | |
709 XE_MERGED_ARG([external-widget], | |
710 AC_HELP_STRING([--enable-external-widget],[Support XEmacs server for text widgets in other applications.]), | |
711 [], []) | |
712 XE_MERGED_ARG([kkcc], | |
713 AC_HELP_STRING([--enable-kkcc],[Enable new GC algorithms.]), | |
714 [], [enable_kkcc=yes]) | |
715 XE_MERGED_ARG([mc-alloc], | |
716 AC_HELP_STRING([--enable-mc-alloc],[Enable new allocator.]), | |
717 [], [enable_mc_alloc=yes]) | |
718 XE_MERGED_ARG([union-type], | |
719 AC_HELP_STRING([--enable-union-type],[Use union definition of Lisp_Object type. Known to trigger bugs in some compilers.]), | |
720 [], []) | |
721 XE_MERGED_ARG([pdump], | |
722 AC_HELP_STRING([--enable-pdump],[Enable portable LISP preloader.]), | |
723 [], []) | |
724 XE_MERGED_ARG([dump-in-exec], | |
725 AC_HELP_STRING([--enable-dump-in-exec],[Enable dumping into executable (enabled by default | |
726 for `pdump', not enabled by default in combination | |
727 with `mc-alloc').]), | |
728 [], []) | |
729 XE_MERGED_ARG([debug], | |
730 AC_HELP_STRING([--enable-debug],[Enable additional debugging information. No time cost.]), | |
731 [], []) | |
732 XE_MERGED_ARG([assertions], | |
733 AC_HELP_STRING([--enable-assertions],[]), | |
734 [], []) | |
735 XE_MERGED_ARG([memory-usage-stats], | |
736 AC_HELP_STRING([--enable-memory-usage-stats],[Enable LISP memory usage API.]), | |
737 [], []) | |
738 XE_MERGED_ARG([clash-detection], | |
739 AC_HELP_STRING([--enable-clash-detection],[Disable use of lock files to detect multiple edits | |
740 of the same file.]), | |
741 [], []) | |
742 XE_MERGED_ARG([modules], | |
743 AC_HELP_STRING([--enable-modules],[Compile in experimental support for dynamically | |
744 loaded libraries (Dynamic Shared Objects).]), | |
745 [], []) | |
746 XE_MERGED_ARG([quick-build], | |
747 AC_HELP_STRING([--enable-quick-build],[Speed up the build cycle by leaving out steps where | |
748 XEmacs will still work (more or less) without them. | |
749 Potentially dangerous if you don't know what you're | |
750 doing. This (1) doesn't garbage-collect after loading | |
751 each file during dumping, (2) doesn't | |
752 automatically rebuild the DOC file (remove it by hand | |
753 to get it rebuilt), (3) Removes config.h, lisp.h and | |
754 associated files from the dependency lists, so changes | |
755 to these files don't automatically cause all .c files | |
756 to be rebuilt.]), | |
757 [], []) | |
758 | |
759 XE_MERGED_ARG([compiler], | |
760 AC_HELP_STRING([--with-compiler],[C compiler to use]), | |
761 [], []) | |
762 | |
763 XE_MERGED_ARG([xemacs-compiler], | |
764 AC_HELP_STRING([--with-xemacs-compiler], | |
765 [compiler to use to compile just the xemacs executable and C modules. | |
766 If you want to compile XEmacs as C++, use e.g. | |
767 `--with-xemacs-compiler=g++'. This turns on a lot of | |
768 additional error-checking.]), | |
769 [], []) | |
770 | |
771 XE_MERGED_ARG([cflags], | |
772 AC_HELP_STRING([--with-cflags], | |
773 [Compiler flags. These flags will be placed after any flags inserted for warnings, debugging or optimization; setting this does not disable the insertion of those flags. Use configure settings such as `--with-optimization=no' or `enable-debug=no' to turn them off, or override them with `--with-cflags-optimization', `--with-cflags-debugging', or `with-cflags-warning'.]), | |
774 [], []) | |
775 | |
776 XE_MERGED_ARG([cflags-warning], | |
777 AC_HELP_STRING([--with-cflags-warning],[Override compiler flags used to control warnings. | |
778 Normally, don't set this, as XEmacs already turns on | |
779 the maximum safe warning level.]), | |
780 [], []) | |
781 | |
782 XE_MERGED_ARG([cflags-optimization], | |
783 AC_HELP_STRING([--with-cflags-optimization=FLAGS], | |
784 [Override compiler flags used to control optimization. If blank, forces no optimization; if non-blank, forces optimization. Normally, don't set this; XEmacs automatically sets the maximum safe optimization flags appropriate for the compiler being invoked. If you just want to turn optimization on or off, use `with-optimization' instead.]), | |
785 [], []) | |
786 | |
787 XE_MERGED_ARG([cflags-debugging], | |
788 AC_HELP_STRING([--with-cflags-debugging=FLAGS], | |
789 [Override compiler flags used to add debugging information to the executable. Normally, debugging information is added whenever possible (i.e. unless optimization is turned on and the compiler does not permit debugging and optimization simultaneously).]), | |
790 [], []) | |
791 | |
792 XE_MERGED_ARG([cpp], | |
793 AC_HELP_STRING([--with-cpp],[C preprocessor to use (e.g. /usr/ccs/lib/cpp or cc -E)]), | |
794 [CPP="$with_cpp"], []) | |
795 | |
796 XE_MERGED_ARG([cppflags], | |
797 AC_HELP_STRING([--with-cppflags],[C preprocessor flags (e.g. -I/foo or -Dfoo=bar)]), | |
798 [CPPFLAGS="$with_cppflags"], []) | |
799 | |
800 XE_MERGED_ARG([libs], | |
801 AC_HELP_STRING([--with-libs],[Additional libraries (e.g. -lfoo)]), | |
802 [LIBS="$with_libs"], []) | |
803 | |
804 XE_MERGED_ARG([ldflags], | |
805 AC_HELP_STRING([--with-ldflags],[Additional linker flags (e.g. -L/foo)]), | |
806 [LDFLAGS="$with_ldflags"], []) | |
807 | |
808 XE_MERGED_ARG([rel-alloc], | |
809 AC_HELP_STRING([--with-rel-alloc],[Enable the relocating allocator.]), | |
810 [], [with_rel_alloc='default']) | |
811 | |
812 XE_MERGED_ARG([dlmalloc], | |
813 AC_HELP_STRING([--with-dlmalloc],[Use Doug Lea's malloc implementation.]), | |
814 [], [with_dlmalloc='default']) | |
815 | |
816 XE_MERGED_ARG([debug-malloc], | |
817 AC_HELP_STRING([--with-debug-malloc],[Use a debugging malloc.]), | |
818 [], []) | |
819 | |
820 XE_MERGED_ARG([system-malloc], | |
821 AC_HELP_STRING([--with-system-malloc],[Use the system malloc, not the one distributed with XEmacs.]), | |
822 [], [with_system_malloc='default']) | |
823 | |
824 #Enable code. | |
825 | |
826 XE_COMPLEX_ARG([database], | |
827 AC_HELP_STRING([--enable-database],[Compile with database support. Valid types are | |
828 `no' or a comma-separated list of one or more | |
829 of `berkdb' and either `dbm' or `gnudbm'.]), | |
830 [ | |
831 if test "$enable_database_dbm" = "yes" -a "$enable_database_gdbm" = "yes"; then | |
832 USAGE_ERROR("Only one of \`dbm' and \`gnudbm' may be specified | |
833 with the \`--with-database' option.") | |
834 fi | |
835 ], | |
836 [], | |
837 [XE_COMPLEX_OPTION([berkdb],[""]), | |
838 XE_COMPLEX_OPTION([dbm],[""]), | |
839 XE_COMPLEX_OPTION([gdbm],[""])]) | |
840 | |
841 XE_COMPLEX_ARG([sound], | 740 XE_COMPLEX_ARG([sound], |
842 AC_HELP_STRING([--enable-sound],[Compile with sound support. | 741 AC_HELP_STRING([--enable-sound=TYPE],[Compile with sound support. |
843 Valid types are `native', `nas' and `esd'. | 742 Valid types are `native', `nas' and `esd'. |
844 Prefix a type with 'no' to disable. | 743 Prefix a type with 'no' to disable. |
845 The first type can be `none' or `all'. `none' means | 744 The first type can be `none' or `all'. `none' means |
846 `nonative,nonas,noesd'. `all' means `native,nas,esd'. | 745 `nonative,nonas,noesd'. `all' means `native,nas,esd'. |
847 Later options override earlier ones for the same TYPE. | 746 Later options override earlier ones for the same TYPE. |
850 [], | 749 [], |
851 [enable_sound_nas=""], | 750 [enable_sound_nas=""], |
852 [XE_COMPLEX_OPTION([native],[""]), | 751 [XE_COMPLEX_OPTION([native],[""]), |
853 XE_COMPLEX_OPTION([nas],[""]), | 752 XE_COMPLEX_OPTION([nas],[""]), |
854 XE_COMPLEX_OPTION([esd],[no])]) | 753 XE_COMPLEX_OPTION([esd],[no])]) |
855 | 754 XE_MERGED_ARG([native-sound-lib], |
856 XE_KEYWORD_ARG([athena], | 755 AC_HELP_STRING([--with-native-sound-lib],[Path to sound library (for systems with name conflicts).]), |
857 AC_HELP_STRING([--with-athena],[Use TYPE Athena widgets (xaw, 3d, next, 95, or xpm).]), | 756 [], []) |
858 [],[],[xaw,3d,next,95,xpm])dnl | 757 dnl |
859 | 758 XE_HELP_SUBSECTION([Internationalization options]) |
860 XE_KEYWORD_ARG([xim],[],[],[],[yes,no,xlib,motif])dnl | 759 XE_MERGED_ARG([mule], |
861 | 760 AC_HELP_STRING([--enable-mule],[Compile with Mule (Multi-Lingual Emacs) support, |
761 needed to support non-Latin-1 (including Asian) | |
762 languages.]), | |
763 [], []) | |
764 XE_KEYWORD_ARG([xim], | |
765 AC_HELP_STRING([--with-xim==TYPE],[Enable XIM support. TYPE is `yes', `no', `xlib', or `motif']), | |
766 [],[],[yes,no,xlib,motif])dnl | |
767 XE_MERGED_ARG([canna], | |
768 AC_HELP_STRING([--with-canna],[Support the Canna Japanese input method. Requires Mule.]), | |
769 [], []) | |
770 XE_MERGED_ARG([wnn], | |
771 AC_HELP_STRING([--with-wnn],[Support the Wnn Asian language input | |
772 method. Requires Mule.]), | |
773 [], []) | |
774 XE_MERGED_ARG([wnn6], | |
775 AC_HELP_STRING([--with-wnn6],[Support the Wnn6 Asian language input | |
776 method (proprietary). Requires Mule.]), | |
777 [], []) | |
778 XE_MERGED_ARG([xfs], | |
779 AC_HELP_STRING([--with-xfs],[Enable XFontSet support for internationalized | |
780 menubar. Incompatible with `--with-xim=motif'. | |
781 `--enable-menubars=lucid' (the default) is desirable.]), | |
782 [], []) | |
783 dnl | |
784 XE_HELP_SUBSECTION([File-related options]) | |
785 XE_MERGED_ARG([default-eol-detection], | |
786 AC_HELP_STRING([--enable-default-eol-detection],[Turns on by default auto-detection of end-of-line type | |
787 when reading a file. Applies to those platforms where | |
788 auto-detection is off by default (non-Mule Unix). Has | |
789 no effect otherwise.]), | |
790 [], []) | |
791 XE_MERGED_ARG([clash-detection], | |
792 AC_HELP_STRING([--enable-clash-detection],[Disable use of lock files to detect multiple edits | |
793 of the same file.]), | |
794 [], []) | |
795 XE_MERGED_ARG([zlib], | |
796 AC_HELP_STRING([--with-zlib],[Support inflate (de)compression internally.]), | |
797 [], []) | |
798 dnl | |
799 XE_HELP_SUBSECTION([Database options]) | |
800 XE_COMPLEX_ARG([database], | |
801 AC_HELP_STRING([--enable-database=TYPE],[Compile with database support. Valid types are | |
802 `no' or a comma-separated list of one or more | |
803 of `berkdb' and either `dbm' or `gnudbm'.]), | |
804 [ | |
805 if test "$enable_database_dbm" = "yes" -a "$enable_database_gdbm" = "yes"; then | |
806 USAGE_ERROR("Only one of \`dbm' and \`gnudbm' may be specified | |
807 with the \`--with-database' option.") | |
808 fi | |
809 ], | |
810 [], | |
811 [XE_COMPLEX_OPTION([berkdb],[""]), | |
812 XE_COMPLEX_OPTION([dbm],[""]), | |
813 XE_COMPLEX_OPTION([gdbm],[""])]) | |
814 XE_MERGED_ARG([ldap], | |
815 AC_HELP_STRING([--with-ldap],[Support the LDAP protocol.]), | |
816 [], []) | |
817 XE_MERGED_ARG([postgresql], | |
818 AC_HELP_STRING([--with-postgresql],[Support the PostgreSQL RDBMS.]), | |
819 [], []) | |
820 dnl | |
821 XE_HELP_SUBSECTION([Mail options]) | |
862 XE_KEYWORD_ARG([mail-locking], | 822 XE_KEYWORD_ARG([mail-locking], |
863 AC_HELP_STRING([--with-mail-locking],[Specify the locking to be used by movemail to prevent | 823 AC_HELP_STRING([--with-mail-locking=TYPE],[Specify the locking to be used by movemail to prevent |
864 concurrent updates of mail spool files. Valid types | 824 concurrent updates of mail spool files. Valid types |
865 are `lockf', `flock', `dot', `locking' or `mmdf'.]), | 825 are `lockf', `flock', `file', `locking', `mmdf' or `pop'.]), |
866 [],[],[lockf,flock,file,locking,mmdf,pop])dnl | 826 [],[],[lockf,flock,file,locking,mmdf,pop])dnl |
867 | 827 XE_MERGED_ARG([pop], |
868 | 828 AC_HELP_STRING([--with-pop],[Support POP for mail retrieval.]), |
829 [], []) | |
830 XE_MERGED_ARG([kerberos], | |
831 AC_HELP_STRING([--with-kerberos],[Support Kerberos-authenticated POP.]), | |
832 [], []) | |
833 XE_MERGED_ARG([hesiod], | |
834 AC_HELP_STRING([--with-hesiod],[Support Hesiod to get the POP server host.]), | |
835 [], []) | |
836 dnl | |
837 XE_HELP_SUBSECTION([Networking options]) | |
838 XE_MERGED_ARG([tooltalk], | |
839 AC_HELP_STRING([--with-tooltalk],[Support the ToolTalk IPC protocol.]), | |
840 [], []) | |
841 XE_MERGED_ARG([socks], | |
842 AC_HELP_STRING([--with-socks],[Compile with support for SOCKS (an Internet proxy).]), | |
843 [], []) | |
844 XE_MERGED_ARG([dnet], | |
845 AC_HELP_STRING([--with-dnet],[Compile with support for DECnet.]), | |
846 [], []) | |
847 XE_MERGED_ARG([ipv6-cname], | |
848 AC_HELP_STRING([--with-ipv6-cname],[Try IPv6 information first when canonicalizing host names. This option has no effect unless system supports getaddrinfo(3) and getnameinfo(3).]), | |
849 [], [with_ipv6_cname="no"]) | |
850 dnl | |
851 XE_HELP_SUBSECTION([Memory allocation options]) | |
852 XE_MERGED_ARG([rel-alloc], | |
853 AC_HELP_STRING([--with-rel-alloc],[Enable the relocating allocator.]), | |
854 [], [with_rel_alloc='default']) | |
855 XE_MERGED_ARG([dlmalloc], | |
856 AC_HELP_STRING([--with-dlmalloc],[Use Doug Lea's malloc implementation.]), | |
857 [], [with_dlmalloc='default']) | |
858 XE_MERGED_ARG([system-malloc], | |
859 AC_HELP_STRING([--with-system-malloc],[Use the system malloc, not the one distributed with XEmacs.]), | |
860 [], [with_system_malloc='default']) | |
861 XE_MERGED_ARG([debug-malloc], | |
862 AC_HELP_STRING([--with-debug-malloc],[Use a debugging malloc.]), | |
863 [], []) | |
864 XE_MERGED_ARG([pdump], | |
865 AC_HELP_STRING([--enable-pdump],[Enable portable LISP preloader.]), | |
866 [], []) | |
867 XE_MERGED_ARG([dump-in-exec], | |
868 AC_HELP_STRING([--enable-dump-in-exec],[Enable dumping into executable (enabled by default | |
869 for `pdump', not enabled by default in combination | |
870 with `mc-alloc').]), | |
871 [], []) | |
872 XE_MERGED_ARG([kkcc], | |
873 AC_HELP_STRING([--enable-kkcc],[Enable experimental new GC algorithms.]), | |
874 [], [enable_kkcc=yes]) | |
875 XE_MERGED_ARG([mc-alloc], | |
876 AC_HELP_STRING([--enable-mc-alloc],[Enable experimental new allocator.]), | |
877 [], [enable_mc_alloc=yes]) | |
878 dnl | |
879 XE_HELP_SUBSECTION([Emacs Lisp options]) | |
880 XE_MERGED_ARG([modules], | |
881 AC_HELP_STRING([--enable-modules],[Compile in experimental support for dynamically | |
882 loaded libraries (Dynamic Shared Objects).]), | |
883 [], []) | |
869 XE_KEYWORD_ARG([bignum], | 884 XE_KEYWORD_ARG([bignum], |
870 AC_HELP_STRING([--enable-bignum=TYPE],[Compile in support for bignums, ratios, or bigfloats | 885 AC_HELP_STRING([--enable-bignum=TYPE],[Compile in support for bignums, ratios, or bigfloats |
871 using library support. TYPE must be one of "gmp" | 886 using library support. TYPE must be one of "gmp" |
872 (for GNU MP), "mp" (for BSD MP), or "no" (disabled).]), | 887 (for GNU MP), "mp" (for BSD MP), or "no" (disabled).]), |
873 [], [enable_bignum="no"],[no,gmp,mp]) | 888 [], [enable_bignum="no"],[no,gmp,mp]) |
874 | 889 dnl |
890 XE_HELP_SUBSECTION([Platform Specific options]) | |
891 XE_MERGED_ARG([workshop], | |
892 AC_HELP_STRING([--with-workshop],[Support the Sun WorkShop (formerly Sparcworks) | |
893 development environment.]), | |
894 [], []) | |
895 XE_MERGED_ARG([sparcworks], | |
896 AC_HELP_STRING([--with-sparcworks],[Alias for --with-workshop]), | |
897 [], []) | |
898 XE_MERGED_ARG([infodock], | |
899 AC_HELP_STRING([--with-infodock],[Support the Infodock version of XEmacs. Infodock is a SourceForge project).]), | |
900 [], []) | |
901 dnl | |
902 XE_HELP_SUBSECTION([Debugging options]) | |
903 XE_MERGED_ARG([debug], | |
904 AC_HELP_STRING([--enable-debug],[Enable additional debugging information. No time cost.]), | |
905 [], []) | |
875 XE_COMPLEX_ARG([error-checking], | 906 XE_COMPLEX_ARG([error-checking], |
876 AC_HELP_STRING([--enable-error-checking],[Compile with internal error-checking added. | 907 AC_HELP_STRING([--enable-error-checking=TESTS],[Compile with internal error-checking added. |
877 Causes noticeable loss of speed. Valid types | 908 Causes noticeable loss of speed. Valid TESTS |
878 are extents, bufpos, malloc, gc, types, text, byte_code, glyphs, display, structures.]), | 909 are `extents', `bufpos', `malloc', `gc', `types', `text', `byte_code', `glyphs', `display', `structures'.]), |
879 [], [], | 910 [], [], |
880 [XE_COMPLEX_OPTION([extents],[""]), | 911 [XE_COMPLEX_OPTION([extents],[""]), |
881 XE_COMPLEX_OPTION([types],[""]), | 912 XE_COMPLEX_OPTION([types],[""]), |
882 XE_COMPLEX_OPTION([text],[""]), | 913 XE_COMPLEX_OPTION([text],[""]), |
883 XE_COMPLEX_OPTION([gc],[""]), | 914 XE_COMPLEX_OPTION([gc],[""]), |
884 XE_COMPLEX_OPTION([malloc],[""]), | 915 XE_COMPLEX_OPTION([malloc],[""]), |
885 XE_COMPLEX_OPTION([byte_code],[""]), | 916 XE_COMPLEX_OPTION([byte_code],[""]), |
886 XE_COMPLEX_OPTION([glyphs],[""]), | 917 XE_COMPLEX_OPTION([glyphs],[""]), |
887 XE_COMPLEX_OPTION([display],[""]), | 918 XE_COMPLEX_OPTION([display],[""]), |
888 XE_COMPLEX_OPTION([structures],[""])]) | 919 XE_COMPLEX_OPTION([structures],[""])]) |
889 | 920 XE_MERGED_ARG([assertions], |
890 XE_KEYWORD_ARG([menubars], | 921 AC_HELP_STRING([--enable-assertions],[Compile in runtime assertions.]), |
891 AC_HELP_STRING([--enable-menubars=TYPE],[Use TYPE menubars (lucid, motif, or no). The Lucid | 922 [], []) |
892 widgets emulate Motif (mostly) but are faster. | 923 XE_MERGED_ARG([memory-usage-stats], |
893 *WARNING* The Motif menubar is currently broken. | 924 AC_HELP_STRING([--enable-memory-usage-stats],[Enable LISP memory usage API.]), |
894 Lucid menubars are the default.]), | 925 [], []) |
895 [], [],[yes,no,lucid,motif,athena,gtk,msw]) | 926 XE_MERGED_ARG([quick-build], |
896 | 927 AC_HELP_STRING([--enable-quick-build],[Speed up the build cycle by leaving out steps where |
897 XE_KEYWORD_ARG([scrollbars], | 928 XEmacs will still work (more or less) without them. |
898 AC_HELP_STRING([--enable-scrollbars=TYPE],[Use TYPE scrollbars (lucid, motif, athena, or no). | 929 Potentially dangerous if you don't know what you're |
899 Lucid scrollbars are the default.]), | 930 doing. This (1) doesn't garbage-collect after loading |
900 [], [],[yes,no,lucid,motif,athena,gtk,msw]) | 931 each file during dumping, (2) doesn't |
901 | 932 automatically rebuild the DOC file (remove it by hand |
902 XE_KEYWORD_ARG([dialogs], | 933 to get it rebuilt), (3) Removes config.h, lisp.h and |
903 AC_HELP_STRING([--enable-dialogs=TYPE],[Use TYPE dialog boxes (lucid, motif, athena, or no). | 934 associated files from the dependency lists, so changes |
904 There are no true Lucid dialogs; Motif dialogs will be | 935 to these files don't automatically cause all .c files |
905 used if Motif can be found, else Athena is used.]), | 936 to be rebuilt.]), |
906 [], [],[yes,no,lucid,motif,athena,gtk,msw]) | 937 [], []) |
907 | 938 XE_MERGED_ARG([union-type], |
908 XE_KEYWORD_ARG([widgets], | 939 AC_HELP_STRING([--enable-union-type],[Use union definition of Lisp_Object type. Known to trigger bugs in some compilers.]), |
909 AC_HELP_STRING([--enable-widgets],[Use TYPE native widgets (lucid, motif, athena, or no). | 940 [], []) |
910 Other widget types are currently unsupported. | 941 XE_MERGED_ARG([quantify], |
911 There are no true Lucid widgets; Motif widgets will be | 942 AC_HELP_STRING([--with-quantify],[Support performance debugging using Quantify.]), |
912 used if Motif can be found, else Athena is used.]), | 943 [], []) |
913 [], [],[yes,no,lucid,motif,athena,gtk,msw]) | 944 XE_MERGED_ARG([purify], |
914 | 945 AC_HELP_STRING([--with-purify],[Support memory debugging using Purify.]), |
946 [], []) | |
915 dnl ------------------------------------------------------------------------- | 947 dnl ------------------------------------------------------------------------- |
916 dnl Final command line argument checks. | 948 dnl Final command line argument checks. |
917 | 949 |
918 dnl --with-quantify or --with-purify imply --with-system-malloc | 950 dnl --with-quantify or --with-purify imply --with-system-malloc |
919 if test "$with_purify" = "yes" -o "$with_quantify" = "yes"; then | 951 if test "$with_purify" = "yes" -o "$with_quantify" = "yes"; then |