summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--acinclude.m46
-rw-r--r--configure.ac2
2 files changed, 5 insertions, 3 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 0d170b2f..34bf3596 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -81,13 +81,15 @@ AC_DEFUN([AC_PATH_DBUS], [
])
AC_DEFUN([AC_PATH_GLIB], [
- PKG_CHECK_MODULES(GLIB, glib-2.0, glib_found=yes, glib_found=no)
+ PKG_CHECK_MODULES(GLIB, glib-2.0, dummy=yes,
+ AC_MSG_ERROR(GLib library is required))
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
])
AC_DEFUN([AC_PATH_GMODULE], [
- PKG_CHECK_MODULES(GMODULE, gmodule-2.0, gmodule_found=yes, gmodule_found=no)
+ PKG_CHECK_MODULES(GMODULE, gmodule-2.0, dummy=yes,
+ AC_MSG_ERROR(GModule library is required))
AC_CHECK_LIB(dl, dlopen, dummy=yes, dummy=no)
AC_SUBST(GMODULE_CFLAGS)
AC_SUBST(GMODULE_LIBS)
diff --git a/configure.ac b/configure.ac
index f28f113b..0fba04c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,9 +24,9 @@ AC_PROG_LIBTOOL
AC_FUNC_PPOLL
+AC_PATH_DBUS
AC_PATH_GLIB
AC_PATH_GMODULE
-AC_PATH_DBUS
AC_PATH_ALSA
AC_PATH_GSTREAMER
AC_PATH_USB