aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/configure
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-11-06 21:19:09 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-11-06 21:19:09 +0000
commitd53a7449dca8ec558ca0b6c322c6d3351afe1c8b (patch)
treeaa97bd8599814cfda433c5aa309a38be0804f4e2 /configure
parent7ab4e1278a5b8ac4289c450b2bf85da2aad06ba4 (diff)
downloadmandoc-d53a7449dca8ec558ca0b6c322c6d3351afe1c8b.tar.gz
mandoc-d53a7449dca8ec558ca0b6c322c6d3351afe1c8b.tar.zst
mandoc-d53a7449dca8ec558ca0b6c322c6d3351afe1c8b.zip
In ./configure, select a RE syntax for word boundaries supported by libc;
issue reported by Svyatoslav Mishyn, Peter Bray, and Daniel Levai.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 28435810..882b8f4b 100755
--- a/configure
+++ b/configure
@@ -53,6 +53,8 @@ HAVE_MMAP=
HAVE_PLEDGE=
HAVE_PROGNAME=
HAVE_REALLOCARRAY=
+HAVE_REWB_BSD=
+HAVE_REWB_SYSV=
HAVE_STRCASESTR=
HAVE_STRINGLIST=
HAVE_STRLCAT=
@@ -184,6 +186,8 @@ runtest mmap MMAP || true
runtest pledge PLEDGE || true
runtest progname PROGNAME || true
runtest reallocarray REALLOCARRAY || true
+runtest rewb-bsd REWB_BSD || true
+runtest rewb-sysv REWB_SYSV || true
runtest strcasestr STRCASESTR || true
runtest stringlist STRINGLIST || true
runtest strlcat STRLCAT || true
@@ -306,6 +310,8 @@ cat << __HEREDOC__
#define HAVE_PLEDGE ${HAVE_PLEDGE}
#define HAVE_PROGNAME ${HAVE_PROGNAME}
#define HAVE_REALLOCARRAY ${HAVE_REALLOCARRAY}
+#define HAVE_REWB_BSD ${HAVE_REWB_BSD}
+#define HAVE_REWB_SYSV ${HAVE_REWB_SYSV}
#define HAVE_STRCASESTR ${HAVE_STRCASESTR}
#define HAVE_STRINGLIST ${HAVE_STRINGLIST}
#define HAVE_STRLCAT ${HAVE_STRLCAT}