From 56b1b28317bb31fc0a6df42a086aae34d0def988 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Thu, 4 Jul 2013 21:21:25 +0200 Subject: [PATCH] configure: fix syntax-highlighting in vim It does not cope well with triple-escapes of ", such as: \\\"$foo\\\" Signed-off-by: "Yann E. MORIN" --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 814d8c8..2f1817e 100644 --- a/configure.ac +++ b/configure.ac @@ -278,7 +278,9 @@ AS_IF( LIBS= AC_CHECK_HEADERS( [ncursesw/curses.h ncurses/ncurses.h ncurses/curses.h ncurses.h curses.h], - [CURSES_LOC=$ac_header; ncurses_mconf_CPPFLAGS=-DCURSES_LOC=\\\"$ac_header\\\"; break]) + [CURSES_LOC=$ac_header + ncurses_mconf_CPPFLAGS=-DCURSES_LOC=\\\"$ac_header\\\" + break # Stupid syntax-coloring in vim: "]) AS_IF( [test -z "$CURSES_LOC"], [AS_IF( -- 2.39.5