projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Lots of compiler fixes.
[m6w6/libmemcached]
/
m4
/
pandora_cstdint.m4
diff --git
a/m4/pandora_cstdint.m4
b/m4/pandora_cstdint.m4
index 619dd326306122de900ff37606e0bf4dfe3b62c6..fb6fbacf87b21158f4754aafa8a24688e89d8a1c 100644
(file)
--- a/
m4/pandora_cstdint.m4
+++ b/
m4/pandora_cstdint.m4
@@
-7,6
+7,8
@@
AC_DEFUN([PANDORA_CXX_CSTDINT],
[AC_MSG_CHECKING(the location of cstdint)
AC_LANG_PUSH(C++)
AC_DEFUN([PANDORA_CXX_CSTDINT],
[AC_MSG_CHECKING(the location of cstdint)
AC_LANG_PUSH(C++)
+ save_CXXFLAGS="${CXXFLAGS}"
+ CXXFLAGS="${CXX_STANDARD} ${CXXFLAGS}"
ac_cv_cxx_cstdint=""
for location in tr1/cstdint boost/cstdint cstdint; do
if test -z "$ac_cv_cxx_cstdint"; then
ac_cv_cxx_cstdint=""
for location in tr1/cstdint boost/cstdint cstdint; do
if test -z "$ac_cv_cxx_cstdint"; then
@@
-16,6
+18,7
@@
AC_DEFUN([PANDORA_CXX_CSTDINT],
fi
done
AC_LANG_POP()
fi
done
AC_LANG_POP()
+ CXXFLAGS="${save_CXXFLAGS}"
if test -n "$ac_cv_cxx_cstdint"; then
AC_MSG_RESULT([$ac_cv_cxx_cstdint])
else
if test -n "$ac_cv_cxx_cstdint"; then
AC_MSG_RESULT([$ac_cv_cxx_cstdint])
else