grim/guifications2

Make configure die if libxml2-dev or equivalent isn't installed.
org.guifications.gf2
2007-06-05, John Bailey
63c08e69410d
Parents 0f68a71a854a
Children c274052e808b
Make configure die if libxml2-dev or equivalent isn't installed.
This probably is wrong since it looks like we're picking libxml2
up from Pidgin, so if it is wrong, feel free to disapprove this rev.
  • +11 -0
    configure.ac
  • --- a/configure.ac Sun May 13 01:53:07 2007 -0400
    +++ b/configure.ac Tue Jun 05 17:01:05 2007 -0400
    @@ -123,6 +123,17 @@
    AC_SUBST(PANGOFT2_LIBS)
    #
    +# check for libxml2 (ripped from configure.ac for Pidgin)
    +# I left out AC_SUBST stuff because it looks like we don't need it.
    +#
    +PKG_CHECK_MODULES(LIBXML, [libxml-2.0 >= 2.6.0], , [
    + AC_MSG_RESULT(no)
    + AC_MSG_ERROR([
    +*** You must have libxml2 >= 2.6.0 development headers installed in
    +*** order to build guifications.
    +])])
    +
    +#
    # Check if plugins are enabled
    #
    want_plugins=yes