All pastes #3183210 Raw Edit

Someone

public unlisted text v1 · immutable
#3183210 ·published 2015-10-06 22:55 UTC
rendered paste body
diff --git a/src/configure.in b/src/configure.in
index 824bea6..f0a4fbb 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -132,6 +132,15 @@ AC_SUBST([EMC2VERSION])
 AC_PATH_PROG(GREP, grep)
 AC_PATH_PROG(EGREP, egrep)
 
+#
+# check for pkg-config
+#
+
+AC_PATH_PROG([PKG_CONFIG], [pkg-config])
+if test -z "$PKG_CONFIG"; then
+  AC_MSG_ERROR([pkg-config is required to build LinuxCNC])
+fi
+
 ##############################################################################
 # Section 2                                                                  #
 # RealTime checking (either RTAI, or RT-Linux)                               #