Link with math library (-lm) on IRIX so that to get support for long double arithmetic. Also make sure to only use -IPA with MIPSPro Compilers.
Fix Serial build on IRIX, remove the STDC_HEADERS manually defined macro since it now works (egrep was missing previously, IIRC)
don't grab in -mdynamic-no-pic with icc, note that you need icc >= 9.0.25 to have a working build
Fix detection of GCC versions (J.P. Larocque)
- Check for <stdint.h> ourselves if AC_HEADER_STDC didn't do that - Build with -mdynamic-no-pic on MacOS X, this brings up to 20% performance improvement in the CPU core.
minor cleanups
Add system-specific implementations of idle_{wait,resume} functions.
gtk2 gui support
Check for CoreFoundation framework (Darwin 8.0.1). Likewise for IOKit/storage/IOBlockStorageDevice.h which is not available there on x86
Restrict mandatory SLIRP_CFLAGS to minimum, i.e. -fno-strict-aliasing.
Fix and factor out ether_exit(). Pitifully, MacOS X 10.2 does not make select() a cancellation point when it is passed a NULL timeout. Workarounded in receive_func() with a full inline of poll_fd() + pthread_testcancel().
Enable ethernet on MacOS X even though slirp seems to have some small problems on big endian systems. IOW, Basilisk II can hang there. I also noticed that on Linux/ppc so that's probably not MacOS X specific, assuming the same problem. ==> A packet arrives but Basilisk II can't seem to trigger an interrupt (need to try sheep_net/tun in linux to make sure)
ethernet/slirp works on netbsd too
detect slirp at configure time, aka fix build when ether_dummy.cpp is used
Use a custom poll_fd() function implemented as select() on platforms that don't support poll() natively, e.g. MacOS X and some older BSDs.
Fix build on MacOS X: dedicated extfs_macosx.mm & static SDL libs
fix CFLAGS preservation
Recognize Intel Compilers. Add user mode network stack with slirp from qemu. Simply use "ether slirp" in the prefs file, no kernel module required. I could perform up to 450 KB/sec on my DSL line.
Use Windows clipboard code with SDL graphics only. X11 output will use the X server glue anyway
Add Lauri's icon for Basilisk II builds on Windows
Check for egrep early, as AC_EGREP_CPP wouldn't work correctly otherwise (e.g. GCC version not detected, likewise for ANSI C headers). Add check for Windows exceptions support. Some cosmetics for Cygwin.
fix detection of <linux/if.h> (thanks Bob Deblier)
Enable 33-bit memory addressing on 64-bit JIT capable platforms (e.g. x86-64). This is useful to get rid of address offset sign extensions. It uses POSIX shared memory to create aliased regions, fallback to usual sign-extension way if shm_open et al. don't work (e.g. no /dev/shm mounted)
disable store motion on gcc >= 3.3-hammer (and normal 3.4), where the option is available actually
enable JIT on x86_64
SDL audio support
Add configure macros to check for -framework Carbon & -framework IOKit so that we choose to include ../MacOSX/clip_macosx.cpp, sys_darwin.cpp or not.
Handle SDL scancode -> Mac keycode map files
Check for the "true" command better with AC_PATH_PROG. aka fix BLESS command checking on MacOS X.
Use clip_unix.cpp only with X11 targets. Otherwise, default to clip_dummy.cpp
Initial SDL/video support. Fix VOSF code could lead to a crash on run-time resolution/depth switching. Rearrange blitter lookup code, aka make it cleaner.
TUN/TAP support
fix loff_t & caddr_t type checks
Merge in __PAGEZERO hack from Michael Z. Sliczniak so that REAL_ADDRESSING mode can work under Darwin.
Really make sure VERSION & PACKAGE macros are defined when generating a configure script with autoconf 2.52.
Mach bad access recovery support from Michael Z. Sliczniak
Check for readline headers in the headers check section as otherwise, and I don't exactly know why, AC_HEADER_STDC would fail with newer autoconf versions.
Aliases for PACKAGE and VERSION used for localisation if compiling cxmon now that we check for AM_GNU_GETTEXT. Yes, life sucks sometimes.
AM_GNU_GETTEXT for gnome stuff
fixed the test for GCC [Brian J. Johnson]
modernized the autoconf stuff
Fix check for mmap()'able low mem globals
Add changes from Brian Johnson: - Update MIPSpro compiler flags - Only define static variables if they are to be used - Try to lock the pthreads mutex prior to unlocking/destroying it
Add configury for x86-64
Get rid of CPU_* defines as nobody actually used them and are useless
- CAN_JIT=yes has to be moved into the actual block containing JITSRCS. - Optimistically reenable gas/x86 assembly optimizations and JIT for FreeBSD as it used to work in the past there. If not, beat me.
Huh, am I still asleep? Actually use the cpuemuX_nf.cpp pattern rather than the *.s variant.
Drop cpuopti on x86 now that we have a fast JIT. I don't want to bother fixing cpuopti or workarounding code for any known and unknown gcc bug.
Ensure the IEEE fpu core is used when building the JIT compiler
Move -DSAHF_SETO_PROFITABLE down in x86 & gas specific block. Also ensure SAHF_SETO_PROFITABLE is defined when compiling the JIT. Aka I don't want to support obsolete and probably bogus code nowadays.
Define SAHF_SETO_PROFITABLE on x86, aka restore full performance of the JIT compiler. ;-) BTW, also fixes some valgrind warnings.
Additions for the JIT compiler (--enable-jit-compiler, --enable-jit-debug)
Check for for C99 math functions in the form *l()
Conditionalize use of pthread_mutexattr_setpshared() as this is an optional POSIX feature from _POSIX_THREAD_PROCESS_SHARED group. Besides, Ulrich Drepper mentions "the kernel support for this option wasn't available until 2.5.7. Future versions of the thread library will support this option." <http://people.redhat.com/drepper/posix-option-groups.html> BTW, this nukes a warning when build on FreeBSD 4.6
Portability fixes: use a switch to test for ac_cv_c_float_format
Now use autoconf 2.52+ as it provides nice AC_SYS_LARGEFILE check and a fixed check for exit() prototype.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.