b8aac3c9bc
Add secondary_cursors field to Editor with insert_char_multi, delete_back_multi, delete_forward_multi methods. Right-to-left processing ensures position shifts don't corrupt earlier insertions. 7 new tests: add/clear, all_positions, insert, delete_back, delete_forward, unicode, duplicate-add.
21 lines
620 B
Plaintext
21 lines
620 B
Plaintext
dnl Time zone functions: tzalloc, localtime_rz, etc.
|
|
|
|
dnl Copyright (C) 2015-2017 Free Software Foundation, Inc.
|
|
dnl This file is free software; the Free Software Foundation
|
|
dnl gives unlimited permission to copy and/or distribute it,
|
|
dnl with or without modifications, as long as this notice is preserved.
|
|
|
|
dnl Written by Paul Eggert.
|
|
|
|
AC_DEFUN([gl_TIME_RZ],
|
|
[
|
|
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
|
|
AC_REQUIRE([gl_HEADER_TIME_H_DEFAULTS])
|
|
AC_REQUIRE([AC_STRUCT_TIMEZONE])
|
|
|
|
AC_CHECK_TYPES([timezone_t], [], [], [[#include <time.h>]])
|
|
if test "$ac_cv_type_timezone_t" = yes; then
|
|
HAVE_TIMEZONE_T=1
|
|
fi
|
|
])
|