summaryrefslogtreecommitdiff
path: root/m4/summary.m4
blob: 8c89285cbfc63fe3cdda4944de62cee598332a70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
AC_DEFUN([XINE_LIB_SUMMARY], [
    dnl ---------------------------------------------
    dnl Some infos:
    dnl ---------------------------------------------

    echo "xine-lib summary:"
    echo "----------------"

    dnl Input
    echo " * input plugins:"
    echo "   - file          - net"
    echo "   - stdin_fifo    - rtp"
    echo "   - http          - mms"
    echo "   - pnm           - rtsp"
    if test x"$enable_vcd" != x"no"; then
        if test x"$enable_vcdo" != x"no"; then
            echo "   - vcdo          - vcd"
        else
            echo "   - vcd"
        fi
    fi
    if test x"$with_external_dvdnav" != x"no"; then
        echo "   - dvd (external libs)"
    else
        echo "   - dvd (*INTERNAL* libs)"
    fi
    test x"$enable_vdr" != x"no"    && echo "   - vdr"
    test x"$have_dvb" = x"yes"      && echo "   - dvb"
    test x"$have_gnomevfs" = x"yes" && echo "   - gnome-vfs"
    test x"$have_samba" = x"yes"    && echo "   - smb"
    test x"$have_v4l" = x"yes"      && echo "   - v4l"
    test x"$have_v4l2" = x"yes"     && echo "   - v4l2"
    echo "   - cdda"
    test x"$have_libbluray" = x"yes" && echo "   - bluray"
    echo ""

    dnl Demuxers
    echo " * demultiplexer plugins:"
    echo "   - avi           - mpeg"
    echo "   - mpeg_block    - mpeg_audio"
    echo "   - mpeg_elem     - mpeg_pes"
    echo "   - mpeg_ts       - qt/mpeg-4"
    echo "   - film          - roq"
    echo "   - fli           - smjpeg"
    echo "   - idcin         - wav"
    echo "   - wc3 mve       - voc"
    echo "   - vqa           - aiff"
    echo "   - cdda          - snd/au"
    echo "   - yuv4mpeg2     - real/realaudio"
    echo "   - ea wve        - raw dv"
    echo "   - interplay mve - psx str"
    echo "   - ws aud        - pva"
    echo "   - vox           - nsf"
    echo "   - nsv           - 4xm"
    echo "   - FLAC          - aac"
    echo "   - iff           - matroska"
    echo "   - vmd           - flv"
    if test x"$enable_a52dec" != x"no"; then
        if test x"$have_external_a52dec" = x"yes"; then
            echo "   - ac3 (external library)"
        else
            echo "   - ac3 (*INTERNAL* library)"
        fi
    fi
    echo "   - E-AC-3"
    echo "   - AAC LATM"
    test x"$enable_asf" != x"no"     && echo "   - asf"
    test x"$enable_nosefart" != xno  && echo "   - Nosefart (NSF)"
    test x"$enable_mng" != x"no"     && echo "   - mng"
    test x"$have_modplug" = x"yes"   && echo "   - mod"
    test x"$have_libflac" = x"yes"   && echo "   - FLAC (with libFLAC)"
    test x"$have_vorbis" = x"yes"    && echo "   - ogg"
    test x"$have_wavpack" = x"yes"   && echo "   - WavPack"
    echo ""

    dnl video decoders
    echo " * video decoder plugins:"
    echo "   - MPEG 1,2         - Amiga Bitplane"
    echo "   - Raw RGB          - Raw YUV"
    test x"$have_dxr3" = x"yes"        && echo "   - dxr3_video"
    test x"$have_gdkpixbuf" = x"yes"   && echo "   - gdk-pixbuf"
    test x"$have_imagemagick" = x"yes" && echo "   - image"
    test x"$have_theora" = x"yes"      && echo "   - theora"
    test x"$have_w32dll" = x"yes"      && echo "   - w32dll"
    test x"$have_vdpau" = x"yes"       && echo "   - vdpau"
    if test x"$with_external_ffmpeg" != x"no"; then
        echo "   - ffmpeg (external library)"
    else
        echo "   - ffmpeg (*INTERNAL* library):"
        echo "     - MPEG-4 (ISO, Microsoft, DivX*, XviD)"
        echo "     - Creative YUV    - Motion JPEG"
        echo "     - Cinepak         - MS Video-1"
        echo "     - FLI/FLC         - MS RLE"
        echo "     - Id RoQ          - Id Cin"
        echo "     - Apple Graphics  - Apple Video"
        echo "     - Apple Animation - Interplay Video"
        echo "     - Westwood VQA    - Origin Xan"
        echo "     - H.263           - Intel Indeo 3"
        echo "     - SVQ1            - SVQ3"
        echo "     - Real Video 1.0  - Real Video 2.0"
        echo "     - 4X Video        - Sierra Video"
        echo "     - Asus v1/v2      - HuffYUV"
        echo "     - On2 VP3         - DV"
        echo "     - 8BPS            - Duck TrueMotion v1"
        echo "     - ATI VCR1        - Flash Video"
        echo "     - ZLIB            - MSZH"
    fi
    echo ""

    dnl audio decoders
    echo " * audio decoder plugins:"
    echo "   - GSM 06.10       - linear PCM"
    test x"$enable_faad" != x"no"  && echo "   - faad"
    test x"$enable_nosefart" != xno && echo "   - Nosefart (NSF)"
    test x"$have_libflac" = x"yes" && echo "   - FLAC (with libFLAC)"
    test x"$have_speex" = x"yes"   && echo "   - speex"
    test x"$have_vorbis" = x"yes"  && echo "   - vorbis"
    test x"$have_w32dll" = x"yes"  && echo "   - w32dll"
    test x"$have_wavpack" = x"yes" && echo "   - WavPack"
    if test x"$enable_mad" != x"no"; then
        if test x"$have_external_libmad" = x"yes"; then
            echo "   - MAD (MPG 1/2/3) (external library)"
        else
            echo "   - MAD (MPG 1/2/3) (*INTERNAL* library)"
        fi
    fi
    if test x"$enable_libdts" != x"no"; then
        if test x"$have_external_dts" = x"yes"; then
            echo "   - DTS (external library)"
        else
            echo "   - DTS (*INTERNAL* library)"
        fi
    fi
    if test x"$enable_a52dec" != x"no"; then
        if test x"$have_external_a52dec" = x"yes"; then
            echo "   - A52/ra-dnet (external library)"
        else
            echo "   - A52/ra-dnet (*INTERNAL* library)"
        fi
    fi
    if test x"$enable_musepack" != x"no"; then
        if test x"$have_external_libmpcdec" = x"yes"; then
            echo "   - Musepack (external library)"
        else
            echo "   - Musepack (*INTERNAL* library)"
        fi
    fi
    if test x"$with_external_ffmpeg" = x"yes"; then
        echo "   - ffmpeg (external library)"
    else
        echo "   - ffmpeg (*INTERNAL* library):"
        echo "     - Windows Media Audio v1/v2/Pro"
        echo "     - DV            - logarithmic PCM"
        echo "     - 14k4          - 28k8"
        echo "     - MS ADPCM      - IMA ADPCM"
        echo "     - XA ADPCM      - Game DPCM/ADPCM"
        echo "     - Mace 3:13     - Mace 6:1"
        echo "     - FLAC"
    fi
    echo ""

    dnl spu decoders
    echo " * subtitle decoder plugins:"
    echo "   - spu             - spucc"
    echo "   - spucmml         - sputext"
    echo "   - spudvb"
    test x"$have_dxr3" = x"yes" && echo "   - dxr3_spu"
    echo ""

    dnl post plugins
    echo " * post effect plugins:"
    echo "  * planar video effects:"
    echo "   - invert          - expand"
    echo "   - eq              - eq2"
    echo "   - boxblur         - denoise3d"
    echo "   - unsharp         - tvtime"
    test x"$have_dvb" = x"yes"      && echo "   - vdr"
    echo "  * SFX:"
    echo "   - goom            - oscope"
    echo "   - fftscope        - mosaico"
    echo ""

    dnl Video plugins
    echo " * video driver plugins:"
    if test x"$no_x" != x"yes"; then
        echo "   - XShm (X11 shared memory)"
        if test x"$have_xv" = x"yes"; then
            if test x"$have_xv_static" = x"yes"; then
                echo "   - Xv (XVideo *static*)"
            else
                echo "   - Xv (XVideo *shared*)"
            fi
        fi
        if test x"$have_xxmc" = x"yes"; then
            if test x"$have_vldexts" = x"yes"; then
                echo "   - XxMC (XVideo extended motion compensation)"
            else
                echo "   - XxMC (XVideo motion compensation - vld extensions DISABLED)"
            fi
        fi
        if test x"$have_xvmc" = x"yes"; then
            echo "   - XvMC (XVideo motion compensation)"
        fi
        if test x"$have_opengl" = x"yes"; then
            if test x"$have_glu" = x"yes"; then
                echo "   - OpenGL (with GLU support)"
            else
                echo "   - OpenGL"
            fi
        fi
        test x"$have_vdpau" = x"yes"       && echo "   - vdpau (X11 Video Decode and Presentation API for Unix)"
        if test x"$have_sunfb" = x"yes"; then
            if test x"$have_sundga" = x"yes"; then
                echo "   - PGX64 (for Sun XVR100/PGX64/PGX24 cards)"
                echo "   - PGX32 (for Sun PGX32 cards)"
            fi
        fi
    fi
    if test x"$have_xcb" = x"yes"; then
        if test x"$have_xcbshm" = x"yes"; then
            echo "   - xcb-shm (X shared memory using XCB)"
        fi
        if test x"$have_xcbxv" = x"yes"; then
            echo "   - xcb-xv (XVideo using XCB)"
        fi
    fi


    test x"$have_aalib" = x"yes"        && echo "   - aa (Ascii ART)"
    test x"$have_caca" = x"yes"         && echo "   - caca (Color AsCii Art)"
    test x"$have_directfb" = x"yes"     && echo "   - directfb (DirectFB driver)"
    test x"$have_directx" = x"yes"      && echo "   - directx (DirectX video driver)"
    test x"$have_fb" = x"yes"           && echo "   - fb (Linux framebuffer device)"
    test x"$have_libstk" = x"yes"       && echo "   - stk (Libstk Set-top Toolkit)"
    test x"$have_macosx_video" = x"yes" && echo "   - Mac OS X OpenGL"
    test x"$have_sdl" = x"yes"          && echo "   - sdl (Simple DirectMedia Layer)"


    if test x"$have_dxr3" = x"yes"; then
        if test x"$have_encoder" = x"yes"; then
            echo "   - dxr3 (Hollywood+ and Creative dxr3, both mpeg and non-mpeg video)"
        else
            echo "   - dxr3 (Hollywood+ and Creative dxr3, mpeg video only)"
        fi
    fi
    if test x"$have_vidix" = x"yes"; then
        echo $ECHO_N "   - vidix ("

        if test x"$no_x" != x"yes"; then
            echo $ECHO_N "X11"
            if test x"$have_fb" = x"yes"; then
                echo $ECHO_N " and "
            fi
        fi

        if test x"$have_fb" = x"yes"; then
            echo $ECHO_N "framebuffer"
        fi

        echo $ECHO_N " support"

        if test x"$enable_dha_kmod" != x"no"; then
            echo " with dhahelper)"
        else
            echo ")"
        fi
    fi

    echo ""

    dnl Audio plugins
    echo " * audio driver plugins:"
    test x"$have_alsa" = x"yes"         && echo "   - alsa (ALSA - Advanced Linux Sound Architecture)"
    test x"$have_coreaudio" = x"yes"    && echo "   - CoreAudio (Mac OS X audio driver)"
    test x"$have_directx" = x"yes"      && echo "   - directx (DirectX audio driver)"
    test x"$have_esound" = x"yes"       && echo "   - esd (Enlightened Sound Daemon)"
    test x"$have_fusionsound" = x"yes"  && echo "   - fusionsound (FusionSound driver)"
    test x"$am_cv_have_irixal" = x"yes" && echo "   - irixal (Irix audio library)"
    test x"$have_jack" = x"yes"         && echo "   - Jack"
    test x"$have_oss" = x"yes"          && echo "   - oss (Open Sound System)"
    test x"$have_pulseaudio" = x"yes"   && echo "   - pulseaudio (PulseAudio sound server)"
    test x"$have_sunaudio" = x"yes"     && echo "   - sun (Sun audio interface)"
    test "x$have_sndio" = "xyes"	&& echo "   - sndio"
    echo "---"


    dnl ---------------------------------------------
    dnl some user warnings
    dnl ---------------------------------------------

    dnl some levels of variable expansion to get final install paths
    final_libdir="`eval eval eval eval echo $libdir`"
    final_bindir="`eval eval eval eval echo $bindir`"

    if test -r /etc/ld.so.conf && ! grep -x "$final_libdir" /etc/ld.so.conf >/dev/null ; then
        if test "$final_libdir" != "/lib" -a "$final_libdir" != "/usr/lib" ; then
            if ! echo "$LD_LIBRARY_PATH" | egrep "(:|^)$final_libdir(/?:|/?$)" >/dev/null ; then
                echo
                echo "****************************************************************"
                echo "xine-lib will be installed to $final_libdir"
                echo
                echo "This path is not mentioned among the linker search paths in your"
                echo "/etc/ld.so.conf. This means it is possible that xine-lib will"
                echo "not be found when you try to compile or run a program using it."
                echo "If this happens, you should add $final_libdir to"
                echo "the environment variable LD_LIBRARY_PATH like that:"
                echo
                echo "export LD_LIBRARY_PATH=$final_libdir:\$LD_LIBRARY_PATH"
                echo
                echo "Alternatively you can add a line \"$final_libdir\""
                echo "to your /etc/ld.so.conf."
                echo "****************************************************************"
                echo
            fi
        fi
    fi

    if ! echo "$PATH" | egrep "(:|^)$final_bindir(/?:|/?$)" >/dev/null ; then
        echo
        echo "****************************************************************"
        echo "xine-config will be installed to $final_bindir"
        echo
        echo "This path is not in your search path. This means it is possible"
        echo "that xine-config will not be found when you try to compile a"
        echo "program using xine-lib. This will result in build failures."
        echo "If this happens, you should add $final_bindir to"
        echo "the environment variable PATH like that:"
        echo
        echo "export PATH=$final_bindir:\$PATH"
        echo
        echo "Note that this is only needed for compilation. It is not needed"
        echo "to have xine-config in your search path at runtime. (Although"
        echo "it will not cause any harm either.)"
        echo "****************************************************************"
        echo
    fi

    dnl warn if no X11 plugins will be built
    if test "x$no_x" = "xyes"; then
        case $host in
            *mingw*|*-cygwin) ;;
            *-darwin*) ;;
            *)
                echo
                echo "****************************************************************"
                echo "WARNING! No X11 output plugins will be built."
                echo
                echo "For some reason, the requirements for building the X11 video"
                echo "output plugins are not met. That means, that you will NOT be"
                echo "able to use the resulting xine-lib to watch videos in a window"
                echo "on any X11-based display (e.g. your desktop)."
                echo
                echo "If this is not what you want, provide the necessary X11 build"
                echo "dependencies (usually done by installing a package called"
                echo "XFree86-devel or similar) and run configure again."
                echo "****************************************************************"
                echo
                ;;
        esac
    fi
])