1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-20 12:10:31 -04:00
ports/net/ntpa/files/patch-configure.ac
Steve Wills 3546bd6171 net/ntpa: use newtonsoft-json from ports tree
PR:		217596
Submitted by:	Carsten Larsen <cs@innolan.dk> (maintainer)
2017-07-13 02:58:30 +00:00

26 lines
677 B
Text

--- configure.ac.orig 2016-12-25 16:20:40 UTC
+++ configure.ac
@@ -12,6 +12,12 @@ if test "x$MCS" = "xno"; then
AC_MSG_ERROR([mcs Not found])
fi
+dnl pkg-config
+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
+
AC_ARG_ENABLE(debug,
AC_HELP_STRING([--enable-debug],
[Use 'DEBUG' Configuration [default=NO]]),
@@ -33,6 +39,10 @@ if test -z "$CONFIG_REQUESTED" ; then
enable_release=yes
fi
+dnl package checks
+PKG_CHECK_MODULES([NPLOT], [NPlot])
+PKG_CHECK_MODULES([NEWTONSOFT], [Newtonsoft.Json])
+
AC_CONFIG_FILES([
Ntp.Analyzer.Objects/Makefile
Ntp.Common/Makefile