PDA

View Full Version : some improvements for smoother building



grgro
11-12-2008, 10:25 AM
a way to override or remove the release flag for libtool
check for headers linux/joystick.h and linux/input.h and if not found disable support for those.
check soundcard.h header for more than one location and also check asoundlib.h for alsa support, don't compile it if not found.
if getcwd is still not defined include unistd.h for those os who needs it
merge apple and freebsd in mutex_pthread.cpp and add also openbsd
if not defined DEFAULT_DSP default to /dev/dsp, so the default device
can be overridden
ifndef sighandler_t instead of adding different operating systems in setupnetwork_unix.cpp


hope i covered all the changes.

Seth
11-13-2008, 03:02 AM
Just want to say this looks great.

My linux machine is not setup ( I just moved) but after it is I'll test and apply this if nobody else beats me to it... :sweatdrop: (assuming this is for 0.8X!)

grgro
11-13-2008, 08:16 AM
yes it's for 0.8x

rombust
11-13-2008, 09:49 AM
And that patch looks good for 0.9, many thanks :)

I have applied the patch to 0.9 (manually, as file structure has changed).

Also applied patch to 0.8

Many thanks