diff options
Diffstat (limited to 'autoconf/ax_libxml2.m4')
-rw-r--r-- | autoconf/ax_libxml2.m4 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/autoconf/ax_libxml2.m4 b/autoconf/ax_libxml2.m4 deleted file mode 100644 index f9e9d4e..0000000 --- a/autoconf/ax_libxml2.m4 +++ /dev/null @@ -1,28 +0,0 @@ -# Author: Remko Tronçon - -AC_DEFUN([AX_LIBXML], -[ - AC_ARG_WITH( - [libxml], - AC_HELP_STRING([--with-libxml=@<:@ARG@:>@],[Path to LibXML installation]), - [ - WITH_LIBXML="$withval" - if test "$withval" != "no" -a "$withval" != "yes"; then - LIBXML_CPPFLAGS="-I$withval/include/libxml2" - LIBXML_LDFLAGS="-L$withval/lib" - CPPFLAGS="$CPPFLAGS $LIBXML_CPPFLAGS" - LDFLAGS="$LDFLAGS $LIBXML_LDFLAGS" - fi - ], - [WITH_LIBXML="yes"]) - - if test "$WITH_LIBXML" != "no"; then - AC_CHECK_HEADER(libxml/parser.h, - [ - HAVE_LIBXML=yes - # TODO: Check if this lib exists - LIBXML_LIBS="-lxml2" - ], - []) - fi -]) |