Changeset 49:6581f7eccd26
- Timestamp:
- 04/17/09 10:12:18 (3 years ago)
- Author:
- thib
- Branch:
- default
- convert_revision:
- svn:d0a2da98-017c-47d2-8c43-22b54484806d/trunk@50
- Message:
-
* Correct --disable-x11
* Better use of --enable and --with. --enable is for optional features whereas --with is for the use of optional libraries
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r46
|
r49
|
|
| 21 | 21 | |
| 22 | 22 | Other dependences: |
| 23 | | * libvorbis or libtremor/libvorbisidec (to use it, specify --enable-tremor when calling ./configure). |
| | 23 | * libvorbis or libtremor/libvorbisidec (to use it, specify --with-tremor when calling ./configure). |
| 24 | 24 | If you don't need vorbis playback, you can add --disable-vorbis to the ./configure args. |
| | 25 | * X11 is used by default, but you can build OtakuNoRaifu without it. |
| | 26 | Just add --without-x11 to the ./configure arguments. |
| 25 | 27 | |
| 26 | 28 | |
-
|
r44
|
r49
|
|
| 79 | 79 | AC_CHECK_LIB(jpeg, jpeg_start_decompress) |
| 80 | 80 | dnl ogg vobis |
| 81 | | AC_ARG_WITH(vorbis, |
| | 81 | AC_ARG_ENABLE(vorbis, |
| 82 | 82 | AS_HELP_STRING([--disable-vorbis], [Build with vorbis and ogg (default yes)])) |
| 83 | | if test X$with_vorbis != X"no"; then |
| 84 | | AC_ARG_ENABLE(tremor, AS_HELP_STRING([--enable-tremor], |
| 85 | | [enable tremor (integer-only implementation of vorbisfile) (default no)])) |
| | 83 | if test X$enable_vorbis != X"no"; then |
| | 84 | AC_ARG_WITH(tremor, AS_HELP_STRING([--with-tremor], |
| | 85 | [use the tremor (integer-only implementation of vorbisfile) library (default no)])) |
| 86 | 86 | AC_CHECK_LIB(ogg, ogg_stream_init) |
| 87 | 87 | AC_CHECK_LIB(vorbis, vorbis_book_decode,,,-logg) |
| 88 | | if test X$enable_tremor = X"yes"; then |
| | 88 | if test X$with_tremor = X"yes"; then |
| 89 | 89 | AC_CHECK_LIB(vorbisidec, ov_read,, |
| 90 | 90 | AC_MSG_ERROR(vorbisidec (tremor) not found),-logg -lvorbis) |
| … |
… |
|
| 116 | 116 | USE_SMPEG=1 |
| 117 | 117 | fi |
| 118 | | AC_ARG_ENABLE(mad, |
| 119 | | [ --disable-mad disable mad (integer-only implementation for mpeg decoding) [ default yes]]) |
| 120 | | if test X$enable_mad != X"no"; then |
| | 118 | AC_ARG_WITH(mad, |
| | 119 | [ --without-mad use mad (integer-only implementation for mpeg decoding) [ default yes]]) |
| | 120 | if test X$without_mad != X"no"; then |
| 121 | 121 | AC_CHECK_LIB(mad, mad_decoder_run) |
| 122 | 122 | fi |
| … |
… |
|
| 155 | 155 | fi |
| 156 | 156 | |
| 157 | | AC_ARG_ENABLE(x11, |
| 158 | | AS_HELP_STRING([--disable-x11], [Use the X11 library (default yes)])) |
| 159 | | if test X$x11 = X"no"; then |
| | 157 | AC_ARG_WITH(x11, |
| | 158 | AS_HELP_STRING([--without-x11], [Use the X11 library (default yes)])) |
| | 159 | if test X$with_x11 = X"no"; then |
| 160 | 160 | USE_X11=0 |
| 161 | 161 | else |