Check for Darwin, if found, define DARWIN 1. This is to still compile SDL (with -DLINUX) but to not to compile the ALSA9 stuff.

This commit is contained in:
Steve Checkoway
2003-04-26 01:10:42 +00:00
parent 0d37ae065d
commit 3d14c8501d
+7
View File
@@ -45,6 +45,13 @@ AH_VERBATIM([VA_ZZZ_NEEDED_FUNCS],
#endif
])
case $host in
*-*-darwin*)
AC_DEFINE(DARWIN, 1, [Use different sound drivers than linux])
darwin=true;;
esac
AM_CONDITIONAL(DARWIN, test x$darwin = xtrue)
# sdl-config puts -L/usr/lib in the library search path, which reorders things
# in a way that breaks some configurations.
SDL_LIBS="`echo $SDL_LIBS | sed 's_-L/usr/lib/\?[[ $]]__'`"