Olaf Seibert
7d3bc2cfba
Add carefully crafted Makefile for recursing into subdirectories...
...
that is compatile with both real Make and GNU Make.
2016-02-12 20:56:42 +01:00
Olaf Seibert
4075a69ccb
Try harder to get printf formats right for some typedef'ed types.
...
For older versions of clang that's still not enough and they keep complaining,
but for newer ones it's ok.
2016-01-26 20:44:13 +01:00
Olaf Seibert
162cf21aca
Changed the check for superuser from error to warning.
...
The check is done so early that we can't reasonably know yet if we really
need to be root. For VDE, root is unneeded, but for the other interface
methods it is.
2016-01-25 22:43:45 +01:00
Olaf Seibert
223c7b4698
Start using CPPFLAGS and use it for the -I options.
...
This avoids sloppy messages from the configure script about the preprocessor.
2016-01-25 01:37:23 +01:00
Olaf Seibert
105ec2c0a8
Use configure for mlockall(2).
...
The set of OSes for was inconsistent and wrong (NetBSD has it too).
2016-01-25 01:14:49 +01:00
Olaf Seibert
3aafe75ece
Change --disable-vde into --without-vde and --with-vde=PATH
...
so that the option can also be used to specify the location of the header
file and library.
2016-01-24 16:30:58 +01:00
Olaf Seibert
8cfece4ef4
Offer configure option to disable VDE.
2016-01-24 11:45:32 +01:00
Olaf Seibert
74e63d2b60
Eliminate recursive Make invocation
...
by moving the model-specific CONFFLAGS into the model-specific
makefile fragments.
2016-01-23 23:19:19 +01:00
Olaf Seibert
9e06958f2e
Express CENV_SYSF_TERMIOS as HAVE_TERMIOS_H && HAVE_TCSETATTR.
2016-01-22 18:30:43 +01:00
Olaf Seibert
03be37db7c
Add initial VDE (libvde2) support.
...
I have compile-tested this on a virtual FreeBSD 10.2 but not run it.
2016-01-21 23:50:27 +01:00
Olaf Seibert
d0f53b8cc9
Replace CENV_SYSF_SIGSET with HAVE_SIGACTION
2016-01-21 21:19:46 +01:00
Olaf Seibert
e3e86227de
Replace CENV_SYSF_BSDTIMEVAL with HAVE_SETITIMER and HAVE_GETTIMEOFDAY
2016-01-21 19:52:40 +01:00
Olaf Seibert
2b48b63e74
Eliminate CENV_SYS_STRERROR, use configure checks instead
2016-01-21 00:02:22 +01:00
Olaf Seibert
8d683650f7
Let configure check for Large File Support
2016-01-20 23:10:42 +01:00
Olaf Seibert
2ac5184ff2
Add a configure script and remove a tangle of frail #if conditions
...
This only uses autoconf, not automake or libtool or intltool or whatever.
This also allows easy building of different emulators in different build directories.
I have tested TOPS-20 with pcap|tap+bridge, ITS with pcap|tun|tap+bridge, both on NetBSD and Linux
and hopefully everything still works after the fine-tuning.
2016-01-19 23:41:49 +01:00