~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2009-03-09 19:19:24 UTC
  • mto: (923.2.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 928.
  • Revision ID: mtaylor@orisndriz05-20090309191924-djppbdr5mj75j34z
Added check for setting -std=gnu++0x if available.

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
# First check for gcc and g++
266
266
if test "$GCC" = "yes"
267
267
then
268
 
  CFLAGS="${CFLAGS} -ggdb3 -std=gnu99"
269
 
  CXXFLAGS="${CXXFLAGS} -ggdb3 -std=gnu++98"
 
268
  CFLAGS="-ggdb3 -std=gnu99 ${CFLAGS}"
 
269
  AC_CXX_CHECK_STANDARD()
 
270
  CXXFLAGS="-ggdb3 -std=${ac_cv_cxx_standard} ${CXXFLAGS}"
 
271
  
270
272
 
271
273
  DEBUG_CFLAGS="-O0"
272
274
  DEBUG_CXXFLAGS="-O0"