Changeset: f336a165a7cb for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=f336a165a7cb Modified Files: configure.ag Branch: Mar2011 Log Message:
configure.ag: add back code for msg_control* The old macro AM_MONETDB_MSG_CONTROL used to do what's necessary to get the msg_control* fields in in struct msg. Since this was dropped in the removal of MonetDB.m4, the code no longer compiles on Solaris. (http://monetdb.cwi.nl/testing/projects/monetdb/CurrentNew/logs/39188:13c9a00d05da/GNU-Solaris-sparc/make) Hopefully this gets Solaris going again. (transplanted from 101914d5bcdb89caeb5d5a20b66c783c2c584263) diffs (23 lines): diff --git a/configure.ag b/configure.ag --- a/configure.ag +++ b/configure.ag @@ -375,6 +375,19 @@ dnl check for compiler (also set GCC (yes/no)). AC_PROG_CC() +dnl What do we need to get the msg_control and msg_controllen fields on +dnl struct msg (filedescriptor passing)? In the future this could be a +dnl check to see if we can find it, such that we can disable it compile +dnl time if absent. It looks however, as if it's available everywhere +dnl we try where UNIX domain sockets also exist. So we go by the +dnl following simple implementation for now. +case $host in + *-solaris*) + dnl Solaris needs this to get msg_control and msg_controllen + AC_DEFINE(_XOPEN_SOURCE, 500, [for msg_control and msg_controllen]) + ;; +esac + gcc_ver="" icc_ver="" case $GCC-$CC in _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
