Not all compilers are supporting tr1/tuple. This forces libgtest to use
an internal implementation of tuple. Alternatively, the newer 1.6
version of gtest may correctly handle this case automatically.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
-D__STDC_FORMAT_MACROS \
-D_GNU_SOURCE \
-DCEPH_LIBDIR=\"${libdir}\" \
- -DCEPH_PKGLIBDIR=\"${pkglibdir}\"
+ -DCEPH_PKGLIBDIR=\"${pkglibdir}\" \
+ -DGTEST_HAS_TR1_TUPLE=0
AM_COMMON_CFLAGS = \
-Wall \
# We define the global AM_CPPFLAGS as everything we compile includes from these
# directories.
-AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/include
+AM_CPPFLAGS = -I$(srcdir) -I$(srcdir)/include -DGTEST_HAS_TR1_TUPLE=0
# Modifies compiler and linker flags for pthreads compatibility.
if HAVE_PTHREADS