summaryrefslogtreecommitdiffstats
path: root/VisualNaCro/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'VisualNaCro/configure.ac')
-rw-r--r--VisualNaCro/configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/VisualNaCro/configure.ac b/VisualNaCro/configure.ac
index 582a291..d1f4bb6 100644
--- a/VisualNaCro/configure.ac
+++ b/VisualNaCro/configure.ac
@@ -8,8 +8,12 @@ AC_CANONICAL_HOST
AM_INIT_AUTOMAKE
dnl Checks for programs.
-AC_CHECK_PROGS(SWIG,swig)
-AC_CHECK_PROGS(LIBVNCSERVERCONFIG,libvncserver-config)
+AC_CHECK_PROG(SWIG,swig)
+AC_CHECK_PROG(LIBVNCSERVERCONFIG,libvncserver-config,yes,no)
+if test "$LIBVNCSERVERCONFIG" != "yes"; then
+ AC_MSG_ERROR([Need to have libvncserver-config in PATH])
+ exit 1
+fi
AC_PROG_CC
AC_PROG_RANLIB
AC_EXEEXT
OpenPOWER on IntegriCloud