summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Dykstra <dwd@samba.org>2001-06-13 16:47:22 +0000
committerDavid Dykstra <dwd@samba.org>2001-06-13 16:47:22 +0000
commitc6a7f2f48aa3d317343c54e4f47a9d278ab84f2b (patch)
treecf46062fb9daaba2c59f2b8c196d7268826ec324
parentd4e4cbe105d6e7d9e472eb52e7d33bddc4960d71 (diff)
downloadrsync-c6a7f2f48aa3d317343c54e4f47a9d278ab84f2b.tar.gz
Simplify the --with-rsync-path option implementation. Can directly pass
the double-quotes to AC_DEFINE_UNQUOTED instead of having a separate step.
-rw-r--r--configure.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index fbf21385..22999151 100644
--- a/configure.in
+++ b/configure.in
@@ -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