summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorArtyom V. Poptsov <poptsov.artyom@gmail.com>2017-05-09 08:38:04 +0300
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2017-05-09 08:38:04 +0300
commit5fc65b879c967c6ed5079d23091e31ec7dda3cff (patch)
tree728d0c242d87b3e3ea49fd55923cf7d844a828c4 /configure.ac
parenttests/dist.scm ("with-ssh") <server>: Wait before closing a channel (diff)
downloadguile-ssh-5fc65b879c967c6ed5079d23091e31ec7dda3cff.tar.gz
configure.ac: Bugfix: Symlink/copy sssh/ssshd to build directory
'ssssh-ssshd.scm' test suite would always fail because it could not find the generated scripts. This patch fixes the issue by making a symlink/copy of the sssh/ssshd programs to the build directory. * configure.ac: Bugfix: Symlink/copy sssh/ssshd to build directory.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a350e91..611738c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -91,6 +91,11 @@ AC_SUBST(LIBGUILE_SSH_INTERFACE)
GUILE_EFFECTIVE_VERSION=`$GUILE -c '(display (effective-version))'`
AC_SUBST(GUILE_EFFECTIVE_VERSION)
+dnl We need example programs for 'ssssh-ssshd.scm' test suite so they must be
+dnl present in the build directory.
+AC_CONFIG_LINKS([examples/ssshd.scm:examples/ssshd.scm])
+AC_CONFIG_LINKS([examples/sssh.scm:examples/sssh.scm])
+
AC_CONFIG_FILES([Makefile libguile-ssh/Makefile examples/Makefile build-aux/Makefile])
AC_CONFIG_FILES([m4/Makefile doc/Makefile tests/Makefile am/Makefile])
AC_CONFIG_FILES([modules/Makefile modules/ssh/Makefile modules/ssh/dist/Makefile])