Simplify the --with-rsync-path option implementation. Can directly pass
authorDavid Dykstra <dwd@samba.org>
Wed, 13 Jun 2001 16:47:22 +0000 (16:47 +0000)
committerDavid Dykstra <dwd@samba.org>
Wed, 13 Jun 2001 16:47:22 +0000 (16:47 +0000)
the double-quotes to AC_DEFINE_UNQUOTED instead of having a separate step.

configure.in

index fbf2138..2299915 100644 (file)
@@ -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