mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 23:23:07 +00:00
18 lines
465 B
Diff
18 lines
465 B
Diff
diff --git a/configure.ac b/configure.ac
|
|
index e47a3f1..f529e69 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -16,10 +16,8 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|
|
|
AC_C_BIGENDIAN
|
|
|
|
-AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
|
|
-if test "x$PKG_CONFIG" = "xno"; then
|
|
- AC_MSG_ERROR([You need to install pkg-config])
|
|
-fi
|
|
+PKG_PROG_PKG_CONFIG
|
|
+
|
|
GLIB_REQUIRED_VERSION="2.2.3"
|
|
PKG_CHECK_MODULES(BASE_DEPENDENCIES, glib-2.0 >= $GLIB_REQUIRED_VERSION)
|
|
|