Message271434
Interesting approach. Why two separate files, for cross-compiling and native compiling? Why not merge them together?
Some of the other Min GW patches add stuff like the following to the configure.ac checks. Would it make more sense to add e.g. ac_cv_struct_addrinfo=yes to the config, and avoid the compile check?
AC_CACHE_VAL(ac_cv_struct_addrinfo,
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <netdb.h>]], [[struct addrinfo a]])],
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
+#ifdef HAVE_WS2TCPIP_H
+# include <ws2tcpip.h>
+#else
+# include <netdb.h>
+#endif]],
+ [[struct addrinfo a]])],
[ac_cv_struct_addrinfo=yes],
[ac_cv_struct_addrinfo=no])) |
|
Date |
User |
Action |
Args |
2016-07-27 06:16:32 | martin.panter | set | recipients:
+ martin.panter, rpetrov, BreamoreBoy |
2016-07-27 06:16:32 | martin.panter | set | messageid: <1469600192.12.0.219133790162.issue17594@psf.upfronthosting.co.za> |
2016-07-27 06:16:32 | martin.panter | link | issue17594 messages |
2016-07-27 06:16:31 | martin.panter | create | |
|