Commit bd02d788 authored by Peter Kjellerstedt's avatar Peter Kjellerstedt Committed by Tim-Philipp Müller

m4/: Improve/fix output from configure if either glib-2.0 or libxml2 are not installed (#498222).

Original commit message from CVS:
Patch by: Peter Kjellerstedt <pkj axis com>
* m4/gst-glib2.m4:
* m4/gst-libxml2.m4:
Improve/fix output from configure if either glib-2.0 or
libxml2 are not installed (#498222).
parent 49c2fc5c
2008-01-11 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Peter Kjellerstedt <pkj axis com>
* m4/gst-glib2.m4:
* m4/gst-libxml2.m4:
Improve/fix output from configure if either glib-2.0 or
libxml2 are not installed (#498222).
2008-01-09 Stefan Kost <ensonic@users.sf.net>
* coverage/lcov.mak:
......
......@@ -13,9 +13,8 @@ AC_DEFUN([AG_GST_GLIB_CHECK],
AC_SUBST(GLIB_REQ)
dnl Check for glib with everything
PKG_CHECK_MODULES(GLIB,
glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0,
HAVE_GLIB=yes,HAVE_GLIB=no)
AG_GST_PKG_CHECK_MODULES(GLIB,
glib-2.0 >= $GLIB_REQ gobject-2.0 gthread-2.0 gmodule-no-export-2.0)
if test "x$HAVE_GLIB" = "xno"; then
AC_MSG_ERROR([This package requires GLib >= $GLIB_REQ to compile.])
......
......@@ -11,7 +11,10 @@ AC_DEFUN([AG_GST_LIBXML2_CHECK],
dnl check for libxml2
PKG_CHECK_MODULES(XML, libxml-2.0 >= $LIBXML2_REQ,
HAVE_LIBXML2=yes, HAVE_LIBXML2=no)
HAVE_LIBXML2=yes, [
AC_MSG_RESULT(no)
HAVE_LIBXML2=no
])
if test "x$HAVE_LIBXML2" = "xyes"; then
AC_DEFINE(HAVE_LIBXML2, 1, [Define if libxml2 is available])
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment