comparison configure.in @ 33:9cf8092ec7d3

More improvements on configuration, updated documentation.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 08 Jun 2003 03:44:04 +0000
parents 13db37492b6d
children 3fcc147b253a
comparison
equal deleted inserted replaced
32:13db37492b6d 33:9cf8092ec7d3
113 dnl *** 113 dnl ***
114 OPT_SIDPLAY1="no" 114 OPT_SIDPLAY1="no"
115 if test "$xs_sidplay1" = yes; then 115 if test "$xs_sidplay1" = yes; then
116 XS_PATH_LIBSIDPLAY1 116 XS_PATH_LIBSIDPLAY1
117 if test "$xs_have_sidplay1" = yes; then 117 if test "$xs_have_sidplay1" = yes; then
118 AC_DEFINE(ENABLE_SIDPLAY1) 118 AC_DEFINE(HAVE_SIDPLAY1)
119 OPT_SIDPLAY1="yes" 119 OPT_SIDPLAY1="yes"
120 else 120 else
121 AC_MSG_ERROR([libSIDPlay1 library and/or headers were not found!]) 121 AC_MSG_ERROR([libSIDPlay1 library and/or headers were not found!])
122 fi 122 fi
123 fi 123 fi
126 OPT_SIDPLAY2="no" 126 OPT_SIDPLAY2="no"
127 if test "$xs_sidplay2" = yes; then 127 if test "$xs_sidplay2" = yes; then
128 LIBSIDPLAY2_REQUIRED_VERSION="2.1.0" 128 LIBSIDPLAY2_REQUIRED_VERSION="2.1.0"
129 XS_PATH_LIBSIDPLAY2 129 XS_PATH_LIBSIDPLAY2
130 if test "$xs_have_sidplay2" = yes; then 130 if test "$xs_have_sidplay2" = yes; then
131 AC_DEFINE(ENABLE_SIDPLAY2) 131 AC_DEFINE(HAVE_SIDPLAY2)
132 OPT_SIDPLAY2="yes" 132 OPT_SIDPLAY2="yes"
133 BUILDERS_FIND 133 BUILDERS_FIND
134 BUILDERS_FIND_RESID 134 BUILDERS_FIND_RESID
135 BUILDERS_FIND_HARDSID
135 if test "$builders_available" = no; then 136 if test "$builders_available" = no; then
136 AC_MSG_ERROR([No builder modules were found in the sidbuilders directory!]); 137 AC_MSG_ERROR([No builder modules were found in the sidbuilders directory!]);
137 fi 138 fi
138 else 139 else
139 AC_MSG_ERROR([libSIDPlay2 library and/or headers were not found!]) 140 AC_MSG_ERROR([libSIDPlay2 library and/or headers were not found!])
158 AC_MSG_ERROR([*** XMMS >= 1.2.0 not found. You need XMMS v1.2.0 or later to use XMMS-SID plugin.]) 159 AC_MSG_ERROR([*** XMMS >= 1.2.0 not found. You need XMMS v1.2.0 or later to use XMMS-SID plugin.])
159 ]) 160 ])
160 libdir=$XMMS_INPUT_PLUGIN_DIR 161 libdir=$XMMS_INPUT_PLUGIN_DIR
161 162
162 XMMS_TEST_VERSION($XMMS_VERSION, 1.2.5, [ 163 XMMS_TEST_VERSION($XMMS_VERSION, 1.2.5, [
163 AC_DEFINE(ENABLE_XMMSEXTRA) 164 AC_DEFINE(HAVE_XMMSEXTRA)
164 OPT_XMMSEXTRA="yes" 165 OPT_XMMSEXTRA="yes"
165 ], [ 166 ], [
166 OPT_XMMSEXTRA="no" 167 OPT_XMMSEXTRA="no"
167 ]) 168 ])
168 169
169 170
170 dnl *** 171 dnl ***
171 dnl *** Define some templates 172 dnl *** Define some templates
172 dnl *** 173 dnl ***
173 AC_DEFINE(ENABLE_XMMSEXTRA, 0, Define to 1 if you have XMMS version 1.2.5 or later) 174 AC_DEFINE(HAVE_XMMSEXTRA, 0, Define to 1 if you have XMMS version 1.2.5 or later)
174 AC_DEFINE(ENABLE_SIDPLAY1, 0, Define to 1 if you want to use libSIDPlay 1) 175 AC_DEFINE(HAVE_SIDPLAY1, 0, Define to 1 if you want to use libSIDPlay 1)
175 AC_DEFINE(ENABLE_SIDPLAY2, 0, Define to 1 if you want to use libSIDPlay 2) 176 AC_DEFINE(HAVE_SIDPLAY2, 0, Define to 1 if you want to use libSIDPlay 2)
176 AC_DEFINE(HAVE_RESID_BUILDER, 0, Define to 1 if you have reSID with libSIDPlay 2) 177 AC_DEFINE(HAVE_RESID_BUILDER, 0, Define to 1 if you have reSID with libSIDPlay 2)
177 AC_DEFINE(HAVE_HARDSID_BUILDER, 0, Define to 1 if you have HardSID with libSIDPlay 2) 178 AC_DEFINE(HAVE_HARDSID_BUILDER, 0, Define to 1 if you have HardSID with libSIDPlay 2)
178 179
179 180
180 dnl *** 181 dnl ***