From 64f949f2954db85968850f6e157e5c3b10df6b7d Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Fri, 29 Sep 2006 16:15:11 +0000 Subject: Allow UI simulator to be build on OS (Slightly updated version of FS5767) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11094 a1c6a512-1295-4272-9138-f99709370657 --- tools/configure | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'tools/configure') diff --git a/tools/configure b/tools/configure index 837a107aac..b83b8c7c3c 100755 --- a/tools/configure +++ b/tools/configure @@ -149,13 +149,22 @@ simcc () { fi ;; + Darwin) + echo "Darwin host detected" + # sdl version + GCCOPTS="$GCCOPTS `sdl-config --cflags`" + LDOPTS="`sdl-config --libs`" + use_simsound="#define ROCKBOX_HAS_SIMSOUND 1" + echo "Enabled PCM sound playback in simulator" + ;; + *) echo "Unsupported system: $uname, fix configure and retry" exit ;; esac - if [ `uname -m` = "x86_64" ]; then + if [ "`uname -m`" = "x86_64" ]; then GCCOPTS="$GCCOPTS -fPIC" # needed to make shared objects link fi -- cgit v1.2.3