Commit ced4c0f6 authored by Sam Hocevar's avatar Sam Hocevar

  * ./BUGS: updated bug list.
  * ./configure.in: ./configure --help should be a lot clearer now.
parent 4c8afc76
List of known vlc bugs List of known vlc bugs
$Id: BUGS,v 1.6 2002/01/28 16:51:22 sam Exp $ $Id: BUGS,v 1.7 2002/03/17 21:59:52 sam Exp $
Please try to keep this file up to date. Also, grep for FIXME in the Please try to keep this file up to date. Also, grep for FIXME in the
source files for more and more bugs to fix. source files for more and more bugs to fix.
...@@ -17,6 +17,8 @@ Input: ...@@ -17,6 +17,8 @@ Input:
* DVD raw device support doesn't seem to work. * DVD raw device support doesn't seem to work.
* HTTP input seems to lose packets during pre-parsing.
Audio output: Audio output:
...@@ -28,12 +30,6 @@ Video output: ...@@ -28,12 +30,6 @@ Video output:
* We don't render subtitles on RGB surfaces. * We don't render subtitles on RGB surfaces.
* Subtitle colors are just plain wrong.
* The DirectX video output plugin is broken because of vout4.
* The BeOS video output plugin is broken because of vout4.
* The QNX video output plugin is broken because of vout4. * The QNX video output plugin is broken because of vout4.
* The MGA video output plugin makes the picture stutter when MGA_NUM_FRAMES * The MGA video output plugin makes the picture stutter when MGA_NUM_FRAMES
...@@ -42,10 +38,10 @@ Video output: ...@@ -42,10 +38,10 @@ Video output:
* The SPU decoder doesn't detect when the video output failed to launch * The SPU decoder doesn't detect when the video output failed to launch
itself, and we segfault. itself, and we segfault.
Chroma transformations: * On-the-fly resizing doesn't work when using a chroma transformation.
* The only working YUV2RGB transformation function is the MMX version Chroma transformations:
of the 4:2:0 to RGB16 function.
* Most chroma transformation modules completely ignore margins. * Most chroma transformation modules completely ignore margins.
...@@ -63,8 +59,6 @@ Gtk interface: ...@@ -63,8 +59,6 @@ Gtk interface:
* Playing like a madman with the `Playlist' button makes the interface * Playing like a madman with the `Playlist' button makes the interface
crash. crash.
* Saving preferences does not work at all.
Misc: Misc:
......
...@@ -52,7 +52,7 @@ Configuring mad plugin ...@@ -52,7 +52,7 @@ Configuring mad plugin
========================= =========================
If libmad is installed in /usr (ie. you have /usr/include/mad.h and /usr/lib/libmad.a), If libmad is installed in /usr (ie. you have /usr/include/mad.h and /usr/lib/libmad.a),
then you just need --with-mad=/usr. then you just need --enable-mad --with-mad=/usr.
make distclean; ./configure --prefix=/usr --enable-fb --enable-dsp --disable-sdl \ make distclean; ./configure --prefix=/usr --enable-fb --enable-dsp --disable-sdl \
--enable-x11 --disable-xvideo --enable-mad --with-mad=/usr --enable-x11 --disable-xvideo --enable-mad --with-mad=/usr
......
This diff is collapsed.
...@@ -81,65 +81,6 @@ case x"${target_os}" in ...@@ -81,65 +81,6 @@ case x"${target_os}" in
;; ;;
esac esac
dnl
dnl Endianness check, AC_C_BIGENDIAN doesn't work if we are cross-compiling
dnl
dnl We give the user the opportunity to specify
dnl --with-words=big or --with-words=little ; otherwise, try to guess
dnl
AC_ARG_WITH(words,
[ --with-words=endianness Set endianness (big or little)])
case "x$withval" in
xbig)
ac_cv_c_bigendian=yes
;;
xlittle)
ac_cv_c_bigendian=no
;;
*)
dnl Try to guess endianness by matching patterns on a compiled
dnl binary, by looking for an ASCII or EBCDIC string
AC_CACHE_CHECK([whether the byte order is big-endian],
[ac_cv_c_bigendian],
[ac_cv_c_bigendian=unknown
[cat >conftest.c <<EOF
short am[] = { 0x4249, 0x4765, 0x6e44, 0x6961, 0x6e53, 0x7953, 0 };
short ai[] = { 0x694c, 0x5454, 0x656c, 0x6e45, 0x6944, 0x6e61, 0 };
void _a(void) { char*s = (char*)am; s = (char *)ai; }
short ei[] = { 0x89D3, 0xe3e3, 0x8593, 0x95c5, 0x89c4, 0x9581, 0 };
short em[] = { 0xc2c9, 0xc785, 0x95c4, 0x8981, 0x95e2, 0xa8e2, 0 };
void _e(void) { char*s = (char*)em; s = (char*)ei; }
int main(void) { _a(); _e(); return 0; }
EOF
]
if test -f conftest.c
then
if ${CC-cc} conftest.c -o conftest.o >config.log 2>&1 \
&& test -f conftest.o
then
if test "`strings conftest.o | grep BIGenDianSyS`"
then
ac_cv_c_bigendian=yes
fi
if test "`strings conftest.o | grep LiTTleEnDian`"
then
ac_cv_c_bigendian=no
fi
fi
fi
])
if test x$ac_cv_c_bigendian = xunknown
then
AC_MSG_ERROR([Could not guess endianness, please use --with-words])
fi
;;
esac
dnl Now we know what to use for endianness, just put it in the header
if test $ac_cv_c_bigendian = yes
then
AC_DEFINE(WORDS_BIGENDIAN, 1, big endian system)
fi
dnl Check for system libs needed dnl Check for system libs needed
AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol isatty) AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol isatty)
AC_CHECK_FUNC(connect,,[ AC_CHECK_FUNC(connect,,[
...@@ -445,7 +386,7 @@ dnl ...@@ -445,7 +386,7 @@ dnl
dnl default modules dnl default modules
dnl dnl
BUILTINS="${BUILTINS} idct idctclassic motion imdct downmix chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga mpeg_adec ac3_adec mpeg_vdec" BUILTINS="${BUILTINS} idct idctclassic motion imdct downmix chroma_i420_rgb chroma_i420_yuy2 chroma_i422_yuy2 chroma_i420_ymga mpeg_adec ac3_adec mpeg_vdec"
PLUGINS="${PLUGINS} mpeg_es mpeg_ps mpeg_ts file udp http ipv4 memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort fx_scope" PLUGINS="${PLUGINS} dummy null rc logger mpeg_es mpeg_ps mpeg_ts file udp http ipv4 memcpy lpcm_adec ac3_spdif spudec filter_deinterlace filter_invert filter_wall filter_transform filter_distort fx_scope"
dnl dnl
dnl Accelerated modules dnl Accelerated modules
...@@ -668,11 +609,14 @@ AC_CHECK_HEADERS(sys/ioctl.h,[ ...@@ -668,11 +609,14 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
fi fi
]) ])
AC_ARG_WITH(,[])
AC_ARG_WITH(,[Optimization options:])
dnl dnl
dnl Special arch tuning dnl Special arch tuning
dnl dnl
AC_ARG_WITH(tuning, AC_ARG_WITH(tuning,
[ --with-tuning=[arch] Enable special tuning for an architecture [ --with-tuning=ARCH enable special tuning for an architecture
(default i686 on IA-32 and 750 on PPC)]) (default i686 on IA-32 and 750 on PPC)])
if test "x$withval" != "x"; then if test "x$withval" != "x"; then
TUNING=$withval TUNING=$withval
...@@ -683,15 +627,6 @@ else ...@@ -683,15 +627,6 @@ else
fi fi
fi fi
dnl
dnl Enable release-specific flags
dnl
AC_ARG_ENABLE(release,
[ --enable-release Activate extra optimizations (default disabled)],
[ if test x$enableval = xyes; then RELEASE=1; fi ],
[ VLC_VERSION="${VLC_VERSION}_`date +%Y-%m-%d`";
LIBDVDCSS_VERSION="${LIBDVDCSS_VERSION}_`date +%Y-%m-%d`"; ])
dnl dnl
dnl x86 accelerations dnl x86 accelerations
dnl dnl
...@@ -701,11 +636,19 @@ then ...@@ -701,11 +636,19 @@ then
BUILTINS="${BUILTINS} ${ACCEL_MODULES}" BUILTINS="${BUILTINS} ${ACCEL_MODULES}"
fi fi
dnl
dnl Enable/disable optimizations
dnl
AC_ARG_ENABLE(optimizations,
[ --disable-optimizations disable compiler optimizations (default enabled)],
[ if test x$enableval = xno; then OPTIMS=0; fi ],
[ OPTIMS=1 ])
dnl dnl
dnl AltiVec acceleration dnl AltiVec acceleration
dnl dnl
AC_ARG_ENABLE(altivec, AC_ARG_ENABLE(altivec,
[ --disable-altivec Disable altivec optimizations (default enabled on PPC)], [ --disable-altivec disable altivec optimizations (default enabled on PPC)],
[ if test x$enableval = xyes; then ARCH="${ARCH} altivec"; [ if test x$enableval = xyes; then ARCH="${ARCH} altivec";
BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ], BUILTINS="${BUILTINS} ${ACCEL_MODULES}"; fi ],
[ if test x${target_cpu} = xpowerpc; then ARCH="${ARCH} altivec"; [ if test x${target_cpu} = xpowerpc; then ARCH="${ARCH} altivec";
...@@ -716,64 +659,23 @@ dnl Debugging mode ...@@ -716,64 +659,23 @@ dnl Debugging mode
dnl dnl
DEBUG=0 DEBUG=0
AC_ARG_ENABLE(debug, AC_ARG_ENABLE(debug,
[ --enable-debug Enable debug mode (default disabled)], [ --enable-debug debug mode (default disabled)],
[ if test x$enableval = xyes; then DEBUG=1; fi ]) [ if test x$enableval = xyes; then DEBUG=1; fi ])
dnl dnl
dnl Profiling dnl Enable release-specific flags
dnl
GPROF=0
AC_ARG_ENABLE(gprof,
[ --enable-gprof Enable gprof profiling (default disabled)],
[ if test x$enableval = xyes; then GPROF=1; fi ])
CPROF=0
AC_ARG_ENABLE(cprof,
[ --enable-cprof Enable cprof profiling (default disabled)],
[ if test x$enableval = xyes;
then
LIB="${LIB} -lcprof"
CPROF=1
fi
])
dnl
dnl Enable/disable optimizations
dnl
AC_ARG_ENABLE(optimizations,
[ --disable-optimizations Disable compiler optimizations (default enabled)],
[ if test x$enableval = xno; then OPTIMS=0; fi ],
[ OPTIMS=1 ])
dnl
dnl GNU portable threads
dnl dnl
AC_ARG_ENABLE(pth, AC_ARG_ENABLE(release,
[ --enable-pth Enable GNU Pth support (default disabled)], [ --enable-release activate extra optimizations (default disabled)],
[ if test x$enableval = xyes; then [ if test x$enableval = xyes; then RELEASE=1; fi ],
AC_CHECK_LIB(pth,pth_init) [ VLC_VERSION="${VLC_VERSION}_`date +%Y-%m-%d`";
AC_EGREP_HEADER(pth_init,pth.h,[ LIBDVDCSS_VERSION="${LIBDVDCSS_VERSION}_`date +%Y-%m-%d`"; ])
AC_DEFINE(PTH_INIT_IN_PTH_H, 1,
Define if <pth.h> defines pth_init)
THREAD_LIB="-lpth"
fi])
])
dnl dnl
dnl State Threads dnl Input plugins
dnl dnl
AC_ARG_ENABLE(st,
[ --enable-st Enable State Threads (default disabled)],
[ if test x$enableval = xyes; then
AC_CHECK_LIB(st,st_init)
AC_EGREP_HEADER(st_init,st.h,[
AC_DEFINE(ST_INIT_IN_ST_H, 1,
Define if <st.h> defines st_init)
THREAD_LIB="-lst"
fi])
])
LIB="${LIB} ${THREAD_LIB}" AC_ARG_WITH(,[Input plugins:])
dnl dnl
dnl DVD module: check for installed libdvdcss or local libdvdcss dnl DVD module: check for installed libdvdcss or local libdvdcss
...@@ -782,10 +684,9 @@ NEED_LIBDVDCSS=0 ...@@ -782,10 +684,9 @@ NEED_LIBDVDCSS=0
STATIC_LIBDVDCSS=0 STATIC_LIBDVDCSS=0
DUMMY_LIBDVDCSS=0 DUMMY_LIBDVDCSS=0
AC_ARG_WITH(dvdcss, AC_ARG_WITH(dvdcss,
[ --with-dvdcss[=name] way to use libdvdcss, either 'yes' or 'no', [ --with-dvdcss[=name] use libdvdcss, either 'yes', 'no', 'local-static',
or 'local-static', 'local-shared', or a path to 'local-shared', or a path to another libdvdcss such
another libdvdcss such as '/usr/local' as '/usr/local' (default 'local-static')],
(default 'local-static')],
[ case "x${withval}" in [ case "x${withval}" in
xlocal-static|xyes) xlocal-static|xyes)
# local libdvdcss, statically linked # local libdvdcss, statically linked
...@@ -851,8 +752,7 @@ dnl ...@@ -851,8 +752,7 @@ dnl
if test x${DUMMY_LIBDVDCSS} = x1; then STATIC_LIBDVDREAD=1; fi if test x${DUMMY_LIBDVDCSS} = x1; then STATIC_LIBDVDREAD=1; fi
if test x${STATIC_LIBDVDCSS} = x1; then STATIC_LIBDVDREAD=1; fi if test x${STATIC_LIBDVDCSS} = x1; then STATIC_LIBDVDREAD=1; fi
AC_ARG_WITH(dvdread, AC_ARG_WITH(dvdread,
[ --with-dvdread[=name] way to use libdvdread, [ --with-dvdread[=name] use libdvdread, same options as dvdcss (default 'no')],
same options as --with-dvdcss (default no)],
[ case "x${withval}" in [ case "x${withval}" in
xlocal-static|xyes) xlocal-static|xyes)
if test x${STATIC_LIBDVDREAD} = x1 if test x${STATIC_LIBDVDREAD} = x1
...@@ -927,39 +827,6 @@ then ...@@ -927,39 +827,6 @@ then
fi fi
fi fi
dnl
dnl dummy plugin
dnl
AC_ARG_ENABLE(dummy,
[ --disable-dummy dummy module (default enabled)])
if test x$enable_dummy != xno
then
PLUGINS="${PLUGINS} dummy"
fi
dnl
dnl log plugin
dnl
AC_ARG_ENABLE(logger,
[ --disable-logger file logger module (default enabled)])
if test x$enable_logger != xno
then
PLUGINS="${PLUGINS} logger"
fi
dnl
dnl null plugin
dnl
AC_ARG_ENABLE(null,
[ --disable-null Null module (default enabled)])
if test x$enable_null != xno
then
PLUGINS="${PLUGINS} null"
fi
dnl dnl
dnl ipv6 plugin dnl ipv6 plugin
dnl dnl
...@@ -967,44 +834,42 @@ AC_EGREP_HEADER(in6_addr,netinet/in.h,[ ...@@ -967,44 +834,42 @@ AC_EGREP_HEADER(in6_addr,netinet/in.h,[
PLUGINS="${PLUGINS} ipv6"]) PLUGINS="${PLUGINS} ipv6"])
dnl dnl
dnl rc plugin dnl Codec plugins
dnl dnl
AC_ARG_ENABLE(rc,
[ --disable-rc Remote Control module (default enabled)])
if test x$enable_rc != xno AC_ARG_WITH(,[Codec plugins:])
then
PLUGINS="${PLUGINS} rc"
fi
dnl dnl
dnl mad plugin dnl mad plugin
dnl dnl
AC_ARG_WITH(mad, AC_ARG_ENABLE(mad,
[ --with-mad[=PATH] libmad module (default disabled)], [ --enable-mad libmad module (default disabled)])
[ if test "x$with_val" != "xno"; then if test x$enable_mad == xyes
if test -n $with_val; then then
PLUGINS="${PLUGINS} mad"
LIB_MAD="${LIB_MAD} -lmad"
AC_ARG_WITH(mad,
[ --with-mad=PATH path to libmad],
[ if test "x$with_val" != "xno" -a "x$with_val" != "x"
then
CFLAGS_MAD="${CFLAGS_MAD} -I$with_val/include" CFLAGS_MAD="${CFLAGS_MAD} -I$with_val/include"
LIB_MAD="${LIB_MAD} -L$with_val/lib -lmad" LIB_MAD="${LIB_MAD} -L$with_val/lib"
else fi ])
LIB_MAD="${LIB_MAD} -lmad" save_CFLAGS=$CFLAGS
fi save_LDFLAGS=$LDFLAGS
save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS $CFLAGS_MAD"
save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $LIB_MAD"
CFLAGS="$CFLAGS $CFLAGS_MAD" AC_CHECK_HEADERS(mad.h, ,
LDFLAGS="$LDFLAGS $LIB_MAD" [ echo "Cannot find development headers for libmad..."
AC_CHECK_HEADERS(mad.h, , exit 1
[ echo "Cannot find development headers for libmad..." ])
exit 1 AC_CHECK_LIB(mad, mad_bit_init, ,
]) [ echo "Cannot find libmad library..."
AC_CHECK_LIB(mad, mad_bit_init, , exit 1
[ echo "Cannot find libmad library..." ])
exit 1 CFLAGS=$save_CFLAGS
]) LDFLAGS=$save_LDFLAGS
CFLAGS=$save_CFLAGS fi
LDFLAGS=$save_LDFLAGS
PLUGINS="${PLUGINS} mad"
fi ])
dnl special case for BeOS dnl special case for BeOS
if test x$SYS = xbeos if test x$SYS = xbeos
...@@ -1014,86 +879,6 @@ then ...@@ -1014,86 +879,6 @@ then
dnl default case dnl default case
else else
dnl
dnl OSS /dev/dsp module
dnl (enabled by default except on win32)
dnl
AC_ARG_ENABLE(dsp,
[ --disable-dsp Linux /dev/dsp support (default enabled)])
if test x$enable_dsp != xno &&
(test x$SYS != xmingw32 || test x$enable_dsp = xyes)
then
AC_CHECK_HEADERS(soundcard.h sys/soundcard.h machine/soundcard.h, [
PLUGINS="${PLUGINS} dsp"
AC_CHECK_LIB(ossaudio,main,LIB_DSP="${LIB_DSP} -lossaudio")
])
fi
dnl
dnl Esound module
dnl
AC_ARG_ENABLE(esd,
[ --enable-esd Esound library support (default disabled)],
[if test x$enable_esd = xyes
then
AC_PATH_PROG(ESD_CONFIG, esd-config, no)
if test x${ESD_CONFIG} != xno
then
PLUGINS="${PLUGINS} esd"
CFLAGS_ESD="${CFLAGS_ESD} `${ESD_CONFIG} --cflags`"
LIB_ESD="${LIB_ESD} `${ESD_CONFIG} --libs`"
fi
fi])
dnl
dnl aRts module
dnl
AC_ARG_ENABLE(arts,
[ --enable-arts aRts sound server (default disabled)],
[if test x$enable_arts = xyes
then
AC_PATH_PROG(ARTS_CONFIG, artsc-config, no)
if test x${ARTS_CONFIG} != xno
then
PLUGINS="${PLUGINS} arts"
CFLAGS_ARTS="${CFLAGS_ARTS} `${ARTS_CONFIG} --cflags`"
LIB_ARTS="${LIB_ARTS} `${ARTS_CONFIG} --libs `"
fi
fi])
dnl
dnl MacOS X module
dnl
AC_ARG_ENABLE(macosx,
[ --enable-macosx MacOS X support (default enabled on MacOS X)],
[if test x$enable_macosx = xyes
then
BUILTINS="${BUILTINS} macosx"
LIB_MACOSX="${LIB_MACOSX} -framework CoreAudio -framework Cocoa -framework AGL -framework QuickTime -lobjc"
CFLAGS_MACOSX="${CFLAGS_MACOSX} -ObjC"
LIB="${LIB} -ObjC"
fi],
[AC_CHECK_HEADERS(Cocoa/Cocoa.h,
BUILTINS="${BUILTINS} macosx"
LIB_MACOSX="${LIB_MACOSX} -framework CoreAudio -framework Cocoa -framework AGL -framework QuickTime -lobjc"
CFLAGS_MACOSX="${CFLAGS_MACOSX} -ObjC"
LIB="${LIB} -ObjC"
)])
dnl
dnl QNX RTOS module
dnl
AC_ARG_ENABLE(qnx,
[ --disable-qnx QNX RTOS support (default enabled on QNX RTOS)])
if test x$enable_qnx != xno
then
AC_CHECK_HEADERS(Ph.h, [
PLUGINS="${PLUGINS} qnx"
LIB_QNX="${LIB_QNX} -lasound -lph"
])
fi
dnl dnl
dnl a52 AC3 decoder plugin dnl a52 AC3 decoder plugin
dnl dnl
...@@ -1108,42 +893,67 @@ if test "x$enableval" != "xno" -a x$SYS != xmingw32 ...@@ -1108,42 +893,67 @@ if test "x$enableval" != "xno" -a x$SYS != xmingw32
fi fi
dnl dnl
dnl Linux framebuffer module dnl Video plugins
dnl dnl
AC_ARG_ENABLE(fb,
[ --enable-fb Linux framebuffer support (default enabled on Linux)])
if test x$enable_fb != xno
then
AC_CHECK_HEADERS(linux/fb.h, [
PLUGINS="${PLUGINS} fb"
])
fi
dnl AC_ARG_WITH(,[Video plugins:])
dnl Linux MGA module
dnl
AC_ARG_ENABLE(mga,
[ --enable-mga Linux kernel Matrox support (default disabled)],
[ if test x$enable_mga = xyes
then
PLUGINS="${PLUGINS} mga xmga"
fi ])
dnl dnl
dnl GGI module dnl X11 module
dnl (enabled by default except on win32)
dnl dnl
AC_ARG_WITH(ggi, AC_ARG_ENABLE(x11,
[ --with-ggi[=name] GGI support (default disabled)], [ --disable-x11 X11 support (default enabled)])
[ if test "x$withval" != "xno" if test x$enable_x11 != xno &&
then (test x$SYS != xmingw32 || test x$enable_x11 = xyes); then
PLUGINS="${PLUGINS} ggi" if test x$x_includes = xNONE; then
if test "x$withval" != "xyes" x_includes=/usr/X11R6/include
then fi
LIB_GGI="${LIB_GGI} -l$withval" if test x$x_libraries = xNONE; then
else x_libraries=/usr/X11R6/lib
LIB_GGI="${LIB_GGI} -lggi" fi
fi saved_CPPFLAGS=$CPPFLAGS
fi ]) CPPFLAGS="$CPPFLAGS -I$x_includes"
AC_CHECK_HEADERS(X11/Xlib.h, [
PLUGINS="${PLUGINS} x11"
LIB_X11="${LIB_X11} -L$x_libraries -lX11 -lXext"
CFLAGS_X11="${CFLAGS_X11} -I$x_includes"
])
CPPFLAGS=$saved_CPPFLAGS
fi
dnl
dnl XVideo module
dnl (enabled by default except on win32)
dnl
AC_ARG_ENABLE(xvideo,
[ --disable-xvideo XVideo support (default enabled)])
if test x$enable_xvideo != xno &&
(test x$SYS != xmingw32 || test x$enable_xvideo = xyes); then
if test x$x_includes = xNONE; then
x_includes=/usr/X11R6/include
fi
if test x$x_libraries = xNONE; then
x_libraries=/usr/X11R6/lib
fi
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS -I$x_includes"
AC_CHECK_HEADERS(X11/extensions/Xv.h, [
saved_CFLAGS=$CFLAGS
CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext"
AC_CHECK_LIB(Xv_pic,XvSetPortAttribute,
# We have Xv_pic, that's good, we can build an xvideo.so plugin !
PLUGINS="${PLUGINS} xvideo"
LIB_XVIDEO="${LIB_XVIDEO} -L$x_libraries -lX11 -lXext -lXv_pic"
CFLAGS_XVIDEO="${CFLAGS_XVIDEO} -I$x_includes",
# We don't have Xv_pic, let's make xvideo.a as builtin
BUILTINS="${BUILTINS} xvideo"
LIB_XVIDEO="${LIB_XVIDEO} -L$x_libraries -lX11 -lXext -lXv"
CFLAGS_XVIDEO="${CFLAGS_XVIDEO} -I$x_includes")
CFLAGS=$saved_CFLAGS
]
CPPFLAGS=$saved_CPPFLAGS)
fi
dnl dnl
dnl SDL module dnl SDL module
...@@ -1154,7 +964,7 @@ if test "x$enable_sdl" != "xno" ...@@ -1154,7 +964,7 @@ if test "x$enable_sdl" != "xno"
then then
SDL_PATH=$PATH SDL_PATH=$PATH
AC_ARG_WITH(sdl-config-path, AC_ARG_WITH(sdl-config-path,
[ --with-sdl-config-path=path sdl-config path (default search in \$PATH)], [ --with-sdl-config-path=PATH sdl-config path (default search in \$PATH)],
[ if test "x$withval" != "xno" [ if test "x$withval" != "xno"
then then
SDL_PATH=$withval:$PATH SDL_PATH=$withval:$PATH
...@@ -1205,14 +1015,14 @@ dnl ...@@ -1205,14 +1015,14 @@ dnl
dnl Windows DirectX module dnl Windows DirectX module
dnl dnl
AC_ARG_ENABLE(directx, AC_ARG_ENABLE(directx,
[ --disable-directx Win32 DirectX support (default enabled on Win32)]) [ --enable-directx Win32 DirectX support (default enabled on Win32)])
if test "x$enableval" != "xno" if test "x$enableval" != "xno"
then then
if test x$SYS = xmingw32 if test x$SYS = xmingw32