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 source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -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
then then
AC_ARG_WITH(directx-path, AC_ARG_WITH(directx-path,
[ --with-directx-path=path Win32 DirectX headers and libraries]) [ --with-directx=PATH Win32 DirectX headers and libraries])
if test "x$with_directx_path" = "x" if test "x$with_directx" = "x"
then then
AC_CHECK_HEADERS(ddraw.h, AC_CHECK_HEADERS(ddraw.h,
[ PLUGINS="${PLUGINS} directx" [ PLUGINS="${PLUGINS} directx"
...@@ -1234,116 +1044,148 @@ then ...@@ -1234,116 +1044,148 @@ then
fi fi
dnl dnl
dnl win32 waveOut plugin dnl Linux framebuffer module
dnl dnl
AC_ARG_ENABLE(waveout, AC_ARG_ENABLE(fb,
[ --disable-waveout Win32 waveOut module (default enabled on Win32)]) [ --enable-fb Linux framebuffer support (default enabled on Linux)])
if test "x$enableval" != "xno" -a x$SYS = xmingw32 if test x$enable_fb != xno
then then
PLUGINS="${PLUGINS} waveout" AC_CHECK_HEADERS(linux/fb.h, [
LIB_WAVEOUT="-lwinmm" PLUGINS="${PLUGINS} fb"
fi ])
fi
dnl dnl
dnl Windows MFC interface module dnl Linux MGA module
dnl dnl
AC_ARG_ENABLE(win32, AC_ARG_ENABLE(mga,
[ --enable-win32 Win32 interface support (default disabled)], [ --enable-mga Linux kernel Matrox support (default disabled)],
[ if test "x$enableval" != "xno" [ if test x$enable_mga = xyes
then then
PLUGINS="${PLUGINS} win32" PLUGINS="${PLUGINS} mga xmga"
fi ]) fi ])
dnl
dnl GGI module
dnl
AC_ARG_ENABLE(ggi,
[ --enable-ggi GGI support (default disabled)])
if test x$enable_ggi == xyes
then
PLUGINS="${PLUGINS} ggi"
LIB_GGI="${LIB_GGI} -lggi"
AC_ARG_WITH(ggi,
[ --with-ggi=PATH path to libggi],
[ if test "x$with_val" != "xno" -a "x$with_val" != "x"
then
CFLAGS_GGI="${CFLAGS_GGI} -I$with_val/include"
LIB_GGI="${LIB_GGI} -L$with_val/lib"
fi ])
fi
dnl dnl
dnl Glide module dnl Glide module
dnl dnl
AC_ARG_WITH(glide, AC_ARG_ENABLE(glide,
[ --with-glide[=name] Glide (3dfx) support (default disabled)], [ --enable-glide Glide (3dfx) support (default disabled)])
[ if test "x$withval" != "xno" if test x$enable_glide == xyes
then then
PLUGINS="${PLUGINS} glide" PLUGINS="${PLUGINS} glide"
if test "x$withval" != "xyes" LIB_GLIDE="${LIB_GLIDE} -lglide2x -lm"
CFLAGS_GLIDE="${CFLAGS_GLIDE} -I/usr/include/glide"
AC_ARG_WITH(glide,
[ --with-glide=PATH path to libglide],
[ if test "x$with_val" != "xno" -a "x$with_val" != "x"
then then
LIB_GLIDE="${LIB_GLIDE} -l$withval -lm" CFLAGS_GLIDE="${CFLAGS_GLIDE} -I$with_val/include"
else LIB_GLIDE="${LIB_GLIDE} -L$with_val/lib"
LIB_GLIDE="${LIB_GLIDE} -lglide2x -lm" fi ])
fi fi
CFLAGS_GLIDE="${CFLAGS_GLIDE} -I/usr/include/glide"
fi ])
dnl dnl
dnl ncurses module dnl Audio plugins
dnl dnl
AC_ARG_ENABLE(ncurses,
[ --enable-ncurses ncurses interface support (default disabled)], AC_ARG_WITH(,[Audio plugins:])
[if test x$enable_ncurses = xyes; then
PLUGINS="${PLUGINS} ncurses" dnl
LIB_NCURSES="${LIB_NCURSES} -lncurses" dnl OSS /dev/dsp module (enabled by default except on win32)
dnl
AC_ARG_ENABLE(dsp,
[ --enable-dsp Linux /dev/dsp support (enabled on Linux)])
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]) fi])
dnl dnl
dnl Qt module dnl aRts module
dnl dnl
AC_ARG_ENABLE(qt, AC_ARG_ENABLE(arts,
[ --enable-qt Qt interface support (default disabled)], [ --enable-arts aRts sound server (default disabled)],
[if test x$enable_qt = xyes; then [if test x$enable_arts = xyes
PLUGINS="${PLUGINS} qt" then
ALIASES="${ALIASES} qvlc" AC_PATH_PROG(ARTS_CONFIG, artsc-config, no)
LIB_QT="${LIB_QT} -lqt -L${QTDIR}/lib" if test x${ARTS_CONFIG} != xno
CFLAGS_QT="${CFLAGS_QT} -I/usr/include/qt -I${QTDIR}/include"
if test -x ${QTDIR}/bin/moc
then then
MOC=${QTDIR}/bin/moc PLUGINS="${PLUGINS} arts"
else CFLAGS_ARTS="${CFLAGS_ARTS} `${ARTS_CONFIG} --cflags`"
MOC=moc LIB_ARTS="${LIB_ARTS} `${ARTS_CONFIG} --libs `"
fi fi
fi]) fi])
dnl
dnl KDE module
dnl dnl
AC_ARG_ENABLE(kde, dnl ALSA module
[ --enable-kde KDE interface support (default disabled)], dnl
[if test x$enable_kde = xyes; then AC_ARG_ENABLE(alsa,
PLUGINS="${PLUGINS} kde" [ --enable-alsa ALSA sound support for Linux (default disabled)],
ALIASES="${ALIASES} kvlc" [if test x$enable_alsa = xyes
LIB_KDE="${LIB_KDE} -L${KDEDIR}/lib -lkfile" then
CFLAGS_KDE="${CFLAGS_KDE} -I/usr/include/kde -I/usr/include/qt" AC_CHECK_HEADER(alsa/asoundlib.h, AC_CHECK_LIB(asound, main, have_alsa="true", have_alsa="false"),have_alsa="false")
CFLAGS_KDE="${CFLAGS_KDE} -I${KDEDIR}/include -I${QTDIR}/include" if test x$have_alsa = xtrue
if test -x ${QTDIR}/bin/moc
then then
MOC=${QTDIR}/bin/moc PLUGINS="${PLUGINS} alsa"
else LIB_ALSA="${LIB_ALSA} -lasound -lm -ldl"
MOC=moc
fi fi
fi]) fi])
dnl dnl
dnl Gnome module dnl win32 waveOut plugin
dnl dnl
AC_ARG_ENABLE(gnome, AC_ARG_ENABLE(waveout,
[ --enable-gnome Gnome interface support (default disabled)], [ --enable-waveout Win32 waveOut module (default enabled on Win32)])
[if test x$enable_gnome = xyes; then if test "x$enableval" != "xno" -a x$SYS = xmingw32
# look for gnome-config then
AC_PATH_PROG(GNOME_CONFIG, gnome-config, no) PLUGINS="${PLUGINS} waveout"
if test -x ${GNOME_CONFIG} LIB_WAVEOUT="-lwinmm"
then fi
CFLAGS_GNOME="${CFLAGS_GNOME} `${GNOME_CONFIG} --cflags gtk gnomeui`"
LIB_GNOME="${LIB_GNOME} `${GNOME_CONFIG} --libs gnomeui | sed 's,-rdynamic,,'`" dnl
fi dnl Interface plugins
# now look for the gnome.h header dnl
saved_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $CFLAGS_GNOME" AC_ARG_WITH(,[Interface plugins:])
AC_CHECK_HEADERS(gnome.h, [
PLUGINS="${PLUGINS} gnome"
ALIASES="${ALIASES} gnome-vlc"
],[
AC_MSG_ERROR([Can't find gnome headers. Please install the gnome
developement librairie or remove the --enable-gnome option])
])
CPPFLAGS=$saved_CPPFLAGS
fi])
dnl dnl
dnl Gtk+ module dnl Gtk+ module
...@@ -1354,7 +1196,7 @@ if test x$enable_gtk != xno ...@@ -1354,7 +1196,7 @@ if test x$enable_gtk != xno
then then
GTK_PATH=$PATH GTK_PATH=$PATH
AC_ARG_WITH(gtk-config-path, AC_ARG_WITH(gtk-config-path,
[ --with-gtk-config-path=path gtk-config path (default search in \$PATH)], [ --with-gtk-config-path=PATH gtk-config path (default search in \$PATH)],
[ if test "x$withval" != "xno" [ if test "x$withval" != "xno"
then then
GTK_PATH=$withval:$PATH GTK_PATH=$withval:$PATH
...@@ -1392,61 +1234,120 @@ then ...@@ -1392,61 +1234,120 @@ then
fi fi
dnl dnl
dnl X11 module dnl Gnome module
dnl (enabled by default except on win32)
dnl dnl
AC_ARG_ENABLE(x11, AC_ARG_ENABLE(gnome,
[ --disable-x11 X11 support (default enabled)]) [ --enable-gnome Gnome interface support (default disabled)],
if test x$enable_x11 != xno && [if test x$enable_gnome = xyes; then
(test x$SYS != xmingw32 || test x$enable_x11 = xyes); then # look for gnome-config
if test x$x_includes = xNONE; then AC_PATH_PROG(GNOME_CONFIG, gnome-config, no)
x_includes=/usr/X11R6/include if test -x ${GNOME_CONFIG}
fi then
if test x$x_libraries = xNONE; then CFLAGS_GNOME="${CFLAGS_GNOME} `${GNOME_CONFIG} --cflags gtk gnomeui`"
x_libraries=/usr/X11R6/lib LIB_GNOME="${LIB_GNOME} `${GNOME_CONFIG} --libs gnomeui | sed 's,-rdynamic,,'`"
fi fi
saved_CPPFLAGS=$CPPFLAGS # now look for the gnome.h header
CPPFLAGS="$CPPFLAGS -I$x_includes" saved_CPPFLAGS=$CPPFLAGS
AC_CHECK_HEADERS(X11/Xlib.h, [ CPPFLAGS="$CPPFLAGS $CFLAGS_GNOME"
PLUGINS="${PLUGINS} x11" AC_CHECK_HEADERS(gnome.h, [
LIB_X11="${LIB_X11} -L$x_libraries -lX11 -lXext" PLUGINS="${PLUGINS} gnome"
CFLAGS_X11="${CFLAGS_X11} -I$x_includes" ALIASES="${ALIASES} gnome-vlc"
]) ],[
CPPFLAGS=$saved_CPPFLAGS AC_MSG_ERROR([Can't find gnome headers. Please install the gnome
fi developement librairie or remove the --enable-gnome option])
])
CPPFLAGS=$saved_CPPFLAGS
fi])
dnl dnl
dnl XVideo module dnl Qt module
dnl (enabled by default except on win32)
dnl dnl
AC_ARG_ENABLE(xvideo, AC_ARG_ENABLE(qt,
[ --disable-xvideo XVideo support (default enabled)]) [ --enable-qt Qt interface support (default disabled)],
if test x$enable_xvideo != xno && [if test x$enable_qt = xyes; then
(test x$SYS != xmingw32 || test x$enable_xvideo = xyes); then PLUGINS="${PLUGINS} qt"
if test x$x_includes = xNONE; then ALIASES="${ALIASES} qvlc"
x_includes=/usr/X11R6/include LIB_QT="${LIB_QT} -lqt -L${QTDIR}/lib"
fi CFLAGS_QT="${CFLAGS_QT} -I/usr/include/qt -I${QTDIR}/include"
if test x$x_libraries = xNONE; then if test -x ${QTDIR}/bin/moc
x_libraries=/usr/X11R6/lib then
fi MOC=${QTDIR}/bin/moc
saved_CPPFLAGS=$CPPFLAGS else
CPPFLAGS="$CPPFLAGS -I$x_includes" MOC=moc
AC_CHECK_HEADERS(X11/extensions/Xv.h, [ fi
saved_CFLAGS=$CFLAGS fi])
CFLAGS="$CFLAGS -L$x_libraries -lX11 -lXext"
AC_CHECK_LIB(Xv_pic,XvSetPortAttribute, dnl
# We have Xv_pic, that's good, we can build an xvideo.so plugin ! dnl KDE module
PLUGINS="${PLUGINS} xvideo" dnl
LIB_XVIDEO="${LIB_XVIDEO} -L$x_libraries -lX11 -lXext -lXv_pic" AC_ARG_ENABLE(kde,
CFLAGS_XVIDEO="${CFLAGS_XVIDEO} -I$x_includes", [ --enable-kde KDE interface support (default disabled)],
# We don't have Xv_pic, let's make xvideo.a as builtin [if test x$enable_kde = xyes; then
BUILTINS="${BUILTINS} xvideo" PLUGINS="${PLUGINS} kde"
LIB_XVIDEO="${LIB_XVIDEO} -L$x_libraries -lX11 -lXext -lXv" ALIASES="${ALIASES} kvlc"
CFLAGS_XVIDEO="${CFLAGS_XVIDEO} -I$x_includes") LIB_KDE="${LIB_KDE} -L${KDEDIR}/lib -lkfile"
CFLAGS=$saved_CFLAGS CFLAGS_KDE="${CFLAGS_KDE} -I/usr/include/kde -I/usr/include/qt"
] CFLAGS_KDE="${CFLAGS_KDE} -I${KDEDIR}/include -I${QTDIR}/include"
CPPFLAGS=$saved_CPPFLAGS) if test -x ${QTDIR}/bin/moc
fi then
MOC=${QTDIR}/bin/moc
else
MOC=moc
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,
[ --enable-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 Windows MFC interface module
dnl
AC_ARG_ENABLE(win32,
[ --enable-win32 Win32 interface support (default disabled)],
[ if test "x$enableval" != "xno"
then
PLUGINS="${PLUGINS} win32"
fi ])
dnl
dnl ncurses module
dnl
AC_ARG_ENABLE(ncurses,
[ --enable-ncurses ncurses interface support (default disabled)],
[if test x$enable_ncurses = xyes; then
PLUGINS="${PLUGINS} ncurses"
LIB_NCURSES="${LIB_NCURSES} -lncurses"
fi])
dnl dnl
dnl Lirc plugin dnl Lirc plugin
...@@ -1463,47 +1364,140 @@ then ...@@ -1463,47 +1364,140 @@ then
fi fi
fi fi
dnl
dnl ALSA module
dnl
AC_ARG_ENABLE(alsa,
[ --enable-alsa Alsa sound drivers support (Only for linux)
(default disabled)],
[if test x$enable_alsa = xyes
then
AC_CHECK_HEADER(alsa/asoundlib.h, AC_CHECK_LIB(asound, main, have_alsa="true", have_alsa="false"),have_alsa="false")
if test x$have_alsa = xtrue
then
PLUGINS="${PLUGINS} alsa"
LIB_ALSA="${LIB_ALSA} -lasound -lm -ldl"
fi
fi])
dnl end of non-BeOS stuff dnl end of non-BeOS stuff
fi fi
AC_ARG_WITH(,[Misc options:])
dnl dnl
dnl Plug-ins - this must be AT THE END dnl Endianness check, AC_C_BIGENDIAN doesn't work if we are cross-compiling
dnl dnl
AC_ARG_ENABLE(plugins, dnl We give the user the opportunity to specify
[ --disable-plugins Make all plug-ins built-in (default plug-ins enabled)], dnl --with-words=big or --with-words=little ; otherwise, try to guess
[if test x$enable_plugins = xno dnl
then AC_ARG_WITH(words,
BUILTINS="${BUILTINS} ${PLUGINS}" [ --with-words=endianness set endianness (big or little)])
PLUGINS= case "x$withval" in
fi]) 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 dnl
dnl DLLs - used for Win32 package build dnl DLLs - used for Win32 package build
dnl dnl
DLL_PATH=. DLL_PATH=.
AC_ARG_WITH(dll-path, AC_ARG_WITH(dll-path,
[ --with-dll-path=path Path to Win32 DLLs (default search in \$PWD)], [ --with-dll-path=PATH path to Win32 DLLs (default search in \$PWD)],
[ if test "x$withval" != "xno" [ if test "x$withval" != "xno"
then then
DLL_PATH=$withval DLL_PATH=$withval
fi ]) fi ])
dnl
dnl Profiling
dnl
GPROF=0
AC_ARG_ENABLE(gprof,
[ --enable-gprof gprof profiling (default disabled)],
[ if test x$enableval = xyes; then GPROF=1; fi ])
CPROF=0
AC_ARG_ENABLE(cprof,
[ --enable-cprof cprof profiling (default disabled)],
[ if test x$enableval = xyes;
then
LIB="${LIB} -lcprof"
CPROF=1
fi
])
dnl
dnl GNU portable threads
dnl
AC_ARG_ENABLE(pth,
[ --enable-pth GNU Pth support (default disabled)],
[ if test x$enableval = xyes; then
AC_CHECK_LIB(pth,pth_init)
AC_EGREP_HEADER(pth_init,pth.h,[
AC_DEFINE(PTH_INIT_IN_PTH_H, 1,
Define if <pth.h> defines pth_init)
THREAD_LIB="-lpth"
fi])
])
dnl
dnl State Threads
dnl
AC_ARG_ENABLE(st,
[ --enable-st 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}"
dnl
dnl Plug-ins - this must be AT THE END
dnl
AC_ARG_ENABLE(plugins,
[ --disable-plugins make all plug-ins built-in (default plug-ins enabled)],
[if test x$enable_plugins = xno
then
BUILTINS="${BUILTINS} ${PLUGINS}"
PLUGINS=
fi])
dnl dnl
dnl Stuff used by the program dnl Stuff used by the program
dnl dnl
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
export DH_COMPAT=3 export DH_COMPAT=3
# Compilation options # Compilation options
export CONFIG_FLAGS="--enable-release --prefix=/usr --enable-gnome --enable-gtk --enable-fb --with-ggi --enable-sdl --enable-esd --enable-qt --with-mad --enable-arts --enable-alsa --enable-lirc --enable-a52" export CONFIG_FLAGS="--enable-release --prefix=/usr --enable-gnome --enable-gtk --enable-fb --enable-ggi --enable-sdl --enable-esd --enable-qt --enable-mad --enable-arts --enable-alsa --enable-lirc --enable-a52"
export LIBDVDCSS_FLAGS="--with-dvdcss=local-shared" export LIBDVDCSS_FLAGS="--with-dvdcss=local-shared"
export VIDDIR="usr/share/videolan" export VIDDIR="usr/share/videolan"
export PIXDIR="usr/share/pixmaps" export PIXDIR="usr/share/pixmaps"
...@@ -25,7 +25,7 @@ build-stamp: ...@@ -25,7 +25,7 @@ build-stamp:
case $(DEB_BUILD_ARCH) in \ case $(DEB_BUILD_ARCH) in \
i386) \ i386) \
ARCH_FLAGS="--with-glide" ;; \ ARCH_FLAGS="--enable-glide" ;; \
*) \ *) \
ARCH_FLAGS="" ;; \ ARCH_FLAGS="" ;; \
esac ;\ esac ;\
......
...@@ -350,9 +350,6 @@ ...@@ -350,9 +350,6 @@
/* Define if the GNU gettext() function is already present or preinstalled. */ /* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT #undef HAVE_GETTEXT
/* big endian system */
#undef WORDS_BIGENDIAN
/* long getopt support */ /* long getopt support */
#undef HAVE_GETOPT_LONG #undef HAVE_GETOPT_LONG
...@@ -425,12 +422,15 @@ ...@@ -425,12 +422,15 @@
/* Define if FreeBSD-like dvd_struct is defined. */ /* Define if FreeBSD-like dvd_struct is defined. */
#undef HAVE_BSD_DVD_STRUCT #undef HAVE_BSD_DVD_STRUCT
/* Indicate whether we should use SDL/SDL.h or SDL11/SDL.h */
#undef SDL_INCLUDE_FILE
/* big endian system */
#undef WORDS_BIGENDIAN
/* Define if <pth.h> defines pth_init */ /* Define if <pth.h> defines pth_init */
#undef PTH_INIT_IN_PTH_H #undef PTH_INIT_IN_PTH_H
/* Define if <st.h> defines st_init */ /* Define if <st.h> defines st_init */
#undef ST_INIT_IN_ST_H #undef ST_INIT_IN_ST_H
/* Indicate whether we should use SDL/SDL.h or SDL11/SDL.h */
#undef SDL_INCLUDE_FILE
...@@ -205,7 +205,7 @@ perl -pi -e "s|#CFLAGS \+= -mcpu=750|CFLAGS \+= -mcpu=750 -mtune=750|" Makefile ...@@ -205,7 +205,7 @@ perl -pi -e "s|#CFLAGS \+= -mcpu=750|CFLAGS \+= -mcpu=750 -mtune=750|" Makefile
--enable-esd --enable-alsa \ --enable-esd --enable-alsa \
--enable-fb --enable-mga \ --enable-fb --enable-mga \
--enable-xvideo \ --enable-xvideo \
--with-ggi \ --enable-ggi \
--enable-sdl --enable-sdl
%endif %endif
# thier configure check if /dev/dsp exists... # thier configure check if /dev/dsp exists...
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment