From 8c95aaad655ce92a707bf90a1b748eb384aa9ef1 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Sat, 20 May 2000 07:07:41 +0000 Subject: [PATCH] Verify that regmatch_t has offsets, and not only pointers. From Sam Roberts . --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 13e38035..4d5fb82e 100644 --- a/configure.in +++ b/configure.in @@ -275,7 +275,7 @@ if test $mutt_cv_regex = no ; then AC_TRY_RUN([ #include #include -main() { regex_t blah ; return regcomp(&blah, "foo.*bar", REG_NOSUB) || regexec (&blah, "foobar", 0, NULL, 0); }], +main() { regex_t blah ; regmatch_t p; p.rm_eo = p.rm_eo; return regcomp(&blah, "foo.*bar", REG_NOSUB) || regexec (&blah, "foobar", 0, NULL, 0); }], mutt_cv_regex_broken=no, mutt_cv_regex_broken=yes, mutt_cv_regex_broken=yes) AC_MSG_RESULT([$mutt_cv_regex_broken]) if test $mutt_cv_regex_broken = yes ; then -- 2.49.0