summaryrefslogtreecommitdiffstats
path: root/src/auto
diff options
context:
space:
mode:
Diffstat (limited to 'src/auto')
-rwxr-xr-xsrc/auto/configure4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/auto/configure b/src/auto/configure
index fba6a19b53..4f43632248 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