X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=configure.ac;h=a17e068743bcb5f85e5c162bb5a62b0b65116d25;hb=ecdb71cd588848c2da147464949feb137111366f;hp=7526898a30949c8da795f4d4deb1eabe62a7704d;hpb=74d33e1e993cdcf569ca8a2032ed479d16952949;p=ocaml-augeas.git diff --git a/configure.ac b/configure.ac index 7526898..a17e068 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ -# Bitmatch syntax extension. -# Copyright (C) 2008 Red Hat Inc., Richard W.M. Jones +# Augeas +# Copyright (C) 2008-2012 Red Hat Inc., Richard W.M. Jones # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -37,13 +37,11 @@ if test "x$OCAMLFIND" = "x"; then AC_MSG_ERROR([You must have ocaml and findlib installed]) fi +dnl Check for libxml2. +PKG_CHECK_MODULES([LIBXML2], [libxml-2.0]) + dnl Check for Augeas C library. -AC_CHECK_LIB(augeas,aug_init, - [], - AC_MSG_ERROR([You must install the Augeas library])) -AC_CHECK_HEADER([augeas.h], - [], - AC_MSG_ERROR([You must install the Augeas development package])) +PKG_CHECK_MODULES([AUGEAS], [augeas]) dnl Produce output files. AC_CONFIG_HEADERS([config.h])