Jim Meyering [Mon, 1 May 2000 08:32:35 +0000 (08:32 +0000)]
fix typos
Jim Meyering [Mon, 1 May 2000 08:29:38 +0000 (08:29 +0000)]
*** empty log message ***
Jim Meyering [Mon, 1 May 2000 08:29:28 +0000 (08:29 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Based on a patch from Bruno Haible.
Jim Meyering [Mon, 1 May 2000 08:03:33 +0000 (08:03 +0000)]
(read_filesystem_list): Add BeOS support.
Jim Meyering [Mon, 1 May 2000 07:58:34 +0000 (07:58 +0000)]
(jm_LIST_MOUNTED_FILESYSTEMS): Add BeOS support.
Jim Meyering [Sun, 30 Apr 2000 16:25:30 +0000 (16:25 +0000)]
.
Jim Meyering [Sun, 30 Apr 2000 16:25:24 +0000 (16:25 +0000)]
*** empty log message ***
Jim Meyering [Sun, 30 Apr 2000 16:24:00 +0000 (16:24 +0000)]
.
Jim Meyering [Sun, 30 Apr 2000 11:19:35 +0000 (11:19 +0000)]
alphabetize
Jim Meyering [Sat, 29 Apr 2000 09:25:58 +0000 (09:25 +0000)]
*** empty log message ***
Jim Meyering [Sat, 29 Apr 2000 09:25:09 +0000 (09:25 +0000)]
Declare strdup only if it's not defined.
Jim Meyering [Fri, 28 Apr 2000 16:50:24 +0000 (16:50 +0000)]
*** empty log message ***
Jim Meyering [Fri, 28 Apr 2000 16:49:38 +0000 (16:49 +0000)]
[HAVE_LIMITS_H]: Include limits.h before regex.h to avoid
redefinition warning on some systems (HPUX). Otherwise, regex.h is
included first, then limits.h is included by locale.h by libintl.h.
From John David Anglin.
Jim Meyering [Thu, 27 Apr 2000 12:19:38 +0000 (12:19 +0000)]
.
Jim Meyering [Thu, 27 Apr 2000 06:47:05 +0000 (06:47 +0000)]
*** empty log message ***
Jim Meyering [Thu, 27 Apr 2000 06:46:13 +0000 (06:46 +0000)]
tweak comment
Jim Meyering [Wed, 26 Apr 2000 12:36:49 +0000 (12:36 +0000)]
.
Jim Meyering [Wed, 26 Apr 2000 12:36:43 +0000 (12:36 +0000)]
(S_IRWXUGO): Define.
(make_path): Always perform explicit chmod if MODE specifies any
of the `special' permission bits.
Stefan Monnier [Wed, 19 Apr 2000 21:39:18 +0000 (21:39 +0000)]
(re_match_2_internal): Don't shorten the strings anymore,
instead define end_match(1|2) more carefully.
Use GET_CHAR_BEFORE_2 for `begline'.
Jim Meyering [Tue, 18 Apr 2000 17:28:34 +0000 (17:28 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:41:26 +0000 (13:41 +0000)]
add comment
Jim Meyering [Tue, 18 Apr 2000 13:40:29 +0000 (13:40 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:40:25 +0000 (13:40 +0000)]
[!getpagesize && HAVE_OS_H && B_PAGE_SIZE]: Define getpagesize.
For BeOS. Based on a patch from Bruno Haible.
Jim Meyering [Tue, 18 Apr 2000 13:35:22 +0000 (13:35 +0000)]
*** empty log message ***
Jim Meyering [Tue, 18 Apr 2000 13:35:18 +0000 (13:35 +0000)]
(jm_PREREQ_GETPAGESIZE): New macro.
(jm_PREREQ): Use it.
Jim Meyering [Mon, 17 Apr 2000 11:39:36 +0000 (11:39 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Apr 2000 11:39:26 +0000 (11:39 +0000)]
(my_strftime) [strftime]: Declare strftime here, since the definition
of it to rpl_strftime also defined-away the system's declaration.
Jim Meyering [Mon, 17 Apr 2000 09:56:02 +0000 (09:56 +0000)]
*** empty log message ***
Jim Meyering [Mon, 17 Apr 2000 09:55:53 +0000 (09:55 +0000)]
Get it right :-)
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Emit the
actual #define via AH_VERBATIM. Don't need separate AC_DEFINE.
Suggestion from Akim Demaille.
Jim Meyering [Sat, 15 Apr 2000 21:58:37 +0000 (21:58 +0000)]
*** empty log message ***
Jim Meyering [Sat, 15 Apr 2000 21:54:46 +0000 (21:54 +0000)]
Use `C' to denote so-called `contiguous' files, the same way that tar does.
* filemode.c (S_ISCTG) [!S_ISCTG && S_IFCTG]: Define.
(ftypelet): Use S_ISCTG.
Jim Meyering [Fri, 14 Apr 2000 15:42:02 +0000 (15:42 +0000)]
*** empty log message ***
Jim Meyering [Fri, 14 Apr 2000 15:41:06 +0000 (15:41 +0000)]
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form
of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered.
Jim Meyering [Thu, 13 Apr 2000 08:15:07 +0000 (08:15 +0000)]
*** empty log message ***
Jim Meyering [Thu, 13 Apr 2000 08:15:01 +0000 (08:15 +0000)]
(jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM
to insert required #ifndef into config.h.in.
Suggestion from Akim Demaille.
Jim Meyering [Wed, 12 Apr 2000 16:03:53 +0000 (16:03 +0000)]
*** empty log message ***
Jim Meyering [Wed, 12 Apr 2000 16:03:20 +0000 (16:03 +0000)]
(AM_FUNC_GETLOADAVG): Use AC_CHECK_HEADERS, not
`AC_CHECK_HEADER' to check for locale.h. Thanks to a report from
Christian Krackowizer.
Jim Meyering [Wed, 12 Apr 2000 06:21:06 +0000 (06:21 +0000)]
*** empty log message ***
Jim Meyering [Wed, 12 Apr 2000 06:19:55 +0000 (06:19 +0000)]
*** empty log message ***
Jim Meyering [Wed, 12 Apr 2000 06:19:45 +0000 (06:19 +0000)]
(_GNU_SOURCE): Define.
(AC_SYS_LARGEFILE): Require.
(AM_C_PROTOTYPES): Require.
Jim Meyering [Sat, 8 Apr 2000 06:34:06 +0000 (06:34 +0000)]
*** empty log message ***
Jim Meyering [Sat, 8 Apr 2000 06:34:02 +0000 (06:34 +0000)]
(charset.alias): Use t-$@, not $@-t so the DOS 8.3
names don't conflict. Reported by Eli Zaretskii.
Jim Meyering [Sat, 8 Apr 2000 06:31:38 +0000 (06:31 +0000)]
.
Jim Meyering [Fri, 7 Apr 2000 09:41:51 +0000 (09:41 +0000)]
*** empty log message ***
Jim Meyering [Fri, 7 Apr 2000 09:41:38 +0000 (09:41 +0000)]
(print_unicode_char): Avoid triggering Solaris iconv bug.
Deal with the different error behaviour of Irix iconv.
Jim Meyering [Fri, 7 Apr 2000 09:24:18 +0000 (09:24 +0000)]
Move inclusion of errno.h so it follows that of sys/types.h,
to work around system header problems on AIX 3.2.5. From Bruno Haible.
Jim Meyering [Fri, 7 Apr 2000 08:45:27 +0000 (08:45 +0000)]
.
Jim Meyering [Thu, 6 Apr 2000 06:56:05 +0000 (06:56 +0000)]
*** empty log message ***
Jim Meyering [Thu, 6 Apr 2000 06:55:14 +0000 (06:55 +0000)]
(AC_SYS_LARGEFILE_FLAGS): Don't use -n32 on
IRIX if the installer said otherwise.
Jim Meyering [Wed, 5 Apr 2000 15:22:04 +0000 (15:22 +0000)]
fix two typos. Duh
Jim Meyering [Wed, 5 Apr 2000 15:16:27 +0000 (15:16 +0000)]
*** empty log message ***
Jim Meyering [Wed, 5 Apr 2000 15:14:28 +0000 (15:14 +0000)]
[!HAVE_UTMPX_H] (headers): Include <utmp.h>.
(jm_CHECK_DECLS): Add getutent to the list of functions.
(_jm_DECL_HEADERS): Add utmpx.h.
Jim Meyering [Wed, 5 Apr 2000 15:08:11 +0000 (15:08 +0000)]
Declare strdup.
Jim Meyering [Wed, 5 Apr 2000 15:05:54 +0000 (15:05 +0000)]
[HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.
Jim Meyering [Wed, 5 Apr 2000 15:00:11 +0000 (15:00 +0000)]
Include sys/types.h before sys/stat.h.
Required for ultrix4.3.
Jim Meyering [Wed, 5 Apr 2000 14:57:36 +0000 (14:57 +0000)]
(canon_host): Declare strdup. Required for ultrix4.3.
Jim Meyering [Wed, 5 Apr 2000 12:25:13 +0000 (12:25 +0000)]
*** empty log message ***
Jim Meyering [Wed, 5 Apr 2000 12:13:59 +0000 (12:13 +0000)]
Back out the 2000-04-02 change.
Instead of that change, simply undefine putenv in the test program.
Jim Meyering [Wed, 5 Apr 2000 11:50:48 +0000 (11:50 +0000)]
Back out the 2000-04-02 change.
Jim Meyering [Tue, 4 Apr 2000 12:58:57 +0000 (12:58 +0000)]
*** empty log message ***
Jim Meyering [Tue, 4 Apr 2000 12:58:49 +0000 (12:58 +0000)]
Be more DOS 8.3-friendly.
* ref-add.sin: Renamed from ref-add.sed.in.
* ref-del.sin: Renamed from ref-del.sed.in.
* Makefile.am: Reflect renaming.
Jim Meyering [Tue, 4 Apr 2000 12:50:59 +0000 (12:50 +0000)]
renamed to ref-del.sin
Jim Meyering [Tue, 4 Apr 2000 12:50:59 +0000 (12:50 +0000)]
renamed from ref-del.sed.in
Jim Meyering [Tue, 4 Apr 2000 12:50:44 +0000 (12:50 +0000)]
renamed to ref-add.sin
Jim Meyering [Tue, 4 Apr 2000 12:50:44 +0000 (12:50 +0000)]
renamed from ref-add.sed.in
Jim Meyering [Tue, 4 Apr 2000 12:47:19 +0000 (12:47 +0000)]
Use a temporary file name that won't clash with `charset.alias'
in the DOS 8.3 name space.
(charset_tmp): Define.
(install-exec-local): Use $(charset_tmp) instead of $(charset_alias)-t.
(uninstall-local): Likewise.
Reported by Eli Zaretskii.
Jim Meyering [Mon, 3 Apr 2000 19:35:28 +0000 (19:35 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 19:35:24 +0000 (19:35 +0000)]
Fix typo in comment.
Jim Meyering [Mon, 3 Apr 2000 07:48:11 +0000 (07:48 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:48:06 +0000 (07:48 +0000)]
(AC_CHECK_HEADERS): Add langinfo.h (moved here from
textutils/configure.in). Suggestion from Paul Eggert.
(AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
Jim Meyering [Mon, 3 Apr 2000 07:46:51 +0000 (07:46 +0000)]
(AC_CHECK_HEADERS): Remove langinfo.h -- put it in codeset instead.
(AC_CHECK_FUNCS): Likewise for nl_langinfo.
Jim Meyering [Mon, 3 Apr 2000 07:32:07 +0000 (07:32 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:31:59 +0000 (07:31 +0000)]
(_jm_STRFTIME_PREREQS): Check for strftime,
since strftime.c uses HAVE_STRFTIME to decide whether to use
the underlying strftime.
Jim Meyering [Mon, 3 Apr 2000 07:26:43 +0000 (07:26 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:26:38 +0000 (07:26 +0000)]
(AC_CHECK_FUNCS): Add nl_langinfo. (also from textutils/configure.in)
Jim Meyering [Mon, 3 Apr 2000 07:20:44 +0000 (07:20 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:20:38 +0000 (07:20 +0000)]
(AC_CHECK_HEADERS): Add langinfo.h (moved here from textutils/configure.in).
Jim Meyering [Mon, 3 Apr 2000 07:10:21 +0000 (07:10 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 07:09:38 +0000 (07:09 +0000)]
(my_strftime): Make sure we call the system
strftime, not ourselves, when invoking the underlying strftime.
Jim Meyering [Mon, 3 Apr 2000 06:24:31 +0000 (06:24 +0000)]
*** empty log message ***
Jim Meyering [Mon, 3 Apr 2000 06:24:20 +0000 (06:24 +0000)]
(jm_FUNC_GNU_STRFTIME): Set TZ environment
variable in the shell rather than using putenv, which isn't
portable. This avoids the configure-time inter-test dependency
on the potentially-renamed putenv function.
Stefan Monnier [Sun, 2 Apr 2000 23:56:45 +0000 (23:56 +0000)]
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
(RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
(GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
we are between str1 and str2.
(MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
(PATFETCH): Use `TRANSLATE'.
(PATFETCH_RAW): Fetch multibyte char if applicable.
(PATUNFETCH): Remove.
(regex_compile): Rely on PATFETCH to do most of the multibyte magic.
When writing a char, write it directly into the pattern buffer rather
than going needlessly through a temp char-array.
(re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
multibyte magic and remove the useless `#ifdef emacs'.
(bcmp_translate): Don't compare as multibyte chars when in a unibyte
buffer.
* regex.h (struct re_pattern_buffer): Make field `multibyte'
conditional on `emacs'.
* charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
Jim Meyering [Sun, 2 Apr 2000 21:00:30 +0000 (21:00 +0000)]
*** empty log message ***
Jim Meyering [Sun, 2 Apr 2000 21:00:24 +0000 (21:00 +0000)]
(jm_CHECK_ALL_TYPES): Include <sys/stat.h>
before checking struct stat.st_blksize, so that
HAVE_STRUCT_STAT_ST_BLKSIZE is defined correctly.
Stefan Monnier [Wed, 29 Mar 2000 04:01:25 +0000 (04:01 +0000)]
(analyse_first): New function obtained by ripping out most
of re_compile_fastmap and generalizing it a little bit so that it
can also just return whether a given (sub)pattern can match the empty
string or not.
(regex_compile): Use `analyse_first' to decide whether the loop-check
needs to be done or not for *, +, *? and +? (the loop check is costly
for non-greedy repetition).
(re_compile_fastmap): Delegate the actual work to `analyse_first'.
Stefan Monnier [Mon, 27 Mar 2000 22:26:37 +0000 (22:26 +0000)]
(REGEX_FREE_STACK, RESET_FAIL_STACK): Make them usable as an expression.
(enum re_opcode_t): Update description of succeed_n.
(PATFETCH): Always define.
(regex_compile): Use lookahead rather than PATUNFETCH (for repetition
operators, char classes, shy-groups and intervals).
Optimize special cases of intervals so as to only use succeed_n and
jump_n when really needed.
(re_compile_fastmap): Simplify handling of jump_n and succeed_n now
that we don't have to handle the special cases any more.
Simplify on_failure_jump handling as well.
Stefan Monnier [Sun, 26 Mar 2000 23:05:51 +0000 (23:05 +0000)]
(enum re_opcode_t): New opcode on_failure_jump_nastyloop.
(print_partial_compiled_pattern, re_compile_fastmap): Handle new opcode.
(regex_compile): Use on_failure_jump_nastyloop for non-greedy loops.
(re_match_2_internal): Add code for on_failure_jump_nastyloop when
executing it as well as when popping it off the stack to find infinite
loops in non-greedy repetition operators.
Jim Meyering [Sat, 25 Mar 2000 18:33:17 +0000 (18:33 +0000)]
.
Jim Meyering [Sat, 25 Mar 2000 18:26:47 +0000 (18:26 +0000)]
back out last change
Jim Meyering [Fri, 24 Mar 2000 09:07:18 +0000 (09:07 +0000)]
*** empty log message ***
Jim Meyering [Fri, 24 Mar 2000 09:07:12 +0000 (09:07 +0000)]
(jm_MACROS): Invoke `AC_CONFIG_AUX_DIR(.)' to work
around bug that made cvs-automake complain it couldn't find lib/depcomp.
Jim Meyering [Fri, 24 Mar 2000 08:50:13 +0000 (08:50 +0000)]
.
Jim Meyering [Fri, 24 Mar 2000 06:40:29 +0000 (06:40 +0000)]
.
Jim Meyering [Fri, 24 Mar 2000 06:40:23 +0000 (06:40 +0000)]
Output a line containing "Packages using this file".
Jim Meyering [Fri, 24 Mar 2000 06:39:01 +0000 (06:39 +0000)]
*** empty log message ***
Jim Meyering [Fri, 24 Mar 2000 05:54:46 +0000 (05:54 +0000)]
(EXTRA_DIST): Add ref-add.sed.in and ref-del.sed.in.
(charset_alias): Define.
(install-exec-local): Factor out common code.
(uninstall-local): Split lines longer than 80.
(ref-add.sed, ref-del.sed): Remove rules... (do the following instead)
(SUFFIXES): Define.
(.sed.in.sed): New rule. Don't redirect directly to $@.
(CLEANFILES): Add ref-add.sed and ref-del.sed.
Jim Meyering [Fri, 24 Mar 2000 05:46:01 +0000 (05:46 +0000)]
(install-exec-local, uninstall-local, ref-add.sed, ref-del.sed): New rules.
From Bruno.
Stefan Monnier [Thu, 23 Mar 2000 04:36:14 +0000 (04:36 +0000)]
(enum syntaxcode): Provide default for non-Emacs.
(re_compile_fastmap, re_match_2_internal): Undo Dave's previous fix.
Jim Meyering [Wed, 22 Mar 2000 21:46:50 +0000 (21:46 +0000)]
*** empty log message ***
Dave Love [Wed, 22 Mar 2000 14:25:38 +0000 (14:25 +0000)]
(re_compile_fastmap, re_match_2_internal): Fix cast to re_opcode_t.