Michael Sterrett -Mr. Bones.-
2003-Jan-14 02:08 UTC
configure issue (ac_cv_lib_inet_connect) on DYNIX/ptx
Greetings - In trying to get rsync-2.5.6pre1 working on DYNIX/ptx, I found I needed to pass ac_cv_lib_inet_connect=no to configure in order for it actually create a properly configured config.h file. I think this is because configure looks for connect in libinet, (and finds one there somehow). But connect() is resolved by libsocket (but configure doesn't find it when it looks there). I've never taken the time to delve into the guts of autoconf, so I'm not sure if this is a general autoconf problem or a problem that is specific to rsync. At any rate, hopefully, this will be useful to someone. I can send a config.log file to anyone who's interested. After passing ac_cv_lib_inet_connect=no to configure, all tests either PASS or SKIP so it looks good. I also get this warning, which is trivial, but it would be nice to clean it up: "cleanup.c", line 36: portability warning: trigraph sequence replaced This is from the (????) in cleanup.c. To get rid of the warning, just remove the (????) from line 36. Michael Sterrett -Mr. Bones.- michael.sterrett@coat.com
On Mon, Jan 13, 2003 at 09:03:23PM -0500, Michael Sterrett -Mr. Bones.- wrote:> Greetings - > > In trying to get rsync-2.5.6pre1 working on DYNIX/ptx, I found I > needed to pass ac_cv_lib_inet_connect=no to configure in order for > it actually create a properly configured config.h file. > > I think this is because configure looks for connect in libinet, > (and finds one there somehow). But connect() is resolved by libsocket > (but configure doesn't find it when it looks there). I've never taken > the time to delve into the guts of autoconf, so I'm not sure if this > is a general autoconf problem or a problem that is specific to rsync. > > At any rate, hopefully, this will be useful to someone. I can send > a config.log file to anyone who's interested. > > After passing ac_cv_lib_inet_connect=no to configure, all tests either > PASS or SKIP so it looks good.Ok, we'll assume that you'll continue to do it that way unless you post a patch to configure.in. Really there should be a modification to autoconf, probably an AC_FUNC_CONNECT macro, but I'm not sure anybody wants to do the work. I do see a couple mentions of DYNIX in the autoconf 2.53 macros.> I also get this warning, which is trivial, but it would be nice to > clean it up: > > "cleanup.c", line 36: portability warning: trigraph sequence replaced > > This is from the (????) in cleanup.c. To get rid of the warning, > just remove the (????) from line 36.I don't want to remove it completely because apparently it means something to the person who put it in. Please suggest another form that conveys the same meaning and doesn't cause a warning. - Dave
Michael Sterrett -Mr. Bones.- [mailto:msterret@coat.com] wrote:> I also get this warning, which is trivial, but it would be nice to > clean it up: > > "cleanup.c", line 36: portability warning: trigraph sequencereplaced> > This is from the (????) in cleanup.c. To get rid of the warning, > just remove the (????) from line 36.This is clearly within a valid C comment. Your tool is dull and needs to be sharpened. PG -- Paul Green, Senior Technical Consultant, Stratus Technologies. Day: +1 978-461-7557; FAX: +1 978-461-3610 Speaking from Stratus not for Stratus