From 06f652577d54e4a2b7d2724a1f9201e220d78159 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 23 Aug 2006 21:50:29 +0000 Subject: Add a test infrastructure and a very basic test for the client functionality so far. --- configure.ac | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 45fa976..ae7ac4b 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,13 @@ AC_ARG_WITH([remctl], AC_SUBST([REMCTL_CPPFLAGS]) AC_SUBST([REMCTL_LDFLAGS]) +AC_ARG_VAR([REMCTLD], [Path to the remctld binary]) +AC_PATH_PROG([REMCTLD], [remctld], , [$PATH:/usr/sbin:/usr/local/sbin]) +if test x"$REMCTLD" != x ; then + AC_DEFINE_UNQUOTED([PATH_REMCTLD], ["$REMCTLD"], + [Define to the full path to remctld to run remctl tests.]) +fi + AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL @@ -53,4 +60,6 @@ AC_SEARCH_LIBS([res_search], [resolv], , [AC_SEARCH_LIBS([__res_search], [resolv])]) AC_CONFIG_HEADER([config.h]) -AC_OUTPUT([Makefile]) +AC_CONFIG_FILES([Makefile]) +AC_CONFIG_FILES([tests/client/basic-t], [chmod +x tests/client/basic-t]) +AC_OUTPUT -- cgit v1.2.3