Nicholas Marriott
895efe7b05
Solaris needs a knob twiddled to get POSIX getpwduid_r.
2009-09-04 14:48:25 +00:00
Tiago Cunha
c274551db6
- Make it compile on operating systems other than BSD due to OpenBSD patchset
...
308.
- While there, remove some duplicate code from the compat header file.
2009-09-03 20:54:39 +00:00
Nicholas Marriott
26682256b3
OS X CMSG_FIRSTHDR is broken.
2009-09-02 12:30:56 +00:00
Nicholas Marriott
6b4ed722b1
FreeBSD and NetBSD HAVE got ttydefaults.h. Fixes SF bug 2844744.
...
Also make clang use -iquote in makefiles.
2009-08-26 08:58:39 +00:00
Nicholas Marriott
c18e027ad5
Need this rubbish on Solaris for CMESG*.
2009-08-20 13:35:59 +00:00
Nicholas Marriott
2f517111ef
Solaris has no u_int32_t etc.
2009-08-20 12:49:18 +00:00
Nicholas Marriott
9311e4255e
Didn't mean to commit this.
2009-08-20 12:39:21 +00:00
Nicholas Marriott
61c7bfc128
Also undef CTRL.
2009-08-20 12:38:37 +00:00
Nicholas Marriott
698e003fcd
Solaris has no bzero().
2009-08-20 12:25:17 +00:00
Nicholas Marriott
09cc530299
Solaris and AIX have no ttydefaults.h.
2009-08-20 05:34:58 +00:00
Nicholas Marriott
7c9f827bfe
In yet another triumph of stupidity over common sense, the glibc
...
sys/ttydefaults.h is just a copy of the file from *BSD, taking no account of
the fact that their OWN termios.h uses entirely different indexes into the
array.
I know ttydefaults.h is not meant to be portable, but you'd think it would be
obvious to anyone that no file is better than a broken one...
2009-08-19 15:57:54 +00:00
Tiago Cunha
622e018570
vis(3) compat files were removed prematurely from {DragonFly,Free,Net}BSD. Add
...
them back, per SourceForge bug #2838408 .
2009-08-16 19:48:17 +00:00
Nicholas Marriott
8f9858ba2f
Solaris has no strsep(3).
2009-08-16 16:15:53 +00:00
Tiago Cunha
b402cef338
Adjust imsg changes to the portable version due to OpenBSD patchset 243.
2009-08-14 21:13:48 +00:00
Tiago Cunha
bd2fe4ce9b
Make it build on the remaining operating systems, due to the changes
...
introduced on OpenBSD patchset 211.
2009-08-09 15:53:02 +00:00
Tiago Cunha
e6d5633671
DragonFlyBSD, FreeBSD, and NetBSD do not need vis.c.
2009-08-09 15:48:03 +00:00
Nicholas Marriott
3e46bcec93
On SUSE Linux compatibility is something that only happens to other people, so
...
on Linux use -lncurses instead of -lcurses.
Also use -lncurses on NetBSD because they are only now realising that
supporting the 20-year-old terminfo API in their libcurses might be nice, and
so far none of the releases do.
2009-07-31 10:44:03 +00:00
Nicholas Marriott
5d13704e04
Some Linuxes/gcc versions hide LLONG_MAX/MIN unless the compiler is told to use
...
C99, so use -std=c99 on Linux.
2009-07-31 10:30:40 +00:00
Nicholas Marriott
edd3142d1f
Don't need ncurses, use curses.
2009-07-14 06:47:12 +00:00
Nicholas Marriott
1f1623e04d
Solaris has no strcasestr.
2009-07-02 07:31:02 +00:00
Nicholas Marriott
851a35eb5e
Change >| to rm/> as apparently Solaris /bin/sh doesn't like it.
2009-07-01 22:28:56 +00:00
Nicholas Marriott
32312e0252
vis compat stuff.
2009-06-25 20:27:32 +00:00
Nicholas Marriott
802e129fd7
Start of portability update: bitstring.h.
2009-06-25 17:02:59 +00:00
Nicholas Marriott
2f5c3d881d
#undef everything in config.h. This is the only bit of the scripting work I am
...
using now :-).
2009-05-18 19:18:41 +00:00
Nicholas Marriott
0f5168f971
Use >|.
2009-05-16 22:14:47 +00:00
Nicholas Marriott
c111310600
Use a better variable name and allow the uname to be overridden.
2009-05-16 22:06:01 +00:00
Nicholas Marriott
8913d853e4
+sfw for solaris too.
2009-05-14 19:49:26 +00:00
Nicholas Marriott
5adb342147
SunOS tweaks.
2009-05-14 07:49:23 +00:00
Nicholas Marriott
1a86934e09
NetBSD has no strtonum so needs compat/.
2009-05-14 00:40:58 +00:00
Nicholas Marriott
626fe978e1
NetBSD tree.h has no RB_PREV.
2009-05-14 00:35:53 +00:00
Nicholas Marriott
99dee98a2b
Use a variable for uname.
2009-05-14 00:34:25 +00:00
Nicholas Marriott
1b70993207
Move -lutil.
2009-05-14 00:17:37 +00:00
Nicholas Marriott
a8fe667267
Use the right osdep.
2009-05-14 00:12:42 +00:00
Nicholas Marriott
41fb824cbe
Sort.
2009-05-13 23:45:26 +00:00
Nicholas Marriott
f1bd3807ae
Everything supported has working vsnprintf.
2009-05-13 23:29:45 +00:00
Nicholas Marriott
c8cf438d44
Rename all feature flags to HAVE_* and move out of makefiles into a configure
...
script which must be run before building.
Still two makefiles but they are a hell of a lot simpler.
HAVE_* also will make it easier to move to $buildsystem if necessary later.
2009-05-13 23:27:00 +00:00