diff options
author | Russ Allbery <rra@stanford.edu> | 2006-08-23 21:50:29 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2006-08-23 21:50:29 +0000 |
commit | 06f652577d54e4a2b7d2724a1f9201e220d78159 (patch) | |
tree | 3861fb3c601ff240d3819112c37a77e2225b71d2 /configure.ac | |
parent | 4718fc31896a0cc73ce93647b02bca4fb37754bd (diff) |
Add a test infrastructure and a very basic test for the client
functionality so far.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
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 |