diff options
author | dscho <dscho> | 2007-01-25 10:59:23 +0000 |
---|---|---|
committer | dscho <dscho> | 2007-01-25 10:59:23 +0000 |
commit | 918aee6f42d04da498438f3eec12b6d8f9ffd168 (patch) | |
tree | bb25aa01e6782baebfe90b5244d6ea39ac0d3ed7 /VisualNaCro | |
parent | 7717d245af144d36662e6884592277570dea17b5 (diff) | |
download | libtdevnc-918aee6f42d04da498438f3eec12b6d8f9ffd168.tar.gz libtdevnc-918aee6f42d04da498438f3eec12b6d8f9ffd168.zip |
Complain if libvncserver-config was not found in PATH
Diffstat (limited to 'VisualNaCro')
-rw-r--r-- | VisualNaCro/configure.ac | 8 |
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 |