Sha256: 2c500ce72a0e85d526517c6b90ff43641293266308e95401cb17c595c314e031

Contents?: true

Size: 882 Bytes

Versions: 2

Compression:

Stored size: 882 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_LIBTOOL],[
  AC_REQUIRE([AC_DISABLE_STATIC])
  AC_REQUIRE([AC_PROG_LIBTOOL])
  m4_ifndef([LT_PREREQ],[
    pandora_have_old_libtool=yes
  ],[
    pandora_have_old_libtool=no
  ])
  AS_IF([test "$SUNCC" = "yes" -a "${pandora_have_old_libtool}" = "yes"],[
    AC_MSG_ERROR([Building ${PACKAGE} with Sun Studio requires at least libtool 2.2])
  ])

  dnl By requiring AC_PROG_LIBTOOL, we should force the macro system to read
  dnl libtool.m4, where in 2.2 AC_PROG_LIBTOOL is an alias for LT_INIT
  dnl Then, if we're on 2.2, we should have LT_LANG, so we'll call it.
  m4_ifdef([LT_LANG],[
    LT_LANG(C)
    LT_LANG(C++)
  ])
])

Version data entries

2 entries across 2 versions & 1 rubygems

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