~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Monty Taylor
  • Date: 2009-03-09 20:27:13 UTC
  • mto: (923.2.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 928.
  • Revision ID: mtaylor@orisndriz05-20090309202713-uoubacswdcs20kg5
Added check for shared_ptr in advance of actually thinking about using it. I think this should cover all platforms we care about... but let's doublecheck.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    AC_MSG_ERROR([Your version of GCC is too old. Drizzle requires at least version 4.2. If you are on OSX, you may need to specify ./configure CC=gcc-4.2 CXX=g++4.2])
65
65
  fi
66
66
fi
 
67
AC_CXX_CHECK_STANDARD
67
68
AC_CXX_HEADER_STDCXX_98
68
69
if test "$ac_cv_cxx_stdcxx_98" = "no"
69
70
then
251
252
if test "$GCC" = "yes"
252
253
then
253
254
  CFLAGS="-ggdb3 -std=gnu99 ${CFLAGS}"
254
 
  AC_CXX_CHECK_STANDARD()
255
 
  CXXFLAGS="-ggdb3 -std=${ac_cv_cxx_standard} ${CXXFLAGS}"
 
255
  CXXFLAGS="-ggdb3 ${CXXFLAGS}"
256
256
  
257
257
 
258
258
  DEBUG_CFLAGS="-O0"
331
331
AC_CXX_STL_HASH
332
332
AC_CXX_CSTDINT
333
333
AC_CXX_CINTTYPES
 
334
AC_CXX_SHARED_PTR
334
335
 
335
336
DRIZZLE_PROG_AR
336
337
 
1492
1493
echo "   * C++ cstdint location:      $ac_cv_cxx_cstdint"
1493
1494
echo "   * C++ hash_map location:     $ac_cv_cxx_hash_map"
1494
1495
echo "   * C++ hash namespace:        $ac_cv_cxx_hash_namespace"
 
1496
echo "   * C++ shared_ptr namespace:  $ac_cv_shared_ptr_namespace"
1495
1497
echo ""
1496
1498
echo "---"
1497
1499