Sha256: 3d2c56a4b3eeac10a1445e7895a2ac299f2d0a497e6cc24770d41f63dd4ce6bd

Contents?: true

Size: 842 Bytes

Versions: 2

Compression:

Stored size: 842 Bytes

Contents

dnl -*- mode: m4; c-basic-offset: 2; indent-tabs-mode: nil; -*-
dnl vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
dnl   
dnl pandora-build: A pedantic build system
dnl Copyright (C) 2009 Sun Microsystems, Inc.
dnl This file is free software; Sun Microsystems
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl
dnl From Monty Taylor

AC_DEFUN([PANDORA_WITH_R],[
    dnl Check for GNU R
    AC_ARG_WITH([r], 
    [AS_HELP_STRING([--with-r],
      [Build R Bindings @<:@default=yes@:>@])],
    [with_r=$withval], 
    [with_r=yes])

  AS_IF([test "x$with_r" != "xno"],[

    PKG_CHECK_MODULES([R], [libR], [
      with_r=yes
    ],[
      with_r=no
    ])

   AC_SUBST(R_CFLAGS)
   AC_SUBST(R_LIBS)
  ])
  AM_CONDITIONAL(BUILD_R, test "$with_r" = "yes")

])

Version data entries

2 entries across 2 versions & 1 rubygems

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