~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/cxx_cstdint.m4

  • Committer: Eric Herman
  • Date: 2008-12-07 15:29:44 UTC
  • mto: (656.1.14 devel)
  • mto: This revision was merged to the branch mainline in revision 670.
  • Revision ID: eric@mysql.com-20081207152944-cq1nx1cyi0huqj0f
Added pointer to online version of the FAQ

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# HAVE_BOOST_CSTDINT depending
5
5
# on location.
6
6
 
7
 
AC_DEFUN([PANDORA_CXX_CSTDINT],
 
7
AC_DEFUN([AC_CXX_CSTDINT],
8
8
  [AC_MSG_CHECKING(the location of cstdint)
9
 
   AC_LANG_PUSH(C++)
10
 
   save_CXXFLAGS="${CXXFLAGS}"
11
 
   CXXFLAGS="${CXX_STANDARD} ${CXXFLAGS}"
 
9
  AC_LANG_SAVE
 
10
   AC_LANG_CPLUSPLUS
12
11
   ac_cv_cxx_cstdint=""
13
12
   for location in tr1/cstdint boost/cstdint cstdint; do
14
13
     if test -z "$ac_cv_cxx_cstdint"; then
17
16
                      [ac_cv_cxx_cstdint="<$location>";])
18
17
     fi
19
18
   done
20
 
   AC_LANG_POP()
21
 
   CXXFLAGS="${save_CXXFLAGS}"
22
19
   if test -n "$ac_cv_cxx_cstdint"; then
23
20
      AC_MSG_RESULT([$ac_cv_cxx_cstdint])
24
21
   else