~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/cxx_cstdint.m4

  • Committer: Monty Taylor
  • Date: 2008-11-25 22:24:30 UTC
  • mto: (612.2.17 devel)
  • mto: This revision was merged to the branch mainline in revision 624.
  • Revision ID: mordred@solanthus.local-20081125222430-9odmuhup15mw7ex4
Moved some defines to config.h. Stopped including config.h directly anywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
   if test -n "$ac_cv_cxx_cstdint"; then
20
20
      AC_MSG_RESULT([$ac_cv_cxx_cstdint])
21
21
   else
22
 
      CXXFLAGS="${CXXFLAGS}  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS"
 
22
      AC_DEFINE([__STDC_CONSTANT_MACROS],[1],[Use STDC Constant Macros in C++])
 
23
      AC_DEFINE([__STDC_FORMAT_MACROS],[1],[Use STDC Format Macros in C++])
23
24
      ac_cv_cxx_cstdint="<stdint.h>"
24
25
      AC_MSG_RESULT()
25
26
      AC_MSG_WARN([Could not find a cstdint header.])