annotate configure.in @ 447:d8f3b00b83b7

Forgot to quote this ..
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 11 Jan 2007 00:02:02 +0000
parents 3119716480ad
children 3f02945a0c48
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 dnl ***
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 dnl *** Process this file with autoconf to produce a configure script.
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 dnl ***
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
5 dnl Require autoconf 2.56 or later
248
a66c634b222a Macro quotation cleanup to satisfy Automake 1.8 and friends.
Matti Hamalainen <ccr@tnsp.org>
parents: 247
diff changeset
6 AC_PREREQ([2.56])
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
7
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
8 dnl Initialize
381
12c0e5535731 Bump version
Matti Hamalainen <ccr@tnsp.org>
parents: 363
diff changeset
9 AC_INIT([XMMS-SID], [0.8.0beta16], [ccr@tnsp.org])
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
10 AC_COPYRIGHT([[(C) 2003-2007 Matti 'ccr' Hämäläinen]])
158
2ae878523164 Minor fixes
Matti Hamalainen <ccr@tnsp.org>
parents: 157
diff changeset
11 AC_CONFIG_SRCDIR([src/xmms-sid.h])
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
12 AM_INIT_AUTOMAKE
158
2ae878523164 Minor fixes
Matti Hamalainen <ccr@tnsp.org>
parents: 157
diff changeset
13 AC_CONFIG_HEADERS([src/config.h])
436
c016b0e2f758 Typofix
Matti Hamalainen <ccr@tnsp.org>
parents: 433
diff changeset
14 AM_GNU_GETTEXT_VERSION([0.14.1])
433
a0c3d277dc0e Fix gettext init macros
Matti Hamalainen <ccr@tnsp.org>
parents: 431
diff changeset
15 AM_GNU_GETTEXT([external])
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
16
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
17
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
18 dnl ***
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
19 dnl *** Define some templates
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
20 dnl ***
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
21 AH_TEMPLATE([HAVE_SONG_POSITION],[Define if you have XMMS patched with the songpos patch.])
47
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
22 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.])
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
23 AH_TEMPLATE([HAVE_SIDPLAY1],[Define if you have and want to use libSIDPlay 1])
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
24 AH_TEMPLATE([HAVE_SIDPLAY2],[Define if you have and want to use libSIDPlay 2])
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
25 AH_TEMPLATE([HAVE_RESID_BUILDER],[Define if you have reSID with libSIDPlay 2])
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
26 AH_TEMPLATE([HAVE_HARDSID_BUILDER],[Define if you have HardSID with libSIDPlay 2])
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
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.])
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
28 AH_TEMPLATE([THEMETUNE_FILE],[Path and filename of the XMMS-SID theme song])
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
29
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 dnl ***
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32 dnl *** Some general checks
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 dnl ***
248
a66c634b222a Macro quotation cleanup to satisfy Automake 1.8 and friends.
Matti Hamalainen <ccr@tnsp.org>
parents: 247
diff changeset
34 AC_PREFIX_PROGRAM([xmms])
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 AC_DISABLE_STATIC
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36 AC_LIBTOOL_DLOPEN
148
1075c4d9f112 0.8.0rc1
Matti Hamalainen <ccr@tnsp.org>
parents: 143
diff changeset
37 AC_LIB_RPATH
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
38 AM_PROG_LIBTOOL
397
c4e5604a8257 Largefile support additions.
Matti Hamalainen <ccr@tnsp.org>
parents: 386
diff changeset
39 AC_SYS_LARGEFILE
c4e5604a8257 Largefile support additions.
Matti Hamalainen <ccr@tnsp.org>
parents: 386
diff changeset
40 AC_TYPE_OFF_T
c4e5604a8257 Largefile support additions.
Matti Hamalainen <ccr@tnsp.org>
parents: 386
diff changeset
41 AC_FUNC_FSEEKO
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
42
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
43
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
44 dnl ***
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
45 dnl *** Checks for programs
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
46 dnl ***
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
47 AC_PROG_CC
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
48 AC_PROG_CPP
303
e161aa3ba0c3 Fix order of CC/CXX macro calling, add check for CXXCPP
Matti Hamalainen <ccr@tnsp.org>
parents: 269
diff changeset
49 AC_PROG_CXX
e161aa3ba0c3 Fix order of CC/CXX macro calling, add check for CXXCPP
Matti Hamalainen <ccr@tnsp.org>
parents: 269
diff changeset
50 AC_PROG_CXXCPP
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
51 AC_PROG_INSTALL
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
52
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
53
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
54 dnl ***
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
55 dnl *** Checks for generic libraries
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
56 dnl ***
247
98279d92a78b Fix M4 macro quotations.
Matti Hamalainen <ccr@tnsp.org>
parents: 246
diff changeset
57 AC_CHECK_HEADER([pthread.h],,AC_MSG_ERROR([[*** POSIX thread support not found. Strange, maybe you don't have some development packages installed?]]))
98279d92a78b Fix M4 macro quotations.
Matti Hamalainen <ccr@tnsp.org>
parents: 246
diff changeset
58 AM_PATH_GLIB([1.2.5],,AC_MSG_ERROR([[*** GLib >= 1.2.5 not found. You either don't have GLib at all or your GLib is too old. Latest GLib can be found from Gtk+ homepages (http://www.gtk.org/)]]))
98279d92a78b Fix M4 macro quotations.
Matti Hamalainen <ccr@tnsp.org>
parents: 246
diff changeset
59 AM_PATH_GTK([1.2.5],,AC_MSG_ERROR([[*** Gtk+ >= 1.2.5 not found. You either don't have Gtk+ at all or your Gtk+ is too old. Latest Gtk+ can be found from Gtk+ homepages (http://www.gtk.org/)]]), gthread)
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
60
47
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
61
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
62 dnl ***
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
63 dnl *** Checks for header files, types and functions
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
64 dnl ***
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
65 AC_HEADER_STDC
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
66 AC_CHECK_HEADERS([stdlib.h string.h unistd.h])
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
67
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
68 AC_HEADER_STDBOOL
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
69 AC_TYPE_SIZE_T
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
70 AC_C_CONST
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
71 AC_C_INLINE
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
72 AC_C_VOLATILE
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
73 AC_C_BIGENDIAN
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
74
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
75 AC_FUNC_MALLOC
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
76 AC_TYPE_SIGNAL
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
77 AC_FUNC_STAT
216
e776df0ee706 0.8.0beta13 development tag, not working version.
Matti Hamalainen <ccr@tnsp.org>
parents: 200
diff changeset
78 AC_CHECK_FUNCS([memset strcasecmp strerror])
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
79
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
80
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
81 dnl ***
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
82 dnl *** Enable or disable themetune support/installation
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
83 dnl ***
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
84 AC_ARG_ENABLE([themetune],
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
85 [
261
5b107e78c7c0 Improve '--disable-themetune' option indentation.
Matti Hamalainen <ccr@tnsp.org>
parents: 254
diff changeset
86 --disable-themetune Disable XMMS-SID theme song-related code and
5b107e78c7c0 Improve '--disable-themetune' option indentation.
Matti Hamalainen <ccr@tnsp.org>
parents: 254
diff changeset
87 installation of the SID-tune file. The tune is
5b107e78c7c0 Improve '--disable-themetune' option indentation.
Matti Hamalainen <ccr@tnsp.org>
parents: 254
diff changeset
88 not under GNU GPL, refer to README for license.
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
89 ],[
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
90 if test "x$enableval" = "xyes"; then
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
91 OPT_THEMETUNE=yes
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
92 else
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
93 if test "x$enableval" = "xno"; then
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
94 OPT_THEMETUNE=no
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
95 else
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
96 OPT_THEMETUNE=no
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
97 fi
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
98 fi
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
99 ],[
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
100 OPT_THEMETUNE=yes
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
101 ])
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
102
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
103 dnl *** Bits and pieces stolen from Glade generated configure.in
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
104 if test "x$OPT_THEMETUNE" = "xyes"; then
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
105 THEMETUNE_FILE="Kummatti_City.sid"
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
106
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
107 if test "x${datadir}" = 'x${prefix}/share'; then
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
108 if test "x${prefix}" = "xNONE"; then
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
109 AC_DEFINE_UNQUOTED([THEMETUNE_FILE], "${ac_default_prefix}/share/${PACKAGE}/${THEMETUNE_FILE}")
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
110 else
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
111 AC_DEFINE_UNQUOTED([THEMETUNE_FILE], "${prefix}/share/${PACKAGE}/${THEMETUNE_FILE}")
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
112 fi
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
113 else
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
114 AC_DEFINE_UNQUOTED([THEMETUNE_FILE], "${datadir}/${PACKAGE}/${THEMETUNE_FILE}")
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
115 fi
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
116
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
117 AC_DEFINE([HAVE_THEMETUNE])
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
118 else
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
119 THEMETUNE_FILE=""
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
120 fi
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
121 dnl AC_SUBST([THEMETUNE_FILE])
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
122
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
123
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
124 dnl ***
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
125 dnl *** libSIDPlay 1 options
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
126 dnl ***
446
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
127 AC_ARG_WITH([sidplay1],
47
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
128 [
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
129 --with-sidplay1=PREFIX Enable SIDPlay1 with install-PREFIX],
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
130 [
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
131 if test "x$withval" = "xyes"; then
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
132 xs_sidplay1=yes
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
133 xs_sidplay1_library=""
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
134 xs_sidplay1_includes=""
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
135 else
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
136 if test "x$withval" = "xno"; then
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
137 xs_sidplay1=no
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
138 else
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
139 xs_sidplay1=yes
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
140 xs_sidplay1_includes="$withval/include"
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
141 xs_sidplay1_library="$withval/lib"
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
142 fi
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
143 fi
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
144 ],[
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
145 xs_sidplay1=try
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
146 xs_sidplay1_library=""
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
147 xs_sidplay1_includes=""
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
148 ])
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
149
186
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
150
446
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
151 AC_ARG_WITH([sidplay1-inc],
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
152 [ --with-sidplay1-inc=DIR Where the SIDPlay1 headers are located],
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
153 [xs_sidplay1_includes="$withval"],)
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
154
447
d8f3b00b83b7 Forgot to quote this ..
Matti Hamalainen <ccr@tnsp.org>
parents: 446
diff changeset
155 AC_ARG_WITH([sidplay1-lib],
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
156 [ --with-sidplay1-lib=DIR Where the SIDPlay1 library is installed],
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
157 [xs_sidplay1_library="$withval"],)
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
158
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
159
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
160 dnl ***
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
161 dnl *** libSIDPlay 2 options
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
162 dnl ***
446
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
163 AC_ARG_WITH([sidplay2],
47
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
164 [
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
165 --with-sidplay2=PREFIX Enable SIDPlay2 with install-PREFIX],
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
166 [
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
167 if test "x$withval" = "xyes"; then
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
168 xs_sidplay2=yes
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
169 xs_sidplay2_library=""
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
170 xs_sidplay2_includes=""
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
171 else
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
172 if test "x$withval" = "xno"; then
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
173 xs_sidplay2=no
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
174 else
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
175 xs_sidplay2=yes
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
176 xs_sidplay2_includes="$withval/include"
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
177 xs_sidplay2_library="$withval/lib"
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
178 fi
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
179 fi
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
180 ],[
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
181 xs_sidplay2=try
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
182 xs_sidplay2_library=""
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
183 xs_sidplay2_includes=""
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
184 ])
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
185
186
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
186
446
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
187 AC_ARG_WITH([sidplay2-inc],
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
188 [ --with-sidplay2-inc=DIR Where the SIDPlay2 headers are located],
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
189 [xs_sidplay2_includes="$withval"],)
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
190
186
Matti Hamalainen <ccr@tnsp.org>
parents: 180
diff changeset
191
446
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
192 AC_ARG_WITH([sidplay2-lib],
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
193 [ --with-sidplay2-lib=DIR Where the SIDPlay2 library is installed],
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
194 [xs_sidplay2_library="$withval"],)
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
195
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
196
125
532ec0ad5e59 Added support/detection for libNanoSID.
Matti Hamalainen <ccr@tnsp.org>
parents: 114
diff changeset
197 dnl ***
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
198 dnl *** Determine if libraries are wanted and available
125
532ec0ad5e59 Added support/detection for libNanoSID.
Matti Hamalainen <ccr@tnsp.org>
parents: 114
diff changeset
199 dnl ***
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
200 OPT_SIDPLAY1="no"
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
201 if test "x$xs_sidplay1" = "xtry"; then
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
202 XS_PATH_LIBSIDPLAY1
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
203 else
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
204 if test "x$xs_sidplay1" = "xyes"; then
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
205 XS_PATH_LIBSIDPLAY1
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
206 if test "x$xs_have_sidplay1" = "xno"; then
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
207 AC_MSG_ERROR([libSIDPlay1 library and/or headers were not found!])
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
208 fi
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
209 fi
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
210 fi
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
211 if test "x$xs_have_sidplay1" = "xyes"; then
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
212 AC_DEFINE([HAVE_SIDPLAY1])
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
213 OPT_SIDPLAY1="yes"
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
214 fi
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
215
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
216
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
217
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
218 OPT_SIDPLAY2="no"
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
219 LIBSIDPLAY2_REQUIRED_VERSION="2.1.0"
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
220 if test "x$xs_sidplay2" = "xtry"; then
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
221 XS_PATH_LIBSIDPLAY2
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
222 else
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
223 if test "x$xs_sidplay2" = "xyes"; then
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
224 XS_PATH_LIBSIDPLAY2
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
225 if test "x$xs_have_sidplay2" = "xno"; then
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
226 AC_MSG_ERROR([libSIDPlay2 library and/or headers were not found!])
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
227 fi
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
228 fi
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
229 fi
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
230 if test "x$xs_have_sidplay2" = "xyes"; then
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
231 AC_DEFINE([HAVE_SIDPLAY2])
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
232 OPT_SIDPLAY2="yes"
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
233 BUILDERS_FIND
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
234 BUILDERS_FIND_RESID
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
235 BUILDERS_FIND_HARDSID
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
236 if test "x$builders_available" = "xno"; then
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
237 AC_MSG_ERROR([No builder modules were found in the sidbuilders directory!]);
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
238 fi
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
239 fi
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
240
125
532ec0ad5e59 Added support/detection for libNanoSID.
Matti Hamalainen <ccr@tnsp.org>
parents: 114
diff changeset
241
532ec0ad5e59 Added support/detection for libNanoSID.
Matti Hamalainen <ccr@tnsp.org>
parents: 114
diff changeset
242 dnl ***
47
fd610bb817bc Updated specfile, added new configure options and improved detections
Matti Hamalainen <ccr@tnsp.org>
parents: 43
diff changeset
243 dnl *** Check if we have some emulator library available?
125
532ec0ad5e59 Added support/detection for libNanoSID.
Matti Hamalainen <ccr@tnsp.org>
parents: 114
diff changeset
244 dnl ***
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
245 if test "x$OPT_SIDPLAY1" = "xno"; then
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
246 if test "x$OPT_SIDPLAY2" = "xno"; then
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
247 AC_MSG_ERROR([Either libSIDPlay1 or libSIDPlay2 is required! Please read INSTALL for more information!])
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
248 fi
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
249 fi
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
250
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
251
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
252 dnl ***
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
253 dnl *** Song position patch check
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
254 dnl ***
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
255 AC_MSG_CHECKING([for song position patch])
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
256 tmp_CPPFLAGS=$CPPFLAGS
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
257 if test -d "$prefix"; then
446
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
258 CPPFLAGS="$CPPFLAGS -I${prefix}/include"
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
259 fi
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
260
410
4ba6416227e2 Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 397
diff changeset
261 AC_EGREP_HEADER([set_song_position],[xmms/plugin.h],[
446
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
262 OPT_SONGPOS="yes"
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
263 AC_DEFINE([HAVE_SONG_POSITION])
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
264 AC_MSG_RESULT([yes])
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
265 ],[
446
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
266 OPT_SONGPOS="no"
3119716480ad Added m4 quoting; Indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 443
diff changeset
267 AC_MSG_RESULT([no])
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
268 ])
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
269 CPPFLAGS=$tmp_CPPFLAGS
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
270
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
271
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
272 dnl ***
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
273 dnl *** Check XMMS version
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
274 dnl ***
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
275 AM_PATH_XMMS([1.2.0],, [
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
276 AC_MSG_ERROR([*** XMMS >= 1.2.0 not found. You need XMMS v1.2.0 or later to use XMMS-SID plugin.])
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
277 ])
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
278 libdir=$XMMS_INPUT_PLUGIN_DIR
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
279
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
280 XMMS_TEST_VERSION([$XMMS_VERSION], [1.2.5], [
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
281 AC_DEFINE([HAVE_XMMSEXTRA])
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
282 OPT_XMMSEXTRA="yes"
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
283 ], [
443
62fc59951eda Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 436
diff changeset
284 OPT_XMMSEXTRA="no"
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
285 ])
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
286
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
287
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
288 dnl ***
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
289 dnl *** And finally, output the all generatable files!
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
290 dnl ***
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
291 AC_CONFIG_FILES([
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
292 Makefile
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
293 xmms-sid.spec
431
a5ebf8595154 GNU gettext i18n support
Matti Hamalainen <ccr@tnsp.org>
parents: 410
diff changeset
294 po/Makefile.in
a5ebf8595154 GNU gettext i18n support
Matti Hamalainen <ccr@tnsp.org>
parents: 410
diff changeset
295 m4/Makefile
1
183e7cbc1036 Initial revision
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
296 ])
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
297 AC_OUTPUT
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
298
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
299
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
300 dnl ***
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
301 dnl *** Show the result message
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
302 dnl ***
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
303 AC_MSG_RESULT([
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
304 XMMS-SID has been configured successfully:
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
305
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
306 Installation directory : $libdir
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
307 XMMS >= v1.2.5 extra features : $OPT_XMMSEXTRA
79
b3e17bb32b21 Re-added support for detection of song-position patch,
Matti Hamalainen <ccr@tnsp.org>
parents: 47
diff changeset
308 Song-position patch : $OPT_SONGPOS
31
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
309 libSIDPlay 1 support : $OPT_SIDPLAY1
ca6dab6c4ead Re-wrote configuration scripts and libsidplay 1/2 detection.
Matti Hamalainen <ccr@tnsp.org>
parents: 23
diff changeset
310 libSIDPlay 2 support : $OPT_SIDPLAY2
35
3fcc147b253a Updates towards 0.8beta0
Matti Hamalainen <ccr@tnsp.org>
parents: 33
diff changeset
311 Included builders : $xs_builders
254
d3a4d35f2a8f Themetune, at least temporarily. Haven't asked Agemixer yet for permission.
Matti Hamalainen <ccr@tnsp.org>
parents: 248
diff changeset
312 XMMS-SID theme SID-tune : $OPT_THEMETUNE
10
364fe4a69c2b Updating ...
Matti Hamalainen <ccr@tnsp.org>
parents: 1
diff changeset
313 ])