1
0
forked from aniani/vim

patch 8.2.3420: _REENTRANT defined more than once

Problem:    _REENTRANT defined more than once.
Solution:   Fix configure script. (Christian Brabandt, closes #8852)
This commit is contained in:
Christian Brabandt
2021-09-09 17:14:50 +02:00
committed by Bram Moolenaar
parent 0325d3967c
commit 6b9efdde78
3 changed files with 9 additions and 3 deletions

View File

@@ -3756,7 +3756,9 @@ if test "$enable_canberra" = "yes"; then
AC_MSG_CHECKING(for libcanberra)
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $canberra_cflags"
if `echo "$CFLAGS" | grep -v "$canberra_cflags" >/dev/null`; then
CFLAGS="$CFLAGS $canberra_cflags"
fi
LIBS="$LIBS $canberra_lib"
AC_TRY_LINK([
# include <canberra.h>