Quentin Smith
f2a1271dee
-lpoll must come before -lm (which pulls in the system poll implementation)
2012-03-28 14:32:32 +02:00
Quentin Smith
7a4ef054c3
Allow the user to specify CFLAGS and LIBS for linking with poll, and test for -lpoll if necessary
2012-03-28 14:32:32 +02:00
Keegan McAllister
7ed5174aa7
Move some locale handling into one place
2012-03-26 20:08:55 -04:00
Keegan McAllister
139bcbf9ae
configure.ac: Add --enable-{client,server,examples}
...
These default respectively to yes, yes, no.
2012-03-17 05:36:42 -04:00
Keith Winstein
4bde28bc3f
Add benchmark example (stress test for prediction overlay)
2012-03-13 18:48:30 -04:00
Keith Winstein
df5d163f9c
Fix asserts with side-effects (per Keegan McAllister)
2012-03-08 10:50:19 -05:00
Anders Kaseorg
edada5e1ea
Don’t use $(builddir)
...
$(builddir) is always ., except apparently on automake 1.9 which
doesn’t define it.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-03-07 03:10:19 -05:00
Anders Kaseorg
c56f8229e5
Build with bundled libstddjb selfpipe by default
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-03-07 03:10:19 -05:00
Quentin Smith
9a3ab83783
Use libstddjb's selfpipe instead of signalfd
...
Use selfpipe in our client, server, and examples.
2012-03-07 03:05:37 -05:00
Quentin Smith
e8d14d35a6
Add boost and protobuf in the places where they are needed
...
[seph@directionless.org , andersk@mit.edu: add in even more places]
2012-03-07 03:05:36 -05:00
Quentin Smith
582bf347c9
Add alternate timestamp implementations
...
Add mach_absolute_time and gettimeofday timestamp implementations, and
fix clock_gettime check so that it can actually succeed
2012-03-07 03:05:36 -05:00
Quentin Smith
1b0686a7ea
Stop overriding LIBS so that configure can properly set it
2012-03-07 03:05:35 -05:00
Anders Kaseorg
aad760e7d6
Make warning CXXFLAGS configurable
...
This turns off -Werror by default except in the Debian package.
-Werror is inherently unportable and breaks things on OS X. While it
can cause problems in Debian too, this is at least a little better.
It also turns off -pedantic in src/protobufs, because apparently
protoc output doesn’t compile with -pedantic on all platforms.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-03-07 03:05:35 -05:00
Keith Winstein
58b584a2b3
Move from protobuf-lite to protobuf to accommodate Ubuntu lucid
...
Add changelog entry
2012-02-20 00:40:08 -05:00
Anders Kaseorg
689eedc271
Compile without --std=c++0x
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-02-17 21:29:51 -05:00
Anders Kaseorg
fab69fd98c
Use protobuf_lite_CFLAGS and protobuf_lite_LIBS from configure
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-02-07 16:10:30 -05:00
Keith Winstein
a164a84496
Make examples compileable
2012-02-06 19:28:22 -05:00