summaryrefslogtreecommitdiff
path: root/tools/configure
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-09-29 16:15:11 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-09-29 16:15:11 +0000
commit64f949f2954db85968850f6e157e5c3b10df6b7d (patch)
tree14003f384ae848d98473494a74618609ddf04c5f /tools/configure
parentb692fb11b3bb081f51a7bab7351ccbfc78df6617 (diff)
downloadrockbox-64f949f2954db85968850f6e157e5c3b10df6b7d.tar.gz
rockbox-64f949f2954db85968850f6e157e5c3b10df6b7d.zip
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
Diffstat (limited to 'tools/configure')
-rwxr-xr-xtools/configure11
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure
index 837a107aac..b83b8c7c3c 100755
--- a/tools/configure
+++ b/tools/configure
@@ -149,13 +149,22 @@ simcc () {
149 fi 149 fi
150 ;; 150 ;;
151 151
152 Darwin)
153 echo "Darwin host detected"
154 # sdl version
155 GCCOPTS="$GCCOPTS `sdl-config --cflags`"
156 LDOPTS="`sdl-config --libs`"
157 use_simsound="#define ROCKBOX_HAS_SIMSOUND 1"
158 echo "Enabled PCM sound playback in simulator"
159 ;;
160
152 *) 161 *)
153 echo "Unsupported system: $uname, fix configure and retry" 162 echo "Unsupported system: $uname, fix configure and retry"
154 exit 163 exit
155 ;; 164 ;;
156 esac 165 esac
157 166
158 if [ `uname -m` = "x86_64" ]; then 167 if [ "`uname -m`" = "x86_64" ]; then
159 GCCOPTS="$GCCOPTS -fPIC" # needed to make shared objects link 168 GCCOPTS="$GCCOPTS -fPIC" # needed to make shared objects link
160 fi 169 fi
161 170