comparison configure.in @ 133:79a526595d16

Fixed spec-file generation and errors in the specfile.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 16 Jan 2004 05:47:05 +0000
parents 1e38806f7a3b
children 7cc2cc5f6f21
comparison
equal deleted inserted replaced
132:4162a5370b9e 133:79a526595d16
4 4
5 dnl Require autoconf 2.56 or later 5 dnl Require autoconf 2.56 or later
6 AC_PREREQ(2.56) 6 AC_PREREQ(2.56)
7 7
8 dnl Initialize 8 dnl Initialize
9 AC_INIT(XMMS-SID, 0.8.0beta8, ccr@tnsp.org) 9 AC_INIT(XMMS-SID, 0.8.0beta9, ccr@tnsp.org)
10 AC_COPYRIGHT([[(C) 2003-2004 Matti 'ccr' Hämäläinen]]) 10 AC_COPYRIGHT([[(C) 2003-2004 Matti 'ccr' Hämäläinen]])
11 AC_CONFIG_SRCDIR(src/xmms-sid.h) 11 AC_CONFIG_SRCDIR(src/xmms-sid.h)
12 AM_INIT_AUTOMAKE 12 AM_INIT_AUTOMAKE
13 AC_CONFIG_HEADERS(src/config.h) 13 AC_CONFIG_HEADERS(src/config.h)
14 14
188 fi 188 fi
189 fi 189 fi
190 fi 190 fi
191 if test "$xs_have_sidplay1" = yes; then 191 if test "$xs_have_sidplay1" = yes; then
192 AC_DEFINE(HAVE_SIDPLAY1) 192 AC_DEFINE(HAVE_SIDPLAY1)
193 xs_reqlib="$xs_reqlib libsidplay.so.1"
194 OPT_SIDPLAY1="yes" 193 OPT_SIDPLAY1="yes"
195 fi 194 fi
196 195
197 196
198 197
208 fi 207 fi
209 fi 208 fi
210 fi 209 fi
211 if test "$xs_have_sidplay2" = yes; then 210 if test "$xs_have_sidplay2" = yes; then
212 AC_DEFINE(HAVE_SIDPLAY2) 211 AC_DEFINE(HAVE_SIDPLAY2)
213 xs_reqlib="$xs_reqlib libsidplay.so.2"
214 OPT_SIDPLAY2="yes" 212 OPT_SIDPLAY2="yes"
215 BUILDERS_FIND 213 BUILDERS_FIND
216 BUILDERS_FIND_RESID 214 BUILDERS_FIND_RESID
217 BUILDERS_FIND_HARDSID 215 BUILDERS_FIND_HARDSID
218 if test "$builders_available" = no; then 216 if test "$builders_available" = no; then
235 if test "$xs_have_nanosid" = yes; then 233 if test "$xs_have_nanosid" = yes; then
236 AC_DEFINE(HAVE_NANOSID) 234 AC_DEFINE(HAVE_NANOSID)
237 OPT_NANOSID="yes" 235 OPT_NANOSID="yes"
238 fi 236 fi
239 237
240
241 AC_SUBST(REQUIRE_LIBRARY,$xs_reqlib)
242 238
243 dnl *** 239 dnl ***
244 dnl *** Check if we have some emulator library available? 240 dnl *** Check if we have some emulator library available?
245 dnl *** 241 dnl ***
246 if test "$OPT_SIDPLAY1" = no; then 242 if test "$OPT_SIDPLAY1" = no; then