comparison configure @ 4842:1d775c6304d1

Use with-FOO consistently instead of enable-FOO INSTALL, PROBLEMS, configure, configure.ac: Rename all instances of enable-FOO to with-FOO. enable-FOO has long been aliased to with-FOO and we still preserve this, but formerly we randomly used enable-FOO but with-BAR.
author Ben Wing <ben@xemacs.org>
date Wed, 13 Jan 2010 02:28:37 -0600
parents b3ea9c582280
children 6c0bb4d2c23a
comparison
equal deleted inserted replaced
4841:3465c3161fea 4842:1d775c6304d1
1667 --with-gcc Use GCC to compile XEmacs. 1667 --with-gcc Use GCC to compile XEmacs.
1668 --with-cflags=FLAGS Compiler flags. These flags will be placed after any 1668 --with-cflags=FLAGS Compiler flags. These flags will be placed after any
1669 flags inserted for warnings, debugging or 1669 flags inserted for warnings, debugging or
1670 optimization; setting this does not disable the 1670 optimization; setting this does not disable the
1671 insertion of those flags. Use configure settings 1671 insertion of those flags. Use configure settings
1672 such as `--with-optimization=no' or 1672 such as `--with-optimization=no' or `with-debug=no'
1673 `enable-debug=no' to turn them off, or override them 1673 to turn them off, or override them with
1674 with `--with-cflags-optimization', 1674 `--with-cflags-optimization',
1675 `--with-cflags-debugging', or `with-cflags-warning'. 1675 `--with-cflags-debugging', or `with-cflags-warning'.
1676 --with-cflags-warning=FLAGS 1676 --with-cflags-warning=FLAGS
1677 Override compiler flags used to control warnings. 1677 Override compiler flags used to control warnings.
1678 Normally, don't set this, as XEmacs already turns on 1678 Normally, don't set this, as XEmacs already turns on
1679 the maximum safe warning level. 1679 the maximum safe warning level.
1781 --with-menubars=TYPE Use TYPE menubars ('yes', '`no', `lucid', `motif', 1781 --with-menubars=TYPE Use TYPE menubars ('yes', '`no', `lucid', `motif',
1782 `athena', `gtk', or `msw'). The Lucid widgets 1782 `athena', `gtk', or `msw'). The Lucid widgets
1783 emulate Motif (mostly) but are faster. *WARNING* The 1783 emulate Motif (mostly) but are faster. *WARNING* The
1784 Motif menubar is currently broken. Lucid menubars 1784 Motif menubar is currently broken. Lucid menubars
1785 are the default. 1785 are the default.
1786 --with-scrollbars=TYPE 1786 --with-scrollbars=TYPE Use TYPE scrollbars 'yes', '`no', `lucid', `motif',
1787 Use TYPE scrollbars 'yes', '`no', `lucid', `motif',
1788 `athena', `gtk', or `msw'). Lucid scrollbars are the 1787 `athena', `gtk', or `msw'). Lucid scrollbars are the
1789 default. 1788 default.
1790 --with-dialogs=TYPE Use TYPE dialog boxes 'yes', '`no', `lucid', 1789 --with-dialogs=TYPE Use TYPE dialog boxes 'yes', '`no', `lucid',
1791 `motif', `athena', `gtk', or `msw'). There are no 1790 `motif', `athena', `gtk', or `msw'). There are no
1792 true Lucid dialogs; Motif dialogs will be used if 1791 true Lucid dialogs; Motif dialogs will be used if
1800 automatically added if one of the drag and drop 1799 automatically added if one of the drag and drop
1801 protocols is found (currently CDE, MSWindows, and 1800 protocols is found (currently CDE, MSWindows, and
1802 GTK). *WARNING* The Drag'n'drop support is under 1801 GTK). *WARNING* The Drag'n'drop support is under
1803 development and is considered experimental. 1802 development and is considered experimental.
1804 --with-cde Compile in support for CDE drag and drop. 1803 --with-cde Compile in support for CDE drag and drop.
1805 --with-external-widget 1804 --with-external-widget Support XEmacs server for text widgets in other
1806 Support XEmacs server for text widgets in other
1807 applications. 1805 applications.
1808 1806
1809 TTY (character terminal) options 1807 TTY (character terminal) options
1810 -------------------------------- 1808 --------------------------------
1811 1809
1862 Requires Mule. 1860 Requires Mule.
1863 --with-wnn6 Support the Wnn6 Asian language input method 1861 --with-wnn6 Support the Wnn6 Asian language input method
1864 (proprietary). Requires Mule. 1862 (proprietary). Requires Mule.
1865 --with-xfs Enable XFontSet support for internationalized 1863 --with-xfs Enable XFontSet support for internationalized
1866 menubar. Incompatible with `--with-xim=motif' and 1864 menubar. Incompatible with `--with-xim=motif' and
1867 `--with-xft'. `--with-menubars=lucid' (the 1865 `--with-xft'. `--with-menubars=lucid' (the default)
1868 default) is desirable. 1866 is desirable.
1869 1867
1870 File-related options 1868 File-related options
1871 -------------------- 1869 --------------------
1872 1870
1873 --with-default-eol-detection 1871 --with-default-eol-detection
1874 Turns on by default auto-detection of end-of-line 1872 Turns on by default auto-detection of end-of-line
1875 type when reading a file. Applies to those platforms 1873 type when reading a file. Applies to those platforms
1876 where auto-detection is off by default (non-Mule 1874 where auto-detection is off by default (non-Mule
1877 Unix). Has no effect otherwise. 1875 Unix). Has no effect otherwise.
1878 --with-clash-detection 1876 --with-clash-detection Disable use of lock files to detect multiple edits
1879 Disable use of lock files to detect multiple edits
1880 of the same file. 1877 of the same file.
1881 --with-zlib Support inflate (de)compression internally. 1878 --with-zlib Support inflate (de)compression internally.
1882 1879
1883 Database options 1880 Database options
1884 ---------------- 1881 ----------------
4364 for y in $_sound_types; do 4361 for y in $_sound_types; do
4365 eval "with_sound_$y=\$_sound_${y}_default" 4362 eval "with_sound_$y=\$_sound_${y}_default"
4366 eval "enable_sound_$y=\$_sound_${y}_default" 4363 eval "enable_sound_$y=\$_sound_${y}_default"
4367 unset _sound_${y}_default 4364 unset _sound_${y}_default
4368 done 4365 done
4369 enable_sound_nas="" 4366 with_sound_nas=""
4370 fi; 4367 fi;
4371 # If --with-native-sound-lib or --without-native-sound-lib were given then copy the value to the 4368 # If --with-native-sound-lib or --without-native-sound-lib were given then copy the value to the
4372 # equivalent enable_native-sound-lib variable. 4369 # equivalent enable_native-sound-lib variable.
4373 if test "${with_native_sound_lib+set}" = set; then 4370 if test "${with_native_sound_lib+set}" = set; then
4374 enable_native_sound_lib="$with_native_sound_lib" 4371 enable_native_sound_lib="$with_native_sound_lib"
4616 done 4613 done
4617 unset _database_types _database_default _database_all_default _database_use_defaults 4614 unset _database_types _database_default _database_all_default _database_use_defaults
4618 unset _with_database_args _database_found x y _require_database 4615 unset _with_database_args _database_found x y _require_database
4619 4616
4620 4617
4621 if test "$enable_database_dbm" = "yes" -a "$enable_database_gdbm" = "yes"; then 4618 if test "$with_database_dbm" = "yes" -a "$with_database_gdbm" = "yes"; then
4622 (echo "$progname: Usage error:" 4619 (echo "$progname: Usage error:"
4623 echo " " "Only one of \`dbm' and \`gdbm' may be specified 4620 echo " " "Only one of \`dbm' and \`gdbm' may be specified
4624 with the \`--with-database' option." 4621 with the \`--with-database' option."
4625 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 4622 echo " Use \`$progname --help' to show usage.") >&2 && exit 1
4626 fi 4623 fi
4931 if test "${with_kkcc+set}" = set; then 4928 if test "${with_kkcc+set}" = set; then
4932 enableval="$with_kkcc" 4929 enableval="$with_kkcc"
4933 withval="$with_kkcc" 4930 withval="$with_kkcc"
4934 4931
4935 else 4932 else
4936 enable_kkcc=yes 4933 with_kkcc=yes
4937 fi; 4934 fi;
4938 4935
4939 # If --with-newgc or --without-newgc were given then copy the value to the 4936 # If --with-newgc or --without-newgc were given then copy the value to the
4940 # equivalent enable_newgc variable. 4937 # equivalent enable_newgc variable.
4941 if test "${with_newgc+set}" = set; then 4938 if test "${with_newgc+set}" = set; then
5035 for y in $_vdb_types; do 5032 for y in $_vdb_types; do
5036 eval "with_vdb_$y=\$_vdb_${y}_default" 5033 eval "with_vdb_$y=\$_vdb_${y}_default"
5037 eval "enable_vdb_$y=\$_vdb_${y}_default" 5034 eval "enable_vdb_$y=\$_vdb_${y}_default"
5038 unset _vdb_${y}_default 5035 unset _vdb_${y}_default
5039 done 5036 done
5040 enable_vdb="auto" 5037 with_vdb="auto"
5041 fi; 5038 fi;
5042 5039
5043 # If --with-modules or --without-modules were given then copy the value to the 5040 # If --with-modules or --without-modules were given then copy the value to the
5044 # equivalent enable_modules variable. 5041 # equivalent enable_modules variable.
5045 if test "${with_modules+set}" = set; then 5042 if test "${with_modules+set}" = set; then
5085 unset _bignum_bogus 5082 unset _bignum_bogus
5086 5083
5087 5084
5088 5085
5089 else 5086 else
5090 enable_bignum="no" 5087 with_bignum="no"
5091 fi; 5088 fi;
5092 5089
5093 # If --with-workshop or --without-workshop were given then copy the value to the 5090 # If --with-workshop or --without-workshop were given then copy the value to the
5094 # equivalent enable_workshop variable. 5091 # equivalent enable_workshop variable.
5095 if test "${with_workshop+set}" = set; then 5092 if test "${with_workshop+set}" = set; then
5682 #define SHEBANG_PROGNAME "${PROGNAME}-script" 5679 #define SHEBANG_PROGNAME "${PROGNAME}-script"
5683 _ACEOF 5680 _ACEOF
5684 5681
5685 5682
5686 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi 5683 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi
5687 test "${enable_error_checking_extents:=$beta}" = yes && $as_echo "#define ERROR_CHECK_EXTENTS 1" >>confdefs.h 5684 test "${with_error_checking_extents:=$beta}" = yes && $as_echo "#define ERROR_CHECK_EXTENTS 1" >>confdefs.h
5688 5685
5689 test "${enable_error_checking_types:=$beta}" = yes && $as_echo "#define ERROR_CHECK_TYPES 1" >>confdefs.h 5686 test "${with_error_checking_types:=$beta}" = yes && $as_echo "#define ERROR_CHECK_TYPES 1" >>confdefs.h
5690 5687
5691 test "${enable_error_checking_text:=$beta}" = yes && $as_echo "#define ERROR_CHECK_TEXT 1" >>confdefs.h 5688 test "${with_error_checking_text:=$beta}" = yes && $as_echo "#define ERROR_CHECK_TEXT 1" >>confdefs.h
5692 5689
5693 test "${enable_error_checking_gc:=$beta}" = yes && $as_echo "#define ERROR_CHECK_GC 1" >>confdefs.h 5690 test "${with_error_checking_gc:=$beta}" = yes && $as_echo "#define ERROR_CHECK_GC 1" >>confdefs.h
5694 5691
5695 test "${enable_error_checking_malloc:=$beta}" = yes && $as_echo "#define ERROR_CHECK_MALLOC 1" >>confdefs.h 5692 test "${with_error_checking_malloc:=$beta}" = yes && $as_echo "#define ERROR_CHECK_MALLOC 1" >>confdefs.h
5696 5693
5697 test "${enable_error_checking_byte_code:=$beta}" = yes && $as_echo "#define ERROR_CHECK_BYTE_CODE 1" >>confdefs.h 5694 test "${with_error_checking_byte_code:=$beta}" = yes && $as_echo "#define ERROR_CHECK_BYTE_CODE 1" >>confdefs.h
5698 5695
5699 test "${enable_error_checking_glyphs:=$beta}" = yes && $as_echo "#define ERROR_CHECK_GLYPHS 1" >>confdefs.h 5696 test "${with_error_checking_glyphs:=$beta}" = yes && $as_echo "#define ERROR_CHECK_GLYPHS 1" >>confdefs.h
5700 5697
5701 test "${enable_error_checking_display:=$beta}" = yes && $as_echo "#define ERROR_CHECK_DISPLAY 1" >>confdefs.h 5698 test "${with_error_checking_display:=$beta}" = yes && $as_echo "#define ERROR_CHECK_DISPLAY 1" >>confdefs.h
5702 5699
5703 test "${enable_error_checking_structures:=$beta}" = yes && $as_echo "#define ERROR_CHECK_STRUCTURES 1" >>confdefs.h 5700 test "${with_error_checking_structures:=$beta}" = yes && $as_echo "#define ERROR_CHECK_STRUCTURES 1" >>confdefs.h
5704 5701
5705 if test "${enable_debug:=$beta}" = "yes"; then 5702 if test "${with_debug:=$beta}" = "yes"; then
5706 enable_assertions=yes 5703 with_assertions=yes
5707 enable_memory_usage_stats=yes 5704 with_memory_usage_stats=yes
5708 $as_echo "#define DEBUG_XEMACS 1" >>confdefs.h 5705 $as_echo "#define DEBUG_XEMACS 1" >>confdefs.h
5709 5706
5710 fi 5707 fi
5711 test "$enable_assertions" = "yes" && $as_echo "#define USE_ASSERTIONS 1" >>confdefs.h 5708 test "$with_assertions" = "yes" && $as_echo "#define USE_ASSERTIONS 1" >>confdefs.h
5712 5709
5713 test "$enable_memory_usage_stats" = "yes" && $as_echo "#define MEMORY_USAGE_STATS 1" >>confdefs.h 5710 test "$with_memory_usage_stats" = "yes" && $as_echo "#define MEMORY_USAGE_STATS 1" >>confdefs.h
5714 5711
5715 5712
5716 5713
5717 ac_cv_build_alias=`echo "$ac_cv_build_alias" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 5714 ac_cv_build_alias=`echo "$ac_cv_build_alias" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
5718 ac_cv_build=`echo "$ac_cv_build" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 5715 ac_cv_build=`echo "$ac_cv_build" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
5864 echo "Using configure-time autodetection only." 5861 echo "Using configure-time autodetection only."
5865 fi 5862 fi
5866 5863
5867 5864
5868 5865
5869 if test -z "$enable_pdump"; then 5866 if test -z "$with_pdump"; then
5870 case "$opsys" in 5867 case "$opsys" in
5871 linux* ) enable_pdump=yes ;; darwin ) enable_pdump=yes ;; cygwin* ) enable_pdump=yes ;; * ) enable_pdump=no ;; 5868 linux* ) with_pdump=yes ;; darwin ) with_pdump=yes ;; cygwin* ) with_pdump=yes ;; * ) with_pdump=no ;;
5872 esac 5869 esac
5873 fi 5870 fi
5874 5871
5875 if test "$enable_newgc" = "yes"; then 5872 if test "$with_newgc" = "yes"; then
5876 if test "$enable_vdb" = "auto"; then 5873 if test "$with_vdb" = "auto"; then
5877 case "$opsys" in 5874 case "$opsys" in
5878 darwin ) case "$machine" in 5875 darwin ) case "$machine" in
5879 i[3-9]86 ) check_vdb_posix=yes ;; 5876 i[3-9]86 ) check_vdb_posix=yes ;;
5880 * ) $as_echo "#define VDB_MACH 1" >>confdefs.h 5877 * ) $as_echo "#define VDB_MACH 1" >>confdefs.h
5881 have_vdb_mach=yes ;; 5878 have_vdb_mach=yes ;;
5885 linux* ) check_vdb_posix=yes ;; 5882 linux* ) check_vdb_posix=yes ;;
5886 freebsd ) check_vdb_posix=yes ;; 5883 freebsd ) check_vdb_posix=yes ;;
5887 * ) check_vdb_posix=yes ;; 5884 * ) check_vdb_posix=yes ;;
5888 esac 5885 esac
5889 else 5886 else
5890 case "$enable_vdb" in 5887 case "$with_vdb" in
5891 mach ) $as_echo "#define VDB_MACH 1" >>confdefs.h 5888 mach ) $as_echo "#define VDB_MACH 1" >>confdefs.h
5892 have_vdb_mach=yes ;; 5889 have_vdb_mach=yes ;;
5893 win32 ) $as_echo "#define VDB_WIN32 1" >>confdefs.h 5890 win32 ) $as_echo "#define VDB_WIN32 1" >>confdefs.h
5894 have_vdb_win32=yes ;; 5891 have_vdb_win32=yes ;;
5895 posix ) check_vdb_posix=yes ;; 5892 posix ) check_vdb_posix=yes ;;
5942 if test "$with_workshop" = "yes"; then 5939 if test "$with_workshop" = "yes"; then
5943 $as_echo "#define SUNPRO 1" >>confdefs.h 5940 $as_echo "#define SUNPRO 1" >>confdefs.h
5944 5941
5945 fi 5942 fi
5946 5943
5947 if test "$enable_clash_detection" != "no"; then 5944 if test "$with_clash_detection" != "no"; then
5948 $as_echo "#define CLASH_DETECTION 1" >>confdefs.h 5945 $as_echo "#define CLASH_DETECTION 1" >>confdefs.h
5949 5946
5950 fi 5947 fi
5951 5948
5952 test -n "$with_compiler" && CC="$with_compiler" 5949 test -n "$with_compiler" && CC="$with_compiler"
9369 cat >>confdefs.h <<_ACEOF 9366 cat >>confdefs.h <<_ACEOF
9370 #define SYSTEM_TYPE "`uname -s | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" 9367 #define SYSTEM_TYPE "`uname -s | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
9371 _ACEOF 9368 _ACEOF
9372 9369
9373 9370
9374 test -z "$unexec" && enable_pdump=yes 9371 test -z "$unexec" && with_pdump=yes
9375 9372
9376 if test "$enable_pdump" = "yes"; then 9373 if test "$with_pdump" = "yes"; then
9377 ordinary_link="yes" 9374 ordinary_link="yes"
9378 ld="${ordinary_ld}" 9375 ld="${ordinary_ld}"
9379 start_files= 9376 start_files=
9380 libs_standard= 9377 libs_standard=
9381 unexec= 9378 unexec=
9382 lib_gcc= 9379 lib_gcc=
9383 fi 9380 fi
9384 9381
9385 test -z "$enable_kkcc" && enable_kkcc=yes 9382 test -z "$with_kkcc" && with_kkcc=yes
9386 9383
9387 if test -z "$enable_dump_in_exec"; then 9384 if test -z "$with_dump_in_exec"; then
9388 if test "$enable_pdump" = "yes"; then 9385 if test "$with_pdump" = "yes"; then
9389 if test "$enable_newgc" = "yes"; then 9386 if test "$with_newgc" = "yes"; then
9390 enable_dump_in_exec=no 9387 with_dump_in_exec=no
9391 else 9388 else
9392 enable_dump_in_exec=yes 9389 with_dump_in_exec=yes
9393 fi 9390 fi
9394 fi 9391 fi
9395 fi 9392 fi
9396 9393
9397 if test "$enable_newgc" = "yes"; then 9394 if test "$with_newgc" = "yes"; then
9398 enable_kkcc=yes 9395 with_kkcc=yes
9399 fi 9396 fi
9400 9397
9401 test "$verbose" = "yes" && \ 9398 test "$verbose" = "yes" && \
9402 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo "" 9399 for var in libs_machine libs_system libs_termcap libs_standard objects_machine objects_system c_switch_machine c_switch_system ld_switch_machine ld_switch_system unexec ld_switch_shared ld lib_gcc ld_text_start_addr start_files ordinary_link have_terminfo mail_use_flock mail_use_lockf; do eval "echo \"$var = '\$$var'\""; done && echo ""
9403 9400
9686 esac 9683 esac
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9688 $as_echo "no" >&6; } 9685 $as_echo "no" >&6; }
9689 fi 9686 fi
9690 9687
9691 if test "$enable_pdump" != "yes"; then 9688 if test "$with_pdump" != "yes"; then
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"-z nocombreloc\" linker flag" >&5 9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"-z nocombreloc\" linker flag" >&5
9693 $as_echo_n "checking for \"-z nocombreloc\" linker flag... " >&6; } 9690 $as_echo_n "checking for \"-z nocombreloc\" linker flag... " >&6; }
9694 case "`ld --help 2>&1`" in 9691 case "`ld --help 2>&1`" in
9695 *-z\ nocombreloc* ) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9692 *-z\ nocombreloc* ) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9696 $as_echo "yes" >&6; } 9693 $as_echo "yes" >&6; }
9770 echo " xemacs will be linked with \"$objects_machine\"" 9767 echo " xemacs will be linked with \"$objects_machine\""
9771 fi 9768 fi
9772 test -n "$objects_system" && extra_objs="$extra_objs $objects_system" && if test "$verbose" = "yes"; then 9769 test -n "$objects_system" && extra_objs="$extra_objs $objects_system" && if test "$verbose" = "yes"; then
9773 echo " xemacs will be linked with \"$objects_system\"" 9770 echo " xemacs will be linked with \"$objects_system\""
9774 fi 9771 fi
9775 test -n "$unexec" && test ! "$enable_pdump" = "yes" && extra_objs="$extra_objs $unexec" && if test "$verbose" = "yes"; then 9772 test -n "$unexec" && test ! "$with_pdump" = "yes" && extra_objs="$extra_objs $unexec" && if test "$verbose" = "yes"; then
9776 echo " xemacs will be linked with \"$unexec\"" 9773 echo " xemacs will be linked with \"$unexec\""
9777 fi 9774 fi
9778 test "$enable_pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$verbose" = "yes"; then 9775 test "$with_pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$verbose" = "yes"; then
9779 echo " xemacs will be linked with \"dumper.o\"" 9776 echo " xemacs will be linked with \"dumper.o\""
9780 fi 9777 fi
9781 9778
9782 9779
9783 9780
11993 with_x11=no 11990 with_x11=no
11994 fi 11991 fi
11995 11992
11996 for feature in scrollbars toolbars menubars dialogs widgets 11993 for feature in scrollbars toolbars menubars dialogs widgets
11997 do 11994 do
11998 eval "feature_value=\${enable_${feature}}" 11995 eval "feature_value=\${with_${feature}}"
11999 case "${feature_value}" in 11996 case "${feature_value}" in
12000 yes|no|gtk|"" ) 11997 yes|no|gtk|"" )
12001 ;; 11998 ;;
12002 * ) 11999 * )
12003 feature_conflict_with_gtk=yes 12000 feature_conflict_with_gtk=yes
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-${feature}=${feature_value} is incompatible with --with-gtk" >&5 12001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-${feature}=${feature_value} is incompatible with --with-gtk" >&5
12005 $as_echo "$as_me: WARNING: --enable-${feature}=${feature_value} is incompatible with --with-gtk" >&2;} ;; 12002 $as_echo "$as_me: WARNING: --with-${feature}=${feature_value} is incompatible with --with-gtk" >&2;} ;;
12006 esac 12003 esac
12007 done 12004 done
12008 if test "${feature_conflict_with_gtk}" = "yes"; then 12005 if test "${feature_conflict_with_gtk}" = "yes"; then
12009 { echo "Error:" "One or more GUI toolkit features conflict with GTK" >&2; exit 1; } 12006 { echo "Error:" "One or more GUI toolkit features conflict with GTK" >&2; exit 1; }
12010 fi 12007 fi
12011 12008
12012 test "${enable_scrollbars}" != "no" && enable_scrollbars=gtk 12009 test "${with_scrollbars}" != "no" && with_scrollbars=gtk
12013 test "${enable_toolbars}" != "no" && enable_toolbars=gtk 12010 test "${with_toolbars}" != "no" && with_toolbars=gtk
12014 test "${enable_menubars}" != "no" && enable_menubars=gtk 12011 test "${with_menubars}" != "no" && with_menubars=gtk
12015 test "${enable_dialogs}" != "no" && enable_dialogs=gtk 12012 test "${with_dialogs}" != "no" && with_dialogs=gtk
12016 test "${enable_widgets}" != "no" && enable_widgets=gtk 12013 test "${with_widgets}" != "no" && with_widgets=gtk
12017 12014
12018 OLD_CFLAGS="${CFLAGS}" 12015 OLD_CFLAGS="${CFLAGS}"
12019 OLD_CPPFLAGS="${CPPFLAGS}" 12016 OLD_CPPFLAGS="${CPPFLAGS}"
12020 OLD_LDFLAGS="${LDFLAGS}" 12017 OLD_LDFLAGS="${LDFLAGS}"
12021 CFLAGS="${GTK_CFLAGS} ${CFLAGS}" 12018 CFLAGS="${GTK_CFLAGS} ${CFLAGS}"
13293 #define THIS_IS_X11R${x11_release} 1 13290 #define THIS_IS_X11R${x11_release} 1
13294 _ACEOF 13291 _ACEOF
13295 13292
13296 13293
13297 if test "${x11_release}" = "4"; then 13294 if test "${x11_release}" = "4"; then
13298 case "$enable_widgets" in 13295 case "$with_widgets" in
13299 "" | "no") enable_widgets=no ;; 13296 "" | "no") with_widgets=no ;;
13300 *) { echo "Error:" "Widget support requires X11R5 or greater" >&2; exit 1; } ;; 13297 *) { echo "Error:" "Widget support requires X11R5 or greater" >&2; exit 1; } ;;
13301 esac 13298 esac
13302 fi 13299 fi
13303 13300
13304 for ac_func in XConvertCase XtRegisterDrawable 13301 for ac_func in XConvertCase XtRegisterDrawable
13733 dragndrop_proto="$dragndrop_proto msw" && if test "$verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi 13730 dragndrop_proto="$dragndrop_proto msw" && if test "$verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi
13734 with_dragndrop=yes 13731 with_dragndrop=yes
13735 fi 13732 fi
13736 if test "$window_system" != x11; then 13733 if test "$window_system" != x11; then
13737 window_system=msw 13734 window_system=msw
13738 test "$enable_scrollbars" != "no" && enable_scrollbars=msw 13735 test "$with_scrollbars" != "no" && with_scrollbars=msw
13739 test "$enable_menubars" != "no" && enable_menubars=msw 13736 test "$with_menubars" != "no" && with_menubars=msw
13740 test "$enable_toolbars" != "no" && enable_toolbars=msw 13737 test "$with_toolbars" != "no" && with_toolbars=msw
13741 test "$enable_dialogs" != "no" && enable_dialogs=msw 13738 test "$with_dialogs" != "no" && with_dialogs=msw
13742 test "$enable_widgets" != "no" && enable_widgets=msw 13739 test "$with_widgets" != "no" && with_widgets=msw
13743 fi 13740 fi
13744 if test "$cross_compiling" = yes; then : 13741 if test "$cross_compiling" = yes; then :
13745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13746 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13747 as_fn_error "cannot run test program while cross compiling 13744 as_fn_error "cannot run test program while cross compiling
13769 test -z "$window_system" && window_system="none" 13766 test -z "$window_system" && window_system="none"
13770 13767
13771 if test "$window_system" = "none"; then 13768 if test "$window_system" = "none"; then
13772 for feature in menubars scrollbars toolbars dialogs dragndrop xface 13769 for feature in menubars scrollbars toolbars dialogs dragndrop xface
13773 do 13770 do
13774 if eval "test -n \"\$enable_${feature}\" -a \"\$enable_${feature}\" != no" ; then 13771 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-$feature ignored: Not valid without window system support" >&5 13772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-$feature ignored: Not valid without window system support" >&5
13776 $as_echo "$as_me: WARNING: --enable-$feature ignored: Not valid without window system support" >&2;} 13773 $as_echo "$as_me: WARNING: --with-$feature ignored: Not valid without window system support" >&2;}
13777 fi 13774 fi
13778 eval "enable_${feature}=no" 13775 eval "with_${feature}=no"
13779 done 13776 done
13780 else 13777 else
13781 test -z "$enable_toolbars" && enable_toolbars=yes 13778 test -z "$with_toolbars" && with_toolbars=yes
13782 fi 13779 fi
13783 13780
13784 if test "$with_msw" != "yes"; then 13781 if test "$with_msw" != "yes"; then
13785 for feature in MARTIN_IS_CLUELESS_ABOUT_MSW_FEATURES 13782 for feature in MARTIN_IS_CLUELESS_ABOUT_MSW_FEATURES
13786 do 13783 do
13793 else 13790 else
13794 : 13791 :
13795 fi 13792 fi
13796 13793
13797 if test "$with_x11" != "yes"; then 13794 if test "$with_x11" != "yes"; then
13798 for feature in with_tooltalk with_cde with_wmcommand with_xim enable_sound_nas 13795 for feature in with_tooltalk with_cde with_wmcommand with_xim with_sound_nas
13799 do 13796 do
13800 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then 13797 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --$feature ignored: Not valid without X support" >&5 13798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --$feature ignored: Not valid without X support" >&5
13802 $as_echo "$as_me: WARNING: --$feature ignored: Not valid without X support" >&2;} 13799 $as_echo "$as_me: WARNING: --$feature ignored: Not valid without X support" >&2;}
13803 fi 13800 fi
13917 else 13914 else
13918 LIBSTDCPP= 13915 LIBSTDCPP=
13919 fi 13916 fi
13920 13917
13921 13918
13922 if test "$enable_modules" != "no"; then 13919 if test "$with_modules" != "no"; then
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module support" >&5 13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module support" >&5
13924 $as_echo_n "checking for module support... " >&6; } 13921 $as_echo_n "checking for module support... " >&6; }
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13926 $as_echo "" >&6; } 13923 $as_echo "" >&6; }
13927 13924
14674 _ACEOF 14671 _ACEOF
14675 14672
14676 fi 14673 fi
14677 done 14674 done
14678 14675
14679 enable_modules=yes 14676 with_modules=yes
14680 MOD_CC="../../lib-src/ellcc" 14677 MOD_CC="../../lib-src/ellcc"
14681 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I../../src -I\$(srcdir)/../../src" 14678 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I../../src -I\$(srcdir)/../../src"
14682 INSTALLPATH="\$(moduledir)" 14679 INSTALLPATH="\$(moduledir)"
14683 MOD_INSTALL_PROGRAM=${INSTALL_PROGRAM} 14680 MOD_INSTALL_PROGRAM=${INSTALL_PROGRAM}
14684 OBJECT_TO_BUILD="\$(MODNAME).ell" 14681 OBJECT_TO_BUILD="\$(MODNAME).ell"
14685 else 14682 else
14686 if test "$enable_modules" = "yes"; then 14683 if test "$with_modules" = "yes"; then
14687 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } 14684 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; }
14688 else 14685 else
14689 echo " No module support." 14686 echo " No module support."
14690 fi 14687 fi
14691 enable_modules=no 14688 with_modules=no
14692 fi 14689 fi
14693 fi 14690 fi
14694 if test "$enable_modules" != "yes"; then 14691 if test "$with_modules" != "yes"; then
14695 MOD_CC="$XEMACS_CC" 14692 MOD_CC="$XEMACS_CC"
14696 MODCFLAGS="\$(XE_CFLAGS) -I../../src -I\$(srcdir)/../../src" 14693 MODCFLAGS="\$(XE_CFLAGS) -I../../src -I\$(srcdir)/../../src"
14697 INSTALLPATH="" 14694 INSTALLPATH=""
14698 MOD_INSTALL_PROGRAM="true" 14695 MOD_INSTALL_PROGRAM="true"
14699 OBJECT_TO_BUILD="\$(MODNAME).o" 14696 OBJECT_TO_BUILD="\$(MODNAME).o"
14700 fi 14697 fi
14701 MODARCHDIR= 14698 MODARCHDIR=
14702 MAKE_DOCFILE="../../lib-src/make-docfile" 14699 MAKE_DOCFILE="../../lib-src/make-docfile"
14703 with_modules=$enable_modules 14700 with_modules=$with_modules
14704 14701
14705 14702
14706 14703
14707 14704
14708 14705
15134 done 15131 done
15135 15132
15136 LIBS="$save_LIBS" 15133 LIBS="$save_LIBS"
15137 MAKE_SUBDIR="$MAKE_SUBDIR modules/ldap" && if test "$verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$MAKE_SUBDIR"; fi 15134 MAKE_SUBDIR="$MAKE_SUBDIR modules/ldap" && if test "$verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$MAKE_SUBDIR"; fi
15138 need_modules_common=yes 15135 need_modules_common=yes
15139 if test "$enable_modules" = "yes"; then 15136 if test "$with_modules" = "yes"; then
15140 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/ldap" && if test "$verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 15137 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/ldap" && if test "$verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
15141 fi 15138 fi
15142 fi 15139 fi
15143 15140
15144 15141
15307 _ACEOF 15304 _ACEOF
15308 15305
15309 postgresql_libs="$pq_libs $postgresql_libs" && if test "$verbose" = "yes"; then echo " Prepending \"$pq_libs\" to \$postgresql_libs"; fi 15306 postgresql_libs="$pq_libs $postgresql_libs" && if test "$verbose" = "yes"; then echo " Prepending \"$pq_libs\" to \$postgresql_libs"; fi
15310 MAKE_SUBDIR="$MAKE_SUBDIR modules/postgresql" && if test "$verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$MAKE_SUBDIR"; fi 15307 MAKE_SUBDIR="$MAKE_SUBDIR modules/postgresql" && if test "$verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$MAKE_SUBDIR"; fi
15311 need_modules_common=yes 15308 need_modules_common=yes
15312 if test "$enable_modules" = "yes"; then 15309 if test "$with_modules" = "yes"; then
15313 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/postgresql" && if test "$verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi 15310 INSTALL_ARCH_DEP_SUBDIR="$INSTALL_ARCH_DEP_SUBDIR modules/postgresql" && if test "$verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$INSTALL_ARCH_DEP_SUBDIR"; fi
15314 fi 15311 fi
15315 elif test "$with_postgresql" = "yes"; then 15312 elif test "$with_postgresql" = "yes"; then
15316 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --with-site-prefixes." >&2; exit 1; } 15313 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --with-site-prefixes." >&2; exit 1; }
15317 fi 15314 fi
16009 $as_echo_n "checking for X11 graphics libraries... " >&6; } 16006 $as_echo_n "checking for X11 graphics libraries... " >&6; }
16010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
16011 $as_echo "" >&6; } 16008 $as_echo "" >&6; }
16012 fi 16009 fi
16013 16010
16014 case "$enable_widgets" in 16011 case "$with_widgets" in
16015 "" | "yes" | "athena") detect_athena=yes ;; 16012 "" | "yes" | "athena") detect_athena=yes ;;
16016 *) detect_athena=no ;; 16013 *) detect_athena=no ;;
16017 esac 16014 esac
16018 16015
16019 case "$enable_dialogs" in 16016 case "$with_dialogs" in
16020 "" | "yes" | "athena") detect_athena=yes ;; 16017 "" | "yes" | "athena") detect_athena=yes ;;
16021 esac 16018 esac
16022 16019
16023 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 16020 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Athena widgets" >&5 16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Athena widgets" >&5
16444 case "$opsys" in 16441 case "$opsys" in
16445 *linux* | *darwin* | *bsd* | *cygwin* ) lucid_prefers_motif="no" ;; 16442 *linux* | *darwin* | *bsd* | *cygwin* ) lucid_prefers_motif="no" ;;
16446 * ) lucid_prefers_motif="yes" ;; 16443 * ) lucid_prefers_motif="yes" ;;
16447 esac 16444 esac
16448 16445
16449 case "$enable_menubars" in "" | "yes" | "athena" ) 16446 case "$with_menubars" in "" | "yes" | "athena" )
16450 enable_menubars="lucid" ;; 16447 with_menubars="lucid" ;;
16451 esac 16448 esac
16452 if test "$with_xft_menubars" != "no" ; then 16449 if test "$with_xft_menubars" != "no" ; then
16453 if test "$with_xft_emacs" = "yes" -a "$with_menubars" != "no" ; then 16450 if test "$with_xft_emacs" = "yes" -a "$with_menubars" != "no" ; then
16454 with_xft_menubars="yes" 16451 with_xft_menubars="yes"
16455 else 16452 else
16456 with_xft_menubars="no" 16453 with_xft_menubars="no"
16457 fi 16454 fi
16458 fi 16455 fi
16459 case "$enable_dialogs" in "" | "yes" | "lucid" ) 16456 case "$with_dialogs" in "" | "yes" | "lucid" )
16460 if test "$lucid_prefers_motif" = "yes"; then 16457 if test "$lucid_prefers_motif" = "yes"; then
16461 if test "$have_motif" = "yes"; then enable_dialogs="motif" 16458 if test "$have_motif" = "yes"; then with_dialogs="motif"
16462 elif test "$have_xaw" = "yes"; then enable_dialogs="athena" 16459 elif test "$have_xaw" = "yes"; then with_dialogs="athena"
16463 elif test "$with_msw" = "yes"; then enable_dialogs="msw" 16460 elif test "$with_msw" = "yes"; then with_dialogs="msw"
16464 else enable_dialogs=no 16461 else with_dialogs=no
16465 fi 16462 fi
16466 else 16463 else
16467 if test "$have_xaw" = "yes"; then enable_dialogs="athena" 16464 if test "$have_xaw" = "yes"; then with_dialogs="athena"
16468 elif test "$have_motif" = "yes"; then enable_dialogs="motif" 16465 elif test "$have_motif" = "yes"; then with_dialogs="motif"
16469 elif test "$with_msw" = "yes"; then enable_dialogs="msw" 16466 elif test "$with_msw" = "yes"; then with_dialogs="msw"
16470 else enable_dialogs=no 16467 else with_dialogs=no
16471 fi 16468 fi
16472 fi ;; 16469 fi ;;
16473 esac 16470 esac
16474 case "$enable_scrollbars" in "" | "yes" ) 16471 case "$with_scrollbars" in "" | "yes" )
16475 enable_scrollbars="lucid" ;; 16472 with_scrollbars="lucid" ;;
16476 esac 16473 esac
16477 case "$enable_widgets" in "" | "yes" | "lucid") 16474 case "$with_widgets" in "" | "yes" | "lucid")
16478 if test "$lucid_prefers_motif" = "yes"; then 16475 if test "$lucid_prefers_motif" = "yes"; then
16479 if test "$have_motif" = "yes"; then enable_widgets="motif" 16476 if test "$have_motif" = "yes"; then with_widgets="motif"
16480 elif test "$have_xaw" = "yes"; then enable_widgets="athena" 16477 elif test "$have_xaw" = "yes"; then with_widgets="athena"
16481 elif test "$with_msw" = "yes"; then enable_widgets="msw" 16478 elif test "$with_msw" = "yes"; then with_widgets="msw"
16482 else enable_widgets=no 16479 else with_widgets=no
16483 fi 16480 fi
16484 else 16481 else
16485 if test "$have_xaw" = "yes"; then enable_widgets="athena" 16482 if test "$have_xaw" = "yes"; then with_widgets="athena"
16486 elif test "$have_motif" = "yes"; then enable_widgets="motif" 16483 elif test "$have_motif" = "yes"; then with_widgets="motif"
16487 elif test "$with_msw" = "yes"; then enable_widgets="msw" 16484 elif test "$with_msw" = "yes"; then with_widgets="msw"
16488 else enable_widgets=no 16485 else with_widgets=no
16489 fi 16486 fi
16490 fi ;; 16487 fi ;;
16491 esac 16488 esac
16492 if test "$with_xft_tabs" != "no" ; then 16489 if test "$with_xft_tabs" != "no" ; then
16493 if test "$with_xft_emacs" = "yes" -a "$enable_widgets" != "no" ; then 16490 if test "$with_xft_emacs" = "yes" -a "$with_widgets" != "no" ; then
16494 with_xft_tabs="yes" 16491 with_xft_tabs="yes"
16495 else 16492 else
16496 with_xft_tabs="no" 16493 with_xft_tabs="no"
16497 fi 16494 fi
16498 fi 16495 fi
16499 if test "$with_xft_gauges" != "no" ; then 16496 if test "$with_xft_gauges" != "no" ; then
16500 if test "$with_xft_emacs" = "yes" -a "$enable_widgets" != "no" ; then 16497 if test "$with_xft_emacs" = "yes" -a "$with_widgets" != "no" ; then
16501 with_xft_gauges="yes" 16498 with_xft_gauges="yes"
16502 else 16499 else
16503 with_xft_gauges="no" 16500 with_xft_gauges="no"
16504 fi 16501 fi
16505 fi 16502 fi
16506 16503
16507 all_widgets="$enable_menubars $enable_scrollbars $enable_dialogs $enable_toolbars $enable_widgets" 16504 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets"
16508 16505
16509 case "$all_widgets" in 16506 case "$all_widgets" in
16510 *athena* ) 16507 *athena* )
16511 if test "$have_xaw" != "yes"; then 16508 if test "$have_xaw" != "yes"; then
16512 { echo "Error:" "Could not find a suitable Athena library to build with." >&2; exit 1; } 16509 { echo "Error:" "Could not find a suitable Athena library to build with." >&2; exit 1; }
16577 16574
16578 lwlib_objs="$lwlib_objs lwlib-Xm.o" && if test "$verbose" = "yes"; then echo " Appending \"lwlib-Xm.o\" to \$lwlib_objs"; fi 16575 lwlib_objs="$lwlib_objs lwlib-Xm.o" && if test "$verbose" = "yes"; then echo " Appending \"lwlib-Xm.o\" to \$lwlib_objs"; fi
16579 need_motif=yes ;; 16576 need_motif=yes ;;
16580 esac 16577 esac
16581 16578
16582 test "$enable_menubars" = "lucid" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi 16579 test "$with_menubars" = "lucid" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi
16583 test "$enable_menubars" = "motif" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi 16580 test "$with_menubars" = "motif" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi
16584 test "$enable_scrollbars" = "lucid" && lwlib_objs="$lwlib_objs xlwscrollbar.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwscrollbar.o\" to \$lwlib_objs"; fi 16581 test "$with_scrollbars" = "lucid" && lwlib_objs="$lwlib_objs xlwscrollbar.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwscrollbar.o\" to \$lwlib_objs"; fi
16585 test "$enable_widgets" != "no" && test "$enable_widgets" != "msw" && \ 16582 test "$with_widgets" != "no" && test "$with_widgets" != "msw" && \
16586 lwlib_objs="$lwlib_objs xlwtabs.o xlwgcs.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwtabs.o xlwgcs.o\" to \$lwlib_objs"; fi 16583 lwlib_objs="$lwlib_objs xlwtabs.o xlwgcs.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwtabs.o xlwgcs.o\" to \$lwlib_objs"; fi
16587 case "$enable_widgets" in athena* ) 16584 case "$with_widgets" in athena* )
16588 lwlib_objs="$lwlib_objs xlwradio.o xlwcheckbox.o xlwgauge.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwradio.o xlwcheckbox.o xlwgauge.o\" to \$lwlib_objs"; fi;; 16585 lwlib_objs="$lwlib_objs xlwradio.o xlwcheckbox.o xlwgauge.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwradio.o xlwcheckbox.o xlwgauge.o\" to \$lwlib_objs"; fi;;
16589 esac 16586 esac
16590 case "$all_widgets" in *lucid* ) 16587 case "$all_widgets" in *lucid* )
16591 $as_echo "#define NEED_LUCID 1" >>confdefs.h 16588 $as_echo "#define NEED_LUCID 1" >>confdefs.h
16592 16589
16593 lwlib_objs="$lwlib_objs lwlib-Xlw.o" && if test "$verbose" = "yes"; then echo " Appending \"lwlib-Xlw.o\" to \$lwlib_objs"; fi ;; 16590 lwlib_objs="$lwlib_objs lwlib-Xlw.o" && if test "$verbose" = "yes"; then echo " Appending \"lwlib-Xlw.o\" to \$lwlib_objs"; fi ;;
16594 esac 16591 esac
16595 16592
16596 16593
16597 16594
16598 test "$enable_scrollbars" = "athena" && $as_echo "#define LWLIB_SCROLLBARS_ATHENA 1" >>confdefs.h 16595 test "$with_scrollbars" = "athena" && $as_echo "#define LWLIB_SCROLLBARS_ATHENA 1" >>confdefs.h
16599 16596
16600 test "$enable_dialogs" = "athena" && $as_echo "#define LWLIB_DIALOGS_ATHENA 1" >>confdefs.h 16597 test "$with_dialogs" = "athena" && $as_echo "#define LWLIB_DIALOGS_ATHENA 1" >>confdefs.h
16601 16598
16602 16599
16603 if test "$athena_3d" = "yes"; then 16600 if test "$athena_3d" = "yes"; then
16604 test "$enable_scrollbars" = "athena" && $as_echo "#define LWLIB_SCROLLBARS_ATHENA3D 1" >>confdefs.h 16601 test "$with_scrollbars" = "athena" && $as_echo "#define LWLIB_SCROLLBARS_ATHENA3D 1" >>confdefs.h
16605 16602
16606 test "$enable_dialogs" = "athena" && $as_echo "#define LWLIB_DIALOGS_ATHENA3D 1" >>confdefs.h 16603 test "$with_dialogs" = "athena" && $as_echo "#define LWLIB_DIALOGS_ATHENA3D 1" >>confdefs.h
16607 16604
16608 fi 16605 fi
16609 16606
16610 case "$enable_widgets" in athena* ) $as_echo "#define LWLIB_WIDGETS_ATHENA 1" >>confdefs.h 16607 case "$with_widgets" in athena* ) $as_echo "#define LWLIB_WIDGETS_ATHENA 1" >>confdefs.h
16611 ;; esac 16608 ;; esac
16612 test "$enable_widgets" != "no" && test "$enable_widgets" != "msw" && \ 16609 test "$with_widgets" != "no" && test "$with_widgets" != "msw" && \
16613 $as_echo "#define LWLIB_TABS_LUCID 1" >>confdefs.h 16610 $as_echo "#define LWLIB_TABS_LUCID 1" >>confdefs.h
16614 16611
16615 16612
16616 test "$enable_menubars" != "no" && $as_echo "#define HAVE_MENUBARS 1" >>confdefs.h 16613 test "$with_menubars" != "no" && $as_echo "#define HAVE_MENUBARS 1" >>confdefs.h
16617 16614
16618 test "$enable_scrollbars" != "no" && $as_echo "#define HAVE_SCROLLBARS 1" >>confdefs.h 16615 test "$with_scrollbars" != "no" && $as_echo "#define HAVE_SCROLLBARS 1" >>confdefs.h
16619 16616
16620 test "$enable_dialogs" != "no" && $as_echo "#define HAVE_DIALOGS 1" >>confdefs.h 16617 test "$with_dialogs" != "no" && $as_echo "#define HAVE_DIALOGS 1" >>confdefs.h
16621 16618
16622 test "$enable_toolbars" != "no" && $as_echo "#define HAVE_TOOLBARS 1" >>confdefs.h 16619 test "$with_toolbars" != "no" && $as_echo "#define HAVE_TOOLBARS 1" >>confdefs.h
16623 16620
16624 test "$enable_widgets" != "no" && $as_echo "#define HAVE_WIDGETS 1" >>confdefs.h 16621 test "$with_widgets" != "no" && $as_echo "#define HAVE_WIDGETS 1" >>confdefs.h
16625 16622
16626 16623
16627 test "$enable_menubars" = "lucid" && $as_echo "#define LWLIB_MENUBARS_LUCID 1" >>confdefs.h 16624 test "$with_menubars" = "lucid" && $as_echo "#define LWLIB_MENUBARS_LUCID 1" >>confdefs.h
16628 16625
16629 test "$enable_scrollbars" = "lucid" && $as_echo "#define LWLIB_SCROLLBARS_LUCID 1" >>confdefs.h 16626 test "$with_scrollbars" = "lucid" && $as_echo "#define LWLIB_SCROLLBARS_LUCID 1" >>confdefs.h
16630 16627
16631 16628
16632 test "$enable_menubars" = "motif" && $as_echo "#define LWLIB_MENUBARS_MOTIF 1" >>confdefs.h 16629 test "$with_menubars" = "motif" && $as_echo "#define LWLIB_MENUBARS_MOTIF 1" >>confdefs.h
16633 16630
16634 test "$enable_scrollbars" = "motif" && $as_echo "#define LWLIB_SCROLLBARS_MOTIF 1" >>confdefs.h 16631 test "$with_scrollbars" = "motif" && $as_echo "#define LWLIB_SCROLLBARS_MOTIF 1" >>confdefs.h
16635 16632
16636 test "$enable_dialogs" = "motif" && $as_echo "#define LWLIB_DIALOGS_MOTIF 1" >>confdefs.h 16633 test "$with_dialogs" = "motif" && $as_echo "#define LWLIB_DIALOGS_MOTIF 1" >>confdefs.h
16637 16634
16638 test "$enable_widgets" = "motif" && $as_echo "#define LWLIB_WIDGETS_MOTIF 1" >>confdefs.h 16635 test "$with_widgets" = "motif" && $as_echo "#define LWLIB_WIDGETS_MOTIF 1" >>confdefs.h
16639 16636
16640 16637
16641 test "$with_xft_menubars" = "yes" && $as_echo "#define USE_XFT_MENUBARS 1" >>confdefs.h 16638 test "$with_xft_menubars" = "yes" && $as_echo "#define USE_XFT_MENUBARS 1" >>confdefs.h
16642 16639
16643 test "$with_xft_tabs" = "yes" && $as_echo "#define USE_XFT_TABS 1" >>confdefs.h 16640 test "$with_xft_tabs" = "yes" && $as_echo "#define USE_XFT_TABS 1" >>confdefs.h
16644 16641
16645 test "$with_xft_gauges" = "yes" && $as_echo "#define USE_XFT_GAUGES 1" >>confdefs.h 16642 test "$with_xft_gauges" = "yes" && $as_echo "#define USE_XFT_GAUGES 1" >>confdefs.h
16646 16643
16647 16644
16648 16645
16649 test -z "$enable_mule" && enable_mule=no 16646 test -z "$with_mule" && with_mule=no
16650 16647
16651 16648
16652 if test "$enable_default_eol_detection" = "yes"; then 16649 if test "$with_default_eol_detection" = "yes"; then
16653 $as_echo "#define HAVE_DEFAULT_EOL_DETECTION 1" >>confdefs.h 16650 $as_echo "#define HAVE_DEFAULT_EOL_DETECTION 1" >>confdefs.h
16654 16651
16655 fi 16652 fi
16656 16653
16657 canna_libs= 16654 canna_libs=
16658 wnn_libs= 16655 wnn_libs=
16659 16656
16660 if test "$enable_mule" = "yes" ; then 16657 if test "$with_mule" = "yes" ; then
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mule-related features" >&5 16658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mule-related features" >&5
16662 $as_echo_n "checking for Mule-related features... " >&6; } 16659 $as_echo_n "checking for Mule-related features... " >&6; }
16663 $as_echo "#define MULE 1" >>confdefs.h 16660 $as_echo "#define MULE 1" >>confdefs.h
16664 16661
16665 16662
16918 : 16915 :
16919 else 16916 else
16920 with_xfs=no 16917 with_xfs=no
16921 fi 16918 fi
16922 16919
16923 if test "$with_xfs" = "yes" && test "$enable_menubars" = "lucid"; then 16920 if test "$with_xfs" = "yes" && test "$with_menubars" = "lucid"; then
16924 $as_echo "#define USE_XFONTSET 1" >>confdefs.h 16921 $as_echo "#define USE_XFONTSET 1" >>confdefs.h
16925 16922
16926 if test "$with_xim" = "no" ; then 16923 if test "$with_xim" = "no" ; then
16927 extra_objs="$extra_objs input-method-xlib.o" && if test "$verbose" = "yes"; then 16924 extra_objs="$extra_objs input-method-xlib.o" && if test "$verbose" = "yes"; then
16928 echo " xemacs will be linked with \"input-method-xlib.o\"" 16925 echo " xemacs will be linked with \"input-method-xlib.o\""
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sound support" >&5 18743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sound support" >&5
18747 $as_echo_n "checking for sound support... " >&6; } 18744 $as_echo_n "checking for sound support... " >&6; }
18748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 18745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18749 $as_echo "" >&6; } 18746 $as_echo "" >&6; }
18750 18747
18751 test -n "$with_native_sound_lib" && enable_sound_native=yes 18748 test -n "$with_native_sound_lib" && with_sound_native=yes
18752 18749
18753 if test "$enable_sound_native" != "no"; then 18750 if test "$with_sound_native" != "no"; then
18754 if test -n "$with_native_sound_lib"; then 18751 if test -n "$with_native_sound_lib"; then
18755 ac_fn_c_check_header_mongrel "$LINENO" "multimedia/audio_device.h" "ac_cv_header_multimedia_audio_device_h" "$ac_includes_default" 18752 ac_fn_c_check_header_mongrel "$LINENO" "multimedia/audio_device.h" "ac_cv_header_multimedia_audio_device_h" "$ac_includes_default"
18756 if test "x$ac_cv_header_multimedia_audio_device_h" = x""yes; then : 18753 if test "x$ac_cv_header_multimedia_audio_device_h" = x""yes; then :
18757 sound_found=yes sound_cflags="" 18754 sound_found=yes sound_cflags=""
18758 extra_objs="$extra_objs sunplay.o" && if test "$verbose" = "yes"; then 18755 extra_objs="$extra_objs sunplay.o" && if test "$verbose" = "yes"; then
18983 18980
18984 fi 18981 fi
18985 fi 18982 fi
18986 18983
18987 if test "$sound_found" = "yes"; then 18984 if test "$sound_found" = "yes"; then
18988 enable_sound_native=yes 18985 with_sound_native=yes
18989 else 18986 else
18990 if test "$enable_sound_native" = "yes" ; then 18987 if test "$with_sound_native" = "yes" ; then
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native libraries found. Disabling native sound support." >&5 18988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native libraries found. Disabling native sound support." >&5
18992 $as_echo "$as_me: WARNING: No native libraries found. Disabling native sound support." >&2;} 18989 $as_echo "$as_me: WARNING: No native libraries found. Disabling native sound support." >&2;}
18993 fi 18990 fi
18994 enable_sound_native=no 18991 with_sound_native=no
18995 fi 18992 fi
18996 fi 18993 fi
18997 18994
18998 if test "$enable_sound_native" = "yes"; then 18995 if test "$with_sound_native" = "yes"; then
18999 $as_echo "#define HAVE_NATIVE_SOUND 1" >>confdefs.h 18996 $as_echo "#define HAVE_NATIVE_SOUND 1" >>confdefs.h
19000 18997
19001 test -n "$with_native_sound_lib" && LIBS="$with_native_sound_lib $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"$with_native_sound_lib\" to \$LIBS"; fi 18998 test -n "$with_native_sound_lib" && LIBS="$with_native_sound_lib $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"$with_native_sound_lib\" to \$LIBS"; fi
19002 fi 18999 fi
19003 19000
19004 if test "$enable_sound_alsa" != "no"; then 19001 if test "$with_sound_alsa" != "no"; then
19005 ac_fn_c_check_header_mongrel "$LINENO" "alsa/input.h" "ac_cv_header_alsa_input_h" "$ac_includes_default" 19002 ac_fn_c_check_header_mongrel "$LINENO" "alsa/input.h" "ac_cv_header_alsa_input_h" "$ac_includes_default"
19006 if test "x$ac_cv_header_alsa_input_h" = x""yes; then : 19003 if test "x$ac_cv_header_alsa_input_h" = x""yes; then :
19007 19004
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5 19005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5
19009 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; } 19006 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; }
19047 19044
19048 fi 19045 fi
19049 19046
19050 19047
19051 if test "$have_alsa_sound" = "yes"; then 19048 if test "$have_alsa_sound" = "yes"; then
19052 enable_sound_alsa=yes 19049 with_sound_alsa=yes
19053 $as_echo "#define HAVE_ALSA_SOUND 1" >>confdefs.h 19050 $as_echo "#define HAVE_ALSA_SOUND 1" >>confdefs.h
19054 19051
19055 extra_objs="$extra_objs alsaplay.o" && if test "$verbose" = "yes"; then 19052 extra_objs="$extra_objs alsaplay.o" && if test "$verbose" = "yes"; then
19056 echo " xemacs will be linked with \"alsaplay.o\"" 19053 echo " xemacs will be linked with \"alsaplay.o\""
19057 fi 19054 fi
19058 LIBS="-lasound $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lasound\" to \$LIBS"; fi 19055 LIBS="-lasound $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lasound\" to \$LIBS"; fi
19059 else 19056 else
19060 test "$enable_sound_alsa" = "yes" && \ 19057 test "$with_sound_alsa" = "yes" && \
19061 { echo "Error:" "Required ALSA sound support cannot be provided." >&2; exit 1; } 19058 { echo "Error:" "Required ALSA sound support cannot be provided." >&2; exit 1; }
19062 enable_sound_alsa=no 19059 with_sound_alsa=no
19063 fi 19060 fi
19064 fi 19061 fi
19065 19062
19066 if test "$enable_sound_nas" != "no"; then 19063 if test "$with_sound_nas" != "no"; then
19067 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default" 19064 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
19068 if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then : 19065 if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then :
19069 19066
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5 19067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5
19071 $as_echo_n "checking for AuOpenServer in -laudio... " >&6; } 19068 $as_echo_n "checking for AuOpenServer in -laudio... " >&6; }
19109 19106
19110 fi 19107 fi
19111 19108
19112 19109
19113 if test "$have_nas_sound" = "yes"; then 19110 if test "$have_nas_sound" = "yes"; then
19114 enable_sound_nas=yes 19111 with_sound_nas=yes
19115 $as_echo "#define HAVE_NAS_SOUND 1" >>confdefs.h 19112 $as_echo "#define HAVE_NAS_SOUND 1" >>confdefs.h
19116 19113
19117 extra_objs="$extra_objs nas.o" && if test "$verbose" = "yes"; then 19114 extra_objs="$extra_objs nas.o" && if test "$verbose" = "yes"; then
19118 echo " xemacs will be linked with \"nas.o\"" 19115 echo " xemacs will be linked with \"nas.o\""
19119 fi 19116 fi
19131 19128
19132 fi 19129 fi
19133 rm -f conftest* 19130 rm -f conftest*
19134 19131
19135 else 19132 else
19136 test "$enable_sound_nas" = "yes" && \ 19133 test "$with_sound_nas" = "yes" && \
19137 { echo "Error:" "Required NAS sound support cannot be provided." >&2; exit 1; } 19134 { echo "Error:" "Required NAS sound support cannot be provided." >&2; exit 1; }
19138 enable_sound_nas=no 19135 with_sound_nas=no
19139 fi 19136 fi
19140 fi 19137 fi
19141 19138
19142 if test "$enable_sound_esd" != "no"; then 19139 if test "$with_sound_esd" != "no"; then
19143 # Extract the first word of "esd-config", so it can be a program name with args. 19140 # Extract the first word of "esd-config", so it can be a program name with args.
19144 set dummy esd-config; ac_word=$2 19141 set dummy esd-config; ac_word=$2
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19146 $as_echo_n "checking for $ac_word... " >&6; } 19143 $as_echo_n "checking for $ac_word... " >&6; }
19147 if test "${ac_cv_prog_have_esd_config+set}" = set; then : 19144 if test "${ac_cv_prog_have_esd_config+set}" = set; then :
19190 fi 19187 fi
19191 19188
19192 fi 19189 fi
19193 19190
19194 if test "$have_esd_sound" = "yes"; then 19191 if test "$have_esd_sound" = "yes"; then
19195 enable_sound_esd=yes 19192 with_sound_esd=yes
19196 need_miscplay=yes 19193 need_miscplay=yes
19197 extra_objs="$extra_objs esd.o" && if test "$verbose" = "yes"; then 19194 extra_objs="$extra_objs esd.o" && if test "$verbose" = "yes"; then
19198 echo " xemacs will be linked with \"esd.o\"" 19195 echo " xemacs will be linked with \"esd.o\""
19199 fi 19196 fi
19200 $as_echo "#define HAVE_ESD_SOUND 1" >>confdefs.h 19197 $as_echo "#define HAVE_ESD_SOUND 1" >>confdefs.h
19201 19198
19202 else 19199 else
19203 test "$enable_sound_esd" = "yes" && \ 19200 test "$with_sound_esd" = "yes" && \
19204 { echo "Error:" "Required ESD sound support cannot be provided." >&2; exit 1; } 19201 { echo "Error:" "Required ESD sound support cannot be provided." >&2; exit 1; }
19205 enable_sound_esd=no 19202 with_sound_esd=no
19206 fi 19203 fi
19207 fi 19204 fi
19208 19205
19209 test "$need_miscplay" = "yes" && extra_objs="$extra_objs miscplay.o" && if test "$verbose" = "yes"; then 19206 test "$need_miscplay" = "yes" && extra_objs="$extra_objs miscplay.o" && if test "$verbose" = "yes"; then
19210 echo " xemacs will be linked with \"miscplay.o\"" 19207 echo " xemacs will be linked with \"miscplay.o\""
19523 fi 19520 fi
19524 eval "with_${feature}=no" 19521 eval "with_${feature}=no"
19525 done 19522 done
19526 fi 19523 fi
19527 19524
19528 test "$enable_database_gdbm $enable_database_dbm $enable_database_berkdb" \ 19525 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
19529 != "no no no" && { $as_echo "$as_me:${as_lineno-$LINENO}: checking for database support" >&5 19526 != "no no no" && { $as_echo "$as_me:${as_lineno-$LINENO}: checking for database support" >&5
19530 $as_echo_n "checking for database support... " >&6; } && \ 19527 $as_echo_n "checking for database support... " >&6; } && \
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 19528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
19532 $as_echo "" >&6; } 19529 $as_echo "" >&6; }
19533 19530
19534 if test "$enable_database_gdbm $enable_database_dbm" != "no no"; then 19531 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
19535 ndbm_h_file="" 19532 ndbm_h_file=""
19536 for ac_header in ndbm.h gdbm/ndbm.h 19533 for ac_header in ndbm.h gdbm/ndbm.h
19537 do : 19534 do :
19538 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19535 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19539 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19536 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19546 fi 19543 fi
19547 19544
19548 done 19545 done
19549 19546
19550 if test "x$ndbm_h_file" = "x"; then 19547 if test "x$ndbm_h_file" = "x"; then
19551 test "$enable_database_gdbm" = "yes" -o \ 19548 test "$with_database_gdbm" = "yes" -o \
19552 "$enable_database_dbm" = "yes" && \ 19549 "$with_database_dbm" = "yes" && \
19553 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; } 19550 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; }
19554 enable_database_gdbm=no enable_database_dbm=no] 19551 with_database_gdbm=no with_database_dbm=no]
19555 fi 19552 fi
19556 fi 19553 fi
19557 19554
19558 if test "$enable_database_gdbm" != "no"; then 19555 if test "$with_database_gdbm" != "no"; then
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm" >&5 19556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm" >&5
19560 $as_echo_n "checking for dbm_open in -lgdbm... " >&6; } 19557 $as_echo_n "checking for dbm_open in -lgdbm... " >&6; }
19561 if test "${ac_cv_lib_gdbm_dbm_open+set}" = set; then : 19558 if test "${ac_cv_lib_gdbm_dbm_open+set}" = set; then :
19562 $as_echo_n "(cached) " >&6 19559 $as_echo_n "(cached) " >&6
19563 else 19560 else
19592 fi 19589 fi
19593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_dbm_open" >&5 19590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_dbm_open" >&5
19594 $as_echo "$ac_cv_lib_gdbm_dbm_open" >&6; } 19591 $as_echo "$ac_cv_lib_gdbm_dbm_open" >&6; }
19595 if test "x$ac_cv_lib_gdbm_dbm_open" = x""yes; then : 19592 if test "x$ac_cv_lib_gdbm_dbm_open" = x""yes; then :
19596 19593
19597 enable_database_gdbm=yes enable_database_dbm=no libdbm=-lgdbm 19594 with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm
19598 else 19595 else
19599 19596
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm_compat" >&5 19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm_compat" >&5
19601 $as_echo_n "checking for dbm_open in -lgdbm_compat... " >&6; } 19598 $as_echo_n "checking for dbm_open in -lgdbm_compat... " >&6; }
19602 if test "${ac_cv_lib_gdbm_compat_dbm_open+set}" = set; then : 19599 if test "${ac_cv_lib_gdbm_compat_dbm_open+set}" = set; then :
19633 fi 19630 fi
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_compat_dbm_open" >&5 19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_compat_dbm_open" >&5
19635 $as_echo "$ac_cv_lib_gdbm_compat_dbm_open" >&6; } 19632 $as_echo "$ac_cv_lib_gdbm_compat_dbm_open" >&6; }
19636 if test "x$ac_cv_lib_gdbm_compat_dbm_open" = x""yes; then : 19633 if test "x$ac_cv_lib_gdbm_compat_dbm_open" = x""yes; then :
19637 19634
19638 enable_database_gdbm=yes enable_database_dbm=no libdbm="-lgdbm_compat -lgdbm" 19635 with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm_compat -lgdbm"
19639 else 19636 else
19640 19637
19641 if test "$enable_database_gdbm" = "yes"; then 19638 if test "$with_database_gdbm" = "yes"; then
19642 { echo "Error:" "Required GNU DBM support cannot be provided." >&2; exit 1; } 19639 { echo "Error:" "Required GNU DBM support cannot be provided." >&2; exit 1; }
19643 fi 19640 fi
19644 enable_database_gdbm=no 19641 with_database_gdbm=no
19645 fi 19642 fi
19646 19643
19647 19644
19648 fi 19645 fi
19649 19646
19650 fi 19647 fi
19651 19648
19652 if test "$enable_database_dbm" != "no"; then 19649 if test "$with_database_dbm" != "no"; then
19653 ac_fn_c_check_func "$LINENO" "dbm_open" "ac_cv_func_dbm_open" 19650 ac_fn_c_check_func "$LINENO" "dbm_open" "ac_cv_func_dbm_open"
19654 if test "x$ac_cv_func_dbm_open" = x""yes; then : 19651 if test "x$ac_cv_func_dbm_open" = x""yes; then :
19655 enable_database_dbm=yes libdbm= 19652 with_database_dbm=yes libdbm=
19656 else 19653 else
19657 19654
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -ldbm" >&5 19655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -ldbm" >&5
19659 $as_echo_n "checking for dbm_open in -ldbm... " >&6; } 19656 $as_echo_n "checking for dbm_open in -ldbm... " >&6; }
19660 if test "${ac_cv_lib_dbm_dbm_open+set}" = set; then : 19657 if test "${ac_cv_lib_dbm_dbm_open+set}" = set; then :
19690 LIBS=$ac_check_lib_save_LIBS 19687 LIBS=$ac_check_lib_save_LIBS
19691 fi 19688 fi
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbm_dbm_open" >&5 19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbm_dbm_open" >&5
19693 $as_echo "$ac_cv_lib_dbm_dbm_open" >&6; } 19690 $as_echo "$ac_cv_lib_dbm_dbm_open" >&6; }
19694 if test "x$ac_cv_lib_dbm_dbm_open" = x""yes; then : 19691 if test "x$ac_cv_lib_dbm_dbm_open" = x""yes; then :
19695 enable_database_dbm=yes libdbm=-ldbm 19692 with_database_dbm=yes libdbm=-ldbm
19696 else 19693 else
19697 19694
19698 test "$enable_database_dbm" = "yes" && \ 19695 test "$with_database_dbm" = "yes" && \
19699 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; } 19696 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; }
19700 enable_database_dbm=no 19697 with_database_dbm=no
19701 fi 19698 fi
19702 19699
19703 fi 19700 fi
19704 19701
19705 fi 19702 fi
19706 19703
19707 test -n "$libdbm" && LIBS=""$libdbm" $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \""$libdbm"\" to \$LIBS"; fi 19704 test -n "$libdbm" && LIBS=""$libdbm" $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \""$libdbm"\" to \$LIBS"; fi
19708 if test "$enable_database_gdbm" = "yes" -o \ 19705 if test "$with_database_gdbm" = "yes" -o \
19709 "$enable_database_dbm" = "yes"; then 19706 "$with_database_dbm" = "yes"; then
19710 cat >>confdefs.h <<_ACEOF 19707 cat >>confdefs.h <<_ACEOF
19711 #define NDBM_H_FILE "$ndbm_h_file" 19708 #define NDBM_H_FILE "$ndbm_h_file"
19712 _ACEOF 19709 _ACEOF
19713 19710
19714 $as_echo "#define HAVE_DBM 1" >>confdefs.h 19711 $as_echo "#define HAVE_DBM 1" >>confdefs.h
19743 19740
19744 19741
19745 fi 19742 fi
19746 19743
19747 19744
19748 if test "$enable_database_berkdb" != "no"; then 19745 if test "$with_database_berkdb" != "no"; then
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley db.h" >&5 19746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley db.h" >&5
19750 $as_echo_n "checking for Berkeley db.h... " >&6; } 19747 $as_echo_n "checking for Berkeley db.h... " >&6; }
19751 for header in "db/db.h" "db.h"; do 19748 for header in "db/db.h" "db.h"; do
19752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19753 /* end confdefs.h. */ 19750 /* end confdefs.h. */
19781 fi 19778 fi
19782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19783 done 19780 done
19784 if test -z "$db_h_file" 19781 if test -z "$db_h_file"
19785 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 19782 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19786 $as_echo "no" >&6; }; enable_database_berkdb=no 19783 $as_echo "no" >&6; }; with_database_berkdb=no
19787 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: $db_h_file" >&5 19784 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: $db_h_file" >&5
19788 $as_echo "$db_h_file" >&6; } 19785 $as_echo "$db_h_file" >&6; }
19789 fi 19786 fi
19790 19787
19791 if test "$enable_database_berkdb" != "no"; then 19788 if test "$with_database_berkdb" != "no"; then
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley DB version" >&5 19789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley DB version" >&5
19793 $as_echo_n "checking for Berkeley DB version... " >&6; } 19790 $as_echo_n "checking for Berkeley DB version... " >&6; }
19794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19795 /* end confdefs.h. */ 19792 /* end confdefs.h. */
19796 #include <$db_h_file> 19793 #include <$db_h_file>
19846 19843
19847 as_ac_var=`$as_echo "ac_cv_func_$dbfunc" | $as_tr_sh` 19844 as_ac_var=`$as_echo "ac_cv_func_$dbfunc" | $as_tr_sh`
19848 ac_fn_c_check_func "$LINENO" "$dbfunc" "$as_ac_var" 19845 ac_fn_c_check_func "$LINENO" "$dbfunc" "$as_ac_var"
19849 eval as_val=\$$as_ac_var 19846 eval as_val=\$$as_ac_var
19850 if test "x$as_val" = x""yes; then : 19847 if test "x$as_val" = x""yes; then :
19851 enable_database_berkdb=yes need_libdb=no 19848 with_database_berkdb=yes need_libdb=no
19852 else 19849 else
19853 19850
19854 as_ac_Lib=`$as_echo "ac_cv_lib_db_$dbfunc" | $as_tr_sh` 19851 as_ac_Lib=`$as_echo "ac_cv_lib_db_$dbfunc" | $as_tr_sh`
19855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dbfunc in -ldb" >&5 19852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dbfunc in -ldb" >&5
19856 $as_echo_n "checking for $dbfunc in -ldb... " >&6; } 19853 $as_echo_n "checking for $dbfunc in -ldb... " >&6; }
19889 eval ac_res=\$$as_ac_Lib 19886 eval ac_res=\$$as_ac_Lib
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 19887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19891 $as_echo "$ac_res" >&6; } 19888 $as_echo "$ac_res" >&6; }
19892 eval as_val=\$$as_ac_Lib 19889 eval as_val=\$$as_ac_Lib
19893 if test "x$as_val" = x""yes; then : 19890 if test "x$as_val" = x""yes; then :
19894 enable_database_berkdb=yes need_libdb=yes 19891 with_database_berkdb=yes need_libdb=yes
19895 fi 19892 fi
19896 19893
19897 fi 19894 fi
19898 19895
19899 fi 19896 fi
19900 19897
19901 if test "$enable_database_berkdb" = "yes" -a "$dbver" = "4"; then 19898 if test "$with_database_berkdb" = "yes" -a "$dbver" = "4"; then
19902 rm -f $tempcname 19899 rm -f $tempcname
19903 echo "#include <$db_h_file>" > $tempcname 19900 echo "#include <$db_h_file>" > $tempcname
19904 echo "configure___ dbfunc=db_create" >> $tempcname 19901 echo "configure___ dbfunc=db_create" >> $tempcname
19905 eval `$CPP -Isrc $tempcname \ 19902 eval `$CPP -Isrc $tempcname \
19906 | sed -n -e "s/[ TAB]*=[ TAB\"]*/='/" -e "s/[ TAB\"]*\$/'/" -e "s/^configure___//p"` 19903 | sed -n -e "s/[ TAB]*=[ TAB\"]*/='/" -e "s/[ TAB\"]*\$/'/" -e "s/^configure___//p"`
19945 eval ac_res=\$$as_ac_Lib 19942 eval ac_res=\$$as_ac_Lib
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 19943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19947 $as_echo "$ac_res" >&6; } 19944 $as_echo "$ac_res" >&6; }
19948 eval as_val=\$$as_ac_Lib 19945 eval as_val=\$$as_ac_Lib
19949 if test "x$as_val" = x""yes; then : 19946 if test "x$as_val" = x""yes; then :
19950 enable_database_berkdb=yes need_libdb=yes 19947 with_database_berkdb=yes need_libdb=yes
19951 fi 19948 fi
19952 19949
19953 fi 19950 fi
19954 19951
19955 if test "$enable_database_berkdb" = "yes"; then 19952 if test "$with_database_berkdb" = "yes"; then
19956 cat >>confdefs.h <<_ACEOF 19953 cat >>confdefs.h <<_ACEOF
19957 #define DB_H_FILE "$db_h_file" 19954 #define DB_H_FILE "$db_h_file"
19958 _ACEOF 19955 _ACEOF
19959 19956
19960 $as_echo "#define HAVE_BERKELEY_DB 1" >>confdefs.h 19957 $as_echo "#define HAVE_BERKELEY_DB 1" >>confdefs.h
19961 19958
19962 test "$need_libdb" = "yes" && LIBS="-ldb $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-ldb\" to \$LIBS"; fi 19959 test "$need_libdb" = "yes" && LIBS="-ldb $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-ldb\" to \$LIBS"; fi
19963 else enable_database_berkdb=no 19960 else with_database_berkdb=no
19964 fi 19961 fi
19965 fi 19962 fi
19966 19963
19967 if test "$enable_database_gdbm $enable_database_dbm $enable_database_berkdb" \ 19964 if test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
19968 != "no no no"; then 19965 != "no no no"; then
19969 $as_echo "#define HAVE_DATABASE 1" >>confdefs.h 19966 $as_echo "#define HAVE_DATABASE 1" >>confdefs.h
19970 19967
19971 fi 19968 fi
19972 19969
20024 $as_echo "#define USAGE_TRACKING 1" >>confdefs.h 20021 $as_echo "#define USAGE_TRACKING 1" >>confdefs.h
20025 20022
20026 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi 20023 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi
20027 fi 20024 fi
20028 20025
20029 if test "$enable_bignum" = "gmp"; then 20026 if test "$with_bignum" = "gmp"; then
20030 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 20027 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
20031 if test "x$ac_cv_header_gmp_h" = x""yes; then : 20028 if test "x$ac_cv_header_gmp_h" = x""yes; then :
20032 20029
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5 20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
20034 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; } 20031 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
20080 20077
20081 LIBS="-lgmp $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lgmp\" to \$LIBS"; fi 20078 LIBS="-lgmp $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lgmp\" to \$LIBS"; fi
20082 else 20079 else
20083 { echo "Error:" "Required GMP numeric support cannot be provided." >&2; exit 1; } 20080 { echo "Error:" "Required GMP numeric support cannot be provided." >&2; exit 1; }
20084 fi 20081 fi
20085 elif test "$enable_bignum" = "mp"; then 20082 elif test "$with_bignum" = "mp"; then
20086 for library in "" "-lcrypto"; do 20083 for library in "" "-lcrypto"; do
20087 ac_fn_c_check_header_mongrel "$LINENO" "mp.h" "ac_cv_header_mp_h" "$ac_includes_default" 20084 ac_fn_c_check_header_mongrel "$LINENO" "mp.h" "ac_cv_header_mp_h" "$ac_includes_default"
20088 if test "x$ac_cv_header_mp_h" = x""yes; then : 20085 if test "x$ac_cv_header_mp_h" = x""yes; then :
20089 20086
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_mfree in -lmp" >&5 20087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_mfree in -lmp" >&5
20245 $as_echo "#define HAVE_UNIX_PROCESSES 1" >>confdefs.h 20242 $as_echo "#define HAVE_UNIX_PROCESSES 1" >>confdefs.h
20246 20243
20247 fi 20244 fi
20248 20245
20249 20246
20250 if test "$enable_modules" = "yes"; then 20247 if test "$with_modules" = "yes"; then
20251 ld_libs_module= 20248 ld_libs_module=
20252 else 20249 else
20253 20250
20254 T="" 20251 T=""
20255 for W in $ldap_libs $postgresql_libs $canna_libs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done 20252 for W in $ldap_libs $postgresql_libs $canna_libs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done
20311 T="" 20308 T=""
20312 for W in $ld_libs_window_system $ld_libs_general $ld_libs_module; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done 20309 for W in $ld_libs_window_system $ld_libs_general $ld_libs_module; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done
20313 ld_libs_all="$T" 20310 ld_libs_all="$T"
20314 20311
20315 20312
20316 if test "$enable_modules" = "no"; then 20313 if test "$with_modules" = "no"; then
20317 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi 20314 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi
20318 fi 20315 fi
20319 20316
20320 20317
20321 internal_makefile_list="Makefile.in" 20318 internal_makefile_list="Makefile.in"
20678 fi 20675 fi
20679 test "$GCC" = "yes" && $as_echo "#define USE_GCC 1" >>confdefs.h 20676 test "$GCC" = "yes" && $as_echo "#define USE_GCC 1" >>confdefs.h
20680 20677
20681 test "$with_xemacs_compiler" = "g++" && $as_echo "#define USE_GPLUSPLUS 1" >>confdefs.h 20678 test "$with_xemacs_compiler" = "g++" && $as_echo "#define USE_GPLUSPLUS 1" >>confdefs.h
20682 20679
20683 test "$enable_external_widget" = "yes" && $as_echo "#define EXTERNAL_WIDGET 1" >>confdefs.h 20680 test "$with_external_widget" = "yes" && $as_echo "#define EXTERNAL_WIDGET 1" >>confdefs.h
20684 20681
20685 test "$enable_kkcc" = "yes" && $as_echo "#define USE_KKCC 1" >>confdefs.h 20682 test "$with_kkcc" = "yes" && $as_echo "#define USE_KKCC 1" >>confdefs.h
20686 20683
20687 test "$enable_newgc" = "yes" && $as_echo "#define NEW_GC 1" >>confdefs.h 20684 test "$with_newgc" = "yes" && $as_echo "#define NEW_GC 1" >>confdefs.h
20688 20685
20689 test "$have_vdb_posix" = "yes" && $as_echo "#define VDB_POSIX 1" >>confdefs.h 20686 test "$have_vdb_posix" = "yes" && $as_echo "#define VDB_POSIX 1" >>confdefs.h
20690 20687
20691 test "$have_vdb_fake" = "yes" && $as_echo "#define VDB_FAKE 1" >>confdefs.h 20688 test "$have_vdb_fake" = "yes" && $as_echo "#define VDB_FAKE 1" >>confdefs.h
20692 20689
20693 test "$enable_quick_build" = "yes" && $as_echo "#define QUICK_BUILD 1" >>confdefs.h 20690 test "$with_quick_build" = "yes" && $as_echo "#define QUICK_BUILD 1" >>confdefs.h
20694 20691
20695 test "$with_purify" = "yes" && $as_echo "#define PURIFY 1" >>confdefs.h 20692 test "$with_purify" = "yes" && $as_echo "#define PURIFY 1" >>confdefs.h
20696 20693
20697 test "$with_quantify" = "yes" && $as_echo "#define QUANTIFY 1" >>confdefs.h 20694 test "$with_quantify" = "yes" && $as_echo "#define QUANTIFY 1" >>confdefs.h
20698 20695
20702 20699
20703 test "$with_kerberos" = "yes" && $as_echo "#define KERBEROS 1" >>confdefs.h 20700 test "$with_kerberos" = "yes" && $as_echo "#define KERBEROS 1" >>confdefs.h
20704 20701
20705 test "$with_hesiod" = "yes" && $as_echo "#define HESIOD 1" >>confdefs.h 20702 test "$with_hesiod" = "yes" && $as_echo "#define HESIOD 1" >>confdefs.h
20706 20703
20707 test "$enable_union_type" = "yes" && $as_echo "#define USE_UNION_TYPE 1" >>confdefs.h 20704 test "$with_union_type" = "yes" && $as_echo "#define USE_UNION_TYPE 1" >>confdefs.h
20708 20705
20709 test "$enable_pdump" = "yes" && $as_echo "#define PDUMP 1" >>confdefs.h 20706 test "$with_pdump" = "yes" && $as_echo "#define PDUMP 1" >>confdefs.h
20710 20707
20711 test "$enable_dump_in_exec" = "yes" && $as_echo "#define DUMP_IN_EXEC 1" >>confdefs.h 20708 test "$with_dump_in_exec" = "yes" && $as_echo "#define DUMP_IN_EXEC 1" >>confdefs.h
20712 20709
20713 test "$with_ipv6_cname" = "yes" && $as_echo "#define IPV6_CANONICALIZE 1" >>confdefs.h 20710 test "$with_ipv6_cname" = "yes" && $as_echo "#define IPV6_CANONICALIZE 1" >>confdefs.h
20714 20711
20715 20712
20716 20713
20782 echo " libc version: $libc_version" 20779 echo " libc version: $libc_version"
20783 echo " Relocating allocator for buffers: $with_rel_alloc" 20780 echo " Relocating allocator for buffers: $with_rel_alloc"
20784 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}" 20781 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}"
20785 case "$ld_switch_site" in 20782 case "$ld_switch_site" in
20786 *nocombreloc*) echo " Linking with \`-z nocombreloc'. 20783 *nocombreloc*) echo " Linking with \`-z nocombreloc'.
20787 - Consider configuring with --enable-pdump." ;; 20784 - Consider configuring with --with-pdump." ;;
20788 esac 20785 esac
20789 20786
20790 echo " 20787 echo "
20791 Window System:" 20788 Window System:"
20792 if test "$with_msw" = "yes"; then 20789 if test "$with_msw" = "yes"; then
20822 if test "$need_athena" = "yes"; then 20819 if test "$need_athena" = "yes"; then
20823 echo " Compiling in support for the Athena widget set:" 20820 echo " Compiling in support for the Athena widget set:"
20824 echo " - Athena headers location: $athena_h_path" 20821 echo " - Athena headers location: $athena_h_path"
20825 echo " - Athena library to link: $athena_lib" 20822 echo " - Athena library to link: $athena_lib"
20826 fi 20823 fi
20827 case "$enable_menubars" in 20824 case "$with_menubars" in
20828 gtk ) echo " Using GTK menubars." ;; 20825 gtk ) echo " Using GTK menubars." ;;
20829 lucid ) echo " Using Lucid menubars." ;; 20826 lucid ) echo " Using Lucid menubars." ;;
20830 motif ) echo " Using Motif menubars." 20827 motif ) echo " Using Motif menubars."
20831 echo " *WARNING* The Motif menubar implementation is currently buggy." 20828 echo " *WARNING* The Motif menubar implementation is currently buggy."
20832 echo " We recommend using the Lucid menubar instead." 20829 echo " We recommend using the Lucid menubar instead."
20833 echo " Re-run configure with --enable-menubars='lucid'." ;; 20830 echo " Re-run configure with --with-menubars='lucid'." ;;
20834 msw ) echo " Using MS-Windows menubars." ;; 20831 msw ) echo " Using MS-Windows menubars." ;;
20835 esac 20832 esac
20836 if test "$with_xft_menubars" = "yes"; then 20833 if test "$with_xft_menubars" = "yes"; then
20837 echo " - Using Xft to render antialiased fonts in menubars." 20834 echo " - Using Xft to render antialiased fonts in menubars."
20838 echo " WARNING: This feature will be replaced with a face." 20835 echo " WARNING: This feature will be replaced with a face."
20839 fi 20836 fi
20840 case "$enable_scrollbars" in 20837 case "$with_scrollbars" in
20841 gtk ) echo " Using GTK scrollbars." ;; 20838 gtk ) echo " Using GTK scrollbars." ;;
20842 lucid ) echo " Using Lucid scrollbars." ;; 20839 lucid ) echo " Using Lucid scrollbars." ;;
20843 motif ) echo " Using Motif scrollbars." ;; 20840 motif ) echo " Using Motif scrollbars." ;;
20844 athena ) echo " Using Athena scrollbars." ;; 20841 athena ) echo " Using Athena scrollbars." ;;
20845 msw ) echo " Using MS-Windows scrollbars." ;; 20842 msw ) echo " Using MS-Windows scrollbars." ;;
20846 esac 20843 esac
20847 case "$enable_dialogs" in 20844 case "$with_dialogs" in
20848 gtk ) echo " Using GTK dialog boxes." ;; 20845 gtk ) echo " Using GTK dialog boxes." ;;
20849 motif ) echo " Using Motif dialog boxes." 20846 motif ) echo " Using Motif dialog boxes."
20850 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then 20847 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then
20851 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." 20848 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher."
20852 echo " We recommend using the Athena dialog boxes instead." 20849 echo " We recommend using the Athena dialog boxes instead."
20853 echo " Install libXaw and re-run configure with --enable-dialogs='athena'." 20850 echo " Install libXaw and re-run configure with --with-dialogs='athena'."
20854 echo " Read the PROBLEMS file for more information." 20851 echo " Read the PROBLEMS file for more information."
20855 fi; fi ;; 20852 fi; fi ;;
20856 athena ) echo " Using Athena dialog boxes." ;; 20853 athena ) echo " Using Athena dialog boxes." ;;
20857 msw ) echo " Using MS-Windows dialog boxes." ;; 20854 msw ) echo " Using MS-Windows dialog boxes." ;;
20858 esac 20855 esac
20859 case "$enable_widgets" in 20856 case "$with_widgets" in
20860 gtk ) echo " Using GTK native widgets." ;; 20857 gtk ) echo " Using GTK native widgets." ;;
20861 motif ) echo " Using Motif native widgets." ;; 20858 motif ) echo " Using Motif native widgets." ;;
20862 athena ) echo " Using Athena native widgets." ;; 20859 athena ) echo " Using Athena native widgets." ;;
20863 msw ) echo " Using MS-Windows native widgets." ;; 20860 msw ) echo " Using MS-Windows native widgets." ;;
20864 esac 20861 esac
20914 test "$with_tiff" = yes && echo " Compiling in support for TIFF images." 20911 test "$with_tiff" = yes && echo " Compiling in support for TIFF images."
20915 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." 20912 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers."
20916 20913
20917 echo " 20914 echo "
20918 Sound:" 20915 Sound:"
20919 test "$enable_sound_native" = yes && echo " Compiling in support for sound (native)." 20916 test "$with_sound_native" = yes && echo " Compiling in support for sound (native)."
20920 test "$enable_sound_alsa" = yes && echo " Compiling in support for ALSA (Advanced Linux Sound Architecture)." 20917 test "$with_sound_alsa" = yes && echo " Compiling in support for ALSA (Advanced Linux Sound Architecture)."
20921 test "$enable_sound_nas" = yes && echo " Compiling in support for NAS (network audio system)." 20918 test "$with_sound_nas" = yes && echo " Compiling in support for NAS (network audio system)."
20922 test "$old_nas" = yes && echo " - NAS library lacks error trapping; will play synchronously." 20919 test "$old_nas" = yes && echo " - NAS library lacks error trapping; will play synchronously."
20923 test "$enable_sound_esd" = yes && echo " Compiling in support for ESD (Enlightened Sound Daemon)." 20920 test "$with_sound_esd" = yes && echo " Compiling in support for ESD (Enlightened Sound Daemon)."
20924 20921
20925 echo " 20922 echo "
20926 Databases:" 20923 Databases:"
20927 test "$enable_database_berkdb" = yes && echo " Compiling in support for Berkeley database." 20924 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley database."
20928 test "$enable_database_dbm" = yes && echo " Compiling in support for DBM." 20925 test "$with_database_dbm" = yes && echo " Compiling in support for DBM."
20929 test "$enable_database_gdbm" = yes && echo " Compiling in support for GNU DBM." 20926 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM."
20930 test "$with_ldap" = yes && echo " Compiling in support for LDAP." 20927 test "$with_ldap" = yes && echo " Compiling in support for LDAP."
20931 if test "$with_postgresql" = yes; then 20928 if test "$with_postgresql" = yes; then
20932 echo " Compiling in support for PostgreSQL." 20929 echo " Compiling in support for PostgreSQL."
20933 echo " - Using PostgreSQL header file: $libpq_fe_h_file" 20930 echo " - Using PostgreSQL header file: $libpq_fe_h_file"
20934 test "$with_postgresqlv7" = yes && echo " - Using PostgreSQL V7 bindings." 20931 test "$with_postgresqlv7" = yes && echo " - Using PostgreSQL V7 bindings."
20935 fi 20932 fi
20936 20933
20937 echo " 20934 echo "
20938 Internationalization:" 20935 Internationalization:"
20939 test "$enable_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." 20936 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)."
20940 test "$with_xim" != no && echo " Compiling in support for XIM (X11R5+ I18N input method)." 20937 test "$with_xim" != no && echo " Compiling in support for XIM (X11R5+ I18N input method)."
20941 test "$with_xim" = motif && echo " - Using Motif to provide XIM support." 20938 test "$with_xim" = motif && echo " - Using Motif to provide XIM support."
20942 test "$with_xim" = xlib && echo " - Using raw Xlib to provide XIM support." 20939 test "$with_xim" = xlib && echo " - Using raw Xlib to provide XIM support."
20943 test "$with_xfs" = yes && echo " - Using XFontSet to provide bilingual menubar." 20940 test "$with_xfs" = yes && echo " - Using XFontSet to provide bilingual menubar."
20944 test "$have_canna" = yes && echo " Compiling in support for Canna on Mule." 20941 test "$have_canna" = yes && echo " Compiling in support for Canna on Mule."
20959 test "$with_ipv6_cname" = no && echo " Inhibiting IPv6 canonicalization at startup." 20956 test "$with_ipv6_cname" = no && echo " Inhibiting IPv6 canonicalization at startup."
20960 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." 20957 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk."
20961 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." 20958 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop."
20962 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 20959 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
20963 test "$with_dnet" = yes && echo " Compiling in support for DNET." 20960 test "$with_dnet" = yes && echo " Compiling in support for DNET."
20964 test "$enable_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." 20961 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules."
20965 test "$enable_bignum" = "gmp" && echo " Compiling in support for more number types using the GNU MP library." 20962 test "$with_bignum" = "gmp" && echo " Compiling in support for more number types using the GNU MP library."
20966 test "$enable_bignum" = "mp" && echo " Compiling in support for more number types using the BSD MP library." 20963 test "$with_bignum" = "mp" && echo " Compiling in support for more number types using the BSD MP library."
20967 if test "$enable_union_type" = yes ; then 20964 if test "$with_union_type" = yes ; then
20968 echo " Using the union type for Lisp_Objects." 20965 echo " Using the union type for Lisp_Objects."
20969 echo " WARNING: ---------------------------------------------------------" 20966 echo " WARNING: ---------------------------------------------------------"
20970 echo " WARNING: This tends to trigger compiler bugs, especially when" 20967 echo " WARNING: This tends to trigger compiler bugs, especially when"
20971 echo " WARNING: combined with MULE and ERROR_CHECKING. Crashes have" 20968 echo " WARNING: combined with MULE and ERROR_CHECKING. Crashes have"
20972 echo " WARNING: been seen with various versions of GCC (up to about 2.95)," 20969 echo " WARNING: been seen with various versions of GCC (up to about 2.95),"
20973 echo " WARNING: and recently with Visual C++ as well (mid-2003)." 20970 echo " WARNING: and recently with Visual C++ as well (mid-2003)."
20974 echo " WARNING: More recent versions may be safer, or not." 20971 echo " WARNING: More recent versions may be safer, or not."
20975 echo " WARNING: ---------------------------------------------------------" 20972 echo " WARNING: ---------------------------------------------------------"
20976 fi 20973 fi
20977 if test "$enable_kkcc" = yes ; then 20974 if test "$with_kkcc" = yes ; then
20978 echo " Using the new GC mark algorithms (KKCC)." 20975 echo " Using the new GC mark algorithms (KKCC)."
20979 echo " WARNING: ---------------------------------------------------------" 20976 echo " WARNING: ---------------------------------------------------------"
20980 echo " WARNING: The new algorithms are experimental. They are enabled by" 20977 echo " WARNING: The new algorithms are experimental. They are enabled by"
20981 echo " WARNING: default for this release. Use \`--disable-kkcc' to" 20978 echo " WARNING: default for this release. Use \`--disable-kkcc' to"
20982 echo " WARNING: turn it off." 20979 echo " WARNING: turn it off."
20983 echo " WARNING: ---------------------------------------------------------" 20980 echo " WARNING: ---------------------------------------------------------"
20984 fi 20981 fi
20985 test "$enable_newgc" = yes && echo " Using the new incremental garbage collector and the new allocator." 20982 test "$with_newgc" = yes && echo " Using the new incremental garbage collector and the new allocator."
20986 if test "$have_vdb_posix" = yes ; then 20983 if test "$have_vdb_posix" = yes ; then
20987 if test "$have_vdb_sigaction" = yes ; then 20984 if test "$have_vdb_sigaction" = yes ; then
20988 echo " Using POSIX sigaction() to install fault handler." 20985 echo " Using POSIX sigaction() to install fault handler."
20989 else 20986 else
20990 echo " Using POSIX signal() to install vdb fault handler." 20987 echo " Using POSIX signal() to install vdb fault handler."
20994 echo " Using special WIN32 vdb fault handler." 20991 echo " Using special WIN32 vdb fault handler."
20995 fi 20992 fi
20996 if test "$have_vdb_mach" = yes ; then 20993 if test "$have_vdb_mach" = yes ; then
20997 echo " Using mach exception mechanism as vdb fault handler." 20994 echo " Using mach exception mechanism as vdb fault handler."
20998 fi 20995 fi
20999 if test "$have_vdb_fake" = yes && test "$enable_vdb" == fake; then 20996 if test "$have_vdb_fake" = yes && test "$with_vdb" == fake; then
21000 echo " Virtual dirty bit write barrier manually disabled." 20997 echo " Virtual dirty bit write barrier manually disabled."
21001 fi 20998 fi
21002 test "$enable_pdump" = yes && echo " Using the new portable dumper." 20999 test "$with_pdump" = yes && echo " Using the new portable dumper."
21003 test "$enable_dump_in_exec" = yes && echo " Dumping into executable." 21000 test "$with_dump_in_exec" = yes && echo " Dumping into executable."
21004 test "$enable_debug" = yes && echo " Compiling in support for extra debugging code." 21001 test "$with_debug" = yes && echo " Compiling in support for extra debugging code."
21005 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." 21002 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)."
21006 if test "$enable_error_checking_extents $enable_error_checking_types $enable_error_checking_text $enable_error_checking_gc $enable_error_checking_malloc $enable_error_checking_glyphs $enable_error_checking_byte_code $enable_error_checking_display $enable_error_checking_structures" \ 21003 if test "$with_error_checking_extents $with_error_checking_types $with_error_checking_text $with_error_checking_gc $with_error_checking_malloc $with_error_checking_glyphs $with_error_checking_byte_code $with_error_checking_display $with_error_checking_structures" \
21007 != "no no no no no no no no no"; then 21004 != "no no no no no no no no no"; then
21008 echo " Compiling in support for runtime error checking." 21005 echo " Compiling in support for runtime error checking."
21009 echo " WARNING: ---------------------------------------------------------" 21006 echo " WARNING: ---------------------------------------------------------"
21010 echo " WARNING: XEmacs will run noticeably more slowly as a result." 21007 echo " WARNING: XEmacs will run noticeably more slowly as a result."
21011 echo " WARNING: Error checking is on by default for XEmacs beta releases." 21008 echo " WARNING: Error checking is on by default for XEmacs beta releases."
21041 ac_config_files="$ac_config_files $file" 21038 ac_config_files="$ac_config_files $file"
21042 21039
21043 done 21040 done
21044 ac_config_files="$ac_config_files src/paths.h src/xemacs.def.in lib-src/config.values" 21041 ac_config_files="$ac_config_files src/paths.h src/xemacs.def.in lib-src/config.values"
21045 21042
21046 test "$enable_modules" = "yes" && ac_config_files="$ac_config_files lib-src/ellcc.h" 21043 test "$with_modules" = "yes" && ac_config_files="$ac_config_files lib-src/ellcc.h"
21047 21044
21048 21045
21049 21046
21050 21047
21051 21048