diff options
author | David Dykstra <dwd@samba.org> | 2001-06-12 19:33:41 +0000 |
---|---|---|
committer | David Dykstra <dwd@samba.org> | 2001-06-12 19:33:41 +0000 |
commit | 41bd28fee315c7b1d61c04dbe6441afba4d0b789 (patch) | |
tree | dad116d39388682c608746c9788a9a869485f771 | |
parent | a1a440c23e50c1a711bbe404456234895b8db79d (diff) | |
download | rsync-41bd28fee315c7b1d61c04dbe6441afba4d0b789.tar.gz |
Add --with-rsync-path option.
-rw-r--r-- | acconfig.h | 2 | ||||
-rw-r--r-- | configure.in | 7 | ||||
-rw-r--r-- | options.c | 2 |
3 files changed, 9 insertions, 2 deletions
@@ -15,4 +15,4 @@ #undef HAVE_SOCKETPAIR #undef HAVE_SECURE_MKSTEMP #undef HAVE_C99_VSNPRINTF - +#undef RSYNC_PATH diff --git a/configure.in b/configure.in index fca63caf..1adfe9e8 100644 --- a/configure.in +++ b/configure.in @@ -38,6 +38,13 @@ fi AC_ARG_WITH(included-popt, [ --with-included-popt use bundled popt library, not from system]) +AC_ARG_WITH(rsync-path, + [ --with-rsync-path=PATH set rsync path used on server to PATH (default: "rsync")], + [ RSYNC_PATH="$with_rsync_name" ], + [ RSYNC_PATH="rsync" ]) +RSYNC_PATH="\"$RSYNC_PATH\"" +AC_DEFINE_UNQUOTED(RSYNC_PATH, $RSYNC_PATH) + dnl Checks for programs. AC_PROG_CC AC_PROG_INSTALL @@ -81,7 +81,7 @@ char *config_file = RSYNCD_CONF; char *shell_cmd = NULL; char *log_format = NULL; char *password_file = NULL; -char *rsync_path = RSYNC_NAME; +char *rsync_path = RSYNC_PATH; char *backup_dir = NULL; int rsync_port = RSYNC_PORT; |