diff options
author | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-06-26 17:51:43 +0000 |
---|---|---|
committer | Suren A. Chilingaryan <csa@dside.dyndns.org> | 2005-06-26 17:51:43 +0000 |
commit | c60519ab50b32dc282b385b3bbb2df319279f655 (patch) | |
tree | 001c2f9653029878da1eee01d19636221a5ad268 /configure.in | |
parent | 3aa2acb1aa6931d9a5cab87fe9bef94086e25d16 (diff) | |
download | librcc-c60519ab50b32dc282b385b3bbb2df319279f655.tar.gz librcc-c60519ab50b32dc282b385b3bbb2df319279f655.tar.bz2 librcc-c60519ab50b32dc282b385b3bbb2df319279f655.tar.xz librcc-c60519ab50b32dc282b385b3bbb2df319279f655.zip |
26.06.2005
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 603d1ef..0679fc4 100644 --- a/configure.in +++ b/configure.in @@ -29,6 +29,17 @@ dnl Checks for programs. dnl Checks for libraries. +XML_LIBS=error +AC_CHECK_LIB(xml2, xmlDocDumpMemory, [ + XML_LIBS=`xml2-config --libs` + XML_INCLUDES=`xml-config --cflags` + ]) +if test "x$XML_LIBS" = xerror; then + AC_MSG_ERROR(*** Unable to locate LibXML2 ***) +fi +AC_SUBST(XML_LIBS) +AC_SUBST(XML_INCLUDES) + dnl Checks for header files. dnl Checks for typedefs, structures, and compiler characteristics. @@ -36,4 +47,4 @@ AC_C_CONST dnl Checks for library functions. -AC_OUTPUT(src/Makefile Makefile librcc.spec) +AC_OUTPUT(src/Makefile example/Makefile librcc.spec) |