comparison configure.in @ 43:3c609b6d5a02

Automagic updating of spec.in-file via configure
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 20 Jun 2003 01:12:00 +0000
parents 3fcc147b253a
children fd610bb817bc
comparison
equal deleted inserted replaced
42:0f00ebab063d 43:3c609b6d5a02
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.0beta1, ccr@tnsp.org) 9 AC_INIT(XMMS-SID, 0.8.0alpha0, ccr@tnsp.org)
10 AC_COPYRIGHT([[(C) 2002-2003 Matti 'ccr' Hämäläinen]]) 10 AC_COPYRIGHT([[(C) 2002-2003 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
125 OPT_SIDPLAY1="no" 125 OPT_SIDPLAY1="no"
126 if test "$xs_sidplay1" = yes; then 126 if test "$xs_sidplay1" = yes; then
127 XS_PATH_LIBSIDPLAY1 127 XS_PATH_LIBSIDPLAY1
128 if test "$xs_have_sidplay1" = yes; then 128 if test "$xs_have_sidplay1" = yes; then
129 AC_DEFINE(HAVE_SIDPLAY1) 129 AC_DEFINE(HAVE_SIDPLAY1)
130 AC_SUBST(REQUIRE_LIBRARY,[libsidplay.so.1])
130 OPT_SIDPLAY1="yes" 131 OPT_SIDPLAY1="yes"
131 else 132 else
132 AC_MSG_ERROR([libSIDPlay1 library and/or headers were not found!]) 133 AC_MSG_ERROR([libSIDPlay1 library and/or headers were not found!])
133 fi 134 fi
134 fi 135 fi
139 if test "$xs_sidplay2" = yes; then 140 if test "$xs_sidplay2" = yes; then
140 LIBSIDPLAY2_REQUIRED_VERSION="2.1.0" 141 LIBSIDPLAY2_REQUIRED_VERSION="2.1.0"
141 XS_PATH_LIBSIDPLAY2 142 XS_PATH_LIBSIDPLAY2
142 if test "$xs_have_sidplay2" = yes; then 143 if test "$xs_have_sidplay2" = yes; then
143 AC_DEFINE(HAVE_SIDPLAY2) 144 AC_DEFINE(HAVE_SIDPLAY2)
145 AC_SUBST(REQUIRE_LIBRARY,[libsidplay2.so.1])
144 OPT_SIDPLAY2="yes" 146 OPT_SIDPLAY2="yes"
145 BUILDERS_FIND 147 BUILDERS_FIND
146 BUILDERS_FIND_RESID 148 BUILDERS_FIND_RESID
147 BUILDERS_FIND_HARDSID 149 BUILDERS_FIND_HARDSID
148 if test "$builders_available" = no; then 150 if test "$builders_available" = no; then