Lines 1-5
Link Here
|
1 |
--- configure.in.orig 2010-12-17 07:17:41.000000000 +0100 |
1 |
--- configure.in.orig 2010-12-17 07:17:41.000000000 +0100 |
2 |
+++ configure.in 2011-02-23 21:51:33.000000000 +0100 |
2 |
+++ configure.in 2011-03-08 15:10:52.000000000 +0100 |
3 |
@@ -19,10 +19,10 @@ |
3 |
@@ -19,10 +19,10 @@ |
4 |
[ |
4 |
[ |
5 |
if [[ "$host_vendor" != "apple" ]]; then |
5 |
if [[ "$host_vendor" != "apple" ]]; then |
Lines 45-51
Link Here
|
45 |
i386-apple-darwin*) |
45 |
i386-apple-darwin*) |
46 |
ARCH="x86-osx" |
46 |
ARCH="x86-osx" |
47 |
# define i386 or x86_64, cannot use $HOSTTYPE as it reports x86_64 on 10.6 regardless of kernel flavor |
47 |
# define i386 or x86_64, cannot use $HOSTTYPE as it reports x86_64 on 10.6 regardless of kernel flavor |
48 |
@@ -543,7 +561,11 @@ |
48 |
@@ -507,6 +525,8 @@ |
|
|
49 |
# Add top source directory for all builds so we can use config.h |
50 |
INCLUDES="$INCLUDES -I\$(abs_top_srcdir)" |
51 |
|
52 |
+AC_CHECK_HEADER([sys/inotify.h], AC_DEFINE([HAVE_INOTIFY],[1],[""]),) |
53 |
+ |
54 |
# Checks for boost headers using CXX instead of CC |
55 |
AC_LANG_PUSH([C++]) |
56 |
AC_CHECK_HEADER([boost/shared_ptr.hpp],, AC_MSG_ERROR($missing_library)) |
57 |
@@ -543,7 +563,11 @@ |
49 |
AC_CHECK_LIB([ass], [ass_set_message_cb],,use_external_libass="no") |
58 |
AC_CHECK_LIB([ass], [ass_set_message_cb],,use_external_libass="no") |
50 |
AC_CHECK_LIB([bz2], [main],, AC_MSG_ERROR($missing_library)) |
59 |
AC_CHECK_LIB([bz2], [main],, AC_MSG_ERROR($missing_library)) |
51 |
AC_CHECK_LIB([jpeg], [main],, AC_MSG_ERROR($missing_library)) # check for cximage |
60 |
AC_CHECK_LIB([jpeg], [main],, AC_MSG_ERROR($missing_library)) # check for cximage |
Lines 57-63
Link Here
|
57 |
AC_CHECK_LIB([lzo2], [main],, AC_MSG_ERROR($missing_library)) |
66 |
AC_CHECK_LIB([lzo2], [main],, AC_MSG_ERROR($missing_library)) |
58 |
AC_CHECK_LIB([z], [main],, AC_MSG_ERROR($missing_library)) |
67 |
AC_CHECK_LIB([z], [main],, AC_MSG_ERROR($missing_library)) |
59 |
AC_CHECK_LIB([ssl], [main],, AC_MSG_ERROR($missing_library)) |
68 |
AC_CHECK_LIB([ssl], [main],, AC_MSG_ERROR($missing_library)) |
60 |
@@ -581,9 +603,6 @@ |
69 |
@@ -581,9 +605,6 @@ |
61 |
PKG_CHECK_MODULES([SAMPLERATE], [samplerate], |
70 |
PKG_CHECK_MODULES([SAMPLERATE], [samplerate], |
62 |
[INCLUDES="$INCLUDES $SAMPLERATE_CFLAGS"; LIBS="$LIBS $SAMPLERATE_LIBS"], |
71 |
[INCLUDES="$INCLUDES $SAMPLERATE_CFLAGS"; LIBS="$LIBS $SAMPLERATE_LIBS"], |
63 |
AC_MSG_ERROR($missing_library)) |
72 |
AC_MSG_ERROR($missing_library)) |
Lines 67-73
Link Here
|
67 |
PKG_CHECK_MODULES([FREETYPE2], [freetype2], |
76 |
PKG_CHECK_MODULES([FREETYPE2], [freetype2], |
68 |
[INCLUDES="$INCLUDES $FREETYPE2_CFLAGS"; LIBS="$LIBS $FREETYPE2_LIBS"], |
77 |
[INCLUDES="$INCLUDES $FREETYPE2_CFLAGS"; LIBS="$LIBS $FREETYPE2_LIBS"], |
69 |
AC_MSG_ERROR($missing_library)) |
78 |
AC_MSG_ERROR($missing_library)) |
70 |
@@ -620,6 +639,29 @@ |
79 |
@@ -620,6 +641,29 @@ |
71 |
] |
80 |
] |
72 |
) |
81 |
) |
73 |
|
82 |
|
Lines 97-116
Link Here
|
97 |
# platform dependent libraries |
106 |
# platform dependent libraries |
98 |
if test "$host_vendor" = "apple" ; then |
107 |
if test "$host_vendor" = "apple" ; then |
99 |
AC_CHECK_LIB([iconv], [main],, AC_MSG_ERROR($missing_library)) |
108 |
AC_CHECK_LIB([iconv], [main],, AC_MSG_ERROR($missing_library)) |
100 |
@@ -644,8 +686,10 @@ |
109 |
@@ -644,8 +688,10 @@ |
101 |
AC_CHECK_HEADER([FLAC/stream_decoder.h],, AC_MSG_ERROR($missing_library)) |
110 |
AC_CHECK_HEADER([FLAC/stream_decoder.h],, AC_MSG_ERROR($missing_library)) |
102 |
AC_CHECK_LIB([smbclient], [main],, AC_MSG_ERROR($missing_library)) |
111 |
AC_CHECK_LIB([smbclient], [main],, AC_MSG_ERROR($missing_library)) |
103 |
AC_CHECK_LIB([SDL_mixer], [main],, AC_MSG_ERROR($missing_library)) |
112 |
AC_CHECK_LIB([SDL_mixer], [main],, AC_MSG_ERROR($missing_library)) |
104 |
- AC_CHECK_LIB([dl], [main],, AC_MSG_ERROR($missing_library)) |
|
|
105 |
- AC_CHECK_LIB([resolv], [main],, AC_MSG_ERROR($missing_library)) |
106 |
+ if echo "$ARCH" | grep -vq freebsd; then |
113 |
+ if echo "$ARCH" | grep -vq freebsd; then |
107 |
+ AC_CHECK_LIB([dl], [main],, AC_MSG_ERROR($missing_library)) |
114 |
AC_CHECK_LIB([dl], [main],, AC_MSG_ERROR($missing_library)) |
108 |
+ AC_CHECK_LIB([resolv], [main],, AC_MSG_ERROR($missing_library)) |
115 |
AC_CHECK_LIB([resolv], [main],, AC_MSG_ERROR($missing_library)) |
109 |
+ fi |
116 |
+ fi |
110 |
AC_CHECK_LIB([jasper], [main],, AC_MSG_ERROR($missing_library)) # check for cximage |
117 |
AC_CHECK_LIB([jasper], [main],, AC_MSG_ERROR($missing_library)) # check for cximage |
111 |
AC_CHECK_LIB([tiff], [main],, AC_MSG_ERROR($missing_library)) |
118 |
AC_CHECK_LIB([tiff], [main],, AC_MSG_ERROR($missing_library)) |
112 |
AC_CHECK_LIB([rt], [clock_gettime],, AC_MSG_ERROR($missing_library)) |
119 |
AC_CHECK_LIB([rt], [clock_gettime],, AC_MSG_ERROR($missing_library)) |
113 |
@@ -740,8 +784,8 @@ |
120 |
@@ -740,8 +786,8 @@ |
114 |
AC_MSG_RESULT($faac_disabled) |
121 |
AC_MSG_RESULT($faac_disabled) |
115 |
else |
122 |
else |
116 |
if test "$use_faac" = "yes"; then |
123 |
if test "$use_faac" = "yes"; then |
Lines 121-127
Link Here
|
121 |
else |
128 |
else |
122 |
AC_MSG_RESULT($faac_disabled) |
129 |
AC_MSG_RESULT($faac_disabled) |
123 |
fi |
130 |
fi |
124 |
@@ -1211,6 +1255,12 @@ |
131 |
@@ -919,7 +965,11 @@ |
|
|
132 |
|
133 |
# External Python |
134 |
if test "$use_external_python" = "yes"; then |
135 |
- AC_CHECK_LIB([python2.6], [main], |
136 |
+ AC_CHECK_LIB([python2.7], [main], |
137 |
+ [AC_DEFINE([HAVE_LIBPYTHON2_7], [1], |
138 |
+ [Define to 1 if you have the 'python2.7' library.]) |
139 |
+ USE_PYTHON2_7=1], |
140 |
+ [AC_CHECK_LIB([python2.6], [main], |
141 |
[AC_DEFINE([HAVE_LIBPYTHON2_6], [1], |
142 |
[Define to 1 if you have the 'python2.6' library.]) |
143 |
USE_PYTHON2_6=1], |
144 |
@@ -931,9 +981,10 @@ |
145 |
[AC_DEFINE([HAVE_LIBPYTHON2_4], [1], |
146 |
[Define to 1 if you have the 'python2.4' library.]) |
147 |
USE_PYTHON2_4=1], |
148 |
- [AC_MSG_ERROR($missing_library)] )] )] ) |
149 |
+ [AC_MSG_ERROR($missing_library)] )] )] )] ) |
150 |
|
151 |
AC_MSG_NOTICE($external_python_enabled) |
152 |
+ test "$USE_PYTHON2_7" && AC_MSG_NOTICE([Using Python 2.7]) |
153 |
test "$USE_PYTHON2_6" && AC_MSG_NOTICE([Using Python 2.6]) |
154 |
test "$USE_PYTHON2_5" && AC_MSG_NOTICE([Using Python 2.5]) |
155 |
test "$USE_PYTHON2_4" && AC_MSG_NOTICE([Using Python 2.4]) |
156 |
@@ -1211,6 +1262,12 @@ |
125 |
final_message="$final_message\n Bluray:\tNo" |
157 |
final_message="$final_message\n Bluray:\tNo" |
126 |
fi |
158 |
fi |
127 |
|
159 |
|
Lines 134-140
Link Here
|
134 |
if test "$use_mid" = "yes"; then |
166 |
if test "$use_mid" = "yes"; then |
135 |
final_message="$final_message\n MID Support:\tYes" |
167 |
final_message="$final_message\n MID Support:\tYes" |
136 |
SDL_DEFINES="$SDL_DEFINES -DMID" |
168 |
SDL_DEFINES="$SDL_DEFINES -DMID" |
137 |
@@ -1418,7 +1468,6 @@ |
169 |
@@ -1418,7 +1475,6 @@ |
138 |
xbmc/cores/paplayer/NSFCodec/Makefile \ |
170 |
xbmc/cores/paplayer/NSFCodec/Makefile \ |
139 |
xbmc/cores/paplayer/SIDCodec/Makefile \ |
171 |
xbmc/cores/paplayer/SIDCodec/Makefile \ |
140 |
xbmc/cores/paplayer/vgmstream/Makefile \ |
172 |
xbmc/cores/paplayer/vgmstream/Makefile \ |
Lines 142-148
Link Here
|
142 |
xbmc/cores/paplayer/YMCodec/StSoundLibrary/Makefile \ |
174 |
xbmc/cores/paplayer/YMCodec/StSoundLibrary/Makefile \ |
143 |
xbmc/cores/playercorefactory/Makefile \ |
175 |
xbmc/cores/playercorefactory/Makefile \ |
144 |
xbmc/karaoke/Makefile \ |
176 |
xbmc/karaoke/Makefile \ |
145 |
@@ -1735,7 +1784,7 @@ |
177 |
@@ -1491,6 +1547,7 @@ |
|
|
178 |
AC_SUBST(USE_EXTERNAL_LIBMPEG2) |
179 |
AC_SUBST(USE_EXTERNAL_LIBWAVPACK) |
180 |
AC_SUBST(USE_EXTERNAL_PYTHON) |
181 |
+AC_SUBST(USE_PYTHON2_7) |
182 |
AC_SUBST(USE_PYTHON2_6) |
183 |
AC_SUBST(USE_PYTHON2_5) |
184 |
AC_SUBST(USE_PYTHON2_4) |
185 |
@@ -1735,7 +1792,7 @@ |
146 |
--enable-static \ |
186 |
--enable-static \ |
147 |
--disable-shared \ |
187 |
--disable-shared \ |
148 |
--cc="$CC" && |
188 |
--cc="$CC" && |
Lines 151-163
Link Here
|
151 |
mkdir -p `pwd`/../includes/dvdread |
191 |
mkdir -p `pwd`/../includes/dvdread |
152 |
cp `pwd`/../libdvdread/src/*.h `pwd`/../includes/dvdread |
192 |
cp `pwd`/../libdvdread/src/*.h `pwd`/../includes/dvdread |
153 |
else |
193 |
else |
154 |
@@ -1744,13 +1793,14 @@ |
194 |
@@ -1749,8 +1806,9 @@ |
155 |
--prefix="${prefix}" --includedir="${includedir}" --libdir="${libdir}" --datadir="${datadir}" \ |
|
|
156 |
--host=$host_alias \ |
157 |
--build=$build_alias \ |
158 |
- --target=$target_alias \ |
159 |
+ --target=$target_alias \ |
160 |
--enable-static \ |
161 |
--disable-shared \ |
195 |
--disable-shared \ |
162 |
--disable-strip \ |
196 |
--disable-strip \ |
163 |
--disable-opts \ |
197 |
--disable-opts \ |
Lines 168-174
Link Here
|
168 |
mkdir -p `pwd`/../includes/dvdread |
202 |
mkdir -p `pwd`/../includes/dvdread |
169 |
cp `pwd`/../libdvdread/src/*.h `pwd`/../includes/dvdread |
203 |
cp `pwd`/../libdvdread/src/*.h `pwd`/../includes/dvdread |
170 |
fi |
204 |
fi |
171 |
@@ -1766,6 +1816,17 @@ |
205 |
@@ -1766,6 +1824,17 @@ |
172 |
--enable-static \ |
206 |
--enable-static \ |
173 |
--disable-shared \ |
207 |
--disable-shared \ |
174 |
--cc="$CC" |
208 |
--cc="$CC" |