From: Yann E. MORIN Date: Thu, 4 Jul 2013 19:21:25 +0000 (+0200) Subject: configure: fix syntax-highlighting in vim X-Git-Tag: v3.11.0.0~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56b1b28317bb31fc0a6df42a086aae34d0def988;p=kconfig-frontends configure: fix syntax-highlighting in vim It does not cope well with triple-escapes of ", such as: \\\"$foo\\\" Signed-off-by: "Yann E. MORIN" --- 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(