From 3d14c8501d3f97f313753e6cde8b5c99b9fab501 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sat, 26 Apr 2003 01:10:42 +0000 Subject: [PATCH] Check for Darwin, if found, define DARWIN 1. This is to still compile SDL (with -DLINUX) but to not to compile the ALSA9 stuff. --- stepmania/configure.ac | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stepmania/configure.ac b/stepmania/configure.ac index c8e3cd595b..7872f11c51 100644 --- a/stepmania/configure.ac +++ b/stepmania/configure.ac @@ -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/\?[[ $]]__'`"