Mercurial > hg > xmms-sid
comparison configure.in @ 472:3f02945a0c48
Cleanups.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 25 Jan 2007 05:58:05 +0000 |
parents | d8f3b00b83b7 |
children | 34d48e513419 |
comparison
equal
deleted
inserted
replaced
471:1733f81f7480 | 472:3f02945a0c48 |
---|---|
1 dnl *** | 1 dnl *** |
2 dnl *** Process this file with autoconf to produce a configure script. | 2 dnl *** Process this file with autoconf to produce a configure script. |
3 dnl *** | 3 dnl *** |
4 | 4 |
5 dnl Require autoconf 2.56 or later | 5 dnl Require autoconf 2.60 or later |
6 AC_PREREQ([2.56]) | 6 AC_PREREQ([2.60]) |
7 | 7 |
8 dnl Initialize | 8 dnl Initialize |
9 AC_INIT([XMMS-SID], [0.8.0beta16], [ccr@tnsp.org]) | 9 AC_INIT([XMMS-SID], [0.8.0beta16], [ccr@tnsp.org]) |
10 AC_COPYRIGHT([[(C) 2003-2007 Matti 'ccr' Hämäläinen]]) | 10 AC_COPYRIGHT([[(C) 2003-2007 Matti 'ccr' Hämäläinen]]) |
11 AC_CONFIG_SRCDIR([src/xmms-sid.h]) | 11 AC_CONFIG_SRCDIR([src/xmms-sid.h]) |
23 AH_TEMPLATE([HAVE_SIDPLAY1],[Define if you have and want to use libSIDPlay 1]) | 23 AH_TEMPLATE([HAVE_SIDPLAY1],[Define if you have and want to use libSIDPlay 1]) |
24 AH_TEMPLATE([HAVE_SIDPLAY2],[Define if you have and want to use libSIDPlay 2]) | 24 AH_TEMPLATE([HAVE_SIDPLAY2],[Define if you have and want to use libSIDPlay 2]) |
25 AH_TEMPLATE([HAVE_RESID_BUILDER],[Define if you have reSID with libSIDPlay 2]) | 25 AH_TEMPLATE([HAVE_RESID_BUILDER],[Define if you have reSID with libSIDPlay 2]) |
26 AH_TEMPLATE([HAVE_HARDSID_BUILDER],[Define if you have HardSID with libSIDPlay 2]) | 26 AH_TEMPLATE([HAVE_HARDSID_BUILDER],[Define if you have HardSID with libSIDPlay 2]) |
27 AH_TEMPLATE([HAVE_THEMETUNE],[Define if you want to build code to play XMMS-SID theme SID-tune. The tune needs to be installed too, though.]) | 27 AH_TEMPLATE([HAVE_THEMETUNE],[Define if you want to build code to play XMMS-SID theme SID-tune. The tune needs to be installed too, though.]) |
28 AH_TEMPLATE([THEMETUNE_FILE],[Path and filename of the XMMS-SID theme song]) | |
29 | 28 |
30 | 29 |
31 dnl *** | 30 dnl *** |
32 dnl *** Some general checks | 31 dnl *** Some general checks |
33 dnl *** | 32 dnl *** |
94 OPT_THEMETUNE=no | 93 OPT_THEMETUNE=no |
95 else | 94 else |
96 OPT_THEMETUNE=no | 95 OPT_THEMETUNE=no |
97 fi | 96 fi |
98 fi | 97 fi |
99 ],[ | 98 ],[OPT_THEMETUNE=yes]) |
100 OPT_THEMETUNE=yes | 99 AC_DEFINE([HAVE_THEMETUNE],[test "x$OPT_THEMETUNE" = "xyes"]) |
101 ]) | |
102 | |
103 dnl *** Bits and pieces stolen from Glade generated configure.in | |
104 if test "x$OPT_THEMETUNE" = "xyes"; then | |
105 THEMETUNE_FILE="Kummatti_City.sid" | |
106 | |
107 if test "x${datadir}" = 'x${prefix}/share'; then | |
108 if test "x${prefix}" = "xNONE"; then | |
109 AC_DEFINE_UNQUOTED([THEMETUNE_FILE], "${ac_default_prefix}/share/${PACKAGE}/${THEMETUNE_FILE}") | |
110 else | |
111 AC_DEFINE_UNQUOTED([THEMETUNE_FILE], "${prefix}/share/${PACKAGE}/${THEMETUNE_FILE}") | |
112 fi | |
113 else | |
114 AC_DEFINE_UNQUOTED([THEMETUNE_FILE], "${datadir}/${PACKAGE}/${THEMETUNE_FILE}") | |
115 fi | |
116 | |
117 AC_DEFINE([HAVE_THEMETUNE]) | |
118 else | |
119 THEMETUNE_FILE="" | |
120 fi | |
121 dnl AC_SUBST([THEMETUNE_FILE]) | |
122 | 100 |
123 | 101 |
124 dnl *** | 102 dnl *** |
125 dnl *** libSIDPlay 1 options | 103 dnl *** libSIDPlay 1 options |
126 dnl *** | 104 dnl *** |
308 Song-position patch : $OPT_SONGPOS | 286 Song-position patch : $OPT_SONGPOS |
309 libSIDPlay 1 support : $OPT_SIDPLAY1 | 287 libSIDPlay 1 support : $OPT_SIDPLAY1 |
310 libSIDPlay 2 support : $OPT_SIDPLAY2 | 288 libSIDPlay 2 support : $OPT_SIDPLAY2 |
311 Included builders : $xs_builders | 289 Included builders : $xs_builders |
312 XMMS-SID theme SID-tune : $OPT_THEMETUNE | 290 XMMS-SID theme SID-tune : $OPT_THEMETUNE |
313 ]) | 291 Translations (i18n/nls) : $USE_NLS |
292 ]) |