Complain if libvncserver-config was not found in PATH

pull/1/head
dscho 18 years ago
parent 7717d245af
commit 918aee6f42

@ -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

Loading…
Cancel
Save