Skip to content

Commit 0a38cf5

Browse files
committed
build: fix required autoconf version
Since abc2ae6 (Update AX_PTHREAD (PCRE2Project#694), 2025-02-12), when using autoconf 2.60 with autogen, shows: error: possibly undefined macro: AS_ECHO Use 2.62 instead, which include that macro, as the new required version.
1 parent e89a922 commit 0a38cf5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

NON-AUTOTOOLS-BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ example.
171171
src/config.h) . Compile src/pcre2test.c; don't forget -DHAVE_CONFIG_H if
172172
necessary, but do NOT define PCRE2_CODE_UNIT_WIDTH. Then link with the
173173
appropriate library/ies. If you compiled an 8-bit library, pcre2test also
174-
needs the pcre2posix wrapper library.
174+
needs the pcre2posix wrapper library when linking.
175175

176176
(9) Run pcre2test on the testinput files in the testdata directory, and check
177177
that the output matches the corresponding testoutput files. There are

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ m4_define(libpcre2_posix_version, [3:6:0])
2222
# NOTE: The CMakeLists.txt file searches for the above variables in the first
2323
# 50 lines of this file. Please update that if the variables above are moved.
2424

25-
AC_PREREQ([2.60])
25+
AC_PREREQ([2.62])
2626
AC_INIT([PCRE2],pcre2_major.pcre2_minor[]pcre2_prerelease,[],[pcre2])
2727
AC_CONFIG_SRCDIR([src/pcre2.h.in])
2828
AM_INIT_AUTOMAKE([dist-bzip2 dist-zip foreign])

doc/pcre2build.3

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ UTF support allows the libraries to process character code points up to
134134
0x10ffff in the strings that they handle. Unicode support also gives access to
135135
the Unicode properties of characters, using pattern escapes such as \eP, \ep,
136136
and \eX. Only the general category properties such as \fILu\fP and \fINd\fP,
137-
script names, and some bi-directional properties are supported. Details are
138-
given in the
137+
script names, and some bi-directional and binary properties are supported.
138+
Details are given in the
139139
.\" HREF
140140
\fBpcre2pattern\fP
141141
.\"
@@ -152,8 +152,8 @@ request this by starting with (*UCP).
152152
.sp
153153
The \eC escape sequence, which matches a single code unit, even in a UTF mode,
154154
can cause unpredictable behaviour because it may leave the current matching
155-
point in the middle of a multi-code-unit character. The application can lock it
156-
out by setting the PCRE2_NEVER_BACKSLASH_C option when calling
155+
point in the middle of a multi-code-unit character. The application can lock
156+
it out by setting the PCRE2_NEVER_BACKSLASH_C option when calling
157157
\fBpcre2_compile()\fP. There is also a build-time option
158158
.sp
159159
--enable-never-backslash-C
@@ -517,7 +517,7 @@ use), some extra configuration may be necessary. The INSTALL file for
517517
If your environment has not been set up so that an appropriate library is
518518
automatically included, you may need to add something like
519519
.sp
520-
LIBS="-ncurses"
520+
LIBS="-lncurses"
521521
.sp
522522
immediately before the \fBconfigure\fP command.
523523
.

0 commit comments

Comments
 (0)