]>
Commit | Line | Data |
---|---|---|
2c881999 AF |
1 | Source: https://github.com/vim/vim/issues/5580 |
2 | ||
3 | diff -Naur vim82.org/src/configure.ac vim82/src/configure.ac | |
4 | --- vim82.org/src/configure.ac 2020-08-29 13:21:13.367288796 +0200 | |
5 | +++ vim82/src/configure.ac 2020-08-29 13:22:53.837729453 +0200 | |
6 | @@ -4447,7 +4447,7 @@ | |
7 | DEPEND_CFLAGS_FILTER= | |
8 | if test "$GCC" = yes; then | |
9 | AC_MSG_CHECKING(for GCC 3 or later) | |
10 | - gccmajor=`echo "$gccversion" | sed -e 's/^\([[1-9]]\)\..*$/\1/g'` | |
11 | + gccmajor=`echo "$gccversion" | sed -e 's/^\([[0-9]]\+\)\..*$/\1/g'` | |
12 | if test "$gccmajor" -gt "2"; then | |
13 | DEPEND_CFLAGS_FILTER="| sed 's+-I */+-isystem /+g'" | |
14 | AC_MSG_RESULT(yes) |