Timo Sirainen
0c5307f345
Added forkpty() and cfmakeraw() fallback implementations if they don't exist.
...
Signed-off-by: Timo Sirainen <tss@iki.fi >
2012-08-11 17:14:44 -04:00
Keith Winstein
57c4904ed8
Switch to OpenSSL base64 routines
2012-07-20 16:00:21 -04:00
Keegan McAllister
dd941df19d
Remove unused sigfd and skalibs
...
Closes #265 .
2012-05-16 00:00:27 -04:00
Keegan McAllister
bb651581a7
Remove unused poll(2) emulation
...
Closes #235 .
2012-05-16 00:00:27 -04:00
Keith Winstein
d5051569b8
COND_THIRD_POLL _overrides_ broken system poll; does not add to it.
...
Fixes OS X 10.6 problem from 7fe9f29 .
2012-04-25 02:22:38 -04:00
Anders Kaseorg
7fe9f29448
Set poll_LIBS = libpoll.a in Makefile.am so dependency tracking works
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-04-21 02:19:36 -04:00
Anders Kaseorg
735dcd6ad5
Clarify COND_THIRD_LIBSTDDJB code
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2012-04-21 02:19:13 -04:00
Keegan McAllister
8bcc001b52
Remove Boost entirely
2012-04-15 13:49:15 -04:00
Keegan McAllister
d2434d1a79
Check compiler support for -fno-default-inline and -pipe
...
clang was spewing warnings about the unrecognized -fno-default-inline. (Oddly,
it warns only with -c, not when compiling directly to an executable.) For
completeness we also check -pipe, even though clang is OK with that one.
It should be fine to omit either flag. gcc -fno-default-inline drops the
implicit 'inline' annotation on functions defined inside a class scope, but
'inline' is only a hint anyway. -fno-default-inline does not change linkage.
-pipe is merely a compile speed optimization.
2012-04-13 12:27:27 -04:00
Keegan McAllister
349e2d20c8
Use the hardening flags
...
Closes #79 .
2012-04-13 12:25:09 -04:00
Anders Kaseorg
9cec566cd1
Find ncurses from pkg-config if possible, and prefer separate libtinfo
...
Recent ncurses can be configured --with-termlib, which splits out the
terminfo-level functions from libncurses into a separate libtinfo.
This allows us to avoid an unnecessary dependency on libncurses. (We
already avoided this on distributions that link with -Wl,--as-needed.)
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
Closes #128 github pull request.
2012-04-11 02:47:55 -04:00
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
0d6875b8be
Don't pass -lutil when linking mosh-client
...
On Android we lack libutil, and we configure with --disable-server.
2012-03-26 20:08:56 -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
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
b03d53d421
Make libutempter optional
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
Keith Winstein
feb64eec52
Make utmp entries using utempter
2012-02-13 05:43:07 -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
38c9e99882
Separate modules by subdirectory
2012-02-06 18:26:45 -05:00