THREADFLAGS="-pthread"
CXXFLAGS="-D_GNU_SOURCE $CXXFLAGS"
;;
+darwin11* | darwin12*)
+ AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
+ DYNLINKFLAGS="-rdynamic"
+ LDFLAGS="-pthread $LDFLAGS"
+ CXXFLAGS="-pthread $CXXFLAGS -D__APPLE_USE_RFC_3542"
+ ;;
*)
AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
DYNLINKFLAGS="-rdynamic"
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#define __APPLE_USE_RFC_3542 // makes OSX do source selection / destination querying
+
#include "utility.hh"
#include <cstdio>
#include <cstring>