projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Disable murmur test on sparc hardware (platform specific hash algorith)
[m6w6/libmemcached]
/
m4
/
pandora_cinttypes.m4
diff --git
a/m4/pandora_cinttypes.m4
b/m4/pandora_cinttypes.m4
index 562fd0d6b54be399317528c014db837f8c263fea..83a725154ae25172e53c01a67d026733464aae70 100644
(file)
--- a/
m4/pandora_cinttypes.m4
+++ b/
m4/pandora_cinttypes.m4
@@
-8,6
+8,8
@@
AC_DEFUN([PANDORA_CXX_CINTTYPES],
[AC_REQUIRE([PANDORA_CXX_CSTDINT])
AC_MSG_CHECKING(the location of cinttypes)
AC_LANG_PUSH(C++)
[AC_REQUIRE([PANDORA_CXX_CSTDINT])
AC_MSG_CHECKING(the location of cinttypes)
AC_LANG_PUSH(C++)
+ save_CXXFLAGS="${CXXFLAGS}"
+ CXXFLAGS="${CXX_STANDARD} ${CXXFLAGS}"
ac_cv_cxx_cinttypes=""
for location in tr1/cinttypes boost/cinttypes cinttypes; do
if test -z "$ac_cv_cxx_cinttypes"; then
ac_cv_cxx_cinttypes=""
for location in tr1/cinttypes boost/cinttypes cinttypes; do
if test -z "$ac_cv_cxx_cinttypes"; then
@@
-18,14
+20,15
@@
AC_DEFUN([PANDORA_CXX_CINTTYPES],
fi
done
AC_LANG_POP()
fi
done
AC_LANG_POP()
+ CXXFLAGS="${save_CXXFLAGS}"
if test -n "$ac_cv_cxx_cinttypes"; then
AC_MSG_RESULT([$ac_cv_cxx_cinttypes])
else
if test -n "$ac_cv_cxx_cinttypes"; then
AC_MSG_RESULT([$ac_cv_cxx_cinttypes])
else
- AC_DEFINE([__STDC_LIMIT_MACROS],[1],[Use STDC Limit Macros in C++])
ac_cv_cxx_cinttypes="<inttypes.h>"
AC_MSG_RESULT()
AC_MSG_WARN([Could not find a cinttypes header.])
fi
ac_cv_cxx_cinttypes="<inttypes.h>"
AC_MSG_RESULT()
AC_MSG_WARN([Could not find a cinttypes header.])
fi
+ AC_DEFINE([__STDC_LIMIT_MACROS],[1],[Use STDC Limit Macros in C++])
AC_DEFINE_UNQUOTED(CINTTYPES_H,$ac_cv_cxx_cinttypes,
[the location of <cinttypes>])
])
AC_DEFINE_UNQUOTED(CINTTYPES_H,$ac_cv_cxx_cinttypes,
[the location of <cinttypes>])
])