summaryrefslogtreecommitdiff
path: root/gphoto-m4
diff options
context:
space:
mode:
Diffstat (limited to 'gphoto-m4')
-rw-r--r--gphoto-m4/gp-check-library.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/gphoto-m4/gp-check-library.m4 b/gphoto-m4/gp-check-library.m4
index 2737d8d20..ee9ef004b 100644
--- a/gphoto-m4/gp-check-library.m4
+++ b/gphoto-m4/gp-check-library.m4
@@ -95,6 +95,12 @@ else
fi
])dnl
dnl
+dnl
+m4_ifndef([PKG_PROG_PKG_CONFIG], [dnl
+ m4_fatal([PKG_PROG_PKG_CONFIG not found, do you have pkg-config installed with pkg.m4?])
+])
+dnl
+dnl
AC_DEFUN([_GP_CHECK_LIBRARY],[
# ----------------------------------------------------------------------
# [GP_CHECK_LIBRARY]([$1],[$2],[$3],
@@ -105,6 +111,7 @@ m4_ifval([$9],[dnl
])dnl
# ----------------------------------------------------------------------
dnl
+dnl
AC_REQUIRE([GP_CONFIG_MSG])dnl
AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
AC_REQUIRE([_GP_CHECK_LIBRARY_SOEXT])dnl