Commit Graph

70 Commits

Author SHA1 Message Date
Bryce Denney
9a177ba518 - add configure test for ethertap. On systems which have a header file
called <linux/netlink.h> the ethertap module will be defined.  If other
  OSes turn up that also have ethertap, we can change the test.
- in eth_tap.cc, I replaced the calls to GPL code from maconlinux with
  my own stuff.
2002-03-09 01:04:49 +00:00
Bryce Denney
c2e0e409e7 - add --enable-vbe option in anticipation of Jereon Jannsen's VESA BIOS
extensions.
2002-03-08 22:37:06 +00:00
Bryce Denney
bef9401a16 - fix the check for socklen_t. It is never defined unless you include
sys/socket.h, duh.
2002-03-08 05:45:51 +00:00
Bryce Denney
9b03cd05e5 - update 2002-03-08 04:47:59 +00:00
Bryce Denney
41767f5a5f - add configure check for socklen_t, define as int if not already there. 2002-03-08 04:45:00 +00:00
Bryce Denney
556a8fa8f8 - commit patch.check-platform. For full details, pull up the patch itself
and look at the description at the top.  Here's an intro.

  This patch makes significant changes to the configure script.  It adds the
  lines AC_CANONICAL_HOST and AC_CANONICAL_TARGET which detect the OS and
  processor type.  The configure script, knowing the OS and processor type, can
  then make intelligent decisions about which CFLAGS are needed and what is the
  default GUI for that platform.  One of the goals of this patch is to make it
  so that on all supported platforms, "configure;make" will compile cleanly.
  Configure detects the target platform, but it can be overridden by using
  --target=___.  This is important when using one platform to generate
  Makefiles and header files for another platform.  See config.guess script for
  the exact details of platform naming.

  The defaults that are currently implemented in the modified configure script
  include:
    If platform is windows* or winnt*, use win32 gui.
    If platform is cygwin*, use win32 gui and compile with
       "-mno-cygwin -DWIN32".
    If platform is macosx* or darwin*, use carbon gui and compile
       with "-fpascal-strings -fno-common -arch ppc -Wno-four-char-constants
       -Wno-unknown-pragmas -Dmacintosh"
    If platform is macos, use macos gui.
    If platform is beos, use beos gui.
    If platform is amigaos, use amigaos gui.
    Otherwise, use X windows gui.
2002-03-07 16:00:39 +00:00
Bryce Denney
17e5bfc00b - change version number to 1.4.pre1 to make a snapshot 2002-03-05 15:58:59 +00:00
instinc
4be53d635a Added --with-sdl 2002-02-05 19:21:59 +00:00
Bryce Denney
d7ea373b90 - apparantly freebsd works with linux sound code. Now you can type
configure --enable-sb16=freebsd and it works according to
   Jeroen Ruigrok/asmodai <asmodai@wxs.nl>
2002-01-16 19:52:28 +00:00
Volker Ruppert
7a7bd0779f - version number updated 2002-01-08 18:58:47 +00:00
Bryce Denney
e8bcb173e5 - detect when MacOS X cdrom code can be used: when the header file
"IOKit/storage/IOCDMedia.h" is available.
2001-12-07 22:18:40 +00:00
Bryce Denney
706f0629f8 - Bernd's configure seems to want both cdrom.o and cdrom_beos.o, though I'm
not sure it's required.
2001-12-07 18:51:29 +00:00
Bryce Denney
5fcb69ca3a - to allow configure to be run from other directories, I added some
mkdirs for build and build/linux.  This was working, but then broke
  when I made configure substitute the version number in lots of new
  files.
2001-12-05 16:46:00 +00:00
Bryce Denney
2cd62e75c8 - Dave enabled the E9 hack in config.h.in, but it had no effect. The correct
way is to make the configure.in default to turning it on.  The value in
  config.h.in will be replaced by configure anyway.
2001-12-05 16:25:24 +00:00
Bryce Denney
0bbe088d56 - add beos cdrom .o file, when beos and cdrom are selected. I don't
have the actual cdrom_beos.cc file yet from Bernd.
2001-12-05 03:37:08 +00:00
Bryce Denney
50f84e5947 - add configure switch called --enable-idle-hack that turns on
Roland Mainz's idle patch.
2001-11-12 00:43:59 +00:00
Bryce Denney
7c92e20272 - add test for getenv 2001-11-11 05:43:12 +00:00
Bryce Denney
473e3f1c88 - I have tried to make the --prefix argument to configure control
everything about the installation path.  There should be no more
  hardcoded references to /usr/local/bochs.  Instead, there are
  references to @prefix@ which get replaced by the configure script
  with the real prefix.
2001-11-10 03:48:22 +00:00
Bryce Denney
70069a4ad8 - also compile niclist when NE2000 is enabled 2001-10-09 13:41:01 +00:00
Bryce Denney
cd88c86840 - add configure check for the abort function, which I will use as a
choice when a panic occurs.
2001-10-07 00:10:19 +00:00
Bryce Denney
dbb6d5f821 - remove my ill-conceived configure test for wsprintf. It really is
available in cygwin, and I don't know what I was thinking before.
2001-10-05 13:52:25 +00:00
Bryce Denney
80b669501a - when win32-vcpp is enabled, set HAVE_LIBREADLINE=0 and BX_HAVE_WSPRINTF=1. 2001-10-05 07:45:23 +00:00
Bryce Denney
51bef91d8e - force BX_HAVE_WSPRINTF=1 when configuring for a VC++ compile 2001-10-05 07:04:29 +00:00
Bryce Denney
02f53d023a - add configure check for wsprintf 2001-10-05 06:08:24 +00:00
Bryce Denney
5e2e1b5ae0 - add some substitution variables related to make install for win32 2001-10-05 06:06:21 +00:00
Bryce Denney
85b8c00de0 - clean up error message related to readline 2001-10-04 18:07:06 +00:00
Bryce Denney
5be1416c96 - remove the part that aborts if readline is not found 2001-10-04 18:05:29 +00:00
Bryce Denney
3b6d9ae017 - try to improve the readline test. Now I never use the readline test
generated by autoconf.  Instead I'm using AC_TRY_RUN to actually call
  a readline function before assuming that things are ok.
2001-10-04 18:00:48 +00:00
Bryce Denney
de45620a0d - partial fix for bug #467969, VPATH doesn't quite work. It was failing
when trying to create instrument/stubs/Makefile because the instrument
  directory didn't exist.
2001-10-04 17:54:51 +00:00
Bryce Denney
84f1ebb003 - readline checks still have a few problems, so don't do exit 1 2001-10-04 05:39:12 +00:00
Bryce Denney
57071445e6 - add eth_win32.o to the Makefile when ne2000 is enabled and we're compiling
for win32.
2001-10-03 13:42:24 +00:00
Bryce Denney
49aad8c1b1 - add test for whether -lcurses is required when using readline, to fix
bug #429448.  What is strange about this problem (on OpenBSD) is that the
  compile and link goes fine, but when you execute your first readline library
  function it does a dynamic link and crashes on the spot.  Many autoconf
  tests only compile and sometimes link the test program, but this test
  compiles, links, and runs it.
2001-10-03 12:33:53 +00:00
Bryce Denney
c9e377c4d9 - for MacOSX the primary target is the app, not the bochs. 2001-09-27 02:01:41 +00:00
Bryce Denney
3abf0831a5 - add configure option "--with-carbon" which is used for MacOS X compiles 2001-09-26 00:13:16 +00:00
Bryce Denney
c7a4ac2088 - add test for usleep and nanosleep 2001-09-24 05:28:42 +00:00
Bryce Denney
9454441958 - add --enable-slowdown option to configure, which turns on Greg's
slowdown timer device.
2001-09-24 05:23:55 +00:00
Bryce Denney
4f5bce582f - when configuring for win32, assume you don't have strotull or strtouq. 2001-09-24 03:26:24 +00:00
Bryce Denney
c89f3de147 - move Dave's changes to configure into configure.in so that they don't
get wiped out next time we run autoconf.
2001-09-18 05:25:29 +00:00
instinc
1732a0ea73 Added missing IODEBUG_OBJS 2001-09-14 15:07:49 +00:00
instinc
37fc526317 Added I/O Interface to the debugger check, --enable-iodebug --disable-iodebug 2001-09-14 14:52:27 +00:00
Gregory Alexander
d9fd468ff4 Made the new PIT the default. 2001-08-18 14:15:41 +00:00
Bryce Denney
42aa1fcf46 - I realized that cdrom_amigaos.o is a replacement for cdrom.o, not a
supplement.
2001-08-15 20:39:40 +00:00
Bryce Denney
bf286c20ac - configure and makefile changes for AmigaOS port. Now configure
--with-amigaos is allowed and sets up the makefiles correctly.  It
  defines a symbol called BX_WITH_AMIGAOS, which should be used in
  #if..#endif constructs that are specific to amigaos.
- if --enable-cdrom is used with --with-amigaos, the cdrom_amigaos.o
  object file will be added to CDROM_OBJS in the iodev makefile.
2001-08-15 20:33:47 +00:00
Bryce Denney
4d8a524e81 - add --enable-new-pit option to turn on Greg's PIT model 2001-08-15 17:51:10 +00:00
Bryce Denney
75c87e2113 - apply patch from splite@purdue.edu that add an ethernet packet mover
for Linux!!!  I tested this using host OS kernel 2.2.14, and was able
  to use telnet, ftp, irc, lynx, etc.  Because it is a packet filter
  solution, you aren't able to talk to the host machine, only to other
  machines on the network.  The patch itself is in
  patches/patch.ethlinux-splite.
2001-06-26 07:46:42 +00:00
Bryce Denney
a36d430306 - help message for --enable-control-panel was broken 2001-06-21 15:05:22 +00:00
Bryce Denney
6c7d910459 - bought configure up to date with 1.23 of configure.in 2001-06-20 22:28:43 +00:00
Bryce Denney
19bbda01ca - add test for struct timeval 2001-06-12 03:37:55 +00:00
Bryce Denney
8b7fbca53e - more work on text-mode control panel. Now the control panel starts before
the simulation begins, to give you a chance to choose between bochsrcs,
  choose the boot disk, etc.
2001-06-09 20:01:12 +00:00
Bryce Denney
c681b99d39 - remove --enable-external-device-models
- remove --enable-external-cpu-memory
- Neither of these options were compiling anymore, and Kevin suggested:
  > My advice would be to scrap both of these options.  I hadn't used
  > those in some time.  The way to implement 'external' devices
  > would be via a modular plugin architecture, which both bochs
  > and plex86 should implement.
2001-06-07 16:00:58 +00:00