Sha256: 63abd8dcd67cc0ae96cfcd1a51f78f3c192bde3c53fc5ceaa83ce96cc6ca9e7a

Contents?: true

Size: 972 Bytes

Versions: 2

Compression:

Stored size: 972 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_C_VERSION],[

  dnl Print version of C compiler
  AC_MSG_CHECKING("C Compiler version--$GCC")
  AS_IF([test "$GCC" = "yes"],[
    CC_VERSION=`$CC --version | sed 1q`
  ],[AS_IF([test "$SUNCC" = "yes"],[
      CC_VERSION=`$CC -V 2>&1 | sed 1q`
    ],[
      CC_VERSION=""
    ])
  ])
  AC_MSG_RESULT("$CC_VERSION")
  AC_SUBST(CC_VERSION)
])


AC_DEFUN([PANDORA_CHECK_CXX_VERSION], [
  dnl Print version of CXX compiler
  AC_MSG_CHECKING("C++ Compiler version")
  AS_IF([test "$GCC" = "yes"],[
    CXX_VERSION=`$CXX --version | sed 1q`
  ],[AS_IF([test "$SUNCC" = "yes"],[
      CXX_VERSION=`$CXX -V 2>&1 | sed 1q`
    ],[
    CXX_VERSION=""
    ])
  ])
  AC_MSG_RESULT("$CXX_VERSION")
  AC_SUBST(CXX_VERSION)
])

Version data entries

2 entries across 2 versions & 1 rubygems

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