diff options
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 11 |
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 | ||