/* Define this to enable compile time checks for the Lisp_Object data type. */
#undef CHECK_LISP_OBJECT_TYPE
+/* Define if you want lock files to be written, so that Emacs can tell
+ instantly when you try to modify a file that someone else has modified in
+ his/her Emacs. */
+#undef CLASH_DETECTION
+
/* Define to one of '_getb67', 'GETB67', 'getb67' for Cray-2 and Cray-YMP
systems. This function is required for 'alloca.c' support on those systems.
*/
/* Address of the start of the data segment. */
#undef DATA_START
+/* Name of the default sound device. */
+#undef DEFAULT_SOUND_DEVICE
+
/* Define to 1 for DGUX with <sys/dg_sys_info.h>. */
#undef DGUX
+/* Define if process.c does not need to close a pty to make it a controlling
+ terminal (it is already a controlling terminal of the subprocess, because
+ we did ioctl TIOCSCTTY). */
+#undef DONT_REOPEN_PTY
+
/* Define to 1 if you are using the GNU C Library. */
#undef DOUG_LEA_MALLOC
whether the gnulib module scanf shall be considered present. */
#undef GNULIB_SCANF
+/* Value of PENDING_OUTPUT_COUNT if using the GNU C library. */
+#undef GNU_LIBRARY_PENDING_OUTPUT_COUNT
+
/* Define to 1 if you want to use the GNU memory allocator. */
#undef GNU_MALLOC
systems that support xmenu.c. */
#undef HAVE_MENUS
-/* Define to 1 if you have the `mkdir' function. */
-#undef HAVE_MKDIR
-
/* Define to 1 if you have the `mkstemp' function. */
#undef HAVE_MKSTEMP
/* Define to 1 if you have the `recvfrom' function. */
#undef HAVE_RECVFROM
-/* Define to 1 if you have the `rename' function. */
-#undef HAVE_RENAME
-
/* Define to 1 if res_init is available. */
#undef HAVE_RES_INIT
/* Define to 1 if you have the `rint' function. */
#undef HAVE_RINT
-/* Define to 1 if you have the `rmdir' function. */
-#undef HAVE_RMDIR
-
/* Define to 1 if using librsvg. */
#undef HAVE_RSVG
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
-/* Define to 1 if you have the `strerror' function. */
-#undef HAVE_STRERROR
-
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
slash */
#undef REPLACE_FUNC_STAT_FILE
+/* Make process_send_signal work by "typing" a signal character on the pty. */
+#undef SIGNALS_VIA_CHARACTERS
+
/* Define to l, ll, u, ul, ull, etc., as suitable for constants of type
'sig_atomic_t'. */
#undef SIG_ATOMIC_T_SUFFIX
#endif"
ac_func_list=
-gl_getopt_required=POSIX
ac_header_list=
gl_getopt_required=POSIX
+gl_getopt_required=POSIX
ac_subst_vars='gltests_LTLIBOBJS
gltests_LIBOBJS
gl_LTLIBOBJS
fi
as_fn_append ac_func_list " readlinkat"
+as_fn_append ac_header_list " sys/param.h"
gl_getopt_required=GNU
as_fn_append ac_header_list " getopt.h"
as_fn_append ac_func_list " gettimeofday"
as_fn_append ac_func_list " futimens"
as_fn_append ac_func_list " utimensat"
as_fn_append ac_func_list " lutimes"
-as_fn_append ac_header_list " sys/param.h"
as_fn_append ac_header_list " linux/version.h"
as_fn_append ac_header_list " sys/systeminfo.h"
as_fn_append ac_header_list " stdio_ext.h"
+
+ for ac_header in $ac_header_list
+do :
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
+"
+eval as_val=\$$as_ac_Header
+ if test "x$as_val" = x""yes; then :
+ cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
if test "${gl_cv_have_include_next+set}" = set; then :
- for ac_header in $ac_header_list
-do :
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-eval as_val=\$$as_ac_Header
- if test "x$as_val" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-
-
- REPLACE_GETOPT=0
-
-
- if test -n "$gl_replace_getopt"; then :
+ REPLACE_GETOPT=0
+ if test -n "$gl_replace_getopt"; then
REPLACE_GETOPT=1
-
-fi
-
+ fi
if test $REPLACE_GETOPT = 1; then
-
-
if false; then
GL_COND_LIBTOOL_TRUE=
GL_COND_LIBTOOL_FALSE='#'
# Figure out what our getloadavg.c needs.
+
+
# On HPUX9, an unprivileged user can get load averages this way.
if test $gl_func_getloadavg_done = no; then
for ac_func in pstat_getdynamic
- REPLACE_GETOPT=0
-
-
- if test -n "$gl_replace_getopt"; then :
+ REPLACE_GETOPT=0
+ if test -n "$gl_replace_getopt"; then
REPLACE_GETOPT=1
-
-fi
-
+ fi
if test $REPLACE_GETOPT = 1; then
for ac_func in gethostname \
-rename closedir mkdir rmdir getrusage get_current_dir_name \
+closedir getrusage get_current_dir_name \
lrand48 logb frexp fmod cbrt setsid \
-strerror fpathconf select euidaccess getpagesize setlocale \
+fpathconf select euidaccess getpagesize setlocale \
utimes getrlimit setrlimit setpgid getcwd shutdown getaddrinfo \
__fpending strsignal setitimer \
sendto recvfrom getsockname getpeername getifaddrs freeifaddrs \
-for ac_func in tzset
-do :
- ac_fn_c_check_func "$LINENO" "tzset" "ac_cv_func_tzset"
-if test "x$ac_cv_func_tzset" = x""yes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_TZSET 1
-_ACEOF
-
-fi
-done
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether localtime caches TZ" >&5
$as_echo_n "checking whether localtime caches TZ... " >&6; }
fi
+
+$as_echo "#define CLASH_DETECTION 1" >>confdefs.h
+
+
case $opsys in
darwin | gnu | hpux* | *bsd )
;;
esac
+case $opsys in
+ darwin | freebsd | netbsd | openbsd )
+
+$as_echo "#define DONT_REOPEN_PTY 1" >>confdefs.h
+
+ ;;
+esac
+
+case $opsys in
+ netbsd | openbsd) sound_device="/dev/audio" ;;
+ *) sound_device="/dev/dsp" ;;
+esac
+
+
+cat >>confdefs.h <<_ACEOF
+#define DEFAULT_SOUND_DEVICE "$sound_device"
+_ACEOF
+
+
+
+
+
+case $opsys in
+ aix4-2 | cygwin | gnu | irix6-5 | freebsd | netbsd | openbsd )
+ $as_echo "#define SIGNALS_VIA_CHARACTERS 1" >>confdefs.h
+
+ ;;
+
+ gnu-linux | gnu-kfreebsd )
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signals via characters" >&5
+$as_echo_n "checking for signals via characters... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <linux/version.h>
+#if LINUX_VERSION_CODE < 0x20400
+# error "Linux version too old"
+#endif
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ emacs_signals_via_chars=yes
+else
+ emacs_signals_via_chars=no
+fi
+rm -f conftest.err conftest.$ac_ext
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_signals_via_chars" >&5
+$as_echo "$emacs_signals_via_chars" >&6; }
+ test $emacs_signals_via_chars = yes && $as_echo "#define SIGNALS_VIA_CHARACTERS 1" >>confdefs.h
+
+ ;;
+esac
+
;;
+ gnu | gnu-linux | gnu-kfreebsd )
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of pending output formalism" >&5
+$as_echo_n "checking for style of pending output formalism... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <stdio.h>
+#if !defined (_IO_STDIO_H) && !defined (_STDIO_USES_IOSTREAM)
+# error "stdio definitions not found"
+#endif
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ emacs_pending_output=new
+else
+ emacs_pending_output=unknown
+fi
+rm -f conftest.err conftest.$ac_ext
+
+ if test $emacs_pending_output = unknown; then
+ case $opsys in
+ gnu-linux | gnu-kfreebsd)
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+#include <stdio.h>
+#ifndef __UCLIBC__
+# error "not using uclibc"
+#endif
+
+int
+main ()
+{
+
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_cpp "$LINENO"; then :
+ emacs_pending_output=uclibc
+else
+ emacs_pending_output=old
+fi
+rm -f conftest.err conftest.$ac_ext
+ ;;
+ esac
+ fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacs_pending_output" >&5
+$as_echo "$emacs_pending_output" >&6; }
+
+ case $emacs_pending_output in
+ new)
+ $as_echo "#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)" >>confdefs.h
+
+ ;;
+ uclibc)
+ $as_echo "#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) ((FILE)->__bufpos - (FILE)->__bufstart)" >>confdefs.h
+
+ ;;
+ old)
+ $as_echo "#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) ((FILE)->_pptr - (FILE)->_pbase)" >>confdefs.h
+
+ ;;
+ esac
+ ;;
+esac
+
+
+
+
+
+case $opsys in
gnu)
$as_echo "#define DATA_START ({ extern int data_start; (char *) &data_start; })" >>confdefs.h
esac
case $opsys in
+ gnu) opsysfile="s/bsd-common.h" ;;
+
gnu-kfreebsd) opsysfile="s/gnu-linux.h" ;;
hpux11)