define _REENTRANT in configure instead of in Makefile.am (Alon Bar-Lev)
parent
5e6d439ce8
commit
9c92941a6f
|
@ -185,6 +185,11 @@ if test "${with_fuse}" = "internal"; then
|
|||
[LIBFUSE_LITE_LIBS="${LIBFUSE_LITE_LIBS} -lrt"],
|
||||
[AC_MSG_ERROR([Cannot find rt library])]
|
||||
)
|
||||
AC_DEFINE(
|
||||
[_REENTRANT],
|
||||
[1],
|
||||
[Required define if using POSIX threads]
|
||||
)
|
||||
# required so that we re-compile anything
|
||||
AC_DEFINE(
|
||||
[FUSE_INTERNAL],
|
||||
|
|
|
@ -8,7 +8,6 @@ endif
|
|||
libfuse_lite_la_CFLAGS= \
|
||||
$(AM_CFLAGS) \
|
||||
-I$(top_srcdir)/include/fuse-lite \
|
||||
-D_REENTRANT \
|
||||
-D_FILE_OFFSET_BITS=64
|
||||
|
||||
libfuse_lite_la_LIBADD = $(LIBFUSE_LITE_LIBS)
|
||||
|
|
Loading…
Reference in New Issue