Sha256: 4a3158970981ce06fdd18f17c1520b9065b107253375c535c5428e6357e0d7c3
Contents?: true
Size: 1.59 KB
Versions: 2
Compression:
Stored size: 1.59 KB
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. dnl Provides support for finding libxml2. dnl LIBXML2_CFLAGS will be set, in addition to LIBXML2 and LTLIBXML2 AC_DEFUN([_PANDORA_SEARCH_LIBXML2],[ AC_REQUIRE([AC_LIB_PREFIX]) dnl -------------------------------------------------------------------- dnl Check for libxml2 dnl -------------------------------------------------------------------- AC_ARG_ENABLE([libxml2], [AS_HELP_STRING([--disable-libxml2], [Build with libxml2 support @<:@default=on@:>@])], [ac_enable_libxml2="$enableval"], [ac_enable_libxml2="yes"]) AS_IF([test "x$ac_enable_libxml2" = "xyes"],[ AC_LIB_HAVE_LINKFLAGS(xml2,,[ #include <libxml/xmlversion.h> ],[ const char *test= LIBXML_DOTTED_VERSION; ]) ],[ ac_cv_libxml2="no" ]) AS_IF([test "${ac_cv_libxml2}" = "no" -a "${ac_enable_libxml2}" = "yes"],[ PKG_CHECK_MODULES([LIBXML2], [libxml-2.0], [ ac_cv_libxml2=yes LTLIBXML2=${LIBXML2_LIBS} LIBXML2=${LIBXML2_LIBS} ],[]) ]) AM_CONDITIONAL(HAVE_LIBXML2, [test "${ac_cv_libxml2}" = "yes"]) ]) AC_DEFUN([PANDORA_HAVE_LIBXML2],[ AC_REQUIRE([_PANDORA_SEARCH_LIBXML2]) ]) AC_DEFUN([PANDORA_REQUIRE_LIBXML2],[ AC_REQUIRE([_PANDORA_SEARCH_LIBXML2]) AS_IF([test "x${ac_cv_libxml2}" = "xno"], AC_MSG_ERROR([libxml2 is required for ${PACKAGE}. On Debian systems this is found in libxml2-dev. On RedHat, libxml2-devel.])) ])
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
couchbase-memcached-1.2.9 | ext/libmemcached-0.50/m4/pandora_have_libxml2.m4 |
couchbase-memcached-1.2.8 | ext/libmemcached-0.50/m4/pandora_have_libxml2.m4 |