comparison configure.in @ 203:850242ba4a81 r20-3b28

Import from CVS: tag r20-3b28
author cvs
date Mon, 13 Aug 2007 10:02:21 +0200
parents eb5470882647
children e45d5e7c476e
comparison
equal deleted inserted replaced
202:61eefc8fc970 203:850242ba4a81
253 target=NONE 253 target=NONE
254 verbose= 254 verbose=
255 x_includes=NONE 255 x_includes=NONE
256 x_libraries=NONE 256 x_libraries=NONE
257 CDPATH=.; export CDPATH 257 CDPATH=.; export CDPATH
258 dnl this will serve for testing if a default value sould be given 258 dnl this will serve for testing if a default value should be given
259 package_path=NONE 259 package_path=NONE
260 260
261 dnl Allow this script to work with zsh, by setting sh emulation options 261 dnl Allow this script to work with zsh, by setting sh emulation options
262 if test -n "$ZSH_VERSION"; then 262 if test -n "$ZSH_VERSION"; then
263 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO 263 setopt NO_BAD_PATTERN NO_BANG_HIST NO_BG_NICE NO_EQUALS NO_FUNCTION_ARGZERO
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='${prefix}/lib/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
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.
333 infopath='/usr/info:/usr/local/info:/usr/lib/texmf/doc/info:/usr/local/lib/texmf/doc/info'
334 infopath_user_defined='no'
330 lispdir='${datadir}/xemacs-${version}/lisp' 335 lispdir='${datadir}/xemacs-${version}/lisp'
331 lispdir_user_defined='no' 336 lispdir_user_defined='no'
332 sitelispdir='${datadir}/xemacs/site-lisp' 337 sitelispdir='${datadir}/xemacs/site-lisp'
333 etcdir='${datadir}/xemacs-${version}/etc' 338 etcdir='${datadir}/xemacs-${version}/etc'
334 etcdir_user_defined='no' 339 etcdir_user_defined='no'
488 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent 493 --mail-locking=TYPE (*) Specify the locking to be used by movemail to prevent
489 concurrent updates of mail spool files. Valid types 494 concurrent updates of mail spool files. Valid types
490 are \`lockf', \`flock', and \`file'. 495 are \`lockf', \`flock', and \`file'.
491 --package-path=PATH Directories to search for packages to dump with xemacs. 496 --package-path=PATH Directories to search for packages to dump with xemacs.
492 Defaults to \`$prefix/lib/xemacs/packages:~/.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'.
493 512
494 Internationalization options: 513 Internationalization options:
495 514
496 --with-mule Compile with Mule (MUlti-Lingual Emacs) support, 515 --with-mule Compile with Mule (MUlti-Lingual Emacs) support,
497 needed to suport non-Latin-1 (including Asian) languages. 516 needed to suport non-Latin-1 (including Asian) languages.
545 --puresize=VALUE Override default amount of space for pure Lisp code. 564 --puresize=VALUE Override default amount of space for pure Lisp code.
546 --rel-alloc Use the relocating allocator (default for this option 565 --rel-alloc Use the relocating allocator (default for this option
547 is system-dependent). 566 is system-dependent).
548 --with-clash-detection Use lock files to detect multiple edits of the same file. 567 --with-clash-detection Use lock files to detect multiple edits of the same file.
549 The default is to not do clash detection. 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'.
550 --with-system-malloc Force use of the system malloc, rather than GNU malloc. 572 --with-system-malloc Force use of the system malloc, rather than GNU malloc.
551 --with-debug-malloc Use the debugging malloc package. 573 --with-debug-malloc Use the debugging malloc package.
552 574
553 You may also specify any of the \`path' variables found in 575 You may also specify any of the \`path' variables found in
554 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and 576 Makefile.in, including --bindir, --libdir, --lispdir, --datadir, and
564 CPP C preprocessor to use (such as /usr/ccs/lib/cpp or cc -E) 586 CPP C preprocessor to use (such as /usr/ccs/lib/cpp or cc -E)
565 CFLAGS C compiler compilation flags (such as -O) 587 CFLAGS C compiler compilation flags (such as -O)
566 CPPFLAGS Additional compilation flags (such as -I/foo) used only by the preprocessor 588 CPPFLAGS Additional compilation flags (such as -I/foo) used only by the preprocessor
567 LDFLAGS Additional linker flags (such as -L/foo) 589 LDFLAGS Additional linker flags (such as -L/foo)
568 LIBS Additional libraries (such as -lfoo) 590 LIBS Additional libraries (such as -lfoo)
591
592 INFOPATH Path to search for Info documentation.
569 593
570 For more details on the install process, consult the INSTALL file. 594 For more details on the install process, consult the INSTALL file.
571 " 595 "
572 596
573 dnl ------------------ 597 dnl ------------------
870 dnl testers, at large sites, have said they have their X files 894 dnl testers, at large sites, have said they have their X files
871 dnl installed in odd places. 895 dnl installed in odd places.
872 896
873 dnl Has the user specified one of the path options? 897 dnl Has the user specified one of the path options?
874 prefix | exec_prefix | bindir | datadir | statedir | libdir | \ 898 prefix | exec_prefix | bindir | datadir | statedir | libdir | \
875 mandir | infodir | lispdir | etcdir | lockdir | pkgdir | archlibdir | \ 899 mandir | infodir | infopath | lispdir | etcdir | lockdir | pkgdir | \
876 sitelispdir | docdir ) 900 archlibdir | sitelispdir | docdir )
877 dnl If the value was omitted, get it from the next argument. 901 dnl If the value was omitted, get it from the next argument.
878 if test "$valomitted" = "yes"; then 902 if test "$valomitted" = "yes"; then
879 if test "$#" = 0; then 903 if test "$#" = 0; then
880 USAGE_ERROR("The \`--$optname' option requires a value."); 904 USAGE_ERROR("The \`--$optname' option requires a value.");
881 fi 905 fi
889 dnl default value of lockdir. 913 dnl default value of lockdir.
890 case "$opt" in 914 case "$opt" in
891 lispdir ) lispdir_user_defined=yes ;; 915 lispdir ) lispdir_user_defined=yes ;;
892 etcdir ) etcdir_user_defined=yes ;; 916 etcdir ) etcdir_user_defined=yes ;;
893 infodir ) infodir_user_defined=yes ;; 917 infodir ) infodir_user_defined=yes ;;
918 infopath ) infopath_user_defined=yes ;;
894 datadir ) lispdir_user_defined=yes etcdir_user_defined=yes ;; 919 datadir ) lispdir_user_defined=yes etcdir_user_defined=yes ;;
895 statedir | lockdir ) lockdir_user_defined=yes ;; 920 statedir | lockdir ) lockdir_user_defined=yes ;;
896 exec_prefix | libdir | archlibdir ) archlibdir_user_defined=yes ;; 921 exec_prefix | libdir | archlibdir ) archlibdir_user_defined=yes ;;
897 esac 922 esac
898 ;; 923 ;;
932 done 957 done
933 958
934 dnl ------------------------- 959 dnl -------------------------
935 dnl Finish options processing 960 dnl Finish options processing
936 dnl ------------------------- 961 dnl -------------------------
962
963 if test "$infopath_user_defined" = "no" -a -n "$INFOPATH" ; then
964 infopath="$INFOPATH"
965 fi
937 966
938 dnl Get the arguments back. See the diatribe on Shell Magic above. 967 dnl Get the arguments back. See the diatribe on Shell Magic above.
939 eval set x "$quoted_arguments"; shift 968 eval set x "$quoted_arguments"; shift
940 969
941 dnl Argument interdependencies 970 dnl Argument interdependencies
1846 if test -z "$CFLAGS"; then 1875 if test -z "$CFLAGS"; then
1847 dnl Following values of CFLAGS are known to work well. 1876 dnl Following values of CFLAGS are known to work well.
1848 dnl Should we take debugging options into consideration? 1877 dnl Should we take debugging options into consideration?
1849 if test "$GCC" = "yes"; then 1878 if test "$GCC" = "yes"; then
1850 CFLAGS="-g -O2 -Wall -Wno-switch" 1879 CFLAGS="-g -O2 -Wall -Wno-switch"
1851 test "$opsys" = "linux" -a "$machine" = "intel386" && \ 1880 test "$opsys $machine" = "linux intel386" && \
1852 CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2" 1881 CFLAGS="$CFLAGS -fno-strength-reduce -malign-loops=2 -malign-jumps=2 -malign-functions=2"
1853 elif test "$__sunpro_c" = "yes"; then 1882 elif test "$__sunpro_c" = "yes"; then
1854 case "$opsys" in 1883 case "$opsys" in
1855 sol2 ) CFLAGS="-v -xO4" ;; 1884 sol2 ) CFLAGS="-v -xO4" ;;
1856 sunos4* ) CFLAGS="-xO2";; 1885 sunos4* ) CFLAGS="-xO2";;
3350 AC_SUBST(statedir) 3379 AC_SUBST(statedir)
3351 AC_SUBST(libdir) 3380 AC_SUBST(libdir)
3352 AC_SUBST(mandir) 3381 AC_SUBST(mandir)
3353 AC_SUBST(infodir) 3382 AC_SUBST(infodir)
3354 AC_SUBST(infodir_user_defined) 3383 AC_SUBST(infodir_user_defined)
3384 AC_SUBST(infopath)
3355 AC_SUBST(lispdir) 3385 AC_SUBST(lispdir)
3356 AC_SUBST(lispdir_user_defined) 3386 AC_SUBST(lispdir_user_defined)
3357 AC_SUBST(sitelispdir) 3387 AC_SUBST(sitelispdir)
3358 AC_SUBST(etcdir) 3388 AC_SUBST(etcdir)
3359 AC_SUBST(etcdir_user_defined) 3389 AC_SUBST(etcdir_user_defined)
3537 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." 3567 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk."
3538 test "$with_offix" = yes && echo " Compiling in support for OffiX." 3568 test "$with_offix" = yes && echo " Compiling in support for OffiX."
3539 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." 3569 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop."
3540 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)." 3570 test "$with_energize" = yes && echo " Compiling in support for Lucid Energize (doesn't currently work)."
3541 test "$with_session" != no && echo " Compiling in support for proper session-management." 3571 test "$with_session" != no && echo " Compiling in support for proper session-management."
3542 case "$with_menubars" in 3572 case "$with_menubars" in
3543 lucid ) echo " Using Lucid menubars." ;; 3573 lucid ) echo " Using Lucid menubars." ;;
3544 motif ) echo " Using Motif menubars." 3574 motif ) echo " Using Motif menubars."
3545 echo " *WARNING* The Motif menubar implementation is currently buggy." 3575 echo " *WARNING* The Motif menubar implementation is currently buggy."
3546 echo " We recommend using the Lucid menubar instead." 3576 echo " We recommend using the Lucid menubar instead."
3547 echo " Re-run configure with --with-menubars='lucid'." ;; 3577 echo " Re-run configure with --with-menubars='lucid'." ;;
3555 case "$with_dialogs" in 3585 case "$with_dialogs" in
3556 motif ) echo " Using Motif dialog boxes." ;; 3586 motif ) echo " Using Motif dialog boxes." ;;
3557 athena ) echo " Using Athena dialog boxes." ;; 3587 athena ) echo " Using Athena dialog boxes." ;;
3558 athena3d ) echo " Using Athena-3d dialog boxes." ;; 3588 athena3d ) echo " Using Athena-3d dialog boxes." ;;
3559 esac 3589 esac
3590 test "$with_clash_detection" = yes && \
3591 echo " Clash detection will use \"$lockdir\" for locking files."
3560 echo " movemail will use \"$mail_locking\" for locking mail spool files." 3592 echo " movemail will use \"$mail_locking\" for locking mail spool files."
3561 test "$with_pop" = yes && echo " Using POP for mail access" 3593 test "$with_pop" = yes && echo " Using POP for mail access"
3562 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication" 3594 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication"
3563 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host" 3595 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host"
3564 3596 echo " The \`Info-default-directory-list' will be initialized from:"
3597 echo " INFOPATH=\"`echo $infopath`\""
3565 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." 3598 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects."
3566 test "$debug" = yes && echo " Compiling in extra code for debugging." 3599 test "$debug" = yes && echo " Compiling in extra code for debugging."
3567 test "$memory_usage_stats" = yes && echo " Compiling in code for checking XEmacs memory usage." 3600 test "$memory_usage_stats" = yes && echo " Compiling in code for checking XEmacs memory usage."
3568 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." 3601 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)."
3569 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ 3602 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \