Commit c6a7f2f4 authored by David Dykstra's avatar David Dykstra

Simplify the --with-rsync-path option implementation. Can directly pass

the double-quotes to AC_DEFINE_UNQUOTED instead of having a separate step.
parent d4e4cbe1
......@@ -42,8 +42,7 @@ 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, [ ])
AC_DEFINE_UNQUOTED(RSYNC_PATH, "$RSYNC_PATH", [ ])
dnl Checks for programs.
AC_PROG_CC
......
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