mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
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:
committed by
Bram Moolenaar
parent
0325d3967c
commit
6b9efdde78
6
src/auto/configure
vendored
6
src/auto/configure
vendored
@@ -12978,7 +12978,9 @@ if test "$enable_canberra" = "yes"; then
|
||||
$as_echo_n "checking for libcanberra... " >&6; }
|
||||
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"
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
@@ -14960,7 +14962,7 @@ $as_echo "no" >&6; }
|
||||
fi
|
||||
fi
|
||||
|
||||
if `echo "$CFLAGS" | grep -v D_XEENTRANT >/dev/null`; then
|
||||
if `echo "$CFLAGS" | grep -v D_REENTRANT >/dev/null`; then
|
||||
CFLAGS="$CFLAGS -D_REENTRANT"
|
||||
fi
|
||||
|
||||
|
@@ -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>
|
||||
|
@@ -755,6 +755,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3420,
|
||||
/**/
|
||||
3419,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user