diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-09-06 18:57:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-09-06 18:57:30 +0200 |
commit | 3ae5fc9a6a881e0be381e4cc70080ac5908d7520 (patch) | |
tree | df2029485a6aedd48af0565556cd95d7e1eb3b3b /src/auto | |
parent | ec1b0968aa90d408a79b5b5dca465f65e69753a1 (diff) | |
download | vim-git-3ae5fc9a6a881e0be381e4cc70080ac5908d7520.tar.gz |
patch 8.2.3406: on some systems tests fail without _REENTRANTv8.2.3406
Problem: On some systems tests fail without _REENTRANT. (Elimar
Riesebieter)
Solution: Add -D_REENTRANT in configure. (closes #7402)
Diffstat (limited to 'src/auto')
-rwxr-xr-x | src/auto/configure | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/auto/configure b/src/auto/configure index fba6a19b5..4f4363224 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -14960,6 +14960,10 @@ $as_echo "no" >&6; } fi fi +if `echo "$CFLAGS" | grep -v D_XEENTRANT >/dev/null`; then + CFLAGS="$CFLAGS -D_REENTRANT" +fi + DEPEND_CFLAGS_FILTER= if test "$GCC" = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCC 3 or later" >&5 |