Mercurial > hg > xmms-sid
comparison configure.in @ 446:3119716480ad
Added m4 quoting; Indentation cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 11 Jan 2007 00:01:02 +0000 |
parents | 62fc59951eda |
children | d8f3b00b83b7 |
comparison
equal
deleted
inserted
replaced
445:f277dad3180f | 446:3119716480ad |
---|---|
122 | 122 |
123 | 123 |
124 dnl *** | 124 dnl *** |
125 dnl *** libSIDPlay 1 options | 125 dnl *** libSIDPlay 1 options |
126 dnl *** | 126 dnl *** |
127 AC_ARG_WITH(sidplay1, | 127 AC_ARG_WITH([sidplay1], |
128 [ | 128 [ |
129 --with-sidplay1=PREFIX Enable SIDPlay1 with install-PREFIX], | 129 --with-sidplay1=PREFIX Enable SIDPlay1 with install-PREFIX], |
130 [ | 130 [ |
131 if test "x$withval" = "xyes"; then | 131 if test "x$withval" = "xyes"; then |
132 xs_sidplay1=yes | 132 xs_sidplay1=yes |
146 xs_sidplay1_library="" | 146 xs_sidplay1_library="" |
147 xs_sidplay1_includes="" | 147 xs_sidplay1_includes="" |
148 ]) | 148 ]) |
149 | 149 |
150 | 150 |
151 AC_ARG_WITH(sidplay1-inc, | 151 AC_ARG_WITH([sidplay1-inc], |
152 [ --with-sidplay1-inc=DIR Where the SIDPlay1 headers are located], | 152 [ --with-sidplay1-inc=DIR Where the SIDPlay1 headers are located], |
153 [xs_sidplay1_includes="$withval"],) | 153 [xs_sidplay1_includes="$withval"],) |
154 | 154 |
155 AC_ARG_WITH(sidplay1-lib, | 155 AC_ARG_WITH(sidplay1-lib, |
156 [ --with-sidplay1-lib=DIR Where the SIDPlay1 library is installed], | 156 [ --with-sidplay1-lib=DIR Where the SIDPlay1 library is installed], |
158 | 158 |
159 | 159 |
160 dnl *** | 160 dnl *** |
161 dnl *** libSIDPlay 2 options | 161 dnl *** libSIDPlay 2 options |
162 dnl *** | 162 dnl *** |
163 AC_ARG_WITH(sidplay2, | 163 AC_ARG_WITH([sidplay2], |
164 [ | 164 [ |
165 --with-sidplay2=PREFIX Enable SIDPlay2 with install-PREFIX], | 165 --with-sidplay2=PREFIX Enable SIDPlay2 with install-PREFIX], |
166 [ | 166 [ |
167 if test "x$withval" = "xyes"; then | 167 if test "x$withval" = "xyes"; then |
168 xs_sidplay2=yes | 168 xs_sidplay2=yes |
182 xs_sidplay2_library="" | 182 xs_sidplay2_library="" |
183 xs_sidplay2_includes="" | 183 xs_sidplay2_includes="" |
184 ]) | 184 ]) |
185 | 185 |
186 | 186 |
187 AC_ARG_WITH(sidplay2-inc, | 187 AC_ARG_WITH([sidplay2-inc], |
188 [ --with-sidplay2-inc=DIR Where the SIDPlay2 headers are located], | 188 [ --with-sidplay2-inc=DIR Where the SIDPlay2 headers are located], |
189 [xs_sidplay2_includes="$withval"],) | 189 [xs_sidplay2_includes="$withval"],) |
190 | 190 |
191 | 191 |
192 AC_ARG_WITH(sidplay2-lib, | 192 AC_ARG_WITH([sidplay2-lib], |
193 [ --with-sidplay2-lib=DIR Where the SIDPlay2 library is installed], | 193 [ --with-sidplay2-lib=DIR Where the SIDPlay2 library is installed], |
194 [xs_sidplay2_library="$withval"],) | 194 [xs_sidplay2_library="$withval"],) |
195 | 195 |
196 | 196 |
197 dnl *** | 197 dnl *** |
253 dnl *** Song position patch check | 253 dnl *** Song position patch check |
254 dnl *** | 254 dnl *** |
255 AC_MSG_CHECKING([for song position patch]) | 255 AC_MSG_CHECKING([for song position patch]) |
256 tmp_CPPFLAGS=$CPPFLAGS | 256 tmp_CPPFLAGS=$CPPFLAGS |
257 if test -d "$prefix"; then | 257 if test -d "$prefix"; then |
258 CPPFLAGS="$CPPFLAGS -I${prefix}/include" | 258 CPPFLAGS="$CPPFLAGS -I${prefix}/include" |
259 fi | 259 fi |
260 | 260 |
261 AC_EGREP_HEADER([set_song_position],[xmms/plugin.h],[ | 261 AC_EGREP_HEADER([set_song_position],[xmms/plugin.h],[ |
262 OPT_SONGPOS="yes" | 262 OPT_SONGPOS="yes" |
263 AC_DEFINE([HAVE_SONG_POSITION]) | 263 AC_DEFINE([HAVE_SONG_POSITION]) |
264 AC_MSG_RESULT([yes]) | 264 AC_MSG_RESULT([yes]) |
265 ],[ | 265 ],[ |
266 OPT_SONGPOS="no" | 266 OPT_SONGPOS="no" |
267 AC_MSG_RESULT([no]) | 267 AC_MSG_RESULT([no]) |
268 ]) | 268 ]) |
269 | |
270 CPPFLAGS=$tmp_CPPFLAGS | 269 CPPFLAGS=$tmp_CPPFLAGS |
271 | 270 |
272 | 271 |
273 dnl *** | 272 dnl *** |
274 dnl *** Check XMMS version | 273 dnl *** Check XMMS version |