Mercurial > hg > xmms-sid
comparison configure.in @ 200:ec8b735f5418
Support for libNanoSID dropped.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 19 Aug 2004 19:06:02 +0000 |
parents | bd7375970826 |
children | e776df0ee706 |
comparison
equal
deleted
inserted
replaced
199:6117c326cc3e | 200:ec8b735f5418 |
---|---|
18 dnl *** | 18 dnl *** |
19 AH_TEMPLATE([HAVE_SONG_POSITION],[Define if you have XMMS patched with the songpos patch.]) | 19 AH_TEMPLATE([HAVE_SONG_POSITION],[Define if you have XMMS patched with the songpos patch.]) |
20 AH_TEMPLATE([HAVE_XMMSEXTRA],[Define if you have XMMS version 1.2.5 or later and you want XMMS-SID to support some extra features.]) | 20 AH_TEMPLATE([HAVE_XMMSEXTRA],[Define if you have XMMS version 1.2.5 or later and you want XMMS-SID to support some extra features.]) |
21 AH_TEMPLATE([HAVE_SIDPLAY1],[Define if you have and want to use libSIDPlay 1]) | 21 AH_TEMPLATE([HAVE_SIDPLAY1],[Define if you have and want to use libSIDPlay 1]) |
22 AH_TEMPLATE([HAVE_SIDPLAY2],[Define if you have and want to use libSIDPlay 2]) | 22 AH_TEMPLATE([HAVE_SIDPLAY2],[Define if you have and want to use libSIDPlay 2]) |
23 AH_TEMPLATE([HAVE_NANOSID],[Define if you have and want to use libNanoSID]) | |
24 AH_TEMPLATE([HAVE_RESID_BUILDER],[Define if you have reSID with libSIDPlay 2]) | 23 AH_TEMPLATE([HAVE_RESID_BUILDER],[Define if you have reSID with libSIDPlay 2]) |
25 AH_TEMPLATE([HAVE_HARDSID_BUILDER],[Define if you have HardSID with libSIDPlay 2]) | 24 AH_TEMPLATE([HAVE_HARDSID_BUILDER],[Define if you have HardSID with libSIDPlay 2]) |
26 | 25 |
27 | 26 |
28 dnl *** | 27 dnl *** |
139 | 138 |
140 | 139 |
141 AC_ARG_WITH(sidplay2-lib, | 140 AC_ARG_WITH(sidplay2-lib, |
142 [ --with-sidplay2-lib=DIR Where the SIDPlay2 library is installed], | 141 [ --with-sidplay2-lib=DIR Where the SIDPlay2 library is installed], |
143 [xs_sidplay2_library="$withval"],) | 142 [xs_sidplay2_library="$withval"],) |
144 | |
145 | |
146 dnl *** | |
147 dnl *** libNanoSID options | |
148 dnl *** | |
149 AC_ARG_WITH(nanosid, | |
150 [ | |
151 --with-nanosid=PREFIX Enable NanoSID with PREFIX], | |
152 [ | |
153 if test "$withval" = yes; then | |
154 xs_nanosid=yes | |
155 xs_nanosid_library="" | |
156 xs_nanosid_includes="" | |
157 else | |
158 if test "$withval" = no; then | |
159 xs_nanosid=no | |
160 else | |
161 xs_nanosid=yes | |
162 xs_nanosid_includes="$withval/include" | |
163 xs_nanosid_library="$withval/lib" | |
164 fi | |
165 fi | |
166 ],[ | |
167 xs_nanosid=xtry | |
168 xs_nanosid_library="" | |
169 xs_nanosid_includes="" | |
170 ]) | |
171 | |
172 | |
173 AC_ARG_WITH(nanosid-inc, | |
174 [ --with-nanosid-inc=DIR Where the NanoSID headers are located], | |
175 [xs_nanosid_includes="$withval"],) | |
176 | |
177 | |
178 AC_ARG_WITH(sidplay1-lib, | |
179 [ --with-nanosid-lib=DIR Where the NanoSID library is installed], | |
180 [xs_nanosid_library="$withval"],) | |
181 | 143 |
182 | 144 |
183 dnl *** | 145 dnl *** |
184 dnl *** Determine if libraries are wanted and available | 146 dnl *** Determine if libraries are wanted and available |
185 dnl *** | 147 dnl *** |
223 AC_MSG_ERROR([No builder modules were found in the sidbuilders directory!]); | 185 AC_MSG_ERROR([No builder modules were found in the sidbuilders directory!]); |
224 fi | 186 fi |
225 fi | 187 fi |
226 | 188 |
227 | 189 |
228 OPT_NANOSID="no" | |
229 if test "$xs_nanosid" = xtry; then | |
230 XS_PATH_LIBNANOSID | |
231 else | |
232 if test "$xs_nanosid" = yes; then | |
233 XS_PATH_LIBNANOSID | |
234 if test "$xs_have_nanosid" = no; then | |
235 AC_MSG_ERROR([libNanoSID library and/or headers were not found!]) | |
236 fi | |
237 fi | |
238 fi | |
239 if test "$xs_have_nanosid" = yes; then | |
240 AC_DEFINE(HAVE_NANOSID) | |
241 OPT_NANOSID="yes" | |
242 fi | |
243 | |
244 | |
245 dnl *** | 190 dnl *** |
246 dnl *** Check if we have some emulator library available? | 191 dnl *** Check if we have some emulator library available? |
247 dnl *** | 192 dnl *** |
248 if test "$OPT_SIDPLAY1" = no; then | 193 if test "$OPT_SIDPLAY1" = no; then |
249 if test "$OPT_SIDPLAY2" = no; then | 194 if test "$OPT_SIDPLAY2" = no; then |
250 if test "$OPT_NANOSID" = no; then | 195 AC_MSG_ERROR([Either libSIDPlay1 or libSIDPlay2 is required! Please read INSTALL for more information!]) |
251 AC_MSG_ERROR([Either libSIDPlay1, libSIDPlay2 or libNanoSID is required! Please read INSTALL for more information!]) | |
252 fi | |
253 fi | 196 fi |
254 fi | 197 fi |
255 | 198 |
256 | 199 |
257 dnl *** | 200 dnl *** |
312 XMMS >= v1.2.5 extra features : $OPT_XMMSEXTRA | 255 XMMS >= v1.2.5 extra features : $OPT_XMMSEXTRA |
313 Song-position patch : $OPT_SONGPOS | 256 Song-position patch : $OPT_SONGPOS |
314 libSIDPlay 1 support : $OPT_SIDPLAY1 | 257 libSIDPlay 1 support : $OPT_SIDPLAY1 |
315 libSIDPlay 2 support : $OPT_SIDPLAY2 | 258 libSIDPlay 2 support : $OPT_SIDPLAY2 |
316 Included builders : $xs_builders | 259 Included builders : $xs_builders |
317 libNanoSID support : $OPT_NANOSID | 260 |
318 | 261 ]) |
319 ]) |