]> git.sur5r.net Git - kconfig-frontends/commitdiff
configure: fix syntax-highlighting in vim
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 4 Jul 2013 19:21:25 +0000 (21:21 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 4 Jul 2013 19:21:25 +0000 (21:21 +0200)
It does not cope well with triple-escapes of ", such as:
    \\\"$foo\\\"

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
configure.ac

index 814d8c81bbbdf41099438d503f701e596ef3a0db..2f1817ef69ca9be2c526a2c25ab00dfe6a164f40 100644 (file)
@@ -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(