comparison configure.in @ 215:1f0dabaa0855 r20-4b6

Import from CVS: tag r20-4b6
author cvs
date Mon, 13 Aug 2007 10:07:35 +0200
parents 78f53ef88e17
children d44af0c54775
comparison
equal deleted inserted replaced
214:c5d88c05e1e9 215:1f0dabaa0855
323 dnl libexecdir='${exec_prefix}/libexec' 323 dnl libexecdir='${exec_prefix}/libexec'
324 datadir='${prefix}/lib' 324 datadir='${prefix}/lib'
325 statedir='${prefix}/lib' 325 statedir='${prefix}/lib'
326 libdir='${exec_prefix}/lib' 326 libdir='${exec_prefix}/lib'
327 mandir='${prefix}/man/man1' 327 mandir='${prefix}/man/man1'
328 infodir='${prefix}/lib/xemacs-${version}/info' 328 infodir='${datadir}/xemacs-${version}/info'
329 infodir_user_defined='no' 329 infodir_user_defined='no'
330 dnl BETA NOTE: ! Will you please add to this list? Nonexistent dirs 330 dnl BETA NOTE: ! Will you please add to this list? Nonexistent dirs
331 dnl are dropped from the list at runtime, so it is safe to add 331 dnl are dropped from the list at runtime, so it is safe to add
332 dnl directories to this list that you don't have at home. 332 dnl directories to this list that you don't have at home.
333 infopath='/usr/info:/usr/local/info:/usr/lib/texmf/doc/info:/usr/local/lib/texmf/doc/info' 333 infopath='/usr/local/info:/usr/info:/usr/local/lib/texmf/doc/info:/usr/lib/texmf/doc/info'
334 infopath_user_defined='no' 334 infopath_user_defined='no'
335 lispdir='${datadir}/xemacs-${version}/lisp' 335 lispdir='${datadir}/xemacs-${version}/lisp'
336 lispdir_user_defined='no' 336 lispdir_user_defined='no'
337 sitelispdir='${datadir}/xemacs/site-lisp' 337 sitelispdir='${datadir}/xemacs/site-lisp'
338 etcdir='${datadir}/xemacs-${version}/etc' 338 etcdir='${datadir}/xemacs-${version}/etc'
361 dnl the following is set to yes or no later. 361 dnl the following is set to yes or no later.
362 with_toolbars="" 362 with_toolbars=""
363 with_tty="" 363 with_tty=""
364 use_union_type="no" 364 use_union_type="no"
365 with_dnet="" 365 with_dnet=""
366
367 dnl Usage message (get it via -help)
368 usage="Usage: $progname CONFIGURATION [[-OPTION[=VALUE] ...]]
369
370 Set compilation and installation parameters for XEmacs, and report.
371 CONFIGURATION specifies the machine and operating system to build for.
372
373 Note that for most of the following options, you can explicitly enable
374 them using \`--OPTION=yes' and explicitly disable them using \`--OPTION=no'.
375 This is especially useful for auto-detected options.
376
377 Options marked with a (*) are autodetected.
378
379 Use colons (or quoted spaces) to separate directory names in option
380 values which are PATHs (i.e. lists of directories).
381
382 General options:
383
384 --help Issue this usage message.
385 --verbose Display the results of configure tests.
386 --extra-verbose Display even more information, useful for debugging.
387
388
389 Compilation options:
390
391 --compiler=XXXX Specify compiler. Overrides environment variable CC.
392 --with-gcc (*) Use GCC to compile XEmacs.
393 --with-gcc=no Don't use GCC to compile XEmacs.
394 --with-gnu-make Write the Makefiles to take advantage of
395 special features of GNU Make. (GNU Make
396 works fine on the Makefiles even without this
397 option. This just allows for simultaneous
398 in-place and --srcdir building.)
399 --cflags=FLAGS Compiler flags. Overrides environment variable CFLAGS.
400 --site-includes=PATH List of directories to search first for header files.
401 --site-libraries=PATH List of directories to search first for libraries.
402 --site-prefixes=PATH List of directories to search for include/ and lib/
403 subdirectories, just after 'site-includes' and
404 'site-libraries'.
405 --site-runtime-libraries=PATH
406 List of ALL directories to search for dynamically
407 linked libraries at run time.
408 --dynamic=yes Link dynamically if supported by system.
409 --dynamic=no Force static linking on systems where dynamic
410 linking is the default.
411 --srcdir=DIR Look for the XEmacs source files in DIR.
412 See also --with-gnu-make.
413 --const-is-losing=no Allow the use of const in the source code.
414
415
416 Installation options:
417
418 --prefix=DIR Install files below DIR. Defaults to \`$prefix'.
419
420
421 Window-system options:
422
423 --with-x11 (*) Support the X Window System.
424 --with-x11=no Don't support X.
425 --x-includes=DIR Search for X header files in DIR.
426 --x-libraries=DIR Search for X libraries in DIR.
427 --with-toolbars=no Don't compile with any toolbar support.
428 --with-session=no Compile without realized leader window which will
429 keep the WM_COMMAND property. Required for proper
430 session-management.
431 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid
432 widgets emulate Motif (mostly) but are faster.
433 *WARNING* The Motif menubar is currently broken.
434 --with-scrollbars=TYPE Use TYPE scrollbars
435 (lucid, motif, athena, athena3d, or no).
436 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, athena3d, or no).
437 Lucid menubars and scrollbars are the default.
438 Motif dialog boxes will be used if Motif can be found.
439 --with-cde (*) Compile in support for CDE drag and drop.
440 --with-offix (*) Compile in support for OffiX drag and drop.
441 --with-xmu=no (*) For those unfortunates whose vendors don't ship Xmu.
442 --external-widget Compile with external widget support.
443 --with-gif Compile with support for GIF image conversion.
444 This support is built-in and defaults to \`yes'.
445 --with-xpm (*) Compile with support for XPM files.
446 It is highly recommended that you obtain XPM
447 (version 3.4h or better) if you don't already
448 have it. Get it from the XEmacs FTP site.
449 --with-xface (*) Compile with support for X-Face mail header
450 conversion. Requires the compface library.
451 Get it from the XEmacs FTP site.
452 --with-imagick (*) Compile with support for ImageMagick image conversion.
453 Requires ImageMagick from wizards.dupont.com and
454 libraries for whatever image types you wish to have
455 supported.
456 Get it from the XEmacs FTP site.
457
458
459 TTY options:
460
461 --with-tty=no Don't support TTY-s.
462 --with-ncurses (*) Use the ncurses library for tty support.
463 --with-gpm (*) Compile in support for General Purpose Mouse.
464
465
466 Additional features:
467
468 --with-tooltalk (*) Support the ToolTalk IPC protocol.
469 --with-workshop Support the Sun WorkShop (formerly Sparcworks)
470 development environment.
471 --with-energize Support the Lucid Energize development environment.
472 This doesn't currently work.
473 --with-socks Compile with support for SOCKS (an Internet proxy).
474 --with-term Compile with support for TERM (a way to multiplex
475 serial lines and provide vaguely Internet-like
476 functionality over a simple dialup connection,
477 used on Linux and other systems. NOTE: We can't
478 guarantee that our TERM support coexists well
479 with standard Internet connections).
480 --with-database=type (*) Compile with database support. Valid types are
481 \`no' or a comma-separated list of one or more
482 of \`dbm', \`gnudbm', or \`berkdb'.
483 --with-sound=native (*) Compile with native sound support.
484 --with-sound=nas Compile with network sound support.
485 --with-sound=both Compile with native and network sound support.
486 --native-sound-lib=LIB Native sound support library. Needed on Suns
487 with --with-sound=both because both sound libraries
488 are called libaudio.
489 --with-pop support POP for mail retrieval
490 --with-kerberos support Kerberos-authenticated POP
491 --with-hesiod support Hesiod to get the POP server host
492 --with-dnet (*) Compile with support for DECnet.
493 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent
494 concurrent updates of mail spool files. Valid types
495 are \`lockf', \`flock', and \`file'.
496 --package-path=PATH Directories to search for packages to dump with xemacs.
497 Defaults to \`$prefix/lib/xemacs/packages:~/.xemacs'.
498 --infodir=dir Directory to install the XEmacs Info manuals and dir in.
499 Defaults to: \`$info_dir'.
500 --infopath=PATH Directories to search for Info documents, info dir
501 and localdir files. This is used to initialize
502 \`Info-default-directory-list' at dump time.
503 Directories on this path that do not exist in the
504 filesystem will be dropped by the startup code at
505 runtime, so it is safe to specify directories that do
506 not exist in the compilation environment, or that won't
507 exist in the runtime environment. The \"dir\"
508 file in the first existing directory in this list will
509 become the (dir)Top node of the Info tree.
510 Defaults to the value of \`INFOPATH', or:
511 \`$infopath'.
512
513 Internationalization options:
514
515 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
516 needed to suport non-Latin-1 (including Asian) languages.
517 --with-xim=xlib Compile with support for X input methods,
518 --with-xim=motif (*) Used in conjunction with Mule support.
519 Use either raw Xlib to provide XIM support, or
520 the Motif XmIm* routines (when available).
521 NOTE: On some systems bugs in X11's XIM support
522 will cause XEmacs to crash, so by default,
523 no XIM support is compiled in, unless running
524 on Solaris and the XmIm* routines are detected.
525 --with-canna (*) Compile with support for Canna (a Japanese input method
526 used in conjunction with Mule support).
527 --with-wnn (*) Compile with support for WNN (a multi-language input method
528 used in conjunction with Mule support).
529 This is beta level code.
530 --with-wnn6 (*) Compile with support for WNN version 6
531 This is alpha level code.
532 --with-i18n3 Compile with I18N level 3 (support for message
533 translation). This doesn't currently work.
534 --with-xfs Compile with XFontSet support for bilingual menubar.
535 Can't use this option with --with-xim=motif or xlib.
536 And should have --with-menubars=lucid.
537
538
539 Debugging options:
540
541 --debug Compile with support for debugging XEmacs.
542 (Causes code-size increase and little loss of speed.)
543 --error-checking=TYPE[[,TYPE]]...
544 Compile with internal error-checking added.
545 Causes noticeable loss of speed. Valid types
546 are extents, bufpos, malloc, gc, typecheck.
547 --error-checking=none Disable all internal error-checking (the default).
548 --error-checking=all Enable all internal error-checking.
549 --memory-usage-stats Compile with additional code to allow you to
550 determine what XEmacs's memory is being used
551 for. Causes a small code increase but no loss
552 of speed. Normally enabled when --debug is given.
553 --no-doc-file Don't rebuild the DOC file unless it's explicitly
554 deleted. Only use during development. (It speeds
555 up the compile-run-test cycle.)
556 --use-union-type Enable or disable use of a union, instead of an
557 int, for the fundamental Lisp_Object type; this
558 provides stricter type-checking. Only works with
559 some systems and compilers.
560
561
562 Other options:
563
564 --puresize=VALUE Override default amount of space for pure Lisp code.
565 --rel-alloc Use the relocating allocator (default for this option
566 is system-dependent).
567 --with-clash-detection Use lock files to detect multiple edits of the same file.
568 The default is to not do clash detection.
569 --lockdir=dir The directory to put clash detection files in, such as
570 \`/var/lock/emacs'.
571 Defaults to \`$lockdir'.
572 --with-system-malloc Force use of the system malloc, rather than GNU malloc.
573 --with-debug-malloc Use the debugging malloc package.
574
575 You may also specify any of the \`path' variables found in
576 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and
577 so on. Note that we recommend against explicitly setting any of these
578 variables. See the INSTALL file for a complete list plus the reasons
579 we advise not changing them.
580
581 If successful, $progname leaves its status in config.status. If
582 unsuccessful after disturbing the status quo, it removes config.status.
583
584 The configure build process also used the following environment variables:
585 CC C compiler to use (but configure flags take precedence)
586 CPP C preprocessor to use (such as /usr/ccs/lib/cpp or cc -E)
587 CFLAGS C compiler compilation flags (such as -O)
588 CPPFLAGS Additional compilation flags (such as -I/foo) used only by the preprocessor
589 LDFLAGS Additional linker flags (such as -L/foo)
590 LIBS Additional libraries (such as -lfoo)
591
592 INFOPATH Path to search for Info documentation.
593
594 For more details on the install process, consult the INSTALL file.
595 "
596 366
597 dnl ------------------ 367 dnl ------------------
598 dnl Options Processing 368 dnl Options Processing
599 dnl ------------------ 369 dnl ------------------
600 370
686 with_session | \ 456 with_session | \
687 with_xmu | \ 457 with_xmu | \
688 with_quantify | \ 458 with_quantify | \
689 with_toolbars | \ 459 with_toolbars | \
690 with_tty | \ 460 with_tty | \
461 with_xfs | \
691 with_i18n3 | \ 462 with_i18n3 | \
692 with_mule | \ 463 with_mule | \
693 with_canna | \ 464 with_canna | \
694 with_wnn | \ 465 with_wnn | \
695 with_wnn6 | \ 466 with_wnn6 | \
922 693
923 dnl --no-create added by autoconf for use by config.status 694 dnl --no-create added by autoconf for use by config.status
924 "no_create" ) ;; 695 "no_create" ) ;;
925 696
926 dnl Has the user asked for some help? 697 dnl Has the user asked for some help?
927 "usage" | "help" ) echo "$usage" | ${PAGER-more}; exit 0 ;; 698 "usage" | "help" ) ${PAGER-more} ${srcdir}/configure.usage; exit 0 ;;
928 699
929 dnl Has the user specified what toolkit to use for the menubars, 700 dnl Has the user specified what toolkit to use for the menubars,
930 dnl scrollbar or dialogs? 701 dnl scrollbar or dialogs?
931 "with_menubars" | "with_scrollbars" | "with_dialogs" ) 702 "with_menubars" | "with_scrollbars" | "with_dialogs" )
932 case "$val" in 703 case "$val" in
2481 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h" 2252 test "$opsys" = "hpux9-shr" && opsysfile="s/hpux9shxr4.h"
2482 esac 2253 esac
2483 2254
2484 dnl Enable or disable proper session-management 2255 dnl Enable or disable proper session-management
2485 AC_CHECKING(for session-management option); 2256 AC_CHECKING(for session-management option);
2486 if test "$with_session" != "no"; then 2257 if test "$with_session" = "yes"; then
2487 AC_DEFINE(HAVE_SESSION) 2258 AC_DEFINE(HAVE_SESSION)
2488 fi 2259 fi
2489 2260
2490 dnl Autodetect Xauth 2261 dnl Autodetect Xauth
2491 dnl -lXau is only used by gnuclient, so use a special variable for Xauth X libs 2262 dnl -lXau is only used by gnuclient, so use a special variable for Xauth X libs
2754 if test "$with_xim" = "motif"; then 2525 if test "$with_xim" = "motif"; then
2755 AC_DEFINE(XIM_MOTIF) 2526 AC_DEFINE(XIM_MOTIF)
2756 need_motif=yes 2527 need_motif=yes
2757 XE_ADD_OBJS(input-method-motif.o) 2528 XE_ADD_OBJS(input-method-motif.o)
2758 fi 2529 fi
2759 if test "$with_xfs" = "yes"; then 2530 if test "$with_xim" = "motif"; then
2760 with_xfs=no 2531 with_xfs=no
2761 fi 2532 fi
2762 else dnl "with_xim" = "no" 2533 fi
2763 case "$with_xfs" in "yes" ) 2534
2764 AC_CHECKING(for XFontSet) 2535 dnl "with_xim" = "yes"
2765 AC_CHECK_LIB(X11, XmbDrawString, [:], with_xfs=no) 2536 if test "$with_xfs" = "yes" ; then
2766 esac 2537 AC_CHECKING(for XFontSet)
2538 AC_CHECK_LIB(X11, XmbDrawString, [:], with_xfs=no)
2767 if test "$with_xfs" = "yes" && test "$with_menubars" = "lucid"; then 2539 if test "$with_xfs" = "yes" && test "$with_menubars" = "lucid"; then
2768 AC_DEFINE(USE_XFONTSET) 2540 AC_DEFINE(USE_XFONTSET)
2769 XE_ADD_OBJS(input-method-xfs.o) 2541 if test "$with_xim" = "no" ; then
2542 XE_ADD_OBJS(input-method-xfs.o)
2543 fi
2770 fi 2544 fi
2771 fi dnl with_xim 2545 fi dnl with_xim
2772 2546
2773 dnl Autodetect WNN 2547 dnl Autodetect WNN
2774 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support 2548 test "$with_wnn6" = "yes" && with_wnn=yes # wnn6 implies wnn support