Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 182528 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +9 lines)
Line  Link Here
0
-- configure.ac
0
++ configure.ac
Lines 19-24 Link Here
19
AC_ARG_ENABLE(sndfile, [  --enable-sndfile        use libsndfile for decoding audio files [default=yes]], , enable_sndfile=yes)
19
AC_ARG_ENABLE(sndfile, [  --enable-sndfile        use libsndfile for decoding audio files [default=yes]], , enable_sndfile=yes)
20
AC_ARG_ENABLE(vorbis, [  --enable-vorbis         enable ogg/vorbis music playback [default=yes]], , enable_vorbis=yes)
20
AC_ARG_ENABLE(vorbis, [  --enable-vorbis         enable ogg/vorbis music playback [default=yes]], , enable_vorbis=yes)
21
AC_ARG_ENABLE(lua, [ --enable-lua           use built-in Lua scripting [default=yes]], , enable_lua=yes)
21
AC_ARG_ENABLE(lua, [ --enable-lua           use built-in Lua scripting [default=yes]], , enable_lua=yes)
22
AC_ARG_ENABLE(speex, , , enable_speex=yes)
23
AC_ARG_ENABLE(smpeg, , , enable_smpeg=yes)
22
24
23
dnl Checks for programs.
25
dnl Checks for programs.
24
AC_PROG_CC
26
AC_PROG_CC
Lines 86-98 Link Here
86
AC_CHECK_HEADER([boost/function.hpp], , [AC_MSG_ERROR([You need boost/function.hpp from the boost library to run Aleph One])])
88
AC_CHECK_HEADER([boost/function.hpp], , [AC_MSG_ERROR([You need boost/function.hpp from the boost library to run Aleph One])])
87
AC_LANG_POP(C++)
89
AC_LANG_POP(C++)
88
90
91
if [[ "x$enable_smpeg" = "xyes" ]]; then
89
dnl Check for SMPEG
92
dnl Check for SMPEG
93
CPPFLAGS="$CPPFLAGS -I/usr/include/smpeg"
90
AC_CHECK_HEADERS([smpeg/smpeg.h], [
94
AC_CHECK_HEADERS([smpeg/smpeg.h], [
91
  AC_CHECK_LIB(smpeg, SMPEG_new, [
95
  AC_CHECK_LIB(smpeg, SMPEG_new, [
92
    LIBS="-lsmpeg $LIBS"
96
    LIBS="-lsmpeg $LIBS"
93
    AC_DEFINE(HAVE_SMPEG, 1, [SMPEG movie playback is enabled])
97
    AC_DEFINE(HAVE_SMPEG, 1, [SMPEG movie playback is enabled])
94
  ])
98
  ])
95
])	    
99
])	    
100
fi
96
101
97
if [[ "x$enable_mad" = "xyes" ]]; then
102
if [[ "x$enable_mad" = "xyes" ]]; then
98
dnl Check for libmad
103
dnl Check for libmad
Lines 128-140 Link Here
128
AC_DEFINE(HAVE_LUA, 1, [Lua support is enabled])
133
AC_DEFINE(HAVE_LUA, 1, [Lua support is enabled])
129
fi
134
fi
130
135
136
if [[ "x$enable_speex" = "xyes" ]]; then
131
dnl Check for Speex
137
dnl Check for Speex
138
CPPFLAGS="$CPPFLAGS -I/usr/include/speex"
132
AC_CHECK_HEADERS(speex/speex.h, [
139
AC_CHECK_HEADERS(speex/speex.h, [
133
  AC_CHECK_LIB(speex, speex_decoder_init, [
140
  AC_CHECK_LIB(speex, speex_decoder_init, [
134
    LIBS="-lspeex $LIBS"
141
    LIBS="-lspeex $LIBS"
135
    AC_DEFINE(SPEEX, 1, [Speex support is enabled])
142
    AC_DEFINE(SPEEX, 1, [Speex support is enabled])
136
  ])
143
  ])
137
])
144
])
145
fi
138
146
139
dnl Check for ALSA
147
dnl Check for ALSA
140
AC_CHECK_HEADERS([alsa/asoundlib.h], [
148
AC_CHECK_HEADERS([alsa/asoundlib.h], [

Return to bug 182528