Mercurial > hg > xemacs-beta
comparison configure.in @ 406:b8cc9ab3f761 r21-2-33
Import from CVS: tag r21-2-33
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:17:09 +0200 |
parents | 2f8bb876ab1d |
children | 501cfd01ee6d |
comparison
equal
deleted
inserted
replaced
405:0e08f63c74d2 | 406:b8cc9ab3f761 |
---|---|
521 debug | \ | 521 debug | \ |
522 use_assertions | \ | 522 use_assertions | \ |
523 memory_usage_stats | \ | 523 memory_usage_stats | \ |
524 with_clash_detection | \ | 524 with_clash_detection | \ |
525 with_modules | \ | 525 with_modules | \ |
526 no_doc_file ) | 526 quick_build ) |
527 dnl Make sure the value given was either "yes" or "no". | 527 dnl Make sure the value given was either "yes" or "no". |
528 case "$val" in | 528 case "$val" in |
529 y | ye | yes ) val=yes ;; | 529 y | ye | yes ) val=yes ;; |
530 n | no ) val=no ;; | 530 n | no ) val=no ;; |
531 * ) USAGE_ERROR("The \`--$optname' option requires a boolean value: \`yes' or \`no'.") ;; | 531 * ) USAGE_ERROR("The \`--$optname' option requires a boolean value: \`yes' or \`no'.") ;; |
709 nomalloc ) error_check_malloc=no ;; | 709 nomalloc ) error_check_malloc=no ;; |
710 | 710 |
711 byte_code ) error_check_byte_code=yes ;; | 711 byte_code ) error_check_byte_code=yes ;; |
712 nobyte_code ) error_check_byte_code=no ;; | 712 nobyte_code ) error_check_byte_code=no ;; |
713 | 713 |
714 glyphs ) error_check_glyphs=yes ;; | |
715 noglyphs ) error_check_glyphs=no ;; | |
716 | |
714 * ) bogus_error_check=yes ;; | 717 * ) bogus_error_check=yes ;; |
715 esac | 718 esac |
716 if test "$bogus_error_check" -o \ | 719 if test "$bogus_error_check" -o \ |
717 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then | 720 \( -n "$new_default" -a -n "$echeck_notfirst" \) ; then |
718 if test "$error_check_default" = yes ; then | 721 if test "$error_check_default" = yes ; then |
719 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', \`nomalloc', and \`nobyte-code'." | 722 types="\`all' (default), \`none', \`noextents', \`notypecheck', \`nobufpos', \`nogc', \`nomalloc', \`noglyphs' and \`nobyte-code'." |
720 else | 723 else |
721 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', \`malloc', and \`byte-code'." | 724 types="\`all', \`none' (default), \`extents', \`typecheck', \`bufpos', \`gc', \`malloc', \`glyphs' and \`byte-code'." |
722 fi | 725 fi |
723 USAGE_ERROR(["Valid types for the \`--$optname' option are: | 726 USAGE_ERROR(["Valid types for the \`--$optname' option are: |
724 $types."]) | 727 $types."]) |
725 elif test -n "$new_default" ; then | 728 elif test -n "$new_default" ; then |
726 error_check_extents=$new_default | 729 error_check_extents=$new_default |
727 error_check_typecheck=$new_default | 730 error_check_typecheck=$new_default |
728 error_check_bufpos=$new_default | 731 error_check_bufpos=$new_default |
729 error_check_gc=$new_default | 732 error_check_gc=$new_default |
730 error_check_malloc=$new_default | 733 error_check_malloc=$new_default |
731 error_check_byte_code=$new_default | 734 error_check_byte_code=$new_default |
735 error_check_glyphs=$new_default | |
732 new_default= # reset this | 736 new_default= # reset this |
733 fi | 737 fi |
734 echeck_notfirst=true | 738 echeck_notfirst=true |
735 done | 739 done |
736 ;; | 740 ;; |
1015 test "${error_check_typecheck=$beta}" = yes && AC_DEFINE(ERROR_CHECK_TYPECHECK) | 1019 test "${error_check_typecheck=$beta}" = yes && AC_DEFINE(ERROR_CHECK_TYPECHECK) |
1016 test "${error_check_bufpos=$beta}" = yes && AC_DEFINE(ERROR_CHECK_BUFPOS) | 1020 test "${error_check_bufpos=$beta}" = yes && AC_DEFINE(ERROR_CHECK_BUFPOS) |
1017 test "${error_check_gc=$beta}" = yes && AC_DEFINE(ERROR_CHECK_GC) | 1021 test "${error_check_gc=$beta}" = yes && AC_DEFINE(ERROR_CHECK_GC) |
1018 test "${error_check_malloc=$beta}" = yes && AC_DEFINE(ERROR_CHECK_MALLOC) | 1022 test "${error_check_malloc=$beta}" = yes && AC_DEFINE(ERROR_CHECK_MALLOC) |
1019 test "${error_check_byte_code=$beta}" = yes && AC_DEFINE(ERROR_CHECK_BYTE_CODE) | 1023 test "${error_check_byte_code=$beta}" = yes && AC_DEFINE(ERROR_CHECK_BYTE_CODE) |
1024 test "${error_check_glyphs=$beta}" = yes && AC_DEFINE(ERROR_CHECK_GLYPHS) | |
1020 dnl debug=yes must be set when error checking is present. This should be | 1025 dnl debug=yes must be set when error checking is present. This should be |
1021 dnl fixed up. | 1026 dnl fixed up. |
1022 dnl debug implies other options | 1027 dnl debug implies other options |
1023 if test "${debug:=$beta}" = "yes"; then | 1028 if test "${debug:=$beta}" = "yes"; then |
1024 use_assertions=yes memory_usage_stats=yes | 1029 use_assertions=yes memory_usage_stats=yes |
1595 if test "$with_workshop" = "yes"; then | 1600 if test "$with_workshop" = "yes"; then |
1596 AC_DEFINE(SUNPRO) | 1601 AC_DEFINE(SUNPRO) |
1597 XE_ADD_OBJS(sunpro.o) | 1602 XE_ADD_OBJS(sunpro.o) |
1598 fi | 1603 fi |
1599 | 1604 |
1600 if test "$with_clash_detection" = "yes"; then | 1605 if test "$with_clash_detection" != "no"; then |
1601 AC_DEFINE(CLASH_DETECTION) | 1606 AC_DEFINE(CLASH_DETECTION) |
1602 XE_ADD_OBJS(filelock.o) | 1607 XE_ADD_OBJS(filelock.o) |
1603 fi | 1608 fi |
1604 | 1609 |
1605 dnl Choose a compiler from (in order) | 1610 dnl Choose a compiler from (in order) |
1646 | 1651 |
1647 dnl -------------------------------------------------------------------- | 1652 dnl -------------------------------------------------------------------- |
1648 dnl Compiler feature macros | 1653 dnl Compiler feature macros |
1649 dnl -------------------------------------------------------------------- | 1654 dnl -------------------------------------------------------------------- |
1650 | 1655 |
1656 AC_AIX dnl Defines _ALL_SOURCE on AIX. | |
1657 | |
1658 dnl Determine which SMART_INCLUDE macro will work for this system | |
1659 cat > $srcdir/conffoo.h <<EOF | |
1660 #define CONFFOO 1 | |
1661 EOF | |
1662 AC_MSG_CHECKING(for a working inclusion macro) | |
1663 AC_TRY_COMPILE(,[ | |
1664 #define SMART_INCLUDE(path,file) <path/file> | |
1665 #define CONFFOO_H_PATH $srcdir | |
1666 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) | |
1667 #include CONFFOO_INCLUDE(conffoo.h) | |
1668 ], [ AC_MSG_RESULT(direct); AC_DEFINE(SMART_INCLUDE_INDIRECTIONS,0) ], | |
1669 AC_TRY_COMPILE(,[ | |
1670 #define GLUE_INCLUDE(path,file) <##path##/##file##> | |
1671 #define SMART_INCLUDE(path,file) GLUE_INCLUDE(path,file) | |
1672 #define CONFFOO_H_PATH $srcdir | |
1673 #define CONFFOO_INCLUDE(file) SMART_INCLUDE(CONFFOO_H_PATH,file) | |
1674 #include CONFFOO_INCLUDE(conffoo.h) | |
1675 ], [ AC_MSG_RESULT(simple); AC_DEFINE(SMART_INCLUDE_INDIRECTIONS,1) ], | |
1676 AC_TRY_COMPILE(,[ | |
1677 #define GLUE_INCLUDE_2(path,file) <##path##/##file##> | |
1678 #define GLUE_INCLUDE_1(path,file) GLUE_INCLUDE_2(path,file) | |
1679 #define SMART_INCLUDE(path,file) GLUE_INCLUDE_1(path,file) | |
1680 #define CONFFOO_H_PATH $srcdir | |
1681 #define CONFFOO_INCLUDE(file) SMART_INCLUDE (CONFFOO_H_PATH,file) | |
1682 #include CONFFOO_INCLUDE(conffoo.h) | |
1683 ], [ AC_MSG_RESULT(double); AC_DEFINE(SMART_INCLUDE_INDIRECTIONS,2) ], | |
1684 AC_MSG_ERROR([Cannot define a proper SMART_INCLUDE macro. Please report.])))) | |
1685 rm -f $srcdir/conffoo.h | |
1686 | |
1687 | |
1651 dnl We want feature macros defined here and in config.h.in, so that | 1688 dnl We want feature macros defined here and in config.h.in, so that |
1652 dnl the compilation environment at configure time and compile time agree. | 1689 dnl the compilation environment at configure time and compile time agree. |
1653 | |
1654 AC_AIX dnl Defines _ALL_SOURCE on AIX. | |
1655 | 1690 |
1656 AC_MSG_CHECKING(for GNU libc) | 1691 AC_MSG_CHECKING(for GNU libc) |
1657 AC_TRY_COMPILE([#include <features.h>],[ | 1692 AC_TRY_COMPILE([#include <features.h>],[ |
1658 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) | 1693 #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) |
1659 #error Not a GNU libc system :-( | 1694 #error Not a GNU libc system :-( |
1667 | 1702 |
1668 dnl We'd like to use vendor extensions, where available. | 1703 dnl We'd like to use vendor extensions, where available. |
1669 dnl We'd like to use functions from the latest Unix98 standards. | 1704 dnl We'd like to use functions from the latest Unix98 standards. |
1670 dnl See http://www.opengroup.org/onlinepubs/007908799/xsh/compilation.html | 1705 dnl See http://www.opengroup.org/onlinepubs/007908799/xsh/compilation.html |
1671 case "$opsys" in | 1706 case "$opsys" in |
1672 sol2) | 1707 sol2) |
1673 AC_DEFINE(__EXTENSIONS__) | 1708 AC_DEFINE(__EXTENSIONS__) |
1674 dnl Solaris 2 before 2.5 had some bugs with feature test macro interaction. | 1709 dnl Solaris 2 before 2.5 had some bugs with feature test macro interaction. |
1675 if test "$os_release" -ge 55; then | 1710 if test "$os_release" -ge 55; then |
1676 AC_DEFINE(_XOPEN_SOURCE,500) | 1711 AC_DEFINE(_XOPEN_SOURCE,500) |
1677 AC_DEFINE(_XOPEN_SOURCE_EXTENDED) | 1712 AC_DEFINE(_XOPEN_SOURCE_EXTENDED) |
1760 | 1795 |
1761 CPP_to_sh(UNEXEC, unexec, unexec.o) | 1796 CPP_to_sh(UNEXEC, unexec, unexec.o) |
1762 | 1797 |
1763 CPP_to_sh(LD_SWITCH_SHARED, ld_switch_shared, -c) | 1798 CPP_to_sh(LD_SWITCH_SHARED, ld_switch_shared, -c) |
1764 | 1799 |
1800 #define ORDINARY_LD "\$(CC) \$(CFLAGS)" | |
1801 configure___ ordinary_ld=ORDINARY_LD | |
1802 | |
1765 #ifdef ORDINARY_LINK | 1803 #ifdef ORDINARY_LINK |
1766 #define LD "\$(CC) \$(CFLAGS)" | 1804 #define LD ORDINARY_LD |
1767 #else /* no ORDINARY LINK */ | 1805 #else /* no ORDINARY LINK */ |
1768 #ifdef COFF_ENCAPSULATE | 1806 #ifdef COFF_ENCAPSULATE |
1769 #define LD "\$(CC) -nostdlib" | 1807 #define LD "\$(CC) -nostdlib" |
1770 #else /* not COFF_ENCAPSULATE */ | 1808 #else /* not COFF_ENCAPSULATE */ |
1771 #ifdef LINKER | 1809 #ifdef LINKER |
1814 eval `$CPP -Isrc $tempcname \ | 1852 eval `$CPP -Isrc $tempcname \ |
1815 | sed -n -e "s/[ TAB]*=[ TAB\"]*/='/" -e "s/[ TAB\"]*\$/'/" -e "s/^configure___//p"` | 1853 | sed -n -e "s/[ TAB]*=[ TAB\"]*/='/" -e "s/[ TAB\"]*\$/'/" -e "s/^configure___//p"` |
1816 changequote([, ])dnl | 1854 changequote([, ])dnl |
1817 | 1855 |
1818 rm $tempcname | 1856 rm $tempcname |
1857 | |
1858 if test "$pdump" = "yes"; then | |
1859 ordinary_link="yes" | |
1860 ld="${ordinary_ld}" | |
1861 start_files= | |
1862 libs_standard= | |
1863 unexec= | |
1864 lib_gcc= | |
1865 fi | |
1819 | 1866 |
1820 dnl For debugging... | 1867 dnl For debugging... |
1821 test "$extra_verbose" = "yes" && \ | 1868 test "$extra_verbose" = "yes" && \ |
1822 PRINT_VAR(libs_machine libs_system libs_termcap libs_standard | 1869 PRINT_VAR(libs_machine libs_system libs_termcap libs_standard |
1823 objects_machine objects_system c_switch_machine c_switch_system | 1870 objects_machine objects_system c_switch_machine c_switch_system |
2086 dnl /etc/ld.so.conf. Since those are used at run time, it seems pretty | 2133 dnl /etc/ld.so.conf. Since those are used at run time, it seems pretty |
2087 dnl safe to use them at link time, and less controversial than forcing | 2134 dnl safe to use them at link time, and less controversial than forcing |
2088 dnl the run-time to use the link-time libraries. This also helps avoid | 2135 dnl the run-time to use the link-time libraries. This also helps avoid |
2089 dnl mismatches between the link-time and run-time libraries. | 2136 dnl mismatches between the link-time and run-time libraries. |
2090 | 2137 |
2091 dnl #### Unfortunately, there are horrible libc4 and libc5 libraries | 2138 dnl #### Unfortunately, there are horrible libc4 and libc5 libraries |
2092 dnl listed in /etc/ld.so.conf on some systems, and including them on | 2139 dnl listed in /etc/ld.so.conf on some systems, and including them on |
2093 dnl the link path leads to linking in utterly broken libc's. | 2140 dnl the link path leads to linking in utterly broken libc's. |
2094 dnl There are many clever ways of approaching this problem, | 2141 dnl There are many clever ways of approaching this problem, |
2095 dnl but finding out that actually works... | 2142 dnl but finding out that actually works... |
2096 | 2143 |
2097 dnl if test -z "$LD_RUN_PATH" -a -r "/etc/ld.so.conf"; then | 2144 dnl if test -z "$LD_RUN_PATH" -a -r "/etc/ld.so.conf"; then |
2098 dnl for dir in `cat /etc/ld.so.conf`; do | 2145 dnl for dir in `cat /etc/ld.so.conf`; do |
2099 dnl test -d "$dir" && XE_APPEND(-L${dir}, ld_switch_system) | 2146 dnl test -d "$dir" && XE_APPEND(-L${dir}, ld_switch_system) |
2232 [AC_MSG_RESULT(no) | 2279 [AC_MSG_RESULT(no) |
2233 after_morecore_hook_exists=no]) | 2280 after_morecore_hook_exists=no]) |
2234 if test "$system_malloc" = "yes" ; then | 2281 if test "$system_malloc" = "yes" ; then |
2235 GNU_MALLOC=no | 2282 GNU_MALLOC=no |
2236 GNU_MALLOC_reason=" | 2283 GNU_MALLOC_reason=" |
2237 (The GNU allocators don't work with this system configuration)." | 2284 - The GNU allocators don't work with this system configuration." |
2238 elif test "$with_system_malloc" = "yes" ; then | 2285 elif test "$with_system_malloc" = "yes" ; then |
2239 GNU_MALLOC=no | 2286 GNU_MALLOC=no |
2240 GNU_MALLOC_reason=" | 2287 GNU_MALLOC_reason=" |
2241 (User chose not to use GNU allocators)." | 2288 - User chose not to use GNU allocators." |
2242 elif test "$with_debug_malloc" = "yes" ; then | 2289 elif test "$with_debug_malloc" = "yes" ; then |
2243 GNU_MALLOC=no | 2290 GNU_MALLOC=no |
2244 GNU_MALLOC_reason=" | 2291 GNU_MALLOC_reason=" |
2245 (User chose to use Debugging Malloc)." | 2292 - User chose to use Debugging Malloc." |
2246 fi | 2293 fi |
2247 | 2294 |
2248 if test "$doug_lea_malloc" = "yes" ; then | 2295 if test "$doug_lea_malloc" = "yes" ; then |
2249 if test "$GNU_MALLOC" = yes ; then | 2296 if test "$GNU_MALLOC" = yes ; then |
2250 GNU_MALLOC_reason=" | 2297 GNU_MALLOC_reason=" |
2251 (Using Doug Lea's new malloc from the GNU C Library.)" | 2298 - Using Doug Lea's new malloc from the GNU C Library." |
2252 fi | 2299 fi |
2253 AC_DEFINE(DOUG_LEA_MALLOC) | 2300 AC_DEFINE(DOUG_LEA_MALLOC) |
2254 if test "$after_morecore_hook_exists" = "no" ; then | 2301 if test "$after_morecore_hook_exists" = "no" ; then |
2255 GNU_MALLOC_reason=" | 2302 GNU_MALLOC_reason=" |
2256 (Using Doug Lea's new malloc from the Linux C Library.)" | 2303 - Using Doug Lea's new malloc from the Linux C Library." |
2257 AC_DEFINE(_NO_MALLOC_WARNING_) | 2304 AC_DEFINE(_NO_MALLOC_WARNING_) |
2258 fi | 2305 fi |
2259 use_minimal_tagbits=yes | 2306 use_minimal_tagbits=yes |
2260 fi | 2307 fi |
2261 | 2308 |
2786 dnl Autodetect tooltalk | 2833 dnl Autodetect tooltalk |
2787 if test "$with_tooltalk" != "no" ; then | 2834 if test "$with_tooltalk" != "no" ; then |
2788 dnl autodetect the location of tt_c.h | 2835 dnl autodetect the location of tt_c.h |
2789 dnl tt_c.h might be in Tt or desktop include directories | 2836 dnl tt_c.h might be in Tt or desktop include directories |
2790 for dir in "" "Tt/" "desktop/" ; do | 2837 for dir in "" "Tt/" "desktop/" ; do |
2791 AC_CHECK_HEADER(${dir}tt_c.h, tt_c_h_path="${dir}tt_c.h"; break) | 2838 AC_CHECK_HEADER(${dir}tt_c.h, tt_c_h_file="${dir}tt_c.h"; break) |
2792 done | 2839 done |
2793 if test -z "$tt_c_h_path"; then | 2840 if test -z "$tt_c_h_file"; then |
2794 if test "$with_tooltalk" = "yes"; then | 2841 if test "$with_tooltalk" = "yes"; then |
2795 USAGE_ERROR("Unable to find required tooltalk header files.") | 2842 USAGE_ERROR("Unable to find required tooltalk header files.") |
2796 fi | 2843 fi |
2797 with_tooltalk=no | 2844 with_tooltalk=no |
2798 fi | 2845 fi |
2810 fi | 2857 fi |
2811 fi | 2858 fi |
2812 test -z "$with_tooltalk" && with_tooltalk=yes | 2859 test -z "$with_tooltalk" && with_tooltalk=yes |
2813 if test "$with_tooltalk" = "yes"; then | 2860 if test "$with_tooltalk" = "yes"; then |
2814 AC_DEFINE(TOOLTALK) | 2861 AC_DEFINE(TOOLTALK) |
2815 AC_DEFINE_UNQUOTED(TT_C_H_PATH, "$tt_c_h_path") | 2862 AC_DEFINE_UNQUOTED(TT_C_H_FILE, "$tt_c_h_file") |
2816 XE_PREPEND($tt_libs, libs_x) | 2863 XE_PREPEND($tt_libs, libs_x) |
2817 XE_ADD_OBJS(tooltalk.o) | 2864 XE_ADD_OBJS(tooltalk.o) |
2818 fi | 2865 fi |
2819 | 2866 |
2820 dnl Autodetect CDE | 2867 dnl Autodetect CDE |
2908 dnl a different prefix can be selected at build/install time. If PostgreSQL | 2955 dnl a different prefix can be selected at build/install time. If PostgreSQL |
2909 dnl is installed into a different prefix, that prefix must be specified in | 2956 dnl is installed into a different prefix, that prefix must be specified in |
2910 dnl in the --site-prefixes flag. | 2957 dnl in the --site-prefixes flag. |
2911 dnl The default RPM-based Linux installation location is /usr. | 2958 dnl The default RPM-based Linux installation location is /usr. |
2912 AC_CHECKING(for PostgreSQL) | 2959 AC_CHECKING(for PostgreSQL) |
2960 postgres_h_path="" | |
2913 postgres_includes_found=no | 2961 postgres_includes_found=no |
2914 save_c_switch_site="$c_switch_site" | 2962 save_c_switch_site="$c_switch_site" |
2915 dnl First check site prefixes | 2963 |
2964 dnl First, test standard location and site prefixes only: | |
2916 if test "$with_postgresql" != "no"; then | 2965 if test "$with_postgresql" != "no"; then |
2917 AC_CHECK_HEADER(libpq-fe.h,postgres_includes_found=yes) | 2966 AC_CHECK_HEADER(libpq-fe.h,postgres_includes_found=yes) |
2918 fi | 2967 fi |
2919 dnl test for Linux-style installation in /usr | 2968 |
2920 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | 2969 dnl Otherwise, test different known headers locations on linux: |
2921 -d "/usr/include/pgsql"; then | |
2922 c_switch_site="$c_switch_site -I/usr/include/pgsql" | |
2923 AC_CHECK_HEADER(libpq-fe.h,postgres_includes_found=yes) | |
2924 if test "$postgres_includes_found" != "yes"; then | |
2925 c_switch_site="$save_c_switch_site" | |
2926 fi | |
2927 fi | |
2928 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | 2970 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ |
2929 -d "/usr/local/pgsql/include"; then | 2971 -d "/usr/local/pgsql/include"; then |
2930 c_switch_site="$c_switch_site -I/usr/local/pgsql/include" | 2972 c_switch_site="$c_switch_site -I/usr/local/pgsql/include" |
2931 AC_CHECK_HEADER(libpq-fe.h,postgres_includes_found=yes) | 2973 AC_CHECK_HEADER(libpq-fe.h,postgres_includes_found=yes) |
2932 if test "$postgres_includes_found" != "yes"; then | 2974 if test "$postgres_includes_found" != "yes"; then |
2975 postgres_h_path="/usr/local/pgsql/include" | |
2976 fi | |
2977 c_switch_site="$save_c_switch_site" | |
2978 fi | |
2979 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ | |
2980 -d "/usr/include/pgsql"; then | |
2981 c_switch_site="$c_switch_site -I/usr/include/pgsql" | |
2982 AC_CHECK_HEADER(libpq-fe.h,postgres_includes_found=yes) | |
2983 if test "$postgres_includes_found" = "yes"; then | |
2984 postgres_h_path="pgsql" | |
2985 fi | |
2933 c_switch_site="$save_c_switch_site" | 2986 c_switch_site="$save_c_switch_site" |
2934 fi | 2987 fi |
2935 fi | 2988 if test "$postgres_includes_found" = "no" -a "$with_postgresql" != "no" -a \ |
2936 | 2989 -d "/usr/include/postgresql"; then |
2937 dnl last check -- can we link against libpq? | 2990 c_switch_site="$c_switch_site -I/usr/include/postgresql" |
2991 AC_CHECK_HEADER(libpq-fe.h,postgres_includes_found=yes) | |
2992 if test "$postgres_includes_found" = "yes"; then | |
2993 postgres_h_path="postgresql" | |
2994 fi | |
2995 c_switch_site="$save_c_switch_site" | |
2996 fi | |
2997 | |
2998 dnl Finally, check if we can link with libpq: | |
2938 if test "$postgres_includes_found" = "yes"; then | 2999 if test "$postgres_includes_found" = "yes"; then |
2939 AC_CHECK_LIB(pq,PQconnectdb,with_postgresql=yes,with_postgresql=no) | 3000 AC_CHECK_LIB(pq,PQconnectdb,with_postgresql=yes,with_postgresql=no) |
2940 fi | 3001 fi |
2941 if test "$with_postgresql" = "yes"; then | 3002 if test "$with_postgresql" = "yes"; then |
2942 AC_CHECK_LIB(pq,PQconnectStart,with_postgresqlv7=yes,with_postgresqlv7=no) | 3003 AC_CHECK_LIB(pq,PQconnectStart,with_postgresqlv7=yes,with_postgresqlv7=no) |
2943 fi | 3004 fi |
2944 if test "$with_postgresql" = "yes"; then | 3005 if test "$with_postgresql" = "yes"; then |
3006 if test -n "$postgres_h_path"; then | |
3007 AC_DEFINE_UNQUOTED(POSTGRES_H_PATH, $postgres_h_path) | |
3008 fi | |
2945 AC_DEFINE(HAVE_POSTGRESQL) | 3009 AC_DEFINE(HAVE_POSTGRESQL) |
2946 if test "$with_postgresqlv7" = "yes"; then | 3010 if test "$with_postgresqlv7" = "yes"; then |
2947 AC_DEFINE(HAVE_POSTGRESQLV7) | 3011 AC_DEFINE(HAVE_POSTGRESQLV7) |
2948 fi | 3012 fi |
2949 XE_PREPEND(-lpq, LIBS) | 3013 XE_PREPEND(-lpq, LIBS) |
2950 XE_ADD_OBJS(postgresql.o) | 3014 XE_ADD_OBJS(postgresql.o) |
2951 else | |
2952 c_switch_site=$save_c_switch_site | |
2953 fi | 3015 fi |
2954 | 3016 |
2955 dnl ---------------------- | 3017 dnl ---------------------- |
2956 dnl Graphics libraries | 3018 dnl Graphics libraries |
2957 dnl ---------------------- | 3019 dnl ---------------------- |
3757 for dir in "machine" "sys" "linux"; do | 3819 for dir in "machine" "sys" "linux"; do |
3758 AC_CHECK_HEADER(${dir}/soundcard.h, | 3820 AC_CHECK_HEADER(${dir}/soundcard.h, |
3759 sound_found=yes | 3821 sound_found=yes |
3760 need_miscplay=yes | 3822 need_miscplay=yes |
3761 XE_ADD_OBJS(linuxplay.o) | 3823 XE_ADD_OBJS(linuxplay.o) |
3762 [AC_DEFINE_UNQUOTED(SOUNDCARD_H_PATH, "${dir}/soundcard.h")] | 3824 [AC_DEFINE_UNQUOTED(SOUNDCARD_H_FILE, "${dir}/soundcard.h")] |
3763 break) | 3825 break) |
3764 done | 3826 done |
3765 fi | 3827 fi |
3766 | 3828 |
3767 test "$sound_found" = "yes" && with_native_sound=yes | 3829 test "$sound_found" = "yes" && with_native_sound=yes |
3832 if test -z "$with_ncurses"; then | 3894 if test -z "$with_ncurses"; then |
3833 AC_CHECK_LIB(ncurses, tgetent, with_ncurses=yes, with_ncurses=no) | 3895 AC_CHECK_LIB(ncurses, tgetent, with_ncurses=yes, with_ncurses=no) |
3834 fi | 3896 fi |
3835 if test "$with_ncurses" = "yes"; then | 3897 if test "$with_ncurses" = "yes"; then |
3836 AC_DEFINE(HAVE_NCURSES) | 3898 AC_DEFINE(HAVE_NCURSES) |
3837 AC_CHECK_HEADER(ncurses/curses.h, curses_h_path=ncurses/curses.h) | 3899 AC_CHECK_HEADER(ncurses/curses.h, curses_h_file=ncurses/curses.h) |
3838 AC_CHECK_HEADER(ncurses/term.h, term_h_path=ncurses/term.h) | 3900 AC_CHECK_HEADER(ncurses/term.h, term_h_file=ncurses/term.h) |
3839 XE_ADD_OBJS(terminfo.o) | 3901 XE_ADD_OBJS(terminfo.o) |
3840 XE_PREPEND(-lncurses, LIBS) | 3902 XE_PREPEND(-lncurses, LIBS) |
3841 | 3903 |
3842 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 3904 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
3843 dnl Try again, and check for the bogus ncurses/ include bug. | 3905 dnl Try again, and check for the bogus ncurses/ include bug. |
3844 dnl (i.e. ncurses/curses.h bogusly includes <unctrl.h> instead of | 3906 dnl (i.e. ncurses/curses.h bogusly includes <unctrl.h> instead of |
3845 dnl <ncurses/unctrl.h>) | 3907 dnl <ncurses/unctrl.h>) |
3846 save_c_switch_site="$c_switch_site" | 3908 save_c_switch_site="$c_switch_site" |
3847 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 3909 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
3848 AC_CHECK_HEADER(ncurses/curses.h, curses_h_path=ncurses/curses.h) | 3910 AC_CHECK_HEADER(ncurses/curses.h, curses_h_file=ncurses/curses.h) |
3849 if test "$ac_cv_header_ncurses_curses_h" = "yes" | 3911 if test "$ac_cv_header_ncurses_curses_h" = "yes" |
3850 then AC_MSG_WARN("Your system has the bogus ncurses include bug.") | 3912 then AC_MSG_WARN("Your system has the bogus ncurses include bug.") |
3851 else c_switch_site="$save_c_switch_site" | 3913 else c_switch_site="$save_c_switch_site" |
3852 fi | 3914 fi |
3853 fi | 3915 fi |
3875 AC_CHECK_LIB(termcap, tgetent, XE_PREPEND(-ltermcap, LIBS), | 3937 AC_CHECK_LIB(termcap, tgetent, XE_PREPEND(-ltermcap, LIBS), |
3876 XE_ADD_OBJS(termcap.o))) | 3938 XE_ADD_OBJS(termcap.o))) |
3877 fi | 3939 fi |
3878 fi | 3940 fi |
3879 fi | 3941 fi |
3880 AC_DEFINE_UNQUOTED(CURSES_H_PATH, "${curses_h_path-curses.h}") | 3942 AC_DEFINE_UNQUOTED(CURSES_H_FILE, "${curses_h_file-curses.h}") |
3881 AC_DEFINE_UNQUOTED(TERM_H_PATH, "${term_h_path-term.h}") | 3943 AC_DEFINE_UNQUOTED(TERM_H_FILE, "${term_h_file-term.h}") |
3882 | 3944 |
3883 dnl Autodetect gpm | 3945 dnl Autodetect gpm |
3884 test -z "$with_gpm" && { AC_CHECK_HEADER(gpm.h, , with_gpm=no) } | 3946 test -z "$with_gpm" && { AC_CHECK_HEADER(gpm.h, , with_gpm=no) } |
3885 test -z "$with_gpm" && { AC_CHECK_LIB(gpm, Gpm_Open, with_gpm=yes, with_gpm=no) } | 3947 test -z "$with_gpm" && { AC_CHECK_LIB(gpm, Gpm_Open, with_gpm=yes, with_gpm=no) } |
3886 if test "$with_gpm" = "yes"; then | 3948 if test "$with_gpm" = "yes"; then |
3944 AC_DEFINE(HAVE_DBM) | 4006 AC_DEFINE(HAVE_DBM) |
3945 | 4007 |
3946 dnl Check for Berkeley DB. | 4008 dnl Check for Berkeley DB. |
3947 if test "$with_database_berkdb" != "no"; then | 4009 if test "$with_database_berkdb" != "no"; then |
3948 AC_MSG_CHECKING(for Berkeley db.h) | 4010 AC_MSG_CHECKING(for Berkeley db.h) |
3949 for path in "db/db.h" "db.h"; do | 4011 for header in "db/db.h" "db.h"; do |
3950 AC_TRY_COMPILE([ | 4012 AC_TRY_COMPILE([ |
3951 #include <stdlib.h> | 4013 #include <stdlib.h> |
3952 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 4014 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
3953 #ifdef HAVE_INTTYPES_H | 4015 #ifdef HAVE_INTTYPES_H |
3954 #define __BIT_TYPES_DEFINED__ | 4016 #define __BIT_TYPES_DEFINED__ |
3959 #ifdef WE_DONT_NEED_QUADS | 4021 #ifdef WE_DONT_NEED_QUADS |
3960 typedef uint64_t u_int64_t; | 4022 typedef uint64_t u_int64_t; |
3961 #endif | 4023 #endif |
3962 #endif | 4024 #endif |
3963 #endif | 4025 #endif |
3964 #include <$path> | 4026 #include <$header> |
3965 ],[], db_h_path="$path"; break) | 4027 ],[], db_h_file="$header"; break) |
3966 done | 4028 done |
3967 if test -z "$db_h_path" | 4029 if test -z "$db_h_file" |
3968 then AC_MSG_RESULT(no); with_database_berkdb=no | 4030 then AC_MSG_RESULT(no); with_database_berkdb=no |
3969 else AC_MSG_RESULT($db_h_path) | 4031 else AC_MSG_RESULT($db_h_file) |
3970 fi | 4032 fi |
3971 | 4033 |
3972 if test "$with_database_berkdb" != "no"; then | 4034 if test "$with_database_berkdb" != "no"; then |
3973 AC_MSG_CHECKING(for Berkeley DB version) | 4035 AC_MSG_CHECKING(for Berkeley DB version) |
3974 AC_EGREP_CPP(yes, | 4036 AC_EGREP_CPP(yes, |
3975 [#include <$db_h_path> | 4037 [#include <$db_h_file> |
3976 #if DB_VERSION_MAJOR > 1 | 4038 #if DB_VERSION_MAJOR > 1 |
3977 yes | 4039 yes |
3978 #endif | 4040 #endif |
3979 ], [AC_MSG_RESULT(2); dbfunc=db_open], [AC_MSG_RESULT(1); dbfunc=dbopen]) | 4041 ], [AC_MSG_RESULT(2); dbfunc=db_open], [AC_MSG_RESULT(1); dbfunc=dbopen]) |
3980 AC_CHECK_FUNC($dbfunc, with_database_berkdb=yes need_libdb=no, [ | 4042 AC_CHECK_FUNC($dbfunc, with_database_berkdb=yes need_libdb=no, [ |
3981 AC_CHECK_LIB(db, $dbfunc, with_database_berkdb=yes need_libdb=yes)]) | 4043 AC_CHECK_LIB(db, $dbfunc, with_database_berkdb=yes need_libdb=yes)]) |
3982 fi | 4044 fi |
3983 | 4045 |
3984 if test "$with_database_berkdb" = "yes"; then | 4046 if test "$with_database_berkdb" = "yes"; then |
3985 AC_DEFINE_UNQUOTED(DB_H_PATH, "$db_h_path") | 4047 AC_DEFINE_UNQUOTED(DB_H_FILE, "$db_h_file") |
3986 AC_DEFINE(HAVE_BERKELEY_DB) | 4048 AC_DEFINE(HAVE_BERKELEY_DB) |
3987 test "$need_libdb" = "yes" && XE_PREPEND(-ldb, LIBS) | 4049 test "$need_libdb" = "yes" && XE_PREPEND(-ldb, LIBS) |
3988 else with_database_berkdb=no | 4050 else with_database_berkdb=no |
3989 fi | 4051 fi |
3990 fi | 4052 fi |
4409 AC_DEFINE(USE_SYSTEM_MALLOC) | 4471 AC_DEFINE(USE_SYSTEM_MALLOC) |
4410 fi | 4472 fi |
4411 test "$with_i18n3" = "yes" && AC_DEFINE(I18N3) | 4473 test "$with_i18n3" = "yes" && AC_DEFINE(I18N3) |
4412 test "$GCC" = "yes" && AC_DEFINE(USE_GCC) | 4474 test "$GCC" = "yes" && AC_DEFINE(USE_GCC) |
4413 test "$external_widget" = "yes" && AC_DEFINE(EXTERNAL_WIDGET) | 4475 test "$external_widget" = "yes" && AC_DEFINE(EXTERNAL_WIDGET) |
4414 test "$no_doc_file" = "yes" && AC_DEFINE(NO_DOC_FILE) | 4476 test "$quick_build" = "yes" && AC_DEFINE(QUICK_BUILD) |
4415 test "$with_purify" = "yes" && AC_DEFINE(PURIFY) | 4477 test "$with_purify" = "yes" && AC_DEFINE(PURIFY) |
4416 test "$with_quantify" = "yes" && AC_DEFINE(QUANTIFY) | 4478 test "$with_quantify" = "yes" && AC_DEFINE(QUANTIFY) |
4417 test "$with_pop" = "yes" && AC_DEFINE(MAIL_USE_POP) | 4479 test "$with_pop" = "yes" && AC_DEFINE(MAIL_USE_POP) |
4418 test "$with_kerberos" = "yes" && AC_DEFINE(KERBEROS) | 4480 test "$with_kerberos" = "yes" && AC_DEFINE(KERBEROS) |
4419 test "$with_hesiod" = "yes" && AC_DEFINE(HESIOD) | 4481 test "$with_hesiod" = "yes" && AC_DEFINE(HESIOD) |
4448 dnl Start stdout redirection to '| tee -a Installation' | 4510 dnl Start stdout redirection to '| tee -a Installation' |
4449 ( | 4511 ( |
4450 echo " | 4512 echo " |
4451 | 4513 |
4452 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. | 4514 XEmacs ${emacs_major_version}.${emacs_minor_version}${xemacs_betaname} \"$xemacs_codename\" configured for \`$canonical'. |
4453 | 4515 " |
4454 Where should the build process find the source code? $srcdir | 4516 echo " |
4455 What installation prefix should install use? $prefix | 4517 Compilation / Installation:" |
4456 What operating system and machine description files should XEmacs use? | 4518 echo " Source code location: $srcdir" |
4457 \`$opsysfile' and \`$machfile' | 4519 echo " Installation prefix: $prefix" |
4458 What compiler should XEmacs be built with? $CC $CFLAGS | 4520 if test -n "$site_includes"; then |
4459 Should XEmacs use the GNU version of malloc? ${GNU_MALLOC}${GNU_MALLOC_reason} | 4521 echo " Additional header files: $site_includes" |
4460 Should XEmacs use the relocating allocator for buffers? $rel_alloc | 4522 fi |
4461 What window system should XEmacs use? ${window_system}" | 4523 if test -n "$site_libraries"; then |
4524 echo " Additional libraries: $site_libraries" | |
4525 fi | |
4526 if test -n "$site_prefixes"; then | |
4527 echo " Additional prefixes: $site_prefixes" | |
4528 fi | |
4529 if test -n "$runpath"; then | |
4530 echo " Runtime library search path: $runpath" | |
4531 fi | |
4532 echo " Operating system description file: \`$opsysfile'" | |
4533 echo " Machine description file: \`$machfile'" | |
4534 echo " Compiler: $CC $CFLAGS" | |
4535 echo " Relocating allocator for buffers: $rel_alloc" | |
4536 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}" | |
4537 | |
4538 echo " | |
4539 Window System:" | |
4540 if test "$with_msw" = "yes"; then | |
4541 echo " Compiling in support for the Microsoft window system." | |
4542 fi | |
4462 if test "$with_x11" = "yes"; then | 4543 if test "$with_x11" = "yes"; then |
4463 echo " Where do we find X Windows header files? $x_includes" | 4544 echo " Compiling in support for the X window system:" |
4464 echo " Where do we find X Windows libraries? $x_libraries" | 4545 echo " - X Windows headers location: $x_includes" |
4465 fi | 4546 echo " - X Windows libraries location: $x_libraries" |
4466 if test -n "$site_includes"; then | 4547 if test "$with_xauth" != yes; then |
4467 echo " Additional header files: $site_includes" | 4548 echo " - Xau (X authority) not available." |
4468 fi | 4549 fi |
4469 if test -n "$site_libraries"; then | 4550 if test "$with_xmu" != yes; then |
4470 echo " Additional libraries: $site_libraries" | 4551 echo " - Xmu library not available; substituting equivalent routines." |
4471 fi | 4552 fi |
4472 if test -n "$site_prefixes"; then | 4553 if test "$with_wmcommand" != no; then |
4473 echo " Additional prefixes: $site_prefixes" | 4554 echo " - Handling WM_COMMAND properly." |
4474 fi | 4555 fi |
4475 if test -n "$runpath"; then | |
4476 echo " Runtime library search path: $runpath" | |
4477 fi | 4556 fi |
4478 if test "$have_xaw" = "yes"; then | 4557 if test "$have_xaw" = "yes"; then |
4479 echo " Athena library to link: $athena_lib" | 4558 echo " Compiling in support for the Athena widget set:" |
4480 echo " Athena header include path: $athena_h_path" | 4559 echo " - Athena headers location: $athena_h_path" |
4481 fi | 4560 echo " - Athena library to link: $athena_lib" |
4482 test "$with_dnet" = yes && echo " Compiling in support for DNET." | 4561 fi |
4483 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | |
4484 test "$with_xauth" = yes && echo " Compiling in support for XAUTH." | |
4485 if test "$with_xmu" != yes -a "$with_x11" = yes; then | |
4486 echo " No Xmu; substituting equivalent routines." | |
4487 fi | |
4488 | |
4489 if test "$with_xpm" = yes; then | |
4490 echo " Compiling in support for XPM images." | |
4491 elif test "$with_x11" = yes; then | |
4492 echo " --------------------------------------------------------------------" | |
4493 echo " WARNING: Compiling without XPM support." | |
4494 if test "$xpm_problem" != ""; then | |
4495 echo " Reason: $xpm_problem" | |
4496 fi | |
4497 echo " WARNING: You should strongly consider installing XPM." | |
4498 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." | |
4499 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" | |
4500 echo " --------------------------------------------------------------------" | |
4501 fi | |
4502 if test "$with_png" = yes; then | |
4503 echo " Compiling in support for PNG image handling." | |
4504 elif test "$window_system" != "none"; then | |
4505 echo " --------------------------------------------------------------------" | |
4506 echo " WARNING: Compiling without PNG image support." | |
4507 if test "$png_problem" != ""; then | |
4508 echo " Reason: $png_problem" | |
4509 fi | |
4510 echo " WARNING: You should strongly consider installing the PNG libraries." | |
4511 echo " WARNING: Otherwise certain images and glyphs may not display." | |
4512 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" | |
4513 echo " --------------------------------------------------------------------" | |
4514 fi | |
4515 test "$with_gif" = yes && echo " Compiling in support for (builtin) GIF image handling." | |
4516 test "$with_jpeg" = yes && echo " Compiling in support for JPEG image handling." | |
4517 test "$with_tiff" = yes && echo " Compiling in support for TIFF image handling." | |
4518 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | |
4519 | |
4520 test "$with_native_sound" = yes && echo " Compiling in native sound support." | |
4521 test "$with_nas_sound" = yes && echo " Compiling in network sound (NAS) support." | |
4522 test "$old_nas" = yes && echo " nas library lacks error trapping, will play synchronously." | |
4523 test "$with_esd_sound" = yes && echo " Compiling in support for Enlightened Sound Daemon (ESD)." | |
4524 | |
4525 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley DB." | |
4526 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | |
4527 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." | |
4528 | |
4529 test "$with_ldap" = yes && echo " Compiling in support for LDAP." | |
4530 | |
4531 if test "$with_postgresql" = yes; then | |
4532 echo " Compiling in support for PostgreSQL." | |
4533 if test "$with_postgresqlv7" = yes; then | |
4534 echo " Using PostgreSQL V7 bindings." | |
4535 fi | |
4536 fi | |
4537 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." | |
4538 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." | |
4539 | |
4540 test "$with_mule" = yes && echo " Compiling in Mule (multi-lingual) support." | |
4541 test "$with_file_coding" = yes && echo " Compiling in File coding support." | |
4542 test "$with_xim" != no && echo " Compiling in XIM (X11R5+ I18N input method) support." | |
4543 test "$with_xim" = motif && echo " Using Motif to provide XIM support." | |
4544 test "$with_xim" = xlib && echo " Using raw Xlib to provide XIM support." | |
4545 test "$with_xfs" = yes && echo " Using XFontSet to provide bilingual menubar." | |
4546 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." | |
4547 if test "$with_wnn" = yes; then | |
4548 echo " Compiling in support for the WNN input method on Mule." | |
4549 test "$with_wnn6" = yes && echo " Using WNN version 6." | |
4550 fi | |
4551 test "$with_i18n3" = yes && echo " Compiling in I18N support, level 3 (doesn't currently work)." | |
4552 | |
4553 test "$with_cde" = yes && echo " Compiling in support for CDE." | |
4554 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | |
4555 test "$with_offix" = yes && echo " Compiling in support for OffiX." | |
4556 test "$with_dragndrop" = yes && echo " Compiling in EXPERIMENTAL support for Drag'n'Drop ($dragndrop_proto )." | |
4557 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | |
4558 test "$with_wmcommand" != no && echo " Compiling in support for proper WM_COMMAND handling." | |
4559 case "$with_menubars" in | 4562 case "$with_menubars" in |
4560 lucid ) echo " Using Lucid menubars." ;; | 4563 lucid ) echo " Using Lucid menubars." ;; |
4561 motif ) echo " Using Motif menubars." | 4564 motif ) echo " Using Motif menubars." |
4562 echo " *WARNING* The Motif menubar implementation is currently buggy." | 4565 echo " *WARNING* The Motif menubar implementation is currently buggy." |
4563 echo " We recommend using the Lucid menubar instead." | 4566 echo " We recommend using the Lucid menubar instead." |
4564 echo " Re-run configure with --with-menubars='lucid'." ;; | 4567 echo " Re-run configure with --with-menubars='lucid'." ;; |
4565 msw ) echo " Using MS-Windows menubars." ;; | 4568 msw ) echo " Using MS-Windows menubars." ;; |
4566 esac | 4569 esac |
4567 case "$with_scrollbars" in | 4570 case "$with_scrollbars" in |
4568 lucid ) echo " Using Lucid scrollbars." ;; | 4571 lucid ) echo " Using Lucid scrollbars." ;; |
4569 motif ) echo " Using Motif scrollbars." ;; | 4572 motif ) echo " Using Motif scrollbars." ;; |
4570 athena ) echo " Using Athena scrollbars." ;; | 4573 athena ) echo " Using Athena scrollbars." ;; |
4571 msw ) echo " Using MS-Windows scrollbars." ;; | 4574 msw ) echo " Using MS-Windows scrollbars." ;; |
4575 esac | |
4576 case "$with_dialogs" in | |
4577 motif ) echo " Using Motif dialog boxes." | |
4578 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then | |
4579 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." | |
4580 echo " We recommend using the Athena dialog boxes instead." | |
4581 echo " Install libXaw and re-run configure with --with-dialogs='athena'." | |
4582 echo " Read the PROBLEMS file for more information." | |
4583 fi; fi ;; | |
4584 athena ) echo " Using Athena dialog boxes." ;; | |
4585 msw ) echo " Using MS-Windows dialog boxes." ;; | |
4572 esac | 4586 esac |
4573 case "$with_widgets" in | 4587 case "$with_widgets" in |
4574 motif ) echo " Using Motif native widgets." ;; | 4588 motif ) echo " Using Motif native widgets." ;; |
4575 athena ) echo " Using Athena native widgets." ;; | 4589 athena ) echo " Using Athena native widgets." ;; |
4576 msw ) echo " Using MS-Windows native widgets." ;; | 4590 msw ) echo " Using MS-Windows native widgets." ;; |
4577 esac | 4591 esac |
4578 case "$with_dialogs" in | 4592 if test "$with_dragndrop" = yes; then |
4579 motif ) | 4593 echo " Compiling in support for Drag'n'Drop (EXPERIMENTAL)." |
4580 echo " Using Motif dialog boxes." | 4594 echo " - Drag'n'Drop prototype: $dragndrop_proto." |
4581 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then | 4595 fi |
4582 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." | 4596 |
4583 echo " We recommend using the Athena dialog boxes instead." | 4597 echo " |
4584 echo " Install libXaw and re-run configure with --with-dialogs='athena'." | 4598 TTY:" |
4585 echo " Read the PROBLEMS file for more information." | 4599 test "$with_ncurses" = yes && echo " Compiling in support for ncurses." |
4586 fi; fi | 4600 test "$with_gpm" = yes && echo " Compiling in support for GPM (General Purpose Mouse)." |
4587 ;; | 4601 |
4588 athena ) echo " Using Athena dialog boxes." ;; | 4602 echo " |
4589 msw ) echo " Using MS-Windows dialog boxes." ;; | 4603 Images:" |
4590 esac | 4604 test "$with_gif" = yes && echo " Compiling in support for GIF images (builtin)." |
4591 test "$with_modules" = "yes" && echo " Compiling in dynamic shared object module support." | 4605 if test "$with_xpm" = yes; then |
4592 test "$with_clash_detection" = yes && \ | 4606 echo " Compiling in support for XPM images." |
4607 elif test "$with_x11" = yes; then | |
4608 echo " WARNING: -----------------------------------------------------------" | |
4609 echo " WARNING: Compiling without XPM image support." | |
4610 if test "$xpm_problem" != ""; then | |
4611 echo " Reason: $xpm_problem" | |
4612 fi | |
4613 echo " WARNING: You should strongly consider installing XPM." | |
4614 echo " WARNING: Otherwise toolbars and other graphics will look suboptimal." | |
4615 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" | |
4616 echo " WARNING: -----------------------------------------------------------" | |
4617 fi | |
4618 if test "$with_png" = yes; then | |
4619 echo " Compiling in support for PNG images." | |
4620 elif test "$window_system" != "none"; then | |
4621 echo " WARNING: -----------------------------------------------------------" | |
4622 echo " WARNING: Compiling without PNG image support." | |
4623 if test "$png_problem" != ""; then | |
4624 echo " Reason: $png_problem" | |
4625 fi | |
4626 echo " WARNING: You should strongly consider installing the PNG libraries." | |
4627 echo " WARNING: Otherwise certain images and glyphs may not display." | |
4628 echo " WARNING: (a copy may be found in ftp://ftp.xemacs.org/pub/xemacs/aux)" | |
4629 echo " WARNING: -----------------------------------------------------------" | |
4630 fi | |
4631 test "$with_jpeg" = yes && echo " Compiling in support for JPEG images." | |
4632 test "$with_tiff" = yes && echo " Compiling in support for TIFF images." | |
4633 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." | |
4634 | |
4635 echo " | |
4636 Sound:" | |
4637 test "$with_native_sound" = yes && echo " Compiling in support for sound (native)." | |
4638 test "$with_nas_sound" = yes && echo " Compiling in support for NAS (network audio system)." | |
4639 test "$old_nas" = yes && echo " - NAS library lacks error trapping; will play synchronously." | |
4640 test "$with_esd_sound" = yes && echo " Compiling in support for ESD (Enlightened Sound Daemon)." | |
4641 | |
4642 echo " | |
4643 Databases:" | |
4644 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley database." | |
4645 test "$with_database_dbm" = yes && echo " Compiling in support for DBM." | |
4646 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM." | |
4647 test "$with_ldap" = yes && echo " Compiling in support for LDAP." | |
4648 if test "$with_postgresql" = yes; then | |
4649 echo " Compiling in support for PostgreSQL." | |
4650 if test "$with_postgresqlv7" = yes; then | |
4651 echo " - Using PostgreSQL V7 bindings." | |
4652 fi | |
4653 if test -n "$postgres_h_path"; then | |
4654 echo " - PostgreSQL headers location: $postgres_h_path" | |
4655 fi | |
4656 fi | |
4657 | |
4658 echo " | |
4659 Internationalization:" | |
4660 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." | |
4661 test "$with_file_coding" = yes && echo " Compiling in support for file coding." | |
4662 test "$with_xim" != no && echo " Compiling in support for XIM (X11R5+ I18N input method)." | |
4663 test "$with_xim" = motif && echo " - Using Motif to provide XIM support." | |
4664 test "$with_xim" = xlib && echo " - Using raw Xlib to provide XIM support." | |
4665 test "$with_xfs" = yes && echo " - Using XFontSet to provide bilingual menubar." | |
4666 test "$with_canna" = yes && echo " Compiling in support for Canna on Mule." | |
4667 if test "$with_wnn" = yes; then | |
4668 echo " Compiling in support for the WNN input method on Mule." | |
4669 test "$with_wnn6" = yes && echo " - Using WNN version 6." | |
4670 fi | |
4671 test "$with_i18n3" = yes && echo " Compiling in support for I18N level 3 (doesn't currently work)." | |
4672 | |
4673 echo " | |
4674 Mail:" | |
4675 test "$with_pop" = yes && echo " Compiling in support for POP mail retrieval." | |
4676 test "$with_kerberos" = yes && echo " Compiling in support for Kerberos POP authentication." | |
4677 test "$with_hesiod" = yes && echo " Compiling in support for Hesiod POP server access." | |
4678 echo " Compiling in support for \"$mail_locking\" mail spool file locking method." | |
4679 | |
4680 echo " | |
4681 Other Features:" | |
4682 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." | |
4683 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." | |
4684 test "$with_socks" = yes && echo " Compiling in support for SOCKS." | |
4685 test "$with_dnet" = yes && echo " Compiling in support for DNET." | |
4686 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." | |
4687 test "$with_clash_detection" != "no" && \ | |
4593 echo " Clash detection will use \"$lockdir\" for locking files." | 4688 echo " Clash detection will use \"$lockdir\" for locking files." |
4594 echo " movemail will use \"$mail_locking\" for locking mail spool files." | 4689 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." |
4595 test "$with_pop" = yes && echo " Using POP for mail access." | 4690 test "$pdump" = yes && echo " Using the new portable dumper." |
4596 test "$with_kerberos" = yes && echo " Using Kerberos for POP authentication." | 4691 test "$debug" = yes && echo " Compiling in support for extra debugging code." |
4597 test "$with_hesiod" = yes && echo " Using Hesiod to get POP server host." | 4692 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." |
4598 test "$use_union_type" = yes && echo " Using the union type for Lisp_Objects." | 4693 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc $error_check_glyphs" \ |
4599 test "$pdump" = yes && echo " Using the new portable dumper." | 4694 != "no no no no no no"; then |
4600 test "$debug" = yes && echo " Compiling in extra code for debugging." | |
4601 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." | |
4602 if test "$error_check_extents $error_check_typecheck $error_check_bufpos $error_check_gc $error_check_malloc" \ | |
4603 != "no no no no no"; then | |
4604 echo " WARNING: ---------------------------------------------------------" | 4695 echo " WARNING: ---------------------------------------------------------" |
4605 echo " WARNING: Compiling in support for runtime error checking." | 4696 echo " WARNING: Compiling in support for runtime error checking." |
4606 echo " WARNING: XEmacs will run noticeably more slowly as a result." | 4697 echo " WARNING: XEmacs will run noticeably more slowly as a result." |
4607 echo " WARNING: Error checking is on by default for XEmacs beta releases." | 4698 echo " WARNING: Error checking is on by default for XEmacs beta releases." |
4608 echo " WARNING: ---------------------------------------------------------" | 4699 echo " WARNING: ---------------------------------------------------------" |