comparison configure @ 5125:b5df3737028a ben-lisp-object

merge
author Ben Wing <ben@xemacs.org>
date Wed, 24 Feb 2010 01:58:04 -0600
parents e0db3c197671 2ade80e8c640
children b72f27a08ed5
comparison
equal deleted inserted replaced
5124:623d57b7fbe8 5125:b5df3737028a
1 #! /bin/sh 1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles. 2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for XEmacs 21.5. 3 # Generated by GNU Autoconf 2.65 for XEmacs 21.5.
4 # 4 #
5 # Report bugs to <xemacs-beta@xemacs.org>. 5 # Report bugs to <xemacs-beta@xemacs.org>.
6 # 6 #
7 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software 9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 # Foundation, Inc. 10 # Inc.
11 #
10 # 12 #
11 # This configure script is free software; the Free Software Foundation 13 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it. 14 # gives unlimited permission to copy, distribute and modify it.
13 # 15 #
14 # Configuration script for XEmacs. Largely divergent from FSF. 16 # Configuration script for XEmacs. Largely divergent from FSF.
571 573
572 # Sed expression to map a string onto a valid variable name. 574 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 575 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 576
575 577
576 exec 7<&0 </dev/null 6>&1 578 test -n "$DJDIR" || exec 7<&0 </dev/null
579 exec 6>&1
577 580
578 # Name of the host. 581 # Name of the host.
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 582 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too. 583 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 584 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
707 PROGNAME 710 PROGNAME
708 SUBDIR_MAKEFILES 711 SUBDIR_MAKEFILES
709 MAKE_SUBDIR 712 MAKE_SUBDIR
710 INSTALL_ARCH_DEP_SUBDIR 713 INSTALL_ARCH_DEP_SUBDIR
711 SRC_SUBDIR_DEPS 714 SRC_SUBDIR_DEPS
715 ac_ct_CXX
716 CXXFLAGS
717 CXX
712 have_esd_config 718 have_esd_config
713 ALLOCA 719 ALLOCA
714 canna_libs 720 canna_libs
715 lwlib_objs 721 lwlib_objs
716 postgresql_libs 722 postgresql_libs
1015 with_union_type 1021 with_union_type
1016 enable_quantify 1022 enable_quantify
1017 with_quantify 1023 with_quantify
1018 enable_purify 1024 enable_purify
1019 with_purify 1025 with_purify
1026 enable_valgrind
1027 with_valgrind
1020 with_x 1028 with_x
1021 ' 1029 '
1022 ac_precious_vars='build_alias 1030 ac_precious_vars='build_alias
1023 host_alias 1031 host_alias
1024 target_alias 1032 target_alias
1028 LIBS 1036 LIBS
1029 CPPFLAGS 1037 CPPFLAGS
1030 CPP 1038 CPP
1031 YACC 1039 YACC
1032 YFLAGS 1040 YFLAGS
1033 XMKMF' 1041 XMKMF
1042 CXX
1043 CXXFLAGS
1044 CCC'
1034 1045
1035 1046
1036 # Initialize some variables set by options. 1047 # Initialize some variables set by options.
1037 ac_init_help= 1048 ac_init_help=
1038 ac_init_version=false 1049 ac_init_version=false
1662 --with-gcc Use GCC to compile XEmacs. 1673 --with-gcc Use GCC to compile XEmacs.
1663 --with-cflags=FLAGS Compiler flags. These flags will be placed after any 1674 --with-cflags=FLAGS Compiler flags. These flags will be placed after any
1664 flags inserted for warnings, debugging or 1675 flags inserted for warnings, debugging or
1665 optimization; setting this does not disable the 1676 optimization; setting this does not disable the
1666 insertion of those flags. Use configure settings 1677 insertion of those flags. Use configure settings
1667 such as `--with-optimization=no' or 1678 such as `--with-optimization=no' or `with-debug=no'
1668 `enable-debug=no' to turn them off, or override them 1679 to turn them off, or override them with
1669 with `--with-cflags-optimization', 1680 `--with-cflags-optimization',
1670 `--with-cflags-debugging', or `with-cflags-warning'. 1681 `--with-cflags-debugging', or `with-cflags-warning'.
1671 --with-cflags-warning=FLAGS 1682 --with-cflags-warning=FLAGS
1672 Override compiler flags used to control warnings. 1683 Override compiler flags used to control warnings.
1673 Normally, don't set this, as XEmacs already turns on 1684 Normally, don't set this, as XEmacs already turns on
1674 the maximum safe warning level. 1685 the maximum safe warning level.
1776 --with-menubars=TYPE Use TYPE menubars ('yes', '`no', `lucid', `motif', 1787 --with-menubars=TYPE Use TYPE menubars ('yes', '`no', `lucid', `motif',
1777 `athena', `gtk', or `msw'). The Lucid widgets 1788 `athena', `gtk', or `msw'). The Lucid widgets
1778 emulate Motif (mostly) but are faster. *WARNING* The 1789 emulate Motif (mostly) but are faster. *WARNING* The
1779 Motif menubar is currently broken. Lucid menubars 1790 Motif menubar is currently broken. Lucid menubars
1780 are the default. 1791 are the default.
1781 --with-scrollbars=TYPE 1792 --with-scrollbars=TYPE Use TYPE scrollbars 'yes', '`no', `lucid', `motif',
1782 Use TYPE scrollbars 'yes', '`no', `lucid', `motif',
1783 `athena', `gtk', or `msw'). Lucid scrollbars are the 1793 `athena', `gtk', or `msw'). Lucid scrollbars are the
1784 default. 1794 default.
1785 --with-dialogs=TYPE Use TYPE dialog boxes 'yes', '`no', `lucid', 1795 --with-dialogs=TYPE Use TYPE dialog boxes 'yes', '`no', `lucid',
1786 `motif', `athena', `gtk', or `msw'). There are no 1796 `motif', `athena', `gtk', or `msw'). There are no
1787 true Lucid dialogs; Motif dialogs will be used if 1797 true Lucid dialogs; Motif dialogs will be used if
1795 automatically added if one of the drag and drop 1805 automatically added if one of the drag and drop
1796 protocols is found (currently CDE, MSWindows, and 1806 protocols is found (currently CDE, MSWindows, and
1797 GTK). *WARNING* The Drag'n'drop support is under 1807 GTK). *WARNING* The Drag'n'drop support is under
1798 development and is considered experimental. 1808 development and is considered experimental.
1799 --with-cde Compile in support for CDE drag and drop. 1809 --with-cde Compile in support for CDE drag and drop.
1800 --with-external-widget 1810 --with-external-widget Support XEmacs server for text widgets in other
1801 Support XEmacs server for text widgets in other
1802 applications. 1811 applications.
1803 1812
1804 TTY (character terminal) options 1813 TTY (character terminal) options
1805 -------------------------------- 1814 --------------------------------
1806 1815
1857 Requires Mule. 1866 Requires Mule.
1858 --with-wnn6 Support the Wnn6 Asian language input method 1867 --with-wnn6 Support the Wnn6 Asian language input method
1859 (proprietary). Requires Mule. 1868 (proprietary). Requires Mule.
1860 --with-xfs Enable XFontSet support for internationalized 1869 --with-xfs Enable XFontSet support for internationalized
1861 menubar. Incompatible with `--with-xim=motif' and 1870 menubar. Incompatible with `--with-xim=motif' and
1862 `--with-xft'. `--with-menubars=lucid' (the 1871 `--with-xft'. `--with-menubars=lucid' (the default)
1863 default) is desirable. 1872 is desirable.
1864 1873
1865 File-related options 1874 File-related options
1866 -------------------- 1875 --------------------
1867 1876
1868 --with-default-eol-detection 1877 --with-default-eol-detection
1869 Turns on by default auto-detection of end-of-line 1878 Turns on by default auto-detection of end-of-line
1870 type when reading a file. Applies to those platforms 1879 type when reading a file. Applies to those platforms
1871 where auto-detection is off by default (non-Mule 1880 where auto-detection is off by default (non-Mule
1872 Unix). Has no effect otherwise. 1881 Unix). Has no effect otherwise.
1873 --with-clash-detection 1882 --with-clash-detection Disable use of lock files to detect multiple edits
1874 Disable use of lock files to detect multiple edits
1875 of the same file. 1883 of the same file.
1876 --with-zlib Support inflate (de)compression internally. 1884 --with-zlib Support inflate (de)compression internally.
1877 1885
1878 Database options 1886 Database options
1879 ---------------- 1887 ----------------
1948 a SourceForge project). 1956 a SourceForge project).
1949 1957
1950 Debugging options 1958 Debugging options
1951 ----------------- 1959 -----------------
1952 1960
1953 --with-debug Enable additional debugging information. No time 1961 --with-debug Enable additional debugging information. No
1954 cost. 1962 noticeable time cost (unlike
1955 --with-error-checking=TESTS 1963 `--with-error-checking'). This turns adds `-g' to
1964 the compiler options so that debug information is
1965 compiled into the XEmacs executable. It also turns
1966 on assert checks in the source code (i.e. same as
1967 `--with-assertions'); enables Lisp commands for
1968 determining detailed memory usage statistics (same
1969 as `--with-memory-usage-stats'); adds various Lisp
1970 variables and functions that allow one to display
1971 internal structures, show the internal workings of
1972 certain subsystems, and exit to the debugger; causes
1973 Lisp errors during building to exit to the debugger
1974 or dump core; and adds debugging-related C functions
1975 meant to be called from a debugger.
1976 --with-error-checking=CLASS|all|none
1956 Compile with internal error-checking added. Causes 1977 Compile with internal error-checking added. Causes
1957 noticeable loss of speed. Valid TESTS are 1978 noticeable loss of speed. Valid classes are
1958 `byte_code', `display', `extents', `gc', `glyphs', 1979 `byte_code', `display' (redisplay), `extents', `gc'
1959 `malloc', `structures' `text', `types'. 1980 (garbage collection), `glyphs', `malloc' (memory
1981 allocation), `structures' (C structures), `text'
1982 (text handling and conversion), `types' (correct
1983 Lisp-object type for type-specific operations).
1984 `all' or `none' can be given to set all or no
1985 classes, respectively. Any of the classes can be
1986 prefixed with `no' to turn the class off. A
1987 comma-separated list of classes can also be given.
1988 For example, `all,nogc' turns on all but
1989 garbage-collection-related checking. Omitting any
1990 argument or specifying just `yes' is the same as
1991 `all'.
1960 --with-assertions Compile in runtime assertions. 1992 --with-assertions Compile in runtime assertions.
1961 --with-memory-usage-stats 1993 --with-memory-usage-stats
1962 Enable LISP memory usage API. 1994 Enable LISP memory usage API.
1963 --with-quick-build Speed up the build cycle by leaving out steps where 1995 --with-quick-build Speed up the build cycle by leaving out steps where
1964 XEmacs will still work (more or less) without them. 1996 XEmacs will still work (more or less) without them.
1972 cause all .c files to be rebuilt. 2004 cause all .c files to be rebuilt.
1973 --with-union-type Use union definition of Lisp_Object type. Known to 2005 --with-union-type Use union definition of Lisp_Object type. Known to
1974 trigger bugs in some compilers. 2006 trigger bugs in some compilers.
1975 --with-quantify Support performance debugging using Quantify. 2007 --with-quantify Support performance debugging using Quantify.
1976 --with-purify Support memory debugging using Purify. 2008 --with-purify Support memory debugging using Purify.
2009 --with-valgrind Support memory debugging using Valgrind.
1977 2010
1978 Optional Packages: 2011 Optional Packages:
1979 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 2012 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1980 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 2013 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1981 --with-x use the X Window System 2014 --with-x use the X Window System
1984 CC C compiler command 2017 CC C compiler command
1985 CFLAGS C compiler flags 2018 CFLAGS C compiler flags
1986 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 2019 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1987 nonstandard directory <lib dir> 2020 nonstandard directory <lib dir>
1988 LIBS libraries to pass to the linker, e.g. -l<library> 2021 LIBS libraries to pass to the linker, e.g. -l<library>
1989 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if 2022 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1990 you have headers in a nonstandard directory <include dir> 2023 you have headers in a nonstandard directory <include dir>
1991 CPP C preprocessor 2024 CPP C preprocessor
1992 YACC The `Yet Another C Compiler' implementation to use. Defaults to 2025 YACC The `Yet Another C Compiler' implementation to use. Defaults to
1993 the first program found out of: `bison -y', `byacc', `yacc'. 2026 the first program found out of: `bison -y', `byacc', `yacc'.
1994 YFLAGS The list of arguments that will be passed by default to $YACC. 2027 YFLAGS The list of arguments that will be passed by default to $YACC.
1995 This script will default YFLAGS to the empty string to avoid a 2028 This script will default YFLAGS to the empty string to avoid a
1996 default value of `-d' given by some make applications. 2029 default value of `-d' given by some make applications.
1997 XMKMF Path to xmkmf, Makefile generator for X Window System 2030 XMKMF Path to xmkmf, Makefile generator for X Window System
2031 CXX C++ compiler command
2032 CXXFLAGS C++ compiler flags
1998 2033
1999 Use these variables to override the choices made by `configure' or to help 2034 Use these variables to override the choices made by `configure' or to help
2000 it to find libraries and programs with nonstandard names/locations. 2035 it to find libraries and programs with nonstandard names/locations.
2001 2036
2002 Report bugs to <xemacs-beta@xemacs.org>. 2037 Report bugs to <xemacs-beta@xemacs.org>.
2061 2096
2062 test -n "$ac_init_help" && exit $ac_status 2097 test -n "$ac_init_help" && exit $ac_status
2063 if $ac_init_version; then 2098 if $ac_init_version; then
2064 cat <<\_ACEOF 2099 cat <<\_ACEOF
2065 XEmacs configure 21.5 2100 XEmacs configure 21.5
2066 generated by GNU Autoconf 2.64 2101 generated by GNU Autoconf 2.65
2067 2102
2068 Copyright (C) 2009 Free Software Foundation, Inc. 2103 Copyright (C) 2009 Free Software Foundation, Inc.
2069 This configure script is free software; the Free Software Foundation 2104 This configure script is free software; the Free Software Foundation
2070 gives unlimited permission to copy, distribute and modify it. 2105 gives unlimited permission to copy, distribute and modify it.
2071 2106
2154 sed 's/^/| /' conftest.$ac_ext >&5 2189 sed 's/^/| /' conftest.$ac_ext >&5
2155 2190
2156 ac_retval=1 2191 ac_retval=1
2157 fi 2192 fi
2158 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2193 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2159 return $ac_retval 2194 as_fn_set_status $ac_retval
2160 2195
2161 } # ac_fn_c_try_compile 2196 } # ac_fn_c_try_compile
2162 2197
2163 # ac_fn_c_try_cpp LINENO 2198 # ac_fn_c_try_cpp LINENO
2164 # ---------------------- 2199 # ----------------------
2191 sed 's/^/| /' conftest.$ac_ext >&5 2226 sed 's/^/| /' conftest.$ac_ext >&5
2192 2227
2193 ac_retval=1 2228 ac_retval=1
2194 fi 2229 fi
2195 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2230 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2196 return $ac_retval 2231 as_fn_set_status $ac_retval
2197 2232
2198 } # ac_fn_c_try_cpp 2233 } # ac_fn_c_try_cpp
2199 2234
2200 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2235 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2201 # ------------------------------------------------------- 2236 # -------------------------------------------------------
2326 2361
2327 ac_retval=$ac_status 2362 ac_retval=$ac_status
2328 fi 2363 fi
2329 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2364 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2330 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2365 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2331 return $ac_retval 2366 as_fn_set_status $ac_retval
2332 2367
2333 } # ac_fn_c_try_run 2368 } # ac_fn_c_try_run
2334 2369
2335 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2370 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2336 # ------------------------------------------------------- 2371 # -------------------------------------------------------
2403 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2438 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2404 # interfere with the next link command; also delete a directory that is 2439 # interfere with the next link command; also delete a directory that is
2405 # left behind by Apple's compiler. We do this before executing the actions. 2440 # left behind by Apple's compiler. We do this before executing the actions.
2406 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2441 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2407 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2442 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2408 return $ac_retval 2443 as_fn_set_status $ac_retval
2409 2444
2410 } # ac_fn_c_try_link 2445 } # ac_fn_c_try_link
2411 2446
2412 # ac_fn_c_check_func LINENO FUNC VAR 2447 # ac_fn_c_check_func LINENO FUNC VAR
2413 # ---------------------------------- 2448 # ----------------------------------
2798 conftest.$ac_objext conftest.beam conftest.$ac_ext 2833 conftest.$ac_objext conftest.beam conftest.$ac_ext
2799 rm -f conftest.val 2834 rm -f conftest.val
2800 2835
2801 fi 2836 fi
2802 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} 2837 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2803 return $ac_retval 2838 as_fn_set_status $ac_retval
2804 2839
2805 } # ac_fn_c_compute_int 2840 } # ac_fn_c_compute_int
2841
2842 # ac_fn_cxx_try_compile LINENO
2843 # ----------------------------
2844 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2845 ac_fn_cxx_try_compile ()
2846 {
2847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2848 rm -f conftest.$ac_objext
2849 if { { ac_try="$ac_compile"
2850 case "(($ac_try" in
2851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2853 esac
2854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2855 $as_echo "$ac_try_echo"; } >&5
2856 (eval "$ac_compile") 2>conftest.err
2857 ac_status=$?
2858 if test -s conftest.err; then
2859 grep -v '^ *+' conftest.err >conftest.er1
2860 cat conftest.er1 >&5
2861 mv -f conftest.er1 conftest.err
2862 fi
2863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2864 test $ac_status = 0; } && {
2865 test -z "$ac_cxx_werror_flag" ||
2866 test ! -s conftest.err
2867 } && test -s conftest.$ac_objext; then :
2868 ac_retval=0
2869 else
2870 $as_echo "$as_me: failed program was:" >&5
2871 sed 's/^/| /' conftest.$ac_ext >&5
2872
2873 ac_retval=1
2874 fi
2875 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2876 as_fn_set_status $ac_retval
2877
2878 } # ac_fn_cxx_try_compile
2806 cat >config.log <<_ACEOF 2879 cat >config.log <<_ACEOF
2807 This file contains any messages produced by compilers while 2880 This file contains any messages produced by compilers while
2808 running configure, to aid debugging if configure makes a mistake. 2881 running configure, to aid debugging if configure makes a mistake.
2809 2882
2810 It was created by XEmacs $as_me 21.5, which was 2883 It was created by XEmacs $as_me 21.5, which was
2811 generated by GNU Autoconf 2.64. Invocation command line was 2884 generated by GNU Autoconf 2.65. Invocation command line was
2812 2885
2813 $ $0 $@ 2886 $ $0 $@
2814 2887
2815 _ACEOF 2888 _ACEOF
2816 exec 5>>config.log 2889 exec 5>>config.log
3059 ac_site_file2=$ac_default_prefix/etc/config.site 3132 ac_site_file2=$ac_default_prefix/etc/config.site
3060 fi 3133 fi
3061 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3134 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3062 do 3135 do
3063 test "x$ac_site_file" = xNONE && continue 3136 test "x$ac_site_file" = xNONE && continue
3064 if test -r "$ac_site_file"; then 3137 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3066 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 3139 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3067 sed 's/^/| /' "$ac_site_file" >&5 3140 sed 's/^/| /' "$ac_site_file" >&5
3068 . "$ac_site_file" 3141 . "$ac_site_file"
3069 fi 3142 fi
3070 done 3143 done
3071 3144
3072 if test -r "$cache_file"; then 3145 if test -r "$cache_file"; then
3073 # Some versions of bash will fail to source /dev/null (special 3146 # Some versions of bash will fail to source /dev/null (special files
3074 # files actually), so we avoid doing that. 3147 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3075 if test -f "$cache_file"; then 3148 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3077 $as_echo "$as_me: loading cache $cache_file" >&6;} 3150 $as_echo "$as_me: loading cache $cache_file" >&6;}
3078 case $cache_file in 3151 case $cache_file in
3079 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3152 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3080 *) . "./$cache_file";; 3153 *) . "./$cache_file";;
4358 for y in $_sound_types; do 4431 for y in $_sound_types; do
4359 eval "with_sound_$y=\$_sound_${y}_default" 4432 eval "with_sound_$y=\$_sound_${y}_default"
4360 eval "enable_sound_$y=\$_sound_${y}_default" 4433 eval "enable_sound_$y=\$_sound_${y}_default"
4361 unset _sound_${y}_default 4434 unset _sound_${y}_default
4362 done 4435 done
4363 enable_sound_nas="" 4436 with_sound_nas=""
4364 fi; 4437 fi;
4365 # If --with-native-sound-lib or --without-native-sound-lib were given then copy the value to the 4438 # If --with-native-sound-lib or --without-native-sound-lib were given then copy the value to the
4366 # equivalent enable_native-sound-lib variable. 4439 # equivalent enable_native-sound-lib variable.
4367 if test "${with_native_sound_lib+set}" = set; then 4440 if test "${with_native_sound_lib+set}" = set; then
4368 enable_native_sound_lib="$with_native_sound_lib" 4441 enable_native_sound_lib="$with_native_sound_lib"
4610 done 4683 done
4611 unset _database_types _database_default _database_all_default _database_use_defaults 4684 unset _database_types _database_default _database_all_default _database_use_defaults
4612 unset _with_database_args _database_found x y _require_database 4685 unset _with_database_args _database_found x y _require_database
4613 4686
4614 4687
4615 if test "$enable_database_dbm" = "yes" -a "$enable_database_gdbm" = "yes"; then 4688 if test "$with_database_dbm" = "yes" -a "$with_database_gdbm" = "yes"; then
4616 (echo "$progname: Usage error:" 4689 (echo "$progname: Usage error:"
4617 echo " " "Only one of \`dbm' and \`gdbm' may be specified 4690 echo " " "Only one of \`dbm' and \`gdbm' may be specified
4618 with the \`--with-database' option." 4691 with the \`--with-database' option."
4619 echo " Use \`$progname --help' to show usage.") >&2 && exit 1 4692 echo " Use \`$progname --help' to show usage.") >&2 && exit 1
4620 fi 4693 fi
4925 if test "${with_kkcc+set}" = set; then 4998 if test "${with_kkcc+set}" = set; then
4926 enableval="$with_kkcc" 4999 enableval="$with_kkcc"
4927 withval="$with_kkcc" 5000 withval="$with_kkcc"
4928 5001
4929 else 5002 else
4930 enable_kkcc=yes 5003 with_kkcc=yes
4931 fi; 5004 fi;
4932 5005
4933 # If --with-newgc or --without-newgc were given then copy the value to the 5006 # If --with-newgc or --without-newgc were given then copy the value to the
4934 # equivalent enable_newgc variable. 5007 # equivalent enable_newgc variable.
4935 if test "${with_newgc+set}" = set; then 5008 if test "${with_newgc+set}" = set; then
5029 for y in $_vdb_types; do 5102 for y in $_vdb_types; do
5030 eval "with_vdb_$y=\$_vdb_${y}_default" 5103 eval "with_vdb_$y=\$_vdb_${y}_default"
5031 eval "enable_vdb_$y=\$_vdb_${y}_default" 5104 eval "enable_vdb_$y=\$_vdb_${y}_default"
5032 unset _vdb_${y}_default 5105 unset _vdb_${y}_default
5033 done 5106 done
5034 enable_vdb="auto" 5107 with_vdb="auto"
5035 fi; 5108 fi;
5036 5109
5037 # If --with-modules or --without-modules were given then copy the value to the 5110 # If --with-modules or --without-modules were given then copy the value to the
5038 # equivalent enable_modules variable. 5111 # equivalent enable_modules variable.
5039 if test "${with_modules+set}" = set; then 5112 if test "${with_modules+set}" = set; then
5079 unset _bignum_bogus 5152 unset _bignum_bogus
5080 5153
5081 5154
5082 5155
5083 else 5156 else
5084 enable_bignum="no" 5157 with_bignum="no"
5085 fi; 5158 fi;
5086 5159
5087 # If --with-workshop or --without-workshop were given then copy the value to the 5160 # If --with-workshop or --without-workshop were given then copy the value to the
5088 # equivalent enable_workshop variable. 5161 # equivalent enable_workshop variable.
5089 if test "${with_workshop+set}" = set; then 5162 if test "${with_workshop+set}" = set; then
5147 if test "${with_debug+set}" = set; then 5220 if test "${with_debug+set}" = set; then
5148 enableval="$with_debug" 5221 enableval="$with_debug"
5149 withval="$with_debug" 5222 withval="$with_debug"
5150 5223
5151 fi; 5224 fi;
5225 if test "$with_error_checking" = "yes"; then
5226 with_error_checking=all
5227 fi
5152 _error_checking_notfirst="" 5228 _error_checking_notfirst=""
5153 _error_checking_byte_code_default="" 5229 _error_checking_byte_code_default=""
5154 _error_checking_display_default="" 5230 _error_checking_display_default=""
5155 _error_checking_extents_default="" 5231 _error_checking_extents_default=""
5156 _error_checking_gc_default="" 5232 _error_checking_gc_default=""
5333 if test "${with_purify+set}" = set; then 5409 if test "${with_purify+set}" = set; then
5334 enableval="$with_purify" 5410 enableval="$with_purify"
5335 withval="$with_purify" 5411 withval="$with_purify"
5336 5412
5337 fi; 5413 fi;
5414 # If --with-valgrind or --without-valgrind were given then copy the value to the
5415 # equivalent enable_valgrind variable.
5416 if test "${with_valgrind+set}" = set; then
5417 enable_valgrind="$with_valgrind"
5418 fi;
5419 # If -enable-valgrind or --disable-valgrind were given then copy the value to the
5420 # equivalent with_valgrind variable.
5421 if test "${enable_valgrind+set}" = set; then
5422 with_valgrind="$enable_valgrind"
5423 fi;
5424 # Check whether --with-valgrind or --without-valgrind was given.
5425 if test "${with_valgrind+set}" = set; then
5426 enableval="$with_valgrind"
5427 withval="$with_valgrind"
5428
5429 fi;
5338 5430
5339 if test "$with_purify" = "yes" -o "$with_quantify" = "yes"; then 5431 if test "$with_purify" = "yes" -o "$with_quantify" = "yes"; then
5340 test "$with_system_malloc" = "default" && with_system_malloc=yes 5432 test "$with_system_malloc" = "default" && with_system_malloc=yes
5341 fi 5433 fi
5342 5434
5660 #define SHEBANG_PROGNAME "${PROGNAME}-script" 5752 #define SHEBANG_PROGNAME "${PROGNAME}-script"
5661 _ACEOF 5753 _ACEOF
5662 5754
5663 5755
5664 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi 5756 if test -n "$emacs_is_beta"; then beta=yes; else beta=no; fi
5665 test "${enable_error_checking_extents:=$beta}" = yes && $as_echo "#define ERROR_CHECK_EXTENTS 1" >>confdefs.h 5757 test "${with_error_checking_extents:=$beta}" = yes && $as_echo "#define ERROR_CHECK_EXTENTS 1" >>confdefs.h
5666 5758
5667 test "${enable_error_checking_types:=$beta}" = yes && $as_echo "#define ERROR_CHECK_TYPES 1" >>confdefs.h 5759 test "${with_error_checking_types:=$beta}" = yes && $as_echo "#define ERROR_CHECK_TYPES 1" >>confdefs.h
5668 5760
5669 test "${enable_error_checking_text:=$beta}" = yes && $as_echo "#define ERROR_CHECK_TEXT 1" >>confdefs.h 5761 test "${with_error_checking_text:=$beta}" = yes && $as_echo "#define ERROR_CHECK_TEXT 1" >>confdefs.h
5670 5762
5671 test "${enable_error_checking_gc:=$beta}" = yes && $as_echo "#define ERROR_CHECK_GC 1" >>confdefs.h 5763 test "${with_error_checking_gc:=$beta}" = yes && $as_echo "#define ERROR_CHECK_GC 1" >>confdefs.h
5672 5764
5673 test "${enable_error_checking_malloc:=$beta}" = yes && $as_echo "#define ERROR_CHECK_MALLOC 1" >>confdefs.h 5765 test "${with_error_checking_malloc:=$beta}" = yes && $as_echo "#define ERROR_CHECK_MALLOC 1" >>confdefs.h
5674 5766
5675 test "${enable_error_checking_byte_code:=$beta}" = yes && $as_echo "#define ERROR_CHECK_BYTE_CODE 1" >>confdefs.h 5767 test "${with_error_checking_byte_code:=$beta}" = yes && $as_echo "#define ERROR_CHECK_BYTE_CODE 1" >>confdefs.h
5676 5768
5677 test "${enable_error_checking_glyphs:=$beta}" = yes && $as_echo "#define ERROR_CHECK_GLYPHS 1" >>confdefs.h 5769 test "${with_error_checking_glyphs:=$beta}" = yes && $as_echo "#define ERROR_CHECK_GLYPHS 1" >>confdefs.h
5678 5770
5679 test "${enable_error_checking_display:=$beta}" = yes && $as_echo "#define ERROR_CHECK_DISPLAY 1" >>confdefs.h 5771 test "${with_error_checking_display:=$beta}" = yes && $as_echo "#define ERROR_CHECK_DISPLAY 1" >>confdefs.h
5680 5772
5681 test "${enable_error_checking_structures:=$beta}" = yes && $as_echo "#define ERROR_CHECK_STRUCTURES 1" >>confdefs.h 5773 test "${with_error_checking_structures:=$beta}" = yes && $as_echo "#define ERROR_CHECK_STRUCTURES 1" >>confdefs.h
5682 5774
5683 if test "${enable_debug:=$beta}" = "yes"; then 5775 if test "${with_debug:=$beta}" = "yes"; then
5684 enable_assertions=yes 5776 with_assertions=yes
5685 enable_memory_usage_stats=yes 5777 with_memory_usage_stats=yes
5686 $as_echo "#define DEBUG_XEMACS 1" >>confdefs.h 5778 $as_echo "#define DEBUG_XEMACS 1" >>confdefs.h
5687 5779
5688 fi 5780 fi
5689 test "$enable_assertions" = "yes" && $as_echo "#define USE_ASSERTIONS 1" >>confdefs.h 5781 test "$with_assertions" = "yes" && $as_echo "#define USE_ASSERTIONS 1" >>confdefs.h
5690 5782
5691 test "$enable_memory_usage_stats" = "yes" && $as_echo "#define MEMORY_USAGE_STATS 1" >>confdefs.h 5783 test "$with_memory_usage_stats" = "yes" && $as_echo "#define MEMORY_USAGE_STATS 1" >>confdefs.h
5692 5784
5693 5785
5694 5786
5695 ac_cv_build_alias=`echo "$ac_cv_build_alias" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 5787 ac_cv_build_alias=`echo "$ac_cv_build_alias" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
5696 ac_cv_build=`echo "$ac_cv_build" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'` 5788 ac_cv_build=`echo "$ac_cv_build" | sed 's/^\([^-][^-]*-[^-][^-]*-[^-][^-]*\)-.*$/\1/'`
5842 echo "Using configure-time autodetection only." 5934 echo "Using configure-time autodetection only."
5843 fi 5935 fi
5844 5936
5845 5937
5846 5938
5847 if test -z "$enable_pdump"; then 5939 if test -z "$with_pdump"; then
5848 case "$opsys" in 5940 case "$opsys" in
5849 linux* ) enable_pdump=yes ;; darwin ) enable_pdump=yes ;; cygwin* ) enable_pdump=yes ;; * ) enable_pdump=no ;; 5941 linux* ) with_pdump=yes ;; darwin ) with_pdump=yes ;; cygwin* ) with_pdump=yes ;; * ) with_pdump=no ;;
5850 esac 5942 esac
5851 fi 5943 fi
5852 5944
5853 if test "$enable_newgc" = "yes"; then 5945 if test "$with_newgc" = "yes"; then
5854 if test "$enable_vdb" = "auto"; then 5946 if test "$with_vdb" = "auto"; then
5855 case "$opsys" in 5947 case "$opsys" in
5856 darwin ) case "$machine" in 5948 darwin ) case "$machine" in
5857 i[3-9]86 ) check_vdb_posix=yes ;; 5949 i[3-9]86 ) check_vdb_posix=yes ;;
5858 * ) $as_echo "#define VDB_MACH 1" >>confdefs.h 5950 * ) $as_echo "#define VDB_MACH 1" >>confdefs.h
5859 have_vdb_mach=yes ;; 5951 have_vdb_mach=yes ;;
5863 linux* ) check_vdb_posix=yes ;; 5955 linux* ) check_vdb_posix=yes ;;
5864 freebsd ) check_vdb_posix=yes ;; 5956 freebsd ) check_vdb_posix=yes ;;
5865 * ) check_vdb_posix=yes ;; 5957 * ) check_vdb_posix=yes ;;
5866 esac 5958 esac
5867 else 5959 else
5868 case "$enable_vdb" in 5960 case "$with_vdb" in
5869 mach ) $as_echo "#define VDB_MACH 1" >>confdefs.h 5961 mach ) $as_echo "#define VDB_MACH 1" >>confdefs.h
5870 have_vdb_mach=yes ;; 5962 have_vdb_mach=yes ;;
5871 win32 ) $as_echo "#define VDB_WIN32 1" >>confdefs.h 5963 win32 ) $as_echo "#define VDB_WIN32 1" >>confdefs.h
5872 have_vdb_win32=yes ;; 5964 have_vdb_win32=yes ;;
5873 posix ) check_vdb_posix=yes ;; 5965 posix ) check_vdb_posix=yes ;;
5920 if test "$with_workshop" = "yes"; then 6012 if test "$with_workshop" = "yes"; then
5921 $as_echo "#define SUNPRO 1" >>confdefs.h 6013 $as_echo "#define SUNPRO 1" >>confdefs.h
5922 6014
5923 fi 6015 fi
5924 6016
5925 if test "$enable_clash_detection" != "no"; then 6017 if test "$with_clash_detection" != "no"; then
5926 $as_echo "#define CLASH_DETECTION 1" >>confdefs.h 6018 $as_echo "#define CLASH_DETECTION 1" >>confdefs.h
5927 6019
5928 fi 6020 fi
5929 6021
5930 test -n "$with_compiler" && CC="$with_compiler" 6022 test -n "$with_compiler" && CC="$with_compiler"
6277 if test -s conftest.err; then 6369 if test -s conftest.err; then
6278 sed '10a\ 6370 sed '10a\
6279 ... rest of stderr output deleted ... 6371 ... rest of stderr output deleted ...
6280 10q' conftest.err >conftest.er1 6372 10q' conftest.err >conftest.er1
6281 cat conftest.er1 >&5 6373 cat conftest.er1 >&5
6282 rm -f conftest.er1 conftest.err
6283 fi 6374 fi
6375 rm -f conftest.er1 conftest.err
6284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6285 test $ac_status = 0; } 6377 test $ac_status = 0; }
6286 done 6378 done
6287 6379
6288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6289 /* end confdefs.h. */ 6381 /* end confdefs.h. */
6290 #include <stdio.h> 6382
6291 int 6383 int
6292 main () 6384 main ()
6293 { 6385 {
6294 FILE *f = fopen ("conftest.out", "w");
6295 return ferror (f) || fclose (f) != 0;
6296 6386
6297 ; 6387 ;
6298 return 0; 6388 return 0;
6299 } 6389 }
6300 _ACEOF 6390 _ACEOF
6301 ac_clean_files_save=$ac_clean_files 6391 ac_clean_files_save=$ac_clean_files
6302 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" 6392 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
6303 # Try to create an executable without -o first, disregard a.out. 6393 # Try to create an executable without -o first, disregard a.out.
6304 # It will help us diagnose broken compilers, and finding out an intuition 6394 # It will help us diagnose broken compilers, and finding out an intuition
6305 # of exeext. 6395 # of exeext.
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
6307 $as_echo_n "checking for C compiler default output file name... " >&6; } 6397 $as_echo_n "checking whether the C compiler works... " >&6; }
6308 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 6398 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
6309 6399
6310 # The possible output files: 6400 # The possible output files:
6311 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 6401 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
6312 6402
6364 test "$ac_cv_exeext" = no && ac_cv_exeext= 6454 test "$ac_cv_exeext" = no && ac_cv_exeext=
6365 6455
6366 else 6456 else
6367 ac_file='' 6457 ac_file=''
6368 fi 6458 fi
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
6370 $as_echo "$ac_file" >&6; }
6371 if test -z "$ac_file"; then : 6459 if test -z "$ac_file"; then :
6372 $as_echo "$as_me: failed program was:" >&5 6460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6461 $as_echo "no" >&6; }
6462 $as_echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.$ac_ext >&5 6463 sed 's/^/| /' conftest.$ac_ext >&5
6374 6464
6375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6465 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6466 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6377 { as_fn_set_status 77 6467 { as_fn_set_status 77
6378 as_fn_error "C compiler cannot create executables 6468 as_fn_error "C compiler cannot create executables
6379 See \`config.log' for more details." "$LINENO" 5; }; } 6469 See \`config.log' for more details." "$LINENO" 5; }; }
6380 fi 6470 else
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6472 $as_echo "yes" >&6; }
6473 fi
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
6475 $as_echo_n "checking for C compiler default output file name... " >&6; }
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
6477 $as_echo "$ac_file" >&6; }
6381 ac_exeext=$ac_cv_exeext 6478 ac_exeext=$ac_cv_exeext
6382 6479
6383 # Check that the compiler produces executables we can run. If not, either 6480 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
6384 # the compiler is broken, or we cross compile.
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
6386 $as_echo_n "checking whether the C compiler works... " >&6; }
6387 # If not cross compiling, check that we can run a simple program.
6388 if test "$cross_compiling" != yes; then
6389 if { ac_try='./$ac_file'
6390 { { case "(($ac_try" in
6391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6392 *) ac_try_echo=$ac_try;;
6393 esac
6394 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6395 $as_echo "$ac_try_echo"; } >&5
6396 (eval "$ac_try") 2>&5
6397 ac_status=$?
6398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6399 test $ac_status = 0; }; }; then
6400 cross_compiling=no
6401 else
6402 if test "$cross_compiling" = maybe; then
6403 cross_compiling=yes
6404 else
6405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6407 as_fn_error "cannot run C compiled programs.
6408 If you meant to cross compile, use \`--host'.
6409 See \`config.log' for more details." "$LINENO" 5; }
6410 fi
6411 fi
6412 fi
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6414 $as_echo "yes" >&6; }
6415
6416 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
6417 ac_clean_files=$ac_clean_files_save 6481 ac_clean_files=$ac_clean_files_save
6418 # Check that the compiler produces executables we can run. If not, either
6419 # the compiler is broken, or we cross compile.
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
6421 $as_echo_n "checking whether we are cross compiling... " >&6; }
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6423 $as_echo "$cross_compiling" >&6; }
6424
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 6482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
6426 $as_echo_n "checking for suffix of executables... " >&6; } 6483 $as_echo_n "checking for suffix of executables... " >&6; }
6427 if { { ac_try="$ac_link" 6484 if { { ac_try="$ac_link"
6428 case "(($ac_try" in 6485 case "(($ac_try" in
6429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6454 as_fn_error "cannot compute suffix of executables: cannot compile and link 6511 as_fn_error "cannot compute suffix of executables: cannot compile and link
6455 See \`config.log' for more details." "$LINENO" 5; } 6512 See \`config.log' for more details." "$LINENO" 5; }
6456 fi 6513 fi
6457 rm -f conftest$ac_cv_exeext 6514 rm -f conftest conftest$ac_cv_exeext
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
6459 $as_echo "$ac_cv_exeext" >&6; } 6516 $as_echo "$ac_cv_exeext" >&6; }
6460 6517
6461 rm -f conftest.$ac_ext 6518 rm -f conftest.$ac_ext
6462 EXEEXT=$ac_cv_exeext 6519 EXEEXT=$ac_cv_exeext
6463 ac_exeext=$EXEEXT 6520 ac_exeext=$EXEEXT
6521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6523 #include <stdio.h>
6524 int
6525 main ()
6526 {
6527 FILE *f = fopen ("conftest.out", "w");
6528 return ferror (f) || fclose (f) != 0;
6529
6530 ;
6531 return 0;
6532 }
6533 _ACEOF
6534 ac_clean_files="$ac_clean_files conftest.out"
6535 # Check that the compiler produces executables we can run. If not, either
6536 # the compiler is broken, or we cross compile.
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
6538 $as_echo_n "checking whether we are cross compiling... " >&6; }
6539 if test "$cross_compiling" != yes; then
6540 { { ac_try="$ac_link"
6541 case "(($ac_try" in
6542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6543 *) ac_try_echo=$ac_try;;
6544 esac
6545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6546 $as_echo "$ac_try_echo"; } >&5
6547 (eval "$ac_link") 2>&5
6548 ac_status=$?
6549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6550 test $ac_status = 0; }
6551 if { ac_try='./conftest$ac_cv_exeext'
6552 { { case "(($ac_try" in
6553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6554 *) ac_try_echo=$ac_try;;
6555 esac
6556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6557 $as_echo "$ac_try_echo"; } >&5
6558 (eval "$ac_try") 2>&5
6559 ac_status=$?
6560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6561 test $ac_status = 0; }; }; then
6562 cross_compiling=no
6563 else
6564 if test "$cross_compiling" = maybe; then
6565 cross_compiling=yes
6566 else
6567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6569 as_fn_error "cannot run C compiled programs.
6570 If you meant to cross compile, use \`--host'.
6571 See \`config.log' for more details." "$LINENO" 5; }
6572 fi
6573 fi
6574 fi
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
6576 $as_echo "$cross_compiling" >&6; }
6577
6578 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
6579 ac_clean_files=$ac_clean_files_save
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
6465 $as_echo_n "checking for suffix of object files... " >&6; } 6581 $as_echo_n "checking for suffix of object files... " >&6; }
6466 if test "${ac_cv_objext+set}" = set; then : 6582 if test "${ac_cv_objext+set}" = set; then :
6467 $as_echo_n "(cached) " >&6 6583 $as_echo_n "(cached) " >&6
6468 else 6584 else
7517 if test -s conftest.err; then 7633 if test -s conftest.err; then
7518 sed '10a\ 7634 sed '10a\
7519 ... rest of stderr output deleted ... 7635 ... rest of stderr output deleted ...
7520 10q' conftest.err >conftest.er1 7636 10q' conftest.err >conftest.er1
7521 cat conftest.er1 >&5 7637 cat conftest.er1 >&5
7522 rm -f conftest.er1 conftest.err
7523 fi 7638 fi
7639 rm -f conftest.er1 conftest.err
7524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7525 test $ac_status = 0; } 7641 test $ac_status = 0; }
7526 done 7642 done
7527 7643
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
8065 if test -s conftest.err; then 8181 if test -s conftest.err; then
8066 sed '10a\ 8182 sed '10a\
8067 ... rest of stderr output deleted ... 8183 ... rest of stderr output deleted ...
8068 10q' conftest.err >conftest.er1 8184 10q' conftest.err >conftest.er1
8069 cat conftest.er1 >&5 8185 cat conftest.er1 >&5
8070 rm -f conftest.er1 conftest.err
8071 fi 8186 fi
8187 rm -f conftest.er1 conftest.err
8072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8073 test $ac_status = 0; } 8189 test $ac_status = 0; }
8074 done 8190 done
8075 8191
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
8613 if test -s conftest.err; then 8729 if test -s conftest.err; then
8614 sed '10a\ 8730 sed '10a\
8615 ... rest of stderr output deleted ... 8731 ... rest of stderr output deleted ...
8616 10q' conftest.err >conftest.er1 8732 10q' conftest.err >conftest.er1
8617 cat conftest.er1 >&5 8733 cat conftest.er1 >&5
8618 rm -f conftest.er1 conftest.err
8619 fi 8734 fi
8735 rm -f conftest.er1 conftest.err
8620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8621 test $ac_status = 0; } 8737 test $ac_status = 0; }
8622 done 8738 done
8623 8739
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 8740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
8890 9006
8891 test -n "$with_xemacs_compiler" && XEMACS_CC="$with_xemacs_compiler" 9007 test -n "$with_xemacs_compiler" && XEMACS_CC="$with_xemacs_compiler"
8892 : ${XEMACS_CC:="$CC"} 9008 : ${XEMACS_CC:="$CC"}
8893 9009
8894 9010
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using g++" >&5
9012 $as_echo_n "checking whether we are using g++... " >&6; }
9013
9014 XEMACS_CC_GPP=no
9015 case "$XEMACS_CC" in
9016 *g++* ) XEMACS_CC_GPP=yes ;;
9017 esac
9018
9019 if test "$XEMACS_CC_GPP" = "no" -a "$GCC" = "yes"; then
9020 case "`$XEMACS_CC --version`" in
9021 g++* ) XEMACS_CC_GPP=yes ;;
9022 esac
9023 fi
9024
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XEMACS_CC_GPP" >&5
9026 $as_echo "$XEMACS_CC_GPP" >&6; }
9027
9028
8895 test -n "$CPP" -a -d "$CPP" && CPP= 9029 test -n "$CPP" -a -d "$CPP" && CPP=
8896 9030
8897 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP" 9031 test -n "$NON_GNU_CPP" -a "$GCC" != "yes" -a -z "$CPP" && CPP="$NON_GNU_CPP"
8898 9032
8899 ac_ext=c 9033 ac_ext=c
9323 cat >>confdefs.h <<_ACEOF 9457 cat >>confdefs.h <<_ACEOF
9324 #define SYSTEM_TYPE "`uname -s | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`" 9458 #define SYSTEM_TYPE "`uname -s | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
9325 _ACEOF 9459 _ACEOF
9326 9460
9327 9461
9328 test -z "$unexec" && enable_pdump=yes 9462 test -z "$unexec" && with_pdump=yes
9329 9463
9330 if test "$enable_pdump" = "yes"; then 9464 if test "$with_pdump" = "yes"; then
9331 ordinary_link="yes" 9465 ordinary_link="yes"
9332 ld="${ordinary_ld}" 9466 ld="${ordinary_ld}"
9333 start_files= 9467 start_files=
9334 libs_standard= 9468 libs_standard=
9335 unexec= 9469 unexec=
9336 lib_gcc= 9470 lib_gcc=
9337 fi 9471 fi
9338 9472
9339 test -z "$enable_kkcc" && enable_kkcc=yes 9473 test -z "$with_kkcc" && with_kkcc=yes
9340 9474
9341 if test -z "$enable_dump_in_exec"; then 9475 if test -z "$with_dump_in_exec"; then
9342 if test "$enable_pdump" = "yes"; then 9476 if test "$with_pdump" = "yes"; then
9343 if test "$enable_newgc" = "yes"; then 9477 if test "$with_newgc" = "yes"; then
9344 enable_dump_in_exec=no 9478 with_dump_in_exec=no
9345 else 9479 else
9346 enable_dump_in_exec=yes 9480 with_dump_in_exec=yes
9347 fi 9481 fi
9348 fi 9482 fi
9349 fi 9483 fi
9350 9484
9351 if test "$enable_newgc" = "yes"; then 9485 if test "$with_newgc" = "yes"; then
9352 enable_kkcc=yes 9486 with_kkcc=yes
9353 fi 9487 fi
9354 9488
9355 test "$verbose" = "yes" && \ 9489 test "$verbose" = "yes" && \
9356 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 "" 9490 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 ""
9357 9491
9418 fi 9552 fi
9419 9553
9420 9554
9421 xemacs_cc_cc_mismatch=no 9555 xemacs_cc_cc_mismatch=no
9422 if test "$CC" != "$XEMACS_CC"; then 9556 if test "$CC" != "$XEMACS_CC"; then
9423 case "$XEMACS_CC" in 9557 if test "$XEMACS_CC_GPP" = "yes" -a "$GCC" != "yes"; then
9424 *g++* ) 9558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CC and g++ are mismatched; XE_CFLAGS may be wrong" >&5
9425 if test "$GCC" != "yes"; then
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CC and g++ are mismatched; XE_CFLAGS may be wrong" >&5
9427 $as_echo "$as_me: WARNING: CC and g++ are mismatched; XE_CFLAGS may be wrong" >&2;} 9559 $as_echo "$as_me: WARNING: CC and g++ are mismatched; XE_CFLAGS may be wrong" >&2;}
9428 xemacs_cc_cc_mismatch=yes 9560 xemacs_cc_cc_mismatch=yes
9429 fi 9561 fi
9430 ;; 9562 if test -n "$GCC" -a "$XEMACS_CC_GPP" != "yes" ; then
9431 esac 9563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong" >&5
9432 if test -n "$GCC"; then
9433 case $XEMACS_CC in
9434 *g++* )
9435 # it's as expected, do nothing
9436 ;;
9437 * )
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong" >&5
9439 $as_echo "$as_me: WARNING: gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong" >&2;} 9564 $as_echo "$as_me: WARNING: gcc and XEMACS_CC are mismatched; XE_CFLAGS may be wrong" >&2;}
9440 xemacs_cc_cc_mismatch=yes 9565 xemacs_cc_cc_mismatch=yes
9441 ;;
9442 esac
9443 fi 9566 fi
9444 fi 9567 fi
9445 9568
9446 9569
9447 if test -z "$with_optimization"; then 9570 if test -z "$with_optimization"; then
9460 fi 9583 fi
9461 fi 9584 fi
9462 9585
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preferred optimization flags" >&5 9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for preferred optimization flags" >&5
9464 $as_echo_n "checking for preferred optimization flags... " >&6; } 9587 $as_echo_n "checking for preferred optimization flags... " >&6; }
9465 if test "$with_optimization" = "yes" ; then 9588 if test "$cflags_optimization_specified" = "no"; then
9466 if test "$cflags_optimization_specified" = "no"; then 9589 if test "$with_optimization" = "yes" ; then
9467 if test "$GCC" = "yes"; then 9590 if test "$GCC" = "yes"; then
9468 with_cflags_optimization="-O3" 9591 with_cflags_optimization="-O3 -fno-strict-aliasing"
9469 elif test "$__SUNPRO_C" = "yes"; then 9592 elif test "$__SUNPRO_C" = "yes"; then
9470 case "$opsys" in 9593 case "$opsys" in
9471 sol2 ) with_cflags_optimization="-xO4" ;; 9594 sol2 ) with_cflags_optimization="-xO4" ;;
9472 esac 9595 esac
9473 elif test "$__DECC" = "yes"; then 9596 elif test "$__DECC" = "yes"; then
9476 with_cflags_optimization="-O3 -qstrict -qnoansialias -qlibansi -qmaxmem=20000" 9599 with_cflags_optimization="-O3 -qstrict -qnoansialias -qlibansi -qmaxmem=20000"
9477 elif test "$__ICC" = "yes"; then 9600 elif test "$__ICC" = "yes"; then
9478 with_cflags_optimization="-O3 -Ob2" 9601 with_cflags_optimization="-O3 -Ob2"
9479 else 9602 else
9480 with_cflags_optimization="-O" ; fi 9603 with_cflags_optimization="-O" ; fi
9604 elif test "$XEMACS_CC_GPP" = "yes" ; then
9605 with_cflags_optimization="-fno-strict-aliasing"
9481 fi 9606 fi
9482 else
9483 with_cflags_optimization=
9484 fi 9607 fi
9485 9608
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_cflags_optimization}" >&5 9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_cflags_optimization}" >&5
9487 $as_echo "${with_cflags_optimization}" >&6; } 9610 $as_echo "${with_cflags_optimization}" >&6; }
9488 9611
9521 9644
9522 with_cflags_warning="$with_cflags_warning -Wsign-compare -Wno-char-subscripts" 9645 with_cflags_warning="$with_cflags_warning -Wsign-compare -Wno-char-subscripts"
9523 test "$__GCC" -ge 3 && with_cflags_warning="$with_cflags_warning -Wpacked" 9646 test "$__GCC" -ge 3 && with_cflags_warning="$with_cflags_warning -Wpacked"
9524 test "$have_glibc" != "yes" && \ 9647 test "$have_glibc" != "yes" && \
9525 with_cflags_warning="$with_cflags_warning -Wpointer-arith" 9648 with_cflags_warning="$with_cflags_warning -Wpointer-arith"
9526 if test "$with_xemacs_compiler" = "g++"; then 9649 with_cflags_warning_c="-Wshadow -Wmissing-declarations"
9527 xe_cflags_warning="$with_cflags_warning -Weffc++" 9650 with_cflags_warning_c="$with_cflags_warning_c -Wmissing-prototypes -Wstrict-prototypes"
9528 elif test "$__GCC" -ge 3; then 9651 with_cflags_warning_cxx="-Weffc++"
9529 xe_cflags_warning="$with_cflags_warning -Wunused-parameter" 9652 with_cflags_warning_c_xe=""
9653 if test "$__GCC" -ge 3; then
9654 with_cflags_warning_c_xe="$with_cflags_warning_c_xe -Wunused-parameter"
9530 if test "$__GCC" -gt 3 || test "$__GCC_MINOR" -ge 4; then 9655 if test "$__GCC" -gt 3 || test "$__GCC_MINOR" -ge 4; then
9531 with_cflags_warning="$with_cflags_warning -Wdeclaration-after-statement" 9656 with_cflags_warning_c="$with_cflags_warning_c -Wdeclaration-after-statement"
9532 fi 9657 fi
9533 fi 9658 fi
9534 with_cflags_warning="$with_cflags_warning -Wshadow -Wmissing-declarations" 9659 if test "$XEMACS_CC_GPP" = "yes"; then
9535 with_cflags_warning="$with_cflags_warning -Wmissing-prototypes -Wstrict-prototypes" 9660 xe_cflags_warning="$with_cflags_warning $with_cflags_warning_cxx"
9536 elif test "$__ICC" = "yes"; then 9661 else
9537 with_cflags_warning="-Wall -w1 -we147" 9662 xe_cflags_warning="$with_cflags_warning $with_cflags_warning_c $with_cflags_warning_c_xe"
9663 fi
9664 with_cflags_warning="$with_cflags_warning $with_cflags_warning_c"
9665 elif test "$__ICC" = "yes"; then
9666 with_cflags_warning="-Wall -w1 -we147"
9538 fi 9667 fi
9539 fi 9668 fi
9540 test -z "$xe_cflags_warning" && xe_cflags_warning="$with_cflags_warning" 9669 test -z "$xe_cflags_warning" && xe_cflags_warning="$with_cflags_warning"
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xe_cflags_warning}" >&5 9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xe_cflags_warning}" >&5
9542 $as_echo "${xe_cflags_warning}" >&6; } 9671 $as_echo "${xe_cflags_warning}" >&6; }
9640 esac 9769 esac
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9642 $as_echo "no" >&6; } 9771 $as_echo "no" >&6; }
9643 fi 9772 fi
9644 9773
9645 if test "$enable_pdump" != "yes"; then 9774 if test "$with_pdump" != "yes"; then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"-z nocombreloc\" linker flag" >&5 9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"-z nocombreloc\" linker flag" >&5
9647 $as_echo_n "checking for \"-z nocombreloc\" linker flag... " >&6; } 9776 $as_echo_n "checking for \"-z nocombreloc\" linker flag... " >&6; }
9648 case "`ld --help 2>&1`" in 9777 case "`ld --help 2>&1`" in
9649 *-z\ nocombreloc* ) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9778 *-z\ nocombreloc* ) { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9650 $as_echo "yes" >&6; } 9779 $as_echo "yes" >&6; }
9724 echo " xemacs will be linked with \"$objects_machine\"" 9853 echo " xemacs will be linked with \"$objects_machine\""
9725 fi 9854 fi
9726 test -n "$objects_system" && extra_objs="$extra_objs $objects_system" && if test "$verbose" = "yes"; then 9855 test -n "$objects_system" && extra_objs="$extra_objs $objects_system" && if test "$verbose" = "yes"; then
9727 echo " xemacs will be linked with \"$objects_system\"" 9856 echo " xemacs will be linked with \"$objects_system\""
9728 fi 9857 fi
9729 test -n "$unexec" && test ! "$enable_pdump" = "yes" && extra_objs="$extra_objs $unexec" && if test "$verbose" = "yes"; then 9858 test -n "$unexec" && test ! "$with_pdump" = "yes" && extra_objs="$extra_objs $unexec" && if test "$verbose" = "yes"; then
9730 echo " xemacs will be linked with \"$unexec\"" 9859 echo " xemacs will be linked with \"$unexec\""
9731 fi 9860 fi
9732 test "$enable_pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$verbose" = "yes"; then 9861 test "$with_pdump" = "yes" && extra_objs="$extra_objs dumper.o" && if test "$verbose" = "yes"; then
9733 echo " xemacs will be linked with \"dumper.o\"" 9862 echo " xemacs will be linked with \"dumper.o\""
9734 fi 9863 fi
9735 9864
9736 9865
9737 9866
11947 with_x11=no 12076 with_x11=no
11948 fi 12077 fi
11949 12078
11950 for feature in scrollbars toolbars menubars dialogs widgets 12079 for feature in scrollbars toolbars menubars dialogs widgets
11951 do 12080 do
11952 eval "feature_value=\${enable_${feature}}" 12081 eval "feature_value=\${with_${feature}}"
11953 case "${feature_value}" in 12082 case "${feature_value}" in
11954 yes|no|gtk|"" ) 12083 yes|no|gtk|"" )
11955 ;; 12084 ;;
11956 * ) 12085 * )
11957 feature_conflict_with_gtk=yes 12086 feature_conflict_with_gtk=yes
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-${feature}=${feature_value} is incompatible with --with-gtk" >&5 12087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-${feature}=${feature_value} is incompatible with --with-gtk" >&5
11959 $as_echo "$as_me: WARNING: --enable-${feature}=${feature_value} is incompatible with --with-gtk" >&2;} ;; 12088 $as_echo "$as_me: WARNING: --with-${feature}=${feature_value} is incompatible with --with-gtk" >&2;} ;;
11960 esac 12089 esac
11961 done 12090 done
11962 if test "${feature_conflict_with_gtk}" = "yes"; then 12091 if test "${feature_conflict_with_gtk}" = "yes"; then
11963 { echo "Error:" "One or more GUI toolkit features conflict with GTK" >&2; exit 1; } 12092 { echo "Error:" "One or more GUI toolkit features conflict with GTK" >&2; exit 1; }
11964 fi 12093 fi
11965 12094
11966 test "${enable_scrollbars}" != "no" && enable_scrollbars=gtk 12095 test "${with_scrollbars}" != "no" && with_scrollbars=gtk
11967 test "${enable_toolbars}" != "no" && enable_toolbars=gtk 12096 test "${with_toolbars}" != "no" && with_toolbars=gtk
11968 test "${enable_menubars}" != "no" && enable_menubars=gtk 12097 test "${with_menubars}" != "no" && with_menubars=gtk
11969 test "${enable_dialogs}" != "no" && enable_dialogs=gtk 12098 test "${with_dialogs}" != "no" && with_dialogs=gtk
11970 test "${enable_widgets}" != "no" && enable_widgets=gtk 12099 test "${with_widgets}" != "no" && with_widgets=gtk
11971 12100
11972 OLD_CFLAGS="${CFLAGS}" 12101 OLD_CFLAGS="${CFLAGS}"
11973 OLD_CPPFLAGS="${CPPFLAGS}" 12102 OLD_CPPFLAGS="${CPPFLAGS}"
11974 OLD_LDFLAGS="${LDFLAGS}" 12103 OLD_LDFLAGS="${LDFLAGS}"
11975 CFLAGS="${GTK_CFLAGS} ${CFLAGS}" 12104 CFLAGS="${GTK_CFLAGS} ${CFLAGS}"
13247 #define THIS_IS_X11R${x11_release} 1 13376 #define THIS_IS_X11R${x11_release} 1
13248 _ACEOF 13377 _ACEOF
13249 13378
13250 13379
13251 if test "${x11_release}" = "4"; then 13380 if test "${x11_release}" = "4"; then
13252 case "$enable_widgets" in 13381 case "$with_widgets" in
13253 "" | "no") enable_widgets=no ;; 13382 "" | "no") with_widgets=no ;;
13254 *) { echo "Error:" "Widget support requires X11R5 or greater" >&2; exit 1; } ;; 13383 *) { echo "Error:" "Widget support requires X11R5 or greater" >&2; exit 1; } ;;
13255 esac 13384 esac
13256 fi 13385 fi
13257 13386
13258 for ac_func in XConvertCase XtRegisterDrawable 13387 for ac_func in XConvertCase XtRegisterDrawable
13623 done 13752 done
13624 13753
13625 with_fontconfig=yes 13754 with_fontconfig=yes
13626 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h 13755 $as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
13627 13756
13628 $as_echo "#define USE_XFT 1" >>confdefs.h 13757 $as_echo "#define HAVE_XFT 1" >>confdefs.h
13629 13758
13630 unset xft_includes_found 13759 unset xft_includes_found
13631 fi 13760 fi
13632 fi 13761 fi
13633 13762
13687 dragndrop_proto="$dragndrop_proto msw" && if test "$verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi 13816 dragndrop_proto="$dragndrop_proto msw" && if test "$verbose" = "yes"; then echo " Appending \"msw\" to \$dragndrop_proto"; fi
13688 with_dragndrop=yes 13817 with_dragndrop=yes
13689 fi 13818 fi
13690 if test "$window_system" != x11; then 13819 if test "$window_system" != x11; then
13691 window_system=msw 13820 window_system=msw
13692 test "$enable_scrollbars" != "no" && enable_scrollbars=msw 13821 test "$with_scrollbars" != "no" && with_scrollbars=msw
13693 test "$enable_menubars" != "no" && enable_menubars=msw 13822 test "$with_menubars" != "no" && with_menubars=msw
13694 test "$enable_toolbars" != "no" && enable_toolbars=msw 13823 test "$with_toolbars" != "no" && with_toolbars=msw
13695 test "$enable_dialogs" != "no" && enable_dialogs=msw 13824 test "$with_dialogs" != "no" && with_dialogs=msw
13696 test "$enable_widgets" != "no" && enable_widgets=msw 13825 test "$with_widgets" != "no" && with_widgets=msw
13697 fi 13826 fi
13698 if test "$cross_compiling" = yes; then : 13827 if test "$cross_compiling" = yes; then :
13699 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13828 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13829 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13701 as_fn_error "cannot run test program while cross compiling 13830 as_fn_error "cannot run test program while cross compiling
13723 test -z "$window_system" && window_system="none" 13852 test -z "$window_system" && window_system="none"
13724 13853
13725 if test "$window_system" = "none"; then 13854 if test "$window_system" = "none"; then
13726 for feature in menubars scrollbars toolbars dialogs dragndrop xface 13855 for feature in menubars scrollbars toolbars dialogs dragndrop xface
13727 do 13856 do
13728 if eval "test -n \"\$enable_${feature}\" -a \"\$enable_${feature}\" != no" ; then 13857 if eval "test -n \"\$with_${feature}\" -a \"\$with_${feature}\" != no" ; then
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-$feature ignored: Not valid without window system support" >&5 13858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-$feature ignored: Not valid without window system support" >&5
13730 $as_echo "$as_me: WARNING: --enable-$feature ignored: Not valid without window system support" >&2;} 13859 $as_echo "$as_me: WARNING: --with-$feature ignored: Not valid without window system support" >&2;}
13731 fi 13860 fi
13732 eval "enable_${feature}=no" 13861 eval "with_${feature}=no"
13733 done 13862 done
13734 else 13863 else
13735 test -z "$enable_toolbars" && enable_toolbars=yes 13864 test -z "$with_toolbars" && with_toolbars=yes
13736 fi 13865 fi
13737 13866
13738 if test "$with_msw" != "yes"; then 13867 if test "$with_msw" != "yes"; then
13739 for feature in MARTIN_IS_CLUELESS_ABOUT_MSW_FEATURES 13868 for feature in MARTIN_IS_CLUELESS_ABOUT_MSW_FEATURES
13740 do 13869 do
13747 else 13876 else
13748 : 13877 :
13749 fi 13878 fi
13750 13879
13751 if test "$with_x11" != "yes"; then 13880 if test "$with_x11" != "yes"; then
13752 for feature in with_tooltalk with_cde with_wmcommand with_xim enable_sound_nas 13881 for feature in with_tooltalk with_cde with_wmcommand with_xim with_sound_nas
13753 do 13882 do
13754 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then 13883 if eval "test -n \"\$${feature}\" -a \"\$${feature}\" != \"no\"" ; then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --$feature ignored: Not valid without X support" >&5 13884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --$feature ignored: Not valid without X support" >&5
13756 $as_echo "$as_me: WARNING: --$feature ignored: Not valid without X support" >&2;} 13885 $as_echo "$as_me: WARNING: --$feature ignored: Not valid without X support" >&2;}
13757 fi 13886 fi
13864 13993
13865 13994
13866 13995
13867 13996
13868 13997
13869 if test "$with_xemacs_compiler" = "g++"; then 13998 if test "$XEMACS_CC_GPP" = "yes"; then
13870 LIBSTDCPP=-lstdc++ 13999 LIBSTDCPP=-lstdc++
13871 else 14000 else
13872 LIBSTDCPP= 14001 LIBSTDCPP=
13873 fi 14002 fi
13874 14003
13875 14004
13876 if test "$enable_modules" != "no"; then 14005 if test "$with_modules" != "no"; then
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module support" >&5 14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for module support" >&5
13878 $as_echo_n "checking for module support... " >&6; } 14007 $as_echo_n "checking for module support... " >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
13880 $as_echo "" >&6; } 14009 $as_echo "" >&6; }
13881 14010
14536 can_build_shared=no 14665 can_build_shared=no
14537 fi 14666 fi
14538 fi # End of if cc_produces_so = no 14667 fi # End of if cc_produces_so = no
14539 14668
14540 14669
14541 if test "$xe_gnu_ld" = yes; then 14670 if test "$xe_gnu_ld" = yes -a "$ld_shlibs" = yes; then
14542 if test "$ld_shlibs" = yes; then 14671 case "$xehost_os" in
14672 *cygwin* | *mingw* )
14673 # -export-all-symbols is the PE equivalent of ELF-specific -export-dynamic
14674 ld_dynamic_link_flags="${wl}-export-all-symbols"
14675 ;;
14676
14677 *)
14543 ld_dynamic_link_flags="${wl}-export-dynamic" 14678 ld_dynamic_link_flags="${wl}-export-dynamic"
14544 fi 14679 ;;
14680 esac
14545 fi 14681 fi
14546 14682
14547 if test -z "$ld_dynamic_link_flags"; then 14683 if test -z "$ld_dynamic_link_flags"; then
14548 case "$xehost_os" in 14684 case "$xehost_os" in
14549 aix[3-9]*) 14685 aix[3-9]*)
14628 _ACEOF 14764 _ACEOF
14629 14765
14630 fi 14766 fi
14631 done 14767 done
14632 14768
14633 enable_modules=yes 14769 with_modules=yes
14634 MOD_CC="../../lib-src/ellcc" 14770 MOD_CC="../../lib-src/ellcc"
14635 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I../../src -I\$(srcdir)/../../src" 14771 MODCFLAGS="\$(CFLAGS) --mode=compile --mod-output=\$@ -I../../src -I\$(srcdir)/../../src"
14636 INSTALLPATH="\$(moduledir)" 14772 INSTALLPATH="\$(moduledir)"
14637 MOD_INSTALL_PROGRAM=${INSTALL_PROGRAM} 14773 MOD_INSTALL_PROGRAM=${INSTALL_PROGRAM}
14638 OBJECT_TO_BUILD="\$(MODNAME).ell" 14774 OBJECT_TO_BUILD="\$(MODNAME).ell"
14639 else 14775 else
14640 if test "$enable_modules" = "yes"; then 14776 if test "$with_modules" = "yes"; then
14641 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; } 14777 { echo "Error:" "Required module support cannot be provided." >&2; exit 1; }
14642 else 14778 else
14643 echo " No module support." 14779 echo " No module support."
14644 fi 14780 fi
14645 enable_modules=no 14781 with_modules=no
14646 fi 14782 fi
14647 fi 14783 fi
14648 if test "$enable_modules" != "yes"; then 14784 if test "$with_modules" != "yes"; then
14649 MOD_CC="$XEMACS_CC" 14785 MOD_CC="$XEMACS_CC"
14650 MODCFLAGS="\$(XE_CFLAGS) -I../../src -I\$(srcdir)/../../src" 14786 MODCFLAGS="\$(XE_CFLAGS) -I../../src -I\$(srcdir)/../../src"
14651 INSTALLPATH="" 14787 INSTALLPATH=""
14652 MOD_INSTALL_PROGRAM="true" 14788 MOD_INSTALL_PROGRAM="true"
14653 OBJECT_TO_BUILD="\$(MODNAME).o" 14789 OBJECT_TO_BUILD="\$(MODNAME).o"
14654 fi 14790 fi
14655 MODARCHDIR= 14791 MODARCHDIR=
14656 MAKE_DOCFILE="../../lib-src/make-docfile" 14792 MAKE_DOCFILE="../../lib-src/make-docfile"
14657 with_modules=$enable_modules 14793 with_modules=$with_modules
14658 14794
14659 14795
14660 14796
14661 14797
14662 14798
15088 done 15224 done
15089 15225
15090 LIBS="$save_LIBS" 15226 LIBS="$save_LIBS"
15091 MAKE_SUBDIR="$MAKE_SUBDIR modules/ldap" && if test "$verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$MAKE_SUBDIR"; fi 15227 MAKE_SUBDIR="$MAKE_SUBDIR modules/ldap" && if test "$verbose" = "yes"; then echo " Appending \"modules/ldap\" to \$MAKE_SUBDIR"; fi
15092 need_modules_common=yes 15228 need_modules_common=yes
15093 if test "$enable_modules" = "yes"; then 15229 if test "$with_modules" = "yes"; then
15094 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 15230 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
15095 fi 15231 fi
15096 fi 15232 fi
15097 15233
15098 15234
15261 _ACEOF 15397 _ACEOF
15262 15398
15263 postgresql_libs="$pq_libs $postgresql_libs" && if test "$verbose" = "yes"; then echo " Prepending \"$pq_libs\" to \$postgresql_libs"; fi 15399 postgresql_libs="$pq_libs $postgresql_libs" && if test "$verbose" = "yes"; then echo " Prepending \"$pq_libs\" to \$postgresql_libs"; fi
15264 MAKE_SUBDIR="$MAKE_SUBDIR modules/postgresql" && if test "$verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$MAKE_SUBDIR"; fi 15400 MAKE_SUBDIR="$MAKE_SUBDIR modules/postgresql" && if test "$verbose" = "yes"; then echo " Appending \"modules/postgresql\" to \$MAKE_SUBDIR"; fi
15265 need_modules_common=yes 15401 need_modules_common=yes
15266 if test "$enable_modules" = "yes"; then 15402 if test "$with_modules" = "yes"; then
15267 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 15403 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
15268 fi 15404 fi
15269 elif test "$with_postgresql" = "yes"; then 15405 elif test "$with_postgresql" = "yes"; then
15270 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --with-site-prefixes." >&2; exit 1; } 15406 { echo "Error:" "Required PostgreSQL support cannot be provided. Check --with-site-prefixes." >&2; exit 1; }
15271 fi 15407 fi
15963 $as_echo_n "checking for X11 graphics libraries... " >&6; } 16099 $as_echo_n "checking for X11 graphics libraries... " >&6; }
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15965 $as_echo "" >&6; } 16101 $as_echo "" >&6; }
15966 fi 16102 fi
15967 16103
15968 case "$enable_widgets" in 16104 case "$with_widgets" in
15969 "" | "yes" | "athena") detect_athena=yes ;; 16105 "" | "yes" | "athena") detect_athena=yes ;;
15970 *) detect_athena=no ;; 16106 *) detect_athena=no ;;
15971 esac 16107 esac
15972 16108
15973 case "$enable_dialogs" in 16109 case "$with_dialogs" in
15974 "" | "yes" | "athena") detect_athena=yes ;; 16110 "" | "yes" | "athena") detect_athena=yes ;;
15975 esac 16111 esac
15976 16112
15977 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then 16113 if test "$with_x11" = "yes" -a "$detect_athena" = "yes" ; then
15978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Athena widgets" >&5 16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Athena widgets" >&5
16398 case "$opsys" in 16534 case "$opsys" in
16399 *linux* | *darwin* | *bsd* | *cygwin* ) lucid_prefers_motif="no" ;; 16535 *linux* | *darwin* | *bsd* | *cygwin* ) lucid_prefers_motif="no" ;;
16400 * ) lucid_prefers_motif="yes" ;; 16536 * ) lucid_prefers_motif="yes" ;;
16401 esac 16537 esac
16402 16538
16403 case "$enable_menubars" in "" | "yes" | "athena" ) 16539 case "$with_menubars" in "" | "yes" | "athena" )
16404 enable_menubars="lucid" ;; 16540 with_menubars="lucid" ;;
16405 esac 16541 esac
16406 if test "$with_xft_menubars" != "no" ; then 16542 if test "$with_xft_menubars" != "no" ; then
16407 if test "$with_xft_emacs" = "yes" -a "$with_menubars" != "no" ; then 16543 if test "$with_xft_emacs" = "yes" -a "$with_menubars" != "no" ; then
16408 with_xft_menubars="yes" 16544 with_xft_menubars="yes"
16409 else 16545 else
16410 with_xft_menubars="no" 16546 with_xft_menubars="no"
16411 fi 16547 fi
16412 fi 16548 fi
16413 case "$enable_dialogs" in "" | "yes" | "lucid" ) 16549 case "$with_dialogs" in "" | "yes" | "lucid" )
16414 if test "$lucid_prefers_motif" = "yes"; then 16550 if test "$lucid_prefers_motif" = "yes"; then
16415 if test "$have_motif" = "yes"; then enable_dialogs="motif" 16551 if test "$have_motif" = "yes"; then with_dialogs="motif"
16416 elif test "$have_xaw" = "yes"; then enable_dialogs="athena" 16552 elif test "$have_xaw" = "yes"; then with_dialogs="athena"
16417 elif test "$with_msw" = "yes"; then enable_dialogs="msw" 16553 elif test "$with_msw" = "yes"; then with_dialogs="msw"
16418 else enable_dialogs=no 16554 else with_dialogs=no
16419 fi 16555 fi
16420 else 16556 else
16421 if test "$have_xaw" = "yes"; then enable_dialogs="athena" 16557 if test "$have_xaw" = "yes"; then with_dialogs="athena"
16422 elif test "$have_motif" = "yes"; then enable_dialogs="motif" 16558 elif test "$have_motif" = "yes"; then with_dialogs="motif"
16423 elif test "$with_msw" = "yes"; then enable_dialogs="msw" 16559 elif test "$with_msw" = "yes"; then with_dialogs="msw"
16424 else enable_dialogs=no 16560 else with_dialogs=no
16425 fi 16561 fi
16426 fi ;; 16562 fi ;;
16427 esac 16563 esac
16428 case "$enable_scrollbars" in "" | "yes" ) 16564 case "$with_scrollbars" in "" | "yes" )
16429 enable_scrollbars="lucid" ;; 16565 with_scrollbars="lucid" ;;
16430 esac 16566 esac
16431 case "$enable_widgets" in "" | "yes" | "lucid") 16567 case "$with_widgets" in "" | "yes" | "lucid")
16432 if test "$lucid_prefers_motif" = "yes"; then 16568 if test "$lucid_prefers_motif" = "yes"; then
16433 if test "$have_motif" = "yes"; then enable_widgets="motif" 16569 if test "$have_motif" = "yes"; then with_widgets="motif"
16434 elif test "$have_xaw" = "yes"; then enable_widgets="athena" 16570 elif test "$have_xaw" = "yes"; then with_widgets="athena"
16435 elif test "$with_msw" = "yes"; then enable_widgets="msw" 16571 elif test "$with_msw" = "yes"; then with_widgets="msw"
16436 else enable_widgets=no 16572 else with_widgets=no
16437 fi 16573 fi
16438 else 16574 else
16439 if test "$have_xaw" = "yes"; then enable_widgets="athena" 16575 if test "$have_xaw" = "yes"; then with_widgets="athena"
16440 elif test "$have_motif" = "yes"; then enable_widgets="motif" 16576 elif test "$have_motif" = "yes"; then with_widgets="motif"
16441 elif test "$with_msw" = "yes"; then enable_widgets="msw" 16577 elif test "$with_msw" = "yes"; then with_widgets="msw"
16442 else enable_widgets=no 16578 else with_widgets=no
16443 fi 16579 fi
16444 fi ;; 16580 fi ;;
16445 esac 16581 esac
16446 if test "$with_xft_tabs" != "no" ; then 16582 if test "$with_xft_tabs" != "no" ; then
16447 if test "$with_xft_emacs" = "yes" -a "$enable_widgets" != "no" ; then 16583 if test "$with_xft_emacs" = "yes" -a "$with_widgets" != "no" ; then
16448 with_xft_tabs="yes" 16584 with_xft_tabs="yes"
16449 else 16585 else
16450 with_xft_tabs="no" 16586 with_xft_tabs="no"
16451 fi 16587 fi
16452 fi 16588 fi
16453 if test "$with_xft_gauges" != "no" ; then 16589 if test "$with_xft_gauges" != "no" ; then
16454 if test "$with_xft_emacs" = "yes" -a "$enable_widgets" != "no" ; then 16590 if test "$with_xft_emacs" = "yes" -a "$with_widgets" != "no" ; then
16455 with_xft_gauges="yes" 16591 with_xft_gauges="yes"
16456 else 16592 else
16457 with_xft_gauges="no" 16593 with_xft_gauges="no"
16458 fi 16594 fi
16459 fi 16595 fi
16460 16596
16461 all_widgets="$enable_menubars $enable_scrollbars $enable_dialogs $enable_toolbars $enable_widgets" 16597 all_widgets="$with_menubars $with_scrollbars $with_dialogs $with_toolbars $with_widgets"
16462 16598
16463 case "$all_widgets" in 16599 case "$all_widgets" in
16464 *athena* ) 16600 *athena* )
16465 if test "$have_xaw" != "yes"; then 16601 if test "$have_xaw" != "yes"; then
16466 { echo "Error:" "Could not find a suitable Athena library to build with." >&2; exit 1; } 16602 { echo "Error:" "Could not find a suitable Athena library to build with." >&2; exit 1; }
16531 16667
16532 lwlib_objs="$lwlib_objs lwlib-Xm.o" && if test "$verbose" = "yes"; then echo " Appending \"lwlib-Xm.o\" to \$lwlib_objs"; fi 16668 lwlib_objs="$lwlib_objs lwlib-Xm.o" && if test "$verbose" = "yes"; then echo " Appending \"lwlib-Xm.o\" to \$lwlib_objs"; fi
16533 need_motif=yes ;; 16669 need_motif=yes ;;
16534 esac 16670 esac
16535 16671
16536 test "$enable_menubars" = "lucid" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi 16672 test "$with_menubars" = "lucid" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi
16537 test "$enable_menubars" = "motif" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi 16673 test "$with_menubars" = "motif" && lwlib_objs="$lwlib_objs xlwmenu.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwmenu.o\" to \$lwlib_objs"; fi
16538 test "$enable_scrollbars" = "lucid" && lwlib_objs="$lwlib_objs xlwscrollbar.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwscrollbar.o\" to \$lwlib_objs"; fi 16674 test "$with_scrollbars" = "lucid" && lwlib_objs="$lwlib_objs xlwscrollbar.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwscrollbar.o\" to \$lwlib_objs"; fi
16539 test "$enable_widgets" != "no" && test "$enable_widgets" != "msw" && \ 16675 test "$with_widgets" != "no" && test "$with_widgets" != "msw" && \
16540 lwlib_objs="$lwlib_objs xlwtabs.o xlwgcs.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwtabs.o xlwgcs.o\" to \$lwlib_objs"; fi 16676 lwlib_objs="$lwlib_objs xlwtabs.o xlwgcs.o" && if test "$verbose" = "yes"; then echo " Appending \"xlwtabs.o xlwgcs.o\" to \$lwlib_objs"; fi
16541 case "$enable_widgets" in athena* ) 16677 case "$with_widgets" in athena* )
16542 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;; 16678 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;;
16543 esac 16679 esac
16544 case "$all_widgets" in *lucid* ) 16680 case "$all_widgets" in *lucid* )
16545 $as_echo "#define NEED_LUCID 1" >>confdefs.h 16681 $as_echo "#define NEED_LUCID 1" >>confdefs.h
16546 16682
16547 lwlib_objs="$lwlib_objs lwlib-Xlw.o" && if test "$verbose" = "yes"; then echo " Appending \"lwlib-Xlw.o\" to \$lwlib_objs"; fi ;; 16683 lwlib_objs="$lwlib_objs lwlib-Xlw.o" && if test "$verbose" = "yes"; then echo " Appending \"lwlib-Xlw.o\" to \$lwlib_objs"; fi ;;
16548 esac 16684 esac
16549 16685
16550 16686
16551 16687
16552 test "$enable_scrollbars" = "athena" && $as_echo "#define LWLIB_SCROLLBARS_ATHENA 1" >>confdefs.h 16688 test "$with_scrollbars" = "athena" && $as_echo "#define LWLIB_SCROLLBARS_ATHENA 1" >>confdefs.h
16553 16689
16554 test "$enable_dialogs" = "athena" && $as_echo "#define LWLIB_DIALOGS_ATHENA 1" >>confdefs.h 16690 test "$with_dialogs" = "athena" && $as_echo "#define LWLIB_DIALOGS_ATHENA 1" >>confdefs.h
16555 16691
16556 16692
16557 if test "$athena_3d" = "yes"; then 16693 if test "$athena_3d" = "yes"; then
16558 test "$enable_scrollbars" = "athena" && $as_echo "#define LWLIB_SCROLLBARS_ATHENA3D 1" >>confdefs.h 16694 test "$with_scrollbars" = "athena" && $as_echo "#define LWLIB_SCROLLBARS_ATHENA3D 1" >>confdefs.h
16559 16695
16560 test "$enable_dialogs" = "athena" && $as_echo "#define LWLIB_DIALOGS_ATHENA3D 1" >>confdefs.h 16696 test "$with_dialogs" = "athena" && $as_echo "#define LWLIB_DIALOGS_ATHENA3D 1" >>confdefs.h
16561 16697
16562 fi 16698 fi
16563 16699
16564 case "$enable_widgets" in athena* ) $as_echo "#define LWLIB_WIDGETS_ATHENA 1" >>confdefs.h 16700 case "$with_widgets" in athena* ) $as_echo "#define LWLIB_WIDGETS_ATHENA 1" >>confdefs.h
16565 ;; esac 16701 ;; esac
16566 test "$enable_widgets" != "no" && test "$enable_widgets" != "msw" && \ 16702 test "$with_widgets" != "no" && test "$with_widgets" != "msw" && \
16567 $as_echo "#define LWLIB_TABS_LUCID 1" >>confdefs.h 16703 $as_echo "#define LWLIB_TABS_LUCID 1" >>confdefs.h
16568 16704
16569 16705
16570 test "$enable_menubars" != "no" && $as_echo "#define HAVE_MENUBARS 1" >>confdefs.h 16706 test "$with_menubars" != "no" && $as_echo "#define HAVE_MENUBARS 1" >>confdefs.h
16571 16707
16572 test "$enable_scrollbars" != "no" && $as_echo "#define HAVE_SCROLLBARS 1" >>confdefs.h 16708 test "$with_scrollbars" != "no" && $as_echo "#define HAVE_SCROLLBARS 1" >>confdefs.h
16573 16709
16574 test "$enable_dialogs" != "no" && $as_echo "#define HAVE_DIALOGS 1" >>confdefs.h 16710 test "$with_dialogs" != "no" && $as_echo "#define HAVE_DIALOGS 1" >>confdefs.h
16575 16711
16576 test "$enable_toolbars" != "no" && $as_echo "#define HAVE_TOOLBARS 1" >>confdefs.h 16712 test "$with_toolbars" != "no" && $as_echo "#define HAVE_TOOLBARS 1" >>confdefs.h
16577 16713
16578 test "$enable_widgets" != "no" && $as_echo "#define HAVE_WIDGETS 1" >>confdefs.h 16714 test "$with_widgets" != "no" && $as_echo "#define HAVE_WIDGETS 1" >>confdefs.h
16579 16715
16580 16716
16581 test "$enable_menubars" = "lucid" && $as_echo "#define LWLIB_MENUBARS_LUCID 1" >>confdefs.h 16717 test "$with_menubars" = "lucid" && $as_echo "#define LWLIB_MENUBARS_LUCID 1" >>confdefs.h
16582 16718
16583 test "$enable_scrollbars" = "lucid" && $as_echo "#define LWLIB_SCROLLBARS_LUCID 1" >>confdefs.h 16719 test "$with_scrollbars" = "lucid" && $as_echo "#define LWLIB_SCROLLBARS_LUCID 1" >>confdefs.h
16584 16720
16585 16721
16586 test "$enable_menubars" = "motif" && $as_echo "#define LWLIB_MENUBARS_MOTIF 1" >>confdefs.h 16722 test "$with_menubars" = "motif" && $as_echo "#define LWLIB_MENUBARS_MOTIF 1" >>confdefs.h
16587 16723
16588 test "$enable_scrollbars" = "motif" && $as_echo "#define LWLIB_SCROLLBARS_MOTIF 1" >>confdefs.h 16724 test "$with_scrollbars" = "motif" && $as_echo "#define LWLIB_SCROLLBARS_MOTIF 1" >>confdefs.h
16589 16725
16590 test "$enable_dialogs" = "motif" && $as_echo "#define LWLIB_DIALOGS_MOTIF 1" >>confdefs.h 16726 test "$with_dialogs" = "motif" && $as_echo "#define LWLIB_DIALOGS_MOTIF 1" >>confdefs.h
16591 16727
16592 test "$enable_widgets" = "motif" && $as_echo "#define LWLIB_WIDGETS_MOTIF 1" >>confdefs.h 16728 test "$with_widgets" = "motif" && $as_echo "#define LWLIB_WIDGETS_MOTIF 1" >>confdefs.h
16593 16729
16594 16730
16595 test "$with_xft_menubars" = "yes" && $as_echo "#define USE_XFT_MENUBARS 1" >>confdefs.h 16731 test "$with_xft_menubars" = "yes" && $as_echo "#define HAVE_XFT_MENUBARS 1" >>confdefs.h
16596 16732
16597 test "$with_xft_tabs" = "yes" && $as_echo "#define USE_XFT_TABS 1" >>confdefs.h 16733 test "$with_xft_tabs" = "yes" && $as_echo "#define HAVE_XFT_TABS 1" >>confdefs.h
16598 16734
16599 test "$with_xft_gauges" = "yes" && $as_echo "#define USE_XFT_GAUGES 1" >>confdefs.h 16735 test "$with_xft_gauges" = "yes" && $as_echo "#define HAVE_XFT_GAUGES 1" >>confdefs.h
16600 16736
16601 16737
16602 16738
16603 test -z "$enable_mule" && enable_mule=no 16739 test -z "$with_mule" && with_mule=no
16604 16740
16605 16741
16606 if test "$enable_default_eol_detection" = "yes"; then 16742 if test "$with_default_eol_detection" = "yes"; then
16607 $as_echo "#define HAVE_DEFAULT_EOL_DETECTION 1" >>confdefs.h 16743 $as_echo "#define HAVE_DEFAULT_EOL_DETECTION 1" >>confdefs.h
16608 16744
16609 fi 16745 fi
16610 16746
16611 canna_libs= 16747 canna_libs=
16612 wnn_libs= 16748 wnn_libs=
16613 16749
16614 if test "$enable_mule" = "yes" ; then 16750 if test "$with_mule" = "yes" ; then
16615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mule-related features" >&5 16751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mule-related features" >&5
16616 $as_echo_n "checking for Mule-related features... " >&6; } 16752 $as_echo_n "checking for Mule-related features... " >&6; }
16617 $as_echo "#define MULE 1" >>confdefs.h 16753 $as_echo "#define MULE 1" >>confdefs.h
16618 16754
16619 16755
16872 : 17008 :
16873 else 17009 else
16874 with_xfs=no 17010 with_xfs=no
16875 fi 17011 fi
16876 17012
16877 if test "$with_xfs" = "yes" && test "$enable_menubars" = "lucid"; then 17013 if test "$with_xfs" = "yes" && test "$with_menubars" = "lucid"; then
16878 $as_echo "#define USE_XFONTSET 1" >>confdefs.h 17014 $as_echo "#define USE_XFONTSET 1" >>confdefs.h
16879 17015
16880 if test "$with_xim" = "no" ; then 17016 if test "$with_xim" = "no" ; then
16881 extra_objs="$extra_objs input-method-xlib.o" && if test "$verbose" = "yes"; then 17017 extra_objs="$extra_objs input-method-xlib.o" && if test "$verbose" = "yes"; then
16882 echo " xemacs will be linked with \"input-method-xlib.o\"" 17018 echo " xemacs will be linked with \"input-method-xlib.o\""
17434 fi 17570 fi
17435 fi 17571 fi
17436 17572
17437 fi 17573 fi
17438 17574
17575 case "$opsys" in
17576 *cygwin* ) for ac_func in cygwin_conv_path
17577 do :
17578 ac_fn_c_check_func "$LINENO" "cygwin_conv_path" "ac_cv_func_cygwin_conv_path"
17579 if test "x$ac_cv_func_cygwin_conv_path" = x""yes; then :
17580 cat >>confdefs.h <<_ACEOF
17581 #define HAVE_CYGWIN_CONV_PATH 1
17582 _ACEOF
17583
17584 fi
17585 done
17586
17587 ;;
17588 esac
17589
17439 17590
17440 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen 17591 for ac_func in cbrt closedir dup2 eaccess fmod fpathconf frexp fsync ftime ftruncate getaddrinfo gethostname getnameinfo getpagesize getrlimit gettimeofday getcwd link logb lrand48 matherr mkdir mktime perror poll random readlink rename res_init rint rmdir select setitimer setpgid setsid sigblock sighold sigprocmask snprintf strerror strlwr strupr symlink tzset ulimit umask usleep vlimit vsnprintf waitpid wcscmp wcslen
17441 do : 17592 do :
17442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 17593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 17594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sound support" >&5 18836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sound support" >&5
18686 $as_echo_n "checking for sound support... " >&6; } 18837 $as_echo_n "checking for sound support... " >&6; }
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 18838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18688 $as_echo "" >&6; } 18839 $as_echo "" >&6; }
18689 18840
18690 test -n "$with_native_sound_lib" && enable_sound_native=yes 18841 test -n "$with_native_sound_lib" && with_sound_native=yes
18691 18842
18692 if test "$enable_sound_native" != "no"; then 18843 if test "$with_sound_native" != "no"; then
18693 if test -n "$with_native_sound_lib"; then 18844 if test -n "$with_native_sound_lib"; then
18694 ac_fn_c_check_header_mongrel "$LINENO" "multimedia/audio_device.h" "ac_cv_header_multimedia_audio_device_h" "$ac_includes_default" 18845 ac_fn_c_check_header_mongrel "$LINENO" "multimedia/audio_device.h" "ac_cv_header_multimedia_audio_device_h" "$ac_includes_default"
18695 if test "x$ac_cv_header_multimedia_audio_device_h" = x""yes; then : 18846 if test "x$ac_cv_header_multimedia_audio_device_h" = x""yes; then :
18696 sound_found=yes sound_cflags="" 18847 sound_found=yes sound_cflags=""
18697 extra_objs="$extra_objs sunplay.o" && if test "$verbose" = "yes"; then 18848 extra_objs="$extra_objs sunplay.o" && if test "$verbose" = "yes"; then
18922 19073
18923 fi 19074 fi
18924 fi 19075 fi
18925 19076
18926 if test "$sound_found" = "yes"; then 19077 if test "$sound_found" = "yes"; then
18927 enable_sound_native=yes 19078 with_sound_native=yes
18928 else 19079 else
18929 if test "$enable_sound_native" = "yes" ; then 19080 if test "$with_sound_native" = "yes" ; then
18930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native libraries found. Disabling native sound support." >&5 19081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native libraries found. Disabling native sound support." >&5
18931 $as_echo "$as_me: WARNING: No native libraries found. Disabling native sound support." >&2;} 19082 $as_echo "$as_me: WARNING: No native libraries found. Disabling native sound support." >&2;}
18932 fi 19083 fi
18933 enable_sound_native=no 19084 with_sound_native=no
18934 fi 19085 fi
18935 fi 19086 fi
18936 19087
18937 if test "$enable_sound_native" = "yes"; then 19088 if test "$with_sound_native" = "yes"; then
18938 $as_echo "#define HAVE_NATIVE_SOUND 1" >>confdefs.h 19089 $as_echo "#define HAVE_NATIVE_SOUND 1" >>confdefs.h
18939 19090
18940 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 19091 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
18941 fi 19092 fi
18942 19093
18943 if test "$enable_sound_alsa" != "no"; then 19094 if test "$with_sound_alsa" != "no"; then
18944 ac_fn_c_check_header_mongrel "$LINENO" "alsa/input.h" "ac_cv_header_alsa_input_h" "$ac_includes_default" 19095 ac_fn_c_check_header_mongrel "$LINENO" "alsa/input.h" "ac_cv_header_alsa_input_h" "$ac_includes_default"
18945 if test "x$ac_cv_header_alsa_input_h" = x""yes; then : 19096 if test "x$ac_cv_header_alsa_input_h" = x""yes; then :
18946 19097
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5 19098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5
18948 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; } 19099 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; }
18986 19137
18987 fi 19138 fi
18988 19139
18989 19140
18990 if test "$have_alsa_sound" = "yes"; then 19141 if test "$have_alsa_sound" = "yes"; then
18991 enable_sound_alsa=yes 19142 with_sound_alsa=yes
18992 $as_echo "#define HAVE_ALSA_SOUND 1" >>confdefs.h 19143 $as_echo "#define HAVE_ALSA_SOUND 1" >>confdefs.h
18993 19144
18994 extra_objs="$extra_objs alsaplay.o" && if test "$verbose" = "yes"; then 19145 extra_objs="$extra_objs alsaplay.o" && if test "$verbose" = "yes"; then
18995 echo " xemacs will be linked with \"alsaplay.o\"" 19146 echo " xemacs will be linked with \"alsaplay.o\""
18996 fi 19147 fi
18997 LIBS="-lasound $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lasound\" to \$LIBS"; fi 19148 LIBS="-lasound $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lasound\" to \$LIBS"; fi
18998 else 19149 else
18999 test "$enable_sound_alsa" = "yes" && \ 19150 test "$with_sound_alsa" = "yes" && \
19000 { echo "Error:" "Required ALSA sound support cannot be provided." >&2; exit 1; } 19151 { echo "Error:" "Required ALSA sound support cannot be provided." >&2; exit 1; }
19001 enable_sound_alsa=no 19152 with_sound_alsa=no
19002 fi 19153 fi
19003 fi 19154 fi
19004 19155
19005 if test "$enable_sound_nas" != "no"; then 19156 if test "$with_sound_nas" != "no"; then
19006 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default" 19157 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
19007 if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then : 19158 if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then :
19008 19159
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5 19160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5
19010 $as_echo_n "checking for AuOpenServer in -laudio... " >&6; } 19161 $as_echo_n "checking for AuOpenServer in -laudio... " >&6; }
19048 19199
19049 fi 19200 fi
19050 19201
19051 19202
19052 if test "$have_nas_sound" = "yes"; then 19203 if test "$have_nas_sound" = "yes"; then
19053 enable_sound_nas=yes 19204 with_sound_nas=yes
19054 $as_echo "#define HAVE_NAS_SOUND 1" >>confdefs.h 19205 $as_echo "#define HAVE_NAS_SOUND 1" >>confdefs.h
19055 19206
19056 extra_objs="$extra_objs nas.o" && if test "$verbose" = "yes"; then 19207 extra_objs="$extra_objs nas.o" && if test "$verbose" = "yes"; then
19057 echo " xemacs will be linked with \"nas.o\"" 19208 echo " xemacs will be linked with \"nas.o\""
19058 fi 19209 fi
19070 19221
19071 fi 19222 fi
19072 rm -f conftest* 19223 rm -f conftest*
19073 19224
19074 else 19225 else
19075 test "$enable_sound_nas" = "yes" && \ 19226 test "$with_sound_nas" = "yes" && \
19076 { echo "Error:" "Required NAS sound support cannot be provided." >&2; exit 1; } 19227 { echo "Error:" "Required NAS sound support cannot be provided." >&2; exit 1; }
19077 enable_sound_nas=no 19228 with_sound_nas=no
19078 fi 19229 fi
19079 fi 19230 fi
19080 19231
19081 if test "$enable_sound_esd" != "no"; then 19232 if test "$with_sound_esd" != "no"; then
19082 # Extract the first word of "esd-config", so it can be a program name with args. 19233 # Extract the first word of "esd-config", so it can be a program name with args.
19083 set dummy esd-config; ac_word=$2 19234 set dummy esd-config; ac_word=$2
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 19235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19085 $as_echo_n "checking for $ac_word... " >&6; } 19236 $as_echo_n "checking for $ac_word... " >&6; }
19086 if test "${ac_cv_prog_have_esd_config+set}" = set; then : 19237 if test "${ac_cv_prog_have_esd_config+set}" = set; then :
19129 fi 19280 fi
19130 19281
19131 fi 19282 fi
19132 19283
19133 if test "$have_esd_sound" = "yes"; then 19284 if test "$have_esd_sound" = "yes"; then
19134 enable_sound_esd=yes 19285 with_sound_esd=yes
19135 need_miscplay=yes 19286 need_miscplay=yes
19136 extra_objs="$extra_objs esd.o" && if test "$verbose" = "yes"; then 19287 extra_objs="$extra_objs esd.o" && if test "$verbose" = "yes"; then
19137 echo " xemacs will be linked with \"esd.o\"" 19288 echo " xemacs will be linked with \"esd.o\""
19138 fi 19289 fi
19139 $as_echo "#define HAVE_ESD_SOUND 1" >>confdefs.h 19290 $as_echo "#define HAVE_ESD_SOUND 1" >>confdefs.h
19140 19291
19141 else 19292 else
19142 test "$enable_sound_esd" = "yes" && \ 19293 test "$with_sound_esd" = "yes" && \
19143 { echo "Error:" "Required ESD sound support cannot be provided." >&2; exit 1; } 19294 { echo "Error:" "Required ESD sound support cannot be provided." >&2; exit 1; }
19144 enable_sound_esd=no 19295 with_sound_esd=no
19145 fi 19296 fi
19146 fi 19297 fi
19147 19298
19148 test "$need_miscplay" = "yes" && extra_objs="$extra_objs miscplay.o" && if test "$verbose" = "yes"; then 19299 test "$need_miscplay" = "yes" && extra_objs="$extra_objs miscplay.o" && if test "$verbose" = "yes"; then
19149 echo " xemacs will be linked with \"miscplay.o\"" 19300 echo " xemacs will be linked with \"miscplay.o\""
19462 fi 19613 fi
19463 eval "with_${feature}=no" 19614 eval "with_${feature}=no"
19464 done 19615 done
19465 fi 19616 fi
19466 19617
19467 test "$enable_database_gdbm $enable_database_dbm $enable_database_berkdb" \ 19618 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
19468 != "no no no" && { $as_echo "$as_me:${as_lineno-$LINENO}: checking for database support" >&5 19619 != "no no no" && { $as_echo "$as_me:${as_lineno-$LINENO}: checking for database support" >&5
19469 $as_echo_n "checking for database support... " >&6; } && \ 19620 $as_echo_n "checking for database support... " >&6; } && \
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 19621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
19471 $as_echo "" >&6; } 19622 $as_echo "" >&6; }
19472 19623
19473 if test "$enable_database_gdbm $enable_database_dbm" != "no no"; then 19624 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
19474 ndbm_h_file="" 19625 ndbm_h_file=""
19475 for ac_header in ndbm.h gdbm/ndbm.h 19626 for ac_header in ndbm.h gdbm/ndbm.h
19476 do : 19627 do :
19477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19628 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19478 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19629 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19485 fi 19636 fi
19486 19637
19487 done 19638 done
19488 19639
19489 if test "x$ndbm_h_file" = "x"; then 19640 if test "x$ndbm_h_file" = "x"; then
19490 test "$enable_database_gdbm" = "yes" -o \ 19641 test "$with_database_gdbm" = "yes" -o \
19491 "$enable_database_dbm" = "yes" && \ 19642 "$with_database_dbm" = "yes" && \
19492 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; } 19643 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; }
19493 enable_database_gdbm=no enable_database_dbm=no] 19644 with_database_gdbm=no with_database_dbm=no]
19494 fi 19645 fi
19495 fi 19646 fi
19496 19647
19497 if test "$enable_database_gdbm" != "no"; then 19648 if test "$with_database_gdbm" != "no"; then
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm" >&5 19649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm" >&5
19499 $as_echo_n "checking for dbm_open in -lgdbm... " >&6; } 19650 $as_echo_n "checking for dbm_open in -lgdbm... " >&6; }
19500 if test "${ac_cv_lib_gdbm_dbm_open+set}" = set; then : 19651 if test "${ac_cv_lib_gdbm_dbm_open+set}" = set; then :
19501 $as_echo_n "(cached) " >&6 19652 $as_echo_n "(cached) " >&6
19502 else 19653 else
19531 fi 19682 fi
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_dbm_open" >&5 19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_dbm_open" >&5
19533 $as_echo "$ac_cv_lib_gdbm_dbm_open" >&6; } 19684 $as_echo "$ac_cv_lib_gdbm_dbm_open" >&6; }
19534 if test "x$ac_cv_lib_gdbm_dbm_open" = x""yes; then : 19685 if test "x$ac_cv_lib_gdbm_dbm_open" = x""yes; then :
19535 19686
19536 enable_database_gdbm=yes enable_database_dbm=no libdbm=-lgdbm 19687 with_database_gdbm=yes with_database_dbm=no libdbm=-lgdbm
19537 else 19688 else
19538 19689
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm_compat" >&5 19690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -lgdbm_compat" >&5
19540 $as_echo_n "checking for dbm_open in -lgdbm_compat... " >&6; } 19691 $as_echo_n "checking for dbm_open in -lgdbm_compat... " >&6; }
19541 if test "${ac_cv_lib_gdbm_compat_dbm_open+set}" = set; then : 19692 if test "${ac_cv_lib_gdbm_compat_dbm_open+set}" = set; then :
19572 fi 19723 fi
19573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_compat_dbm_open" >&5 19724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdbm_compat_dbm_open" >&5
19574 $as_echo "$ac_cv_lib_gdbm_compat_dbm_open" >&6; } 19725 $as_echo "$ac_cv_lib_gdbm_compat_dbm_open" >&6; }
19575 if test "x$ac_cv_lib_gdbm_compat_dbm_open" = x""yes; then : 19726 if test "x$ac_cv_lib_gdbm_compat_dbm_open" = x""yes; then :
19576 19727
19577 enable_database_gdbm=yes enable_database_dbm=no libdbm="-lgdbm_compat -lgdbm" 19728 with_database_gdbm=yes with_database_dbm=no libdbm="-lgdbm_compat -lgdbm"
19578 else 19729 else
19579 19730
19580 if test "$enable_database_gdbm" = "yes"; then 19731 if test "$with_database_gdbm" = "yes"; then
19581 { echo "Error:" "Required GNU DBM support cannot be provided." >&2; exit 1; } 19732 { echo "Error:" "Required GNU DBM support cannot be provided." >&2; exit 1; }
19582 fi 19733 fi
19583 enable_database_gdbm=no 19734 with_database_gdbm=no
19584 fi 19735 fi
19585 19736
19586 19737
19587 fi 19738 fi
19588 19739
19589 fi 19740 fi
19590 19741
19591 if test "$enable_database_dbm" != "no"; then 19742 if test "$with_database_dbm" != "no"; then
19592 ac_fn_c_check_func "$LINENO" "dbm_open" "ac_cv_func_dbm_open" 19743 ac_fn_c_check_func "$LINENO" "dbm_open" "ac_cv_func_dbm_open"
19593 if test "x$ac_cv_func_dbm_open" = x""yes; then : 19744 if test "x$ac_cv_func_dbm_open" = x""yes; then :
19594 enable_database_dbm=yes libdbm= 19745 with_database_dbm=yes libdbm=
19595 else 19746 else
19596 19747
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -ldbm" >&5 19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbm_open in -ldbm" >&5
19598 $as_echo_n "checking for dbm_open in -ldbm... " >&6; } 19749 $as_echo_n "checking for dbm_open in -ldbm... " >&6; }
19599 if test "${ac_cv_lib_dbm_dbm_open+set}" = set; then : 19750 if test "${ac_cv_lib_dbm_dbm_open+set}" = set; then :
19629 LIBS=$ac_check_lib_save_LIBS 19780 LIBS=$ac_check_lib_save_LIBS
19630 fi 19781 fi
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbm_dbm_open" >&5 19782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbm_dbm_open" >&5
19632 $as_echo "$ac_cv_lib_dbm_dbm_open" >&6; } 19783 $as_echo "$ac_cv_lib_dbm_dbm_open" >&6; }
19633 if test "x$ac_cv_lib_dbm_dbm_open" = x""yes; then : 19784 if test "x$ac_cv_lib_dbm_dbm_open" = x""yes; then :
19634 enable_database_dbm=yes libdbm=-ldbm 19785 with_database_dbm=yes libdbm=-ldbm
19635 else 19786 else
19636 19787
19637 test "$enable_database_dbm" = "yes" && \ 19788 test "$with_database_dbm" = "yes" && \
19638 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; } 19789 { echo "Error:" "Required DBM support cannot be provided." >&2; exit 1; }
19639 enable_database_dbm=no 19790 with_database_dbm=no
19640 fi 19791 fi
19641 19792
19642 fi 19793 fi
19643 19794
19644 fi 19795 fi
19645 19796
19646 test -n "$libdbm" && LIBS=""$libdbm" $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \""$libdbm"\" to \$LIBS"; fi 19797 test -n "$libdbm" && LIBS=""$libdbm" $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \""$libdbm"\" to \$LIBS"; fi
19647 if test "$enable_database_gdbm" = "yes" -o \ 19798 if test "$with_database_gdbm" = "yes" -o \
19648 "$enable_database_dbm" = "yes"; then 19799 "$with_database_dbm" = "yes"; then
19649 cat >>confdefs.h <<_ACEOF 19800 cat >>confdefs.h <<_ACEOF
19650 #define NDBM_H_FILE "$ndbm_h_file" 19801 #define NDBM_H_FILE "$ndbm_h_file"
19651 _ACEOF 19802 _ACEOF
19652 19803
19653 $as_echo "#define HAVE_DBM 1" >>confdefs.h 19804 $as_echo "#define HAVE_DBM 1" >>confdefs.h
19654 19805
19806 if test "$XEMACS_CC_GPP" = "yes"; then
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
19808 $as_echo "" >&6; }
19809 ac_ext=c
19810 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
19811 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
19812 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
19813 ac_cpp='$CPP '"$xe_cppflags"
19814 ac_compile='$XEMACS_CC -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext >&5'
19815 ac_link='$XEMACS_CC -o conftest$ac_exeext $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' >&5'
19816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19817
19818 ac_ext=c
19819 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
19820 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
19821 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
19822 ac_cpp='$CPP '"$xe_cppflags"
19823 ac_compile='$XEMACS_CC -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext >&5'
19824 ac_link='$XEMACS_CC -o conftest$ac_exeext $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' >&5'
19825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19826 if test -z "$CXX"; then
19827 if test -n "$CCC"; then
19828 CXX=$CCC
19829 else
19830 if test -n "$ac_tool_prefix"; then
19831 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19832 do
19833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
19834 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
19835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19836 $as_echo_n "checking for $ac_word... " >&6; }
19837 if test "${ac_cv_prog_CXX+set}" = set; then :
19838 $as_echo_n "(cached) " >&6
19839 else
19840 if test -n "$CXX"; then
19841 ac_cv_prog_CXX="$CXX" # Let the user override the test.
19842 else
19843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19844 for as_dir in $PATH
19845 do
19846 IFS=$as_save_IFS
19847 test -z "$as_dir" && as_dir=.
19848 for ac_exec_ext in '' $ac_executable_extensions; do
19849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19850 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
19851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19852 break 2
19853 fi
19854 done
19855 done
19856 IFS=$as_save_IFS
19857
19858 fi
19859 fi
19860 CXX=$ac_cv_prog_CXX
19861 if test -n "$CXX"; then
19862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
19863 $as_echo "$CXX" >&6; }
19864 else
19865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19866 $as_echo "no" >&6; }
19867 fi
19868
19869
19870 test -n "$CXX" && break
19871 done
19872 fi
19873 if test -z "$CXX"; then
19874 ac_ct_CXX=$CXX
19875 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
19876 do
19877 # Extract the first word of "$ac_prog", so it can be a program name with args.
19878 set dummy $ac_prog; ac_word=$2
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19880 $as_echo_n "checking for $ac_word... " >&6; }
19881 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
19882 $as_echo_n "(cached) " >&6
19883 else
19884 if test -n "$ac_ct_CXX"; then
19885 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
19886 else
19887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19888 for as_dir in $PATH
19889 do
19890 IFS=$as_save_IFS
19891 test -z "$as_dir" && as_dir=.
19892 for ac_exec_ext in '' $ac_executable_extensions; do
19893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19894 ac_cv_prog_ac_ct_CXX="$ac_prog"
19895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19896 break 2
19897 fi
19898 done
19899 done
19900 IFS=$as_save_IFS
19901
19902 fi
19903 fi
19904 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
19905 if test -n "$ac_ct_CXX"; then
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
19907 $as_echo "$ac_ct_CXX" >&6; }
19908 else
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19910 $as_echo "no" >&6; }
19911 fi
19912
19913
19914 test -n "$ac_ct_CXX" && break
19915 done
19916
19917 if test "x$ac_ct_CXX" = x; then
19918 CXX="g++"
19919 else
19920 case $cross_compiling:$ac_tool_warned in
19921 yes:)
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19924 ac_tool_warned=yes ;;
19925 esac
19926 CXX=$ac_ct_CXX
19927 fi
19928 fi
19929
19930 fi
19931 fi
19932 # Provide some information about the compiler.
19933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
19934 set X $ac_compile
19935 ac_compiler=$2
19936 for ac_option in --version -v -V -qversion; do
19937 { { ac_try="$ac_compiler $ac_option >&5"
19938 case "(($ac_try" in
19939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19940 *) ac_try_echo=$ac_try;;
19941 esac
19942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
19943 $as_echo "$ac_try_echo"; } >&5
19944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
19945 ac_status=$?
19946 if test -s conftest.err; then
19947 sed '10a\
19948 ... rest of stderr output deleted ...
19949 10q' conftest.err >conftest.er1
19950 cat conftest.er1 >&5
19951 fi
19952 rm -f conftest.er1 conftest.err
19953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19954 test $ac_status = 0; }
19955 done
19956
19957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
19958 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
19959 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
19960 $as_echo_n "(cached) " >&6
19961 else
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964
19965 int
19966 main ()
19967 {
19968 #ifndef __GNUC__
19969 choke me
19970 #endif
19971
19972 ;
19973 return 0;
19974 }
19975 _ACEOF
19976 if ac_fn_cxx_try_compile "$LINENO"; then :
19977 ac_compiler_gnu=yes
19978 else
19979 ac_compiler_gnu=no
19980 fi
19981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19982 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19983
19984 fi
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
19986 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
19987 if test $ac_compiler_gnu = yes; then
19988 GXX=yes
19989 else
19990 GXX=
19991 fi
19992 ac_test_CXXFLAGS=${CXXFLAGS+set}
19993 ac_save_CXXFLAGS=$CXXFLAGS
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
19995 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
19996 if test "${ac_cv_prog_cxx_g+set}" = set; then :
19997 $as_echo_n "(cached) " >&6
19998 else
19999 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
20000 ac_cxx_werror_flag=yes
20001 ac_cv_prog_cxx_g=no
20002 CXXFLAGS="-g"
20003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20004 /* end confdefs.h. */
20005
20006 int
20007 main ()
20008 {
20009
20010 ;
20011 return 0;
20012 }
20013 _ACEOF
20014 if ac_fn_cxx_try_compile "$LINENO"; then :
20015 ac_cv_prog_cxx_g=yes
20016 else
20017 CXXFLAGS=""
20018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20019 /* end confdefs.h. */
20020
20021 int
20022 main ()
20023 {
20024
20025 ;
20026 return 0;
20027 }
20028 _ACEOF
20029 if ac_fn_cxx_try_compile "$LINENO"; then :
20030
20031 else
20032 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
20033 CXXFLAGS="-g"
20034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20035 /* end confdefs.h. */
20036
20037 int
20038 main ()
20039 {
20040
20041 ;
20042 return 0;
20043 }
20044 _ACEOF
20045 if ac_fn_cxx_try_compile "$LINENO"; then :
20046 ac_cv_prog_cxx_g=yes
20047 fi
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20049 fi
20050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20051 fi
20052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20053 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
20054 fi
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
20056 $as_echo "$ac_cv_prog_cxx_g" >&6; }
20057 if test "$ac_test_CXXFLAGS" = set; then
20058 CXXFLAGS=$ac_save_CXXFLAGS
20059 elif test $ac_cv_prog_cxx_g = yes; then
20060 if test "$GXX" = yes; then
20061 CXXFLAGS="-g -O2"
20062 else
20063 CXXFLAGS="-g"
20064 fi
20065 else
20066 if test "$GXX" = yes; then
20067 CXXFLAGS="-O2"
20068 else
20069 CXXFLAGS=
20070 fi
20071 fi
20072 ac_ext=c
20073 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
20074 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
20075 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
20076 ac_cpp='$CPP '"$xe_cppflags"
20077 ac_compile='$XEMACS_CC -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext >&5'
20078 ac_link='$XEMACS_CC -o conftest$ac_exeext $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' >&5'
20079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20080
20081
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20084 #include "$ndbm_h_file"
20085 int
20086 main ()
20087 {
20088 dbm_close((DBM *) 0);
20089 ;
20090 return 0;
20091 }
20092 _ACEOF
20093 if ac_fn_cxx_try_compile "$LINENO"; then :
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ndbm.h is compatible with g++" >&5
20095 $as_echo_n "checking whether ndbm.h is compatible with g++... " >&6; }
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20097 $as_echo "yes" >&6; }
20098 $as_echo "#define TRUST_NDBM_H_PROTOTYPES 1" >>confdefs.h
20099
20100 else
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ndbm.h is compatible with g++" >&5
20102 $as_echo_n "checking whether ndbm.h is compatible with g++... " >&6; }
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20104 $as_echo "no" >&6; }
20105 fi
20106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20107 ac_ext=c
20108 xe_cppflags='$CPPFLAGS $c_switch_site $c_switch_machine $c_switch_system $c_switch_x_site $X_CFLAGS'
20109 xe_ldflags='$LDFLAGS $ld_switch_site $ld_switch_machine $ld_switch_system $ld_switch_x_site $ld_switch_run'
20110 xe_libs='$ld_call_shared $xe_check_libs $X_EXTRA_LIBS $libs_x $libs_gtk $X_PRE_LIBS $LIBS $libs_machine $libs_system $libs_standard'
20111 ac_cpp='$CPP '"$xe_cppflags"
20112 ac_compile='$CC -c $CFLAGS '"$xe_cppflags"' conftest.$ac_ext >&5'
20113 ac_link='$CC -o conftest$ac_exeext $CFLAGS '"$xe_cppflags $xe_ldflags"' conftest.$ac_ext '"$xe_libs"' >&5'
20114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20115
20116 else
20117 $as_echo "#define TRUST_NDBM_H_PROTOTYPES 1" >>confdefs.h
20118
20119 fi
19655 $as_unset ndbm_h_file 20120 $as_unset ndbm_h_file
19656 fi 20121 fi
19657 20122
19658 ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default" 20123 ac_fn_c_check_type "$LINENO" "u_int8_t" "ac_cv_type_u_int8_t" "$ac_includes_default"
19659 if test "x$ac_cv_type_u_int8_t" = x""yes; then : 20124 if test "x$ac_cv_type_u_int8_t" = x""yes; then :
19682 20147
19683 20148
19684 fi 20149 fi
19685 20150
19686 20151
19687 if test "$enable_database_berkdb" != "no"; then 20152 if test "$with_database_berkdb" != "no"; then
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley db.h" >&5 20153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley db.h" >&5
19689 $as_echo_n "checking for Berkeley db.h... " >&6; } 20154 $as_echo_n "checking for Berkeley db.h... " >&6; }
19690 for header in "db/db.h" "db.h"; do 20155 for header in "db/db.h" "db.h"; do
19691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */ 20157 /* end confdefs.h. */
19720 fi 20185 fi
19721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 20186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19722 done 20187 done
19723 if test -z "$db_h_file" 20188 if test -z "$db_h_file"
19724 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20189 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19725 $as_echo "no" >&6; }; enable_database_berkdb=no 20190 $as_echo "no" >&6; }; with_database_berkdb=no
19726 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: $db_h_file" >&5 20191 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: $db_h_file" >&5
19727 $as_echo "$db_h_file" >&6; } 20192 $as_echo "$db_h_file" >&6; }
19728 fi 20193 fi
19729 20194
19730 if test "$enable_database_berkdb" != "no"; then 20195 if test "$with_database_berkdb" != "no"; then
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley DB version" >&5 20196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Berkeley DB version" >&5
19732 $as_echo_n "checking for Berkeley DB version... " >&6; } 20197 $as_echo_n "checking for Berkeley DB version... " >&6; }
19733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h. */ 20199 /* end confdefs.h. */
19735 #include <$db_h_file> 20200 #include <$db_h_file>
19785 20250
19786 as_ac_var=`$as_echo "ac_cv_func_$dbfunc" | $as_tr_sh` 20251 as_ac_var=`$as_echo "ac_cv_func_$dbfunc" | $as_tr_sh`
19787 ac_fn_c_check_func "$LINENO" "$dbfunc" "$as_ac_var" 20252 ac_fn_c_check_func "$LINENO" "$dbfunc" "$as_ac_var"
19788 eval as_val=\$$as_ac_var 20253 eval as_val=\$$as_ac_var
19789 if test "x$as_val" = x""yes; then : 20254 if test "x$as_val" = x""yes; then :
19790 enable_database_berkdb=yes need_libdb=no 20255 with_database_berkdb=yes need_libdb=no
19791 else 20256 else
19792 20257
19793 as_ac_Lib=`$as_echo "ac_cv_lib_db_$dbfunc" | $as_tr_sh` 20258 as_ac_Lib=`$as_echo "ac_cv_lib_db_$dbfunc" | $as_tr_sh`
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dbfunc in -ldb" >&5 20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $dbfunc in -ldb" >&5
19795 $as_echo_n "checking for $dbfunc in -ldb... " >&6; } 20260 $as_echo_n "checking for $dbfunc in -ldb... " >&6; }
19828 eval ac_res=\$$as_ac_Lib 20293 eval ac_res=\$$as_ac_Lib
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19830 $as_echo "$ac_res" >&6; } 20295 $as_echo "$ac_res" >&6; }
19831 eval as_val=\$$as_ac_Lib 20296 eval as_val=\$$as_ac_Lib
19832 if test "x$as_val" = x""yes; then : 20297 if test "x$as_val" = x""yes; then :
19833 enable_database_berkdb=yes need_libdb=yes 20298 with_database_berkdb=yes need_libdb=yes
19834 fi 20299 fi
19835 20300
19836 fi 20301 fi
19837 20302
19838 fi 20303 fi
19839 20304
19840 if test "$enable_database_berkdb" = "yes" -a "$dbver" = "4"; then 20305 if test "$with_database_berkdb" = "yes" -a "$dbver" = "4"; then
19841 rm -f $tempcname 20306 rm -f $tempcname
19842 echo "#include <$db_h_file>" > $tempcname 20307 echo "#include <$db_h_file>" > $tempcname
19843 echo "configure___ dbfunc=db_create" >> $tempcname 20308 echo "configure___ dbfunc=db_create" >> $tempcname
19844 eval `$CPP -Isrc $tempcname \ 20309 eval `$CPP -Isrc $tempcname \
19845 | sed -n -e "s/[ TAB]*=[ TAB\"]*/='/" -e "s/[ TAB\"]*\$/'/" -e "s/^configure___//p"` 20310 | sed -n -e "s/[ TAB]*=[ TAB\"]*/='/" -e "s/[ TAB\"]*\$/'/" -e "s/^configure___//p"`
19884 eval ac_res=\$$as_ac_Lib 20349 eval ac_res=\$$as_ac_Lib
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 20350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19886 $as_echo "$ac_res" >&6; } 20351 $as_echo "$ac_res" >&6; }
19887 eval as_val=\$$as_ac_Lib 20352 eval as_val=\$$as_ac_Lib
19888 if test "x$as_val" = x""yes; then : 20353 if test "x$as_val" = x""yes; then :
19889 enable_database_berkdb=yes need_libdb=yes 20354 with_database_berkdb=yes need_libdb=yes
19890 fi 20355 fi
19891 20356
19892 fi 20357 fi
19893 20358
19894 if test "$enable_database_berkdb" = "yes"; then 20359 if test "$with_database_berkdb" = "yes"; then
19895 cat >>confdefs.h <<_ACEOF 20360 cat >>confdefs.h <<_ACEOF
19896 #define DB_H_FILE "$db_h_file" 20361 #define DB_H_FILE "$db_h_file"
19897 _ACEOF 20362 _ACEOF
19898 20363
19899 $as_echo "#define HAVE_BERKELEY_DB 1" >>confdefs.h 20364 $as_echo "#define HAVE_BERKELEY_DB 1" >>confdefs.h
19900 20365
19901 test "$need_libdb" = "yes" && LIBS="-ldb $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-ldb\" to \$LIBS"; fi 20366 test "$need_libdb" = "yes" && LIBS="-ldb $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-ldb\" to \$LIBS"; fi
19902 else enable_database_berkdb=no 20367 else with_database_berkdb=no
19903 fi 20368 fi
19904 fi 20369 fi
19905 20370
19906 if test "$enable_database_gdbm $enable_database_dbm $enable_database_berkdb" \ 20371 if test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
19907 != "no no no"; then 20372 != "no no no"; then
19908 $as_echo "#define HAVE_DATABASE 1" >>confdefs.h 20373 $as_echo "#define HAVE_DATABASE 1" >>confdefs.h
19909 20374
19910 fi 20375 fi
19911 20376
19963 $as_echo "#define USAGE_TRACKING 1" >>confdefs.h 20428 $as_echo "#define USAGE_TRACKING 1" >>confdefs.h
19964 20429
19965 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi 20430 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi
19966 fi 20431 fi
19967 20432
19968 if test "$enable_bignum" = "gmp"; then 20433 if test "$with_bignum" = "gmp"; then
19969 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default" 20434 ac_fn_c_check_header_mongrel "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
19970 if test "x$ac_cv_header_gmp_h" = x""yes; then : 20435 if test "x$ac_cv_header_gmp_h" = x""yes; then :
19971 20436
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5 20437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
19973 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; } 20438 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
20019 20484
20020 LIBS="-lgmp $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lgmp\" to \$LIBS"; fi 20485 LIBS="-lgmp $LIBS" && if test "$verbose" = "yes"; then echo " Prepending \"-lgmp\" to \$LIBS"; fi
20021 else 20486 else
20022 { echo "Error:" "Required GMP numeric support cannot be provided." >&2; exit 1; } 20487 { echo "Error:" "Required GMP numeric support cannot be provided." >&2; exit 1; }
20023 fi 20488 fi
20024 elif test "$enable_bignum" = "mp"; then 20489 elif test "$with_bignum" = "mp"; then
20025 for library in "" "-lcrypto"; do 20490 for library in "" "-lcrypto"; do
20026 ac_fn_c_check_header_mongrel "$LINENO" "mp.h" "ac_cv_header_mp_h" "$ac_includes_default" 20491 ac_fn_c_check_header_mongrel "$LINENO" "mp.h" "ac_cv_header_mp_h" "$ac_includes_default"
20027 if test "x$ac_cv_header_mp_h" = x""yes; then : 20492 if test "x$ac_cv_header_mp_h" = x""yes; then :
20028 20493
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_mfree in -lmp" >&5 20494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mp_mfree in -lmp" >&5
20184 $as_echo "#define HAVE_UNIX_PROCESSES 1" >>confdefs.h 20649 $as_echo "#define HAVE_UNIX_PROCESSES 1" >>confdefs.h
20185 20650
20186 fi 20651 fi
20187 20652
20188 20653
20189 if test "$enable_modules" = "yes"; then 20654 if test "$with_modules" = "yes"; then
20190 ld_libs_module= 20655 ld_libs_module=
20191 else 20656 else
20192 20657
20193 T="" 20658 T=""
20194 for W in $ldap_libs $postgresql_libs $canna_libs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done 20659 for W in $ldap_libs $postgresql_libs $canna_libs; do if test -z "$T"; then T="$W"; else T="$T $W"; fi; done
20250 T="" 20715 T=""
20251 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 20716 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
20252 ld_libs_all="$T" 20717 ld_libs_all="$T"
20253 20718
20254 20719
20255 if test "$enable_modules" = "no"; then 20720 if test "$with_modules" = "no"; then
20256 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi 20721 MAKE_SUBDIR="$MAKE_SUBDIR src" && if test "$verbose" = "yes"; then echo " Appending \"src\" to \$MAKE_SUBDIR"; fi
20257 fi 20722 fi
20258 20723
20259 20724
20260 internal_makefile_list="Makefile.in" 20725 internal_makefile_list="Makefile.in src/.gdbinit.in"
20261 SUBDIR_MAKEFILES='' 20726 SUBDIR_MAKEFILES=''
20262 test -d lock || mkdir lock 20727 test -d lock || mkdir lock
20263 for dir in $MAKE_SUBDIR; do 20728 for dir in $MAKE_SUBDIR; do
20264 case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do 20729 case "$dir" in */* ) ( for d in `echo $dir | sed 's:/: :g'` ; do
20265 test -d "$d" || mkdir "$d"; cd "$d" 20730 test -d "$d" || mkdir "$d"; cd "$d"
20302 for var in extra_objs c_switch_general c_switch_window_system c_switch_all ld_switch_general ld_switch_window_system ld_switch_all ld_libs_general ld_libs_window_system ld_libs_all; do eval "echo \"$var = '\$$var'\""; done 20767 for var in extra_objs c_switch_general c_switch_window_system c_switch_all ld_switch_general ld_switch_window_system ld_switch_all ld_libs_general ld_libs_window_system ld_libs_all; do eval "echo \"$var = '\$$var'\""; done
20303 echo "" 20768 echo ""
20304 fi 20769 fi
20305 20770
20306 20771
20307 if test -f "$srcdir/etc/gdbinit.in"; then
20308 test "$verbose" = "yes" && echo "creating src/.gdbinit.in"
20309 cp $srcdir/etc/gdbinit.in src/.gdbinit.in
20310 fi
20311 20772
20312 if test -f "$srcdir/etc/dbxrc.in"; then 20773 if test -f "$srcdir/etc/dbxrc.in"; then
20313 test "$verbose" = "yes" && echo "creating src/.dbxrc.in" 20774 test "$verbose" = "yes" && echo "creating src/.dbxrc.in"
20314 echo ". $srcdir/etc/dbxrc.in" > "src/.dbxrc.in" 20775 echo ". $srcdir/etc/dbxrc.in" > "src/.dbxrc.in"
20315 fi 20776 fi
20613 elif test "$with_debug_malloc" = "yes"; then $as_echo "#define USE_DEBUG_MALLOC 1" >>confdefs.h 21074 elif test "$with_debug_malloc" = "yes"; then $as_echo "#define USE_DEBUG_MALLOC 1" >>confdefs.h
20614 21075
20615 $as_echo "#define USE_SYSTEM_MALLOC 1" >>confdefs.h 21076 $as_echo "#define USE_SYSTEM_MALLOC 1" >>confdefs.h
20616 21077
20617 fi 21078 fi
20618 test "$GCC" = "yes" && $as_echo "#define USE_GCC 1" >>confdefs.h 21079 test "$GCC" = "yes" && $as_echo "#define USE_GCC 1" >>confdefs.h
20619 21080
20620 test "$enable_external_widget" = "yes" && $as_echo "#define EXTERNAL_WIDGET 1" >>confdefs.h 21081 test "$XEMACS_CC_GPP" = "yes" && $as_echo "#define USE_GPLUSPLUS 1" >>confdefs.h
20621 21082
20622 test "$enable_kkcc" = "yes" && $as_echo "#define USE_KKCC 1" >>confdefs.h 21083 test "$with_external_widget" = "yes" && $as_echo "#define EXTERNAL_WIDGET 1" >>confdefs.h
20623 21084
20624 test "$enable_newgc" = "yes" && $as_echo "#define NEW_GC 1" >>confdefs.h 21085 test "$with_kkcc" = "yes" && $as_echo "#define USE_KKCC 1" >>confdefs.h
20625 21086
20626 test "$have_vdb_posix" = "yes" && $as_echo "#define VDB_POSIX 1" >>confdefs.h 21087 test "$with_newgc" = "yes" && $as_echo "#define NEW_GC 1" >>confdefs.h
20627 21088
20628 test "$have_vdb_fake" = "yes" && $as_echo "#define VDB_FAKE 1" >>confdefs.h 21089 test "$have_vdb_posix" = "yes" && $as_echo "#define VDB_POSIX 1" >>confdefs.h
20629 21090
20630 test "$enable_quick_build" = "yes" && $as_echo "#define QUICK_BUILD 1" >>confdefs.h 21091 test "$have_vdb_fake" = "yes" && $as_echo "#define VDB_FAKE 1" >>confdefs.h
20631 21092
20632 test "$with_purify" = "yes" && $as_echo "#define PURIFY 1" >>confdefs.h 21093 test "$with_quick_build" = "yes" && $as_echo "#define QUICK_BUILD 1" >>confdefs.h
20633 21094
20634 test "$with_quantify" = "yes" && $as_echo "#define QUANTIFY 1" >>confdefs.h 21095 test "$with_purify" = "yes" && $as_echo "#define PURIFY 1" >>confdefs.h
20635 21096
20636 test "$with_pop" = "yes" && $as_echo "#define MAIL_USE_POP 1" >>confdefs.h 21097 test "$with_quantify" = "yes" && $as_echo "#define QUANTIFY 1" >>confdefs.h
20637 21098
20638 test "$with_kerberos" = "yes" && $as_echo "#define KERBEROS 1" >>confdefs.h 21099 test "$with_valgrind" = "yes" && $as_echo "#define USE_VALGRIND 1" >>confdefs.h
20639 21100
20640 test "$with_hesiod" = "yes" && $as_echo "#define HESIOD 1" >>confdefs.h 21101 test "$with_pop" = "yes" && $as_echo "#define MAIL_USE_POP 1" >>confdefs.h
20641 21102
20642 test "$enable_union_type" = "yes" && $as_echo "#define USE_UNION_TYPE 1" >>confdefs.h 21103 test "$with_kerberos" = "yes" && $as_echo "#define KERBEROS 1" >>confdefs.h
20643 21104
20644 test "$enable_pdump" = "yes" && $as_echo "#define PDUMP 1" >>confdefs.h 21105 test "$with_hesiod" = "yes" && $as_echo "#define HESIOD 1" >>confdefs.h
20645 21106
20646 test "$enable_dump_in_exec" = "yes" && $as_echo "#define DUMP_IN_EXEC 1" >>confdefs.h 21107 test "$with_union_type" = "yes" && $as_echo "#define USE_UNION_TYPE 1" >>confdefs.h
20647 21108
20648 test "$with_ipv6_cname" = "yes" && $as_echo "#define IPV6_CANONICALIZE 1" >>confdefs.h 21109 test "$with_pdump" = "yes" && $as_echo "#define PDUMP 1" >>confdefs.h
21110
21111 test "$with_dump_in_exec" = "yes" && $as_echo "#define DUMP_IN_EXEC 1" >>confdefs.h
21112
21113 test "$with_ipv6_cname" = "yes" && $as_echo "#define IPV6_CANONICALIZE 1" >>confdefs.h
20649 21114
20650 21115
20651 21116
20652 21117
20653 21118
20717 echo " libc version: $libc_version" 21182 echo " libc version: $libc_version"
20718 echo " Relocating allocator for buffers: $with_rel_alloc" 21183 echo " Relocating allocator for buffers: $with_rel_alloc"
20719 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}" 21184 echo " GNU version of malloc: ${GNU_MALLOC}${GNU_MALLOC_reason}"
20720 case "$ld_switch_site" in 21185 case "$ld_switch_site" in
20721 *nocombreloc*) echo " Linking with \`-z nocombreloc'. 21186 *nocombreloc*) echo " Linking with \`-z nocombreloc'.
20722 - Consider configuring with --enable-pdump." ;; 21187 - Consider configuring with --with-pdump." ;;
20723 esac 21188 esac
20724 21189
20725 echo " 21190 echo "
20726 Window System:" 21191 Window System:"
20727 if test "$with_msw" = "yes"; then 21192 if test "$with_msw" = "yes"; then
20757 if test "$need_athena" = "yes"; then 21222 if test "$need_athena" = "yes"; then
20758 echo " Compiling in support for the Athena widget set:" 21223 echo " Compiling in support for the Athena widget set:"
20759 echo " - Athena headers location: $athena_h_path" 21224 echo " - Athena headers location: $athena_h_path"
20760 echo " - Athena library to link: $athena_lib" 21225 echo " - Athena library to link: $athena_lib"
20761 fi 21226 fi
20762 case "$enable_menubars" in 21227 case "$with_menubars" in
20763 gtk ) echo " Using GTK menubars." ;; 21228 gtk ) echo " Using GTK menubars." ;;
20764 lucid ) echo " Using Lucid menubars." ;; 21229 lucid ) echo " Using Lucid menubars." ;;
20765 motif ) echo " Using Motif menubars." 21230 motif ) echo " Using Motif menubars."
20766 echo " *WARNING* The Motif menubar implementation is currently buggy." 21231 echo " *WARNING* The Motif menubar implementation is currently buggy."
20767 echo " We recommend using the Lucid menubar instead." 21232 echo " We recommend using the Lucid menubar instead."
20768 echo " Re-run configure with --enable-menubars='lucid'." ;; 21233 echo " Re-run configure with --with-menubars='lucid'." ;;
20769 msw ) echo " Using MS-Windows menubars." ;; 21234 msw ) echo " Using MS-Windows menubars." ;;
20770 esac 21235 esac
20771 if test "$with_xft_menubars" = "yes"; then 21236 if test "$with_xft_menubars" = "yes"; then
20772 echo " - Using Xft to render antialiased fonts in menubars." 21237 echo " - Using Xft to render antialiased fonts in menubars."
20773 echo " WARNING: This feature will be replaced with a face." 21238 echo " WARNING: This Xft feature will be replaced with a face."
20774 fi 21239 fi
20775 case "$enable_scrollbars" in 21240 case "$with_scrollbars" in
20776 gtk ) echo " Using GTK scrollbars." ;; 21241 gtk ) echo " Using GTK scrollbars." ;;
20777 lucid ) echo " Using Lucid scrollbars." ;; 21242 lucid ) echo " Using Lucid scrollbars." ;;
20778 motif ) echo " Using Motif scrollbars." ;; 21243 motif ) echo " Using Motif scrollbars." ;;
20779 athena ) echo " Using Athena scrollbars." ;; 21244 athena ) echo " Using Athena scrollbars." ;;
20780 msw ) echo " Using MS-Windows scrollbars." ;; 21245 msw ) echo " Using MS-Windows scrollbars." ;;
20781 esac 21246 esac
20782 case "$enable_dialogs" in 21247 case "$with_dialogs" in
20783 gtk ) echo " Using GTK dialog boxes." ;; 21248 gtk ) echo " Using GTK dialog boxes." ;;
20784 motif ) echo " Using Motif dialog boxes." 21249 motif ) echo " Using Motif dialog boxes."
20785 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then 21250 if test "$unexec" = "unexaix.o"; then if test "`uname -v`" = 4 -a "`uname -r`" -ge 3; then
20786 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher." 21251 echo " *WARNING* The Motif dialog boxes cause problems on AIX 4.3 and higher."
20787 echo " We recommend using the Athena dialog boxes instead." 21252 echo " We recommend using the Athena dialog boxes instead."
20788 echo " Install libXaw and re-run configure with --enable-dialogs='athena'." 21253 echo " Install libXaw and re-run configure with --with-dialogs='athena'."
20789 echo " Read the PROBLEMS file for more information." 21254 echo " Read the PROBLEMS file for more information."
20790 fi; fi ;; 21255 fi; fi ;;
20791 athena ) echo " Using Athena dialog boxes." ;; 21256 athena ) echo " Using Athena dialog boxes." ;;
20792 msw ) echo " Using MS-Windows dialog boxes." ;; 21257 msw ) echo " Using MS-Windows dialog boxes." ;;
20793 esac 21258 esac
20794 case "$enable_widgets" in 21259 case "$with_widgets" in
20795 gtk ) echo " Using GTK native widgets." ;; 21260 gtk ) echo " Using GTK native widgets." ;;
20796 motif ) echo " Using Motif native widgets." ;; 21261 motif ) echo " Using Motif native widgets." ;;
20797 athena ) echo " Using Athena native widgets." ;; 21262 athena ) echo " Using Athena native widgets." ;;
20798 msw ) echo " Using MS-Windows native widgets." ;; 21263 msw ) echo " Using MS-Windows native widgets." ;;
20799 esac 21264 esac
20800 if test "$with_xft_tabs" = "yes"; then 21265 if test "$with_xft_tabs" = "yes"; then
20801 echo " - Using Xft to render antialiased fonts in tab controls." 21266 echo " - Using Xft to render antialiased fonts in tab controls."
20802 echo " WARNING: This feature will be replaced with a face." 21267 echo " WARNING: This Xft feature will be replaced with a face."
20803 fi 21268 fi
20804 if test "$with_xft_gauges" = "yes"; then 21269 if test "$with_xft_gauges" = "yes"; then
20805 echo " - Using Xft to render antialiased fonts in progress bars." 21270 echo " - Using Xft to render antialiased fonts in progress bars."
20806 echo " WARNING: This feature will be replaced with a face." 21271 echo " WARNING: This Xft feature will be replaced with a face."
20807 echo " WARNING: This feature not yet implemented; setting ignored." 21272 echo " WARNING: This Xft feature not yet implemented; setting ignored."
20808 fi 21273 fi
20809 if test "$with_dragndrop" = yes; then 21274 if test "$with_dragndrop" = yes; then
20810 echo " Compiling in support for Drag'n'Drop (EXPERIMENTAL)." 21275 echo " Compiling in support for Drag'n'Drop (EXPERIMENTAL)."
20811 echo " - Drag'n'Drop prototype: $dragndrop_proto." 21276 echo " - Drag'n'Drop prototype: $dragndrop_proto."
20812 fi 21277 fi
20849 test "$with_tiff" = yes && echo " Compiling in support for TIFF images." 21314 test "$with_tiff" = yes && echo " Compiling in support for TIFF images."
20850 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers." 21315 test "$with_xface" = yes && echo " Compiling in support for X-Face message headers."
20851 21316
20852 echo " 21317 echo "
20853 Sound:" 21318 Sound:"
20854 test "$enable_sound_native" = yes && echo " Compiling in support for sound (native)." 21319 test "$with_sound_native" = yes && echo " Compiling in support for sound (native)."
20855 test "$enable_sound_alsa" = yes && echo " Compiling in support for ALSA (Advanced Linux Sound Architecture)." 21320 test "$with_sound_alsa" = yes && echo " Compiling in support for ALSA (Advanced Linux Sound Architecture)."
20856 test "$enable_sound_nas" = yes && echo " Compiling in support for NAS (network audio system)." 21321 test "$with_sound_nas" = yes && echo " Compiling in support for NAS (network audio system)."
20857 test "$old_nas" = yes && echo " - NAS library lacks error trapping; will play synchronously." 21322 test "$old_nas" = yes && echo " - NAS library lacks error trapping; will play synchronously."
20858 test "$enable_sound_esd" = yes && echo " Compiling in support for ESD (Enlightened Sound Daemon)." 21323 test "$with_sound_esd" = yes && echo " Compiling in support for ESD (Enlightened Sound Daemon)."
20859 21324
20860 echo " 21325 echo "
20861 Databases:" 21326 Databases:"
20862 test "$enable_database_berkdb" = yes && echo " Compiling in support for Berkeley database." 21327 test "$with_database_berkdb" = yes && echo " Compiling in support for Berkeley database."
20863 test "$enable_database_dbm" = yes && echo " Compiling in support for DBM." 21328 test "$with_database_dbm" = yes && echo " Compiling in support for DBM."
20864 test "$enable_database_gdbm" = yes && echo " Compiling in support for GNU DBM." 21329 test "$with_database_gdbm" = yes && echo " Compiling in support for GNU DBM."
20865 test "$with_ldap" = yes && echo " Compiling in support for LDAP." 21330 test "$with_ldap" = yes && echo " Compiling in support for LDAP."
20866 if test "$with_postgresql" = yes; then 21331 if test "$with_postgresql" = yes; then
20867 echo " Compiling in support for PostgreSQL." 21332 echo " Compiling in support for PostgreSQL."
20868 echo " - Using PostgreSQL header file: $libpq_fe_h_file" 21333 echo " - Using PostgreSQL header file: $libpq_fe_h_file"
20869 test "$with_postgresqlv7" = yes && echo " - Using PostgreSQL V7 bindings." 21334 test "$with_postgresqlv7" = yes && echo " - Using PostgreSQL V7 bindings."
20870 fi 21335 fi
20871 21336
20872 echo " 21337 echo "
20873 Internationalization:" 21338 Internationalization:"
20874 test "$enable_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)." 21339 test "$with_mule" = yes && echo " Compiling in support for Mule (multi-lingual Emacs)."
20875 test "$with_xim" != no && echo " Compiling in support for XIM (X11R5+ I18N input method)." 21340 test "$with_xim" != no && echo " Compiling in support for XIM (X11R5+ I18N input method)."
20876 test "$with_xim" = motif && echo " - Using Motif to provide XIM support." 21341 test "$with_xim" = motif && echo " - Using Motif to provide XIM support."
20877 test "$with_xim" = xlib && echo " - Using raw Xlib to provide XIM support." 21342 test "$with_xim" = xlib && echo " - Using raw Xlib to provide XIM support."
20878 test "$with_xfs" = yes && echo " - Using XFontSet to provide bilingual menubar." 21343 test "$with_xfs" = yes && echo " - Using XFontSet to provide bilingual menubar."
20879 test "$have_canna" = yes && echo " Compiling in support for Canna on Mule." 21344 test "$have_canna" = yes && echo " Compiling in support for Canna on Mule."
20894 test "$with_ipv6_cname" = no && echo " Inhibiting IPv6 canonicalization at startup." 21359 test "$with_ipv6_cname" = no && echo " Inhibiting IPv6 canonicalization at startup."
20895 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk." 21360 test "$with_tooltalk" = yes && echo " Compiling in support for ToolTalk."
20896 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop." 21361 test "$with_workshop" = yes && echo " Compiling in support for Sun WorkShop."
20897 test "$with_socks" = yes && echo " Compiling in support for SOCKS." 21362 test "$with_socks" = yes && echo " Compiling in support for SOCKS."
20898 test "$with_dnet" = yes && echo " Compiling in support for DNET." 21363 test "$with_dnet" = yes && echo " Compiling in support for DNET."
20899 test "$enable_modules" = "yes" && echo " Compiling in support for dynamic shared object modules." 21364 test "$with_modules" = "yes" && echo " Compiling in support for dynamic shared object modules."
20900 test "$enable_bignum" = "gmp" && echo " Compiling in support for more number types using the GNU MP library." 21365 test "$with_bignum" = "gmp" && echo " Compiling in support for more number types using the GNU MP library."
20901 test "$enable_bignum" = "mp" && echo " Compiling in support for more number types using the BSD MP library." 21366 test "$with_bignum" = "mp" && echo " Compiling in support for more number types using the BSD MP library."
20902 if test "$enable_union_type" = yes ; then 21367 if test "$with_union_type" = yes ; then
20903 echo " Using the union type for Lisp_Objects." 21368 echo " Using the union type for Lisp_Objects."
20904 echo " WARNING: ---------------------------------------------------------" 21369 echo " WARNING: ---------------------------------------------------------"
20905 echo " WARNING: This tends to trigger compiler bugs, especially when" 21370 echo " WARNING: This tends to trigger compiler bugs, especially when"
20906 echo " WARNING: combined with MULE and ERROR_CHECKING. Crashes have" 21371 echo " WARNING: combined with MULE and ERROR_CHECKING. Crashes have"
20907 echo " WARNING: been seen with various versions of GCC (up to about 2.95)," 21372 echo " WARNING: been seen with various versions of GCC (up to about 2.95),"
20908 echo " WARNING: and recently with Visual C++ as well (mid-2003)." 21373 echo " WARNING: and recently with Visual C++ as well (mid-2003)."
20909 echo " WARNING: More recent versions may be safer, or not." 21374 echo " WARNING: More recent versions may be safer, or not."
20910 echo " WARNING: ---------------------------------------------------------" 21375 echo " WARNING: ---------------------------------------------------------"
20911 fi 21376 fi
20912 if test "$enable_kkcc" = yes ; then 21377 if test "$with_kkcc" = yes ; then
20913 echo " Using the new GC mark algorithms (KKCC)." 21378 echo " Using the new GC mark algorithms (KKCC)."
20914 echo " WARNING: ---------------------------------------------------------" 21379 echo " WARNING: ---------------------------------------------------------"
20915 echo " WARNING: The new algorithms are experimental. They are enabled by" 21380 echo " WARNING: The new algorithms are experimental. They are enabled by"
20916 echo " WARNING: default for this release. Use \`--disable-kkcc' to" 21381 echo " WARNING: default for this release. Use \`--disable-kkcc' to"
20917 echo " WARNING: turn it off." 21382 echo " WARNING: turn it off."
20918 echo " WARNING: ---------------------------------------------------------" 21383 echo " WARNING: ---------------------------------------------------------"
20919 fi 21384 fi
20920 test "$enable_newgc" = yes && echo " Using the new incremental garbage collector and the new allocator." 21385 test "$with_newgc" = yes && echo " Using the new incremental garbage collector and the new allocator."
20921 if test "$have_vdb_posix" = yes ; then 21386 if test "$have_vdb_posix" = yes ; then
20922 if test "$have_vdb_sigaction" = yes ; then 21387 if test "$have_vdb_sigaction" = yes ; then
20923 echo " Using POSIX sigaction() to install fault handler." 21388 echo " Using POSIX sigaction() to install fault handler."
20924 else 21389 else
20925 echo " Using POSIX signal() to install vdb fault handler." 21390 echo " Using POSIX signal() to install vdb fault handler."
20929 echo " Using special WIN32 vdb fault handler." 21394 echo " Using special WIN32 vdb fault handler."
20930 fi 21395 fi
20931 if test "$have_vdb_mach" = yes ; then 21396 if test "$have_vdb_mach" = yes ; then
20932 echo " Using mach exception mechanism as vdb fault handler." 21397 echo " Using mach exception mechanism as vdb fault handler."
20933 fi 21398 fi
20934 if test "$have_vdb_fake" = yes && test "$enable_vdb" == fake; then 21399 if test "$have_vdb_fake" = yes && test "$with_vdb" == fake; then
20935 echo " Virtual dirty bit write barrier manually disabled." 21400 echo " Virtual dirty bit write barrier manually disabled."
20936 fi 21401 fi
20937 test "$enable_pdump" = yes && echo " Using the new portable dumper." 21402 test "$with_pdump" = yes && echo " Using the new portable dumper."
20938 test "$enable_dump_in_exec" = yes && echo " Dumping into executable." 21403 test "$with_dump_in_exec" = yes && echo " Dumping into executable."
20939 test "$enable_debug" = yes && echo " Compiling in support for extra debugging code." 21404 test "$with_debug" = yes && echo " Compiling in support for extra debugging code."
20940 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)." 21405 test "$usage_tracking" = yes && echo " Compiling in support for active usage tracking (Sun internal)."
20941 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" \ 21406 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" \
20942 != "no no no no no no no no no"; then 21407 != "no no no no no no no no no"; then
20943 echo " Compiling in support for runtime error checking." 21408 echo " Compiling in support for runtime error checking."
20944 echo " WARNING: ---------------------------------------------------------" 21409 echo " WARNING: ---------------------------------------------------------"
20945 echo " WARNING: XEmacs will run noticeably more slowly as a result." 21410 echo " WARNING: XEmacs will run noticeably more slowly as a result."
20946 echo " WARNING: Error checking is on by default for XEmacs beta releases." 21411 echo " WARNING: Error checking is on by default for XEmacs beta releases."
20947 echo " WARNING: ---------------------------------------------------------" 21412 echo " WARNING: ---------------------------------------------------------"
20948 fi 21413 fi
21414 test "$with_valgrind" = yes && echo " Compiling in support for memory debugging with Valgrind."
20949 echo "" 21415 echo ""
20950 ) | tee -a Installation 21416 ) | tee -a Installation
20951 echo "" 21417 echo ""
20952 21418
20953 ac_config_headers="$ac_config_headers src/config.h lwlib/config.h" 21419 ac_config_headers="$ac_config_headers src/config.h lwlib/config.h"
20975 ac_config_files="$ac_config_files $file" 21441 ac_config_files="$ac_config_files $file"
20976 21442
20977 done 21443 done
20978 ac_config_files="$ac_config_files src/paths.h src/xemacs.def.in lib-src/config.values" 21444 ac_config_files="$ac_config_files src/paths.h src/xemacs.def.in lib-src/config.values"
20979 21445
20980 test "$enable_modules" = "yes" && ac_config_files="$ac_config_files lib-src/ellcc.h" 21446 test "$with_modules" = "yes" && ac_config_files="$ac_config_files lib-src/ellcc.h"
20981 21447
20982 21448
20983 21449
20984 21450
20985 21451
21493 # Save the log message, to keep $0 and so on meaningful, and to 21959 # Save the log message, to keep $0 and so on meaningful, and to
21494 # report actual input values of CONFIG_FILES etc. instead of their 21960 # report actual input values of CONFIG_FILES etc. instead of their
21495 # values after options handling. 21961 # values after options handling.
21496 ac_log=" 21962 ac_log="
21497 This file was extended by XEmacs $as_me 21.5, which was 21963 This file was extended by XEmacs $as_me 21.5, which was
21498 generated by GNU Autoconf 2.64. Invocation command line was 21964 generated by GNU Autoconf 2.65. Invocation command line was
21499 21965
21500 CONFIG_FILES = $CONFIG_FILES 21966 CONFIG_FILES = $CONFIG_FILES
21501 CONFIG_HEADERS = $CONFIG_HEADERS 21967 CONFIG_HEADERS = $CONFIG_HEADERS
21502 CONFIG_LINKS = $CONFIG_LINKS 21968 CONFIG_LINKS = $CONFIG_LINKS
21503 CONFIG_COMMANDS = $CONFIG_COMMANDS 21969 CONFIG_COMMANDS = $CONFIG_COMMANDS
21533 21999
21534 Usage: $0 [OPTION]... [TAG]... 22000 Usage: $0 [OPTION]... [TAG]...
21535 22001
21536 -h, --help print this help, then exit 22002 -h, --help print this help, then exit
21537 -V, --version print version number and configuration settings, then exit 22003 -V, --version print version number and configuration settings, then exit
22004 --config print configuration, then exit
21538 -q, --quiet, --silent 22005 -q, --quiet, --silent
21539 do not print progress messages 22006 do not print progress messages
21540 -d, --debug don't remove temporary files 22007 -d, --debug don't remove temporary files
21541 --recheck update $as_me by reconfiguring in the same conditions 22008 --recheck update $as_me by reconfiguring in the same conditions
21542 --file=FILE[:TEMPLATE] 22009 --file=FILE[:TEMPLATE]
21555 22022
21556 Report bugs to <xemacs-beta@xemacs.org>." 22023 Report bugs to <xemacs-beta@xemacs.org>."
21557 22024
21558 _ACEOF 22025 _ACEOF
21559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 22026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22027 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21560 ac_cs_version="\\ 22028 ac_cs_version="\\
21561 XEmacs config.status 21.5 22029 XEmacs config.status 21.5
21562 configured by $0, generated by GNU Autoconf 2.64, 22030 configured by $0, generated by GNU Autoconf 2.65,
21563 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 22031 with options \\"\$ac_cs_config\\"
21564 22032
21565 Copyright (C) 2009 Free Software Foundation, Inc. 22033 Copyright (C) 2009 Free Software Foundation, Inc.
21566 This config.status script is free software; the Free Software Foundation 22034 This config.status script is free software; the Free Software Foundation
21567 gives unlimited permission to copy, distribute and modify it." 22035 gives unlimited permission to copy, distribute and modify it."
21568 22036
21594 # Handling of the options. 22062 # Handling of the options.
21595 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 22063 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21596 ac_cs_recheck=: ;; 22064 ac_cs_recheck=: ;;
21597 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 22065 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21598 $as_echo "$ac_cs_version"; exit ;; 22066 $as_echo "$ac_cs_version"; exit ;;
22067 --config | --confi | --conf | --con | --co | --c )
22068 $as_echo "$ac_cs_config"; exit ;;
21599 --debug | --debu | --deb | --de | --d | -d ) 22069 --debug | --debu | --deb | --de | --d | -d )
21600 debug=: ;; 22070 debug=: ;;
21601 --file | --fil | --fi | --f ) 22071 --file | --fil | --fi | --f )
21602 $ac_shift 22072 $ac_shift
21603 case $ac_optarg in 22073 case $ac_optarg in
21788 t repl 22258 t repl
21789 s/'"$ac_delim"'$// 22259 s/'"$ac_delim"'$//
21790 t delim 22260 t delim
21791 :nl 22261 :nl
21792 h 22262 h
21793 s/\(.\{148\}\).*/\1/ 22263 s/\(.\{148\}\)..*/\1/
21794 t more1 22264 t more1
21795 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 22265 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21796 p 22266 p
21797 n 22267 n
21798 b repl 22268 b repl
21802 g 22272 g
21803 s/.\{148\}// 22273 s/.\{148\}//
21804 t nl 22274 t nl
21805 :delim 22275 :delim
21806 h 22276 h
21807 s/\(.\{148\}\).*/\1/ 22277 s/\(.\{148\}\)..*/\1/
21808 t more2 22278 t more2
21809 s/["\\]/\\&/g; s/^/"/; s/$/"/ 22279 s/["\\]/\\&/g; s/^/"/; s/$/"/
21810 p 22280 p
21811 b 22281 b
21812 :more2 22282 :more2