Commit 41bd28fe authored by David Dykstra's avatar David Dykstra

Add --with-rsync-path option.

parent a1a440c2
......@@ -15,4 +15,4 @@
#undef HAVE_SOCKETPAIR
#undef HAVE_SECURE_MKSTEMP
#undef HAVE_C99_VSNPRINTF
#undef RSYNC_PATH
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment