~ubuntu-branches/ubuntu/precise/gst-plugins-bad0.10/precise-proposed

« back to all changes in this revision

Viewing changes to common/m4/gst-libxml2.m4

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-05-12 09:51:24 UTC
  • mto: (18.3.2 experimental) (1.3.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 31.
  • Revision ID: james.westby@ubuntu.com-20090512095124-ugy051q0n88kk9f8
Tags: upstream-0.10.11.2
Import upstream version 0.10.11.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
  AC_SUBST(LIBXML2_REQ)
11
11
 
12
12
  dnl check for libxml2
13
 
  PKG_CHECK_MODULES(XML, libxml-2.0 >= $LIBXML2_REQ, 
 
13
  PKG_CHECK_MODULES(XML, libxml-2.0 >= $LIBXML2_REQ,
14
14
                    HAVE_LIBXML2=yes, [
15
15
                      AC_MSG_RESULT(no)
16
16
                      HAVE_LIBXML2=no
21
21
    AC_MSG_ERROR([Need libxml2 for glib2 builds -- you should be able to do without it -- this needs fixing])
22
22
  fi
23
23
  dnl this is for the .pc file
24
 
  LIBXML_PKG=', libxml-2.0' 
 
24
  LIBXML_PKG=', libxml-2.0'
25
25
  AC_SUBST(LIBXML_PKG)
26
26
  AC_SUBST(XML_LIBS)
27
27
  AC_SUBST(XML_CFLAGS)
35
35
  AC_TRY_LINK([
36
36
#include <libxml/tree.h>
37
37
#include <stdio.h>
38
 
],[ 
 
38
],[
39
39
/* function body */
40
40
],
41
41
    AC_MSG_NOTICE([Test xml2 program linked]),