On Mon, Jun 11, 2001 at 10:19:26AM -0500, Dave Dykstra wrote:
> On Sun, Jun 10, 2001 at 03:01:26AM -0500, [EMAIL PROTECTED] wrote:
> > Patch to set RSYNC_NAME in rsync.h. It adds a new option to configure,
> > --with-rsync-name, that takes a string that is used to replace
> > RSYNC_NAME. The default is "rsync".
>
> I kind of hate to pre-process all of rsync.h for just that one variable.
> Isn't there some way to get autoheader to stick it into config.h.in?
> Alternatively it could go into a -D as part of @CFLAGS@ in Makefile.in
> but I'm not sure I care for that much either.
How about we #ifndef RSYNC_NAME in rsync.h and add -DRSYNC_NAME to
@CPPFLAGS@? The one caveat to adding it to @CPPFLAGS@ rather than in
rsync.h is that for your $PATH variable, you'll need to quote it. Not
so if you have RSYNC_NAME in config.h or rsync.h.
--
albert chin ([EMAIL PROTECTED])