Re: unoptimized autoconf generated code

2010-03-28 Thread Ralf Wildenhues
Hello Eric, * Eric Blake wrote on Tue, Mar 02, 2010 at 01:32:24AM CET: From 22d46ebe6ddaeb128e2b4119add59dccecc28526 Mon Sep 17 00:00:00 2001 From: Eric Blake ebl...@redhat.com Date: Mon, 1 Mar 2010 17:17:40 -0700 Subject: [PATCH 1/3] Optimize AS_BOX. * lib/m4sugar/m4sh.m4 (AS_BOX): Use

Re: Detecting IP_TOS (and IPPROTO_IP vs. SOL_IP)

2010-03-28 Thread Philip Prindeville
On 3/26/10 12:51 PM, Ralf Wildenhues wrote: Hello Philip, * Philip A. Prindeville wrote on Mon, Mar 22, 2010 at 08:42:51AM CET: Calling the sequence: setsockopt(fd, , IP_TOS,foo, sizeof(foo)); can be tricky. Linux uses SOL_IP for , whereas Solaris and BSD use IPPROTO_IP for this

Re: C++, assert and NDEBUG

2010-03-28 Thread Braden McDaniel
On Sat, 2010-03-27 at 15:03 +, Steve Searle wrote: I have started using autotools for the C++ applications I create (very much as an amateur). I typically use assert statements during development, and would disable these by using -DNDEBUG when the release version is built. How should I

Re: C++, assert and NDEBUG

2010-03-28 Thread William Pursell
Steve Searle wrote: I have started using autotools for the C++ applications I create (very much as an amateur). I typically use assert statements during development, and would disable these by using -DNDEBUG when the release version is built. How should I configure things so that when a user