File: libxml2.m4

package info (click to toggle)
nfs-utils 1%3A2.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,380 kB
  • sloc: ansic: 52,371; sh: 5,775; python: 2,166; makefile: 973
file content (17 lines) | stat: -rw-r--r-- 558 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
dnl Checks for libxml2.so
AC_DEFUN([AC_LIBXML2], [

  PKG_PROG_PKG_CONFIG([0.9.0])
  AS_IF(
    [test "$enable_junction" = "yes"],
    [PKG_CHECK_MODULES([XML2], [libxml-2.0 >= 2.4],
                       [LIBXML2="${XML2_LIBS}"
                        AM_CPPFLAGS="${AM_CPPFLAGS} ${XML2_CFLAGS}"
                        AC_DEFINE([HAVE_LIBXML2], [1],
                                  [Define to 1 if you have and wish to use libxml2.])],
                       [AC_MSG_ERROR([libxml2 not found.])])])

  AC_SUBST([AM_CPPFLAGS])
  AC_SUBST(LIBXML2)

])dnl