Sha256: 4acdffb9cff8a0a3b0a61900f0677c15d722be4e11301926f05d56685971161c

Contents?: true

Size: 832 Bytes

Versions: 2

Compression:

Stored size: 832 Bytes

Contents

dnl  Copyright (C) 2009 Sun Microsystems, Inc.
dnl This file is free software; Sun Microsystems, Inc.
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

AC_DEFUN([PANDORA_CHECK_CXX_STANDARD],[
  dnl AC_REQUIRE([AC_CXX_COMPILE_STDCXX_0X])
  AS_IF([test "$GCC" = "yes"],
        [AS_IF([test "$ac_cv_cxx_compile_cxx0x_native" = "yes"],[],
               [AS_IF([test "$ac_cv_cxx_compile_cxx0x_gxx" = "yes"],
                      [CXX_STANDARD="-std=gnu++0x"],
                      [CXX_STANDARD="-std=gnu++98"])
               ])
        ])
  AM_CXXFLAGS="${CXX_STANDARD} ${AM_CXXFLAGS}"
  
  save_CXXFLAGS="${CXXFLAGS}"
  CXXFLAGS="${CXXFLAGS} ${CXX_STANDARD}"
  AC_CXX_HEADER_STDCXX_98
  CXXFLAGS="${save_CXXFLAGS}"

  AC_SUBST([CXX_STANDARD])
])

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
couchbase-memcached-1.2.9 ext/libmemcached-0.50/m4/pandora_check_cxx_standard.m4
couchbase-memcached-1.2.8 ext/libmemcached-0.50/m4/pandora_check_cxx_standard.m4