Making rsync compile under Mac OS X 10.3.9 with extended attributes

Matt McCutchen matt at mattmccutchen.net
Fri Feb 15 16:29:46 GMT 2008


On Fri, 2008-02-15 at 11:09 +0100, Vitorio Machado wrote:
> 1) We need to put the "-framework Carbon" on the linking part of the 
> makefile. I'm trying to put it in the darwin4-7 part of the 
> configure.in (lines 937 and above) like this:
>      darwin[[4-7]].*)
> 	AC_MSG_RESULT(Using OS X PreTiger attrs)
> 	AC_DEFINE(HAVE_OSX_XATTRS, 1, [True if you have Mac OS X xattrs])
> 	AC_DEFINE(HAVE_PRE_TIGER_OSX_ATTRS, 1, [True if you have Mac OS X 
> PreTiger attrs])
> 	AC_DEFINE(SUPPORT_XATTRS, 1)
> 	SYSXATTRS_CFLAGS="-framework Carbon"
> 	LDFLAGS="$LDFLAGS -framework Carbon"
> 	;;
> Is it the right way?

Yes, that should work fine.

Matt



More information about the rsync mailing list