vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit db51ade48a12a8ba05164dade5e55d00e7554b09 parent f84df43acc61a8bd1af8265a2839874bd7ae8904 Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 13 Nov 2020 11:08:05 +0100 build: use feature test macros for memrchr configure check Previously these were only used to compile the main project source, resulting in inconsistencies between the feature detection and actual usage. Diffstat:
| M | configure | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure @@ -619,7 +619,7 @@ int main(int argc, char *argv[]) { } EOF -if $CC $CFLAGS "$tmpc" $LDFLAGS -o "$tmpo" >/dev/null 2>&1; then +if $CC $CFLAGS $CFLAGS_STD "$tmpc" $LDFLAGS -o "$tmpo" >/dev/null 2>&1; then HAVE_MEMRCHR=1 printf "%s\n" "yes" else