From: Sam S. <sd...@gn...> - 2011-07-11 14:20:25
|
> * Yaroslav Kavenchuk <xnirapuhx@tznvy.pbz> [2011-07-10 00:52:27 +0300]: > >> grep HAVE_IPV ../src/win32.d config.h > > $ grep HAVE_IPV ../src/win32.d config.h > ../src/win32.d:#define HAVE_IPV4 > ../src/win32.d:#define HAVE_IPV6 > config.h:#define HAVE_IPV4 1 > config.h:#define HAVE_IPV6 1 thanks. how about all the other constants? specifically: grep '#undef' src/config.h.in | sed 's/#undef *//'|sort > c egrep '^ *#define' src/win32.d | sed -e 's/^ *#define *\([^ ]*\).*/\1/' | sort > w diff -u c w | grep '^ ' HAVE_GETHOSTBYNAME HAVE_GETHOSTNAME HAVE_IPV4 HAVE_IPV6 HAVE_LC_MESSAGES HAVE_MUNMAP HAVE_SHUTDOWN HAVE_STRERROR HAVE_WORKING_MPROTECT SETSOCKOPT_ARG_T SETSOCKOPT_CONST SETSOCKOPT_OPTLEN_T SIZEOF_OFF_T socklen_t for c in `diff -u c w | grep '^ '`; do grep $c src/win32.d build/config.h; done -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://dhimmi.com http://jihadwatch.org http://ffii.org http://camera.org http://www.PetitionOnline.com/tap12009/ http://pmw.org.il Hard work has a future payoff. Laziness pays off NOW. |