mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
added esd added new autogen.sh feature : list all of the libs/plugins you want to disable in a file called "disable" ...
Original commit message from CVS: added esd added new autogen.sh feature : list all of the libs/plugins you want to disable in a file called "disable" and they will. makes it easier to check stuff when you're working on one a file "enable" does the opposite. You're on your own if you make them conflict ;) CML2 anyone ? fixed some xvideo stuff, can't remember what though
This commit is contained in:
parent
29a5d64c42
commit
05452d6f5b
3 changed files with 28 additions and 20 deletions
|
@ -1,3 +1,3 @@
|
|||
SUBDIRS=sys
|
||||
SUBDIRS=sys ext
|
||||
|
||||
DIST_SUBDIRS=sys
|
||||
DIST_SUBDIRS=sys ext
|
||||
|
|
15
autogen.sh
15
autogen.sh
|
@ -152,6 +152,21 @@ automake -a -c || {
|
|||
|
||||
CONFIGURE_OPT='--enable-maintainer-mode --enable-plugin-builddir --enable-debug --enable-DEBUG'
|
||||
|
||||
# if enable exists, add an -enable option for each of the lines in that file
|
||||
if test -f enable; then
|
||||
for a in `cat enable`; do
|
||||
CONFIGURE_OPT="$CONFIGURE_OPT --enable-$a"
|
||||
done
|
||||
fi
|
||||
|
||||
# if disable exists, add an -disable option for each of the lines in that file
|
||||
if test -f disable; then
|
||||
for a in `cat disable`; do
|
||||
CONFIGURE_OPT="$CONFIGURE_OPT --disable-$a"
|
||||
done
|
||||
fi
|
||||
|
||||
|
||||
echo "+ running configure ... "
|
||||
echo "./configure default flags: $CONFIGURE_OPT"
|
||||
echo "using: $CONFIGURE_OPT $@"
|
||||
|
|
29
configure.ac
29
configure.ac
|
@ -460,9 +460,9 @@ GST_CHECK_FEATURE(LIBDVDREAD, [dvdread library], libdvdread, [
|
|||
])
|
||||
|
||||
dnl **** ESound ****
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBESD, true)
|
||||
GST_CHECK_FEATURE(LIBESD, [esound plugins], esdsrc esdsink, [
|
||||
AM_PATH_ESD(0.2.12, HAVE_LIBESD=yes, HAVE_LIBESD=no)
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_ESD, true)
|
||||
GST_CHECK_FEATURE(ESD, [esound plugins], esdsrc esdsink, [
|
||||
AM_PATH_ESD(0.2.12, HAVE_ESD=yes, HAVE_ESD=no)
|
||||
])
|
||||
|
||||
dnl *** FLAC ***
|
||||
|
@ -523,10 +523,11 @@ GST_CHECK_FEATURE(LIBJPEG, [libjpeg], jpegenc jpegdec, [
|
|||
|
||||
dnl *** mad ***
|
||||
dnl FIXME: we could use header checks here as well IMO
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBMAD, true)
|
||||
GST_CHECK_FEATURE(LIBMAD, [mad], mad, [
|
||||
AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_LIBMAD="yes")
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_MAD, true)
|
||||
GST_CHECK_FEATURE(MAD, [mad mp3 decoder], mad, [
|
||||
AC_CHECK_LIB(mad, mad_decoder_finish, HAVE_MAD="yes" MAD_LIBS="-lmad")
|
||||
])
|
||||
AC_SUBST(MAD_LIBS)
|
||||
|
||||
dnl *** mikmod ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_LIBMIKMOD, true)
|
||||
|
@ -930,14 +931,6 @@ dnl
|
|||
dnl AC_SUBST(FOMIT_FRAME_POINTER)
|
||||
dnl
|
||||
|
||||
if test "x$HAVE_LIBXV" = xyes; then
|
||||
AC_DEFINE(HAVE_LIBXV)
|
||||
fi
|
||||
|
||||
if test "x$HAVE_LIBMAD" = xyes; then
|
||||
AC_DEFINE(HAVE_LIBMAD)
|
||||
fi
|
||||
|
||||
if test "x$HAVE_LIBMIKMOD" = xyes; then
|
||||
AC_DEFINE(HAVE_LIBMIKMOD)
|
||||
fi
|
||||
|
@ -1008,9 +1001,6 @@ AM_CONDITIONAL(HAVE_ATOMIC_H, test "x$USE_ATOMIC_H" = "xyes")
|
|||
AM_CONDITIONAL(EXPERIMENTAL, test "$EXPERIMENTAL" = "$xyes")
|
||||
AM_CONDITIONAL(BROKEN, test "$BROKEN" = "$xyes")
|
||||
|
||||
AM_CONDITIONAL(HAVE_OSS, test "x$HAVE_OSS" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_XAUDIO, test "x$HAVE_XAUDIO" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBMAD, test "x$HAVE_LIBMAD" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBMIKMOD, test "x$HAVE_LIBMIKMOD" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LINUX_CDROM, test "x$HAVE_LINUX_CDROM" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LINUX_VIDEODEV, test "x$HAVE_LINUX_VIDEODEV" = "xyes")
|
||||
|
@ -1022,7 +1012,6 @@ AM_CONDITIONAL(HAVE_LIBHERMES, test "x$HAVE_LIBHERMES" = "xyes")
|
|||
AM_CONDITIONAL(HAVE_NASM, test "x$HAVE_NASM" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBGLADE_GNOME, test "x$HAVE_LIBGLADE_GNOME" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_GNOME, test "x$HAVE_GNOME" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_LIBXV, test "x$HAVE_LIBXV" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_GTK, test "x$HAVE_GTK" = "xyes")
|
||||
AM_CONDITIONAL(HAVE_GTK_DOC, $HAVE_GTK_DOC)
|
||||
AM_CONDITIONAL(BUILD_DOCS, test "x$BUILD_DOCS" = "xyes")
|
||||
|
@ -1155,6 +1144,10 @@ sys/v4l/Makefile
|
|||
sys/vcd/Makefile
|
||||
sys/vga/Makefile
|
||||
sys/xvideo/Makefile
|
||||
ext/Makefile
|
||||
ext/esd/Makefile
|
||||
ext/mad/Makefile
|
||||
ext/vorbis/Makefile
|
||||
)
|
||||
|
||||
echo -e "configure: *** Plugins that will be built : $GST_PLUGINS_YES"
|
||||
|
|
Loading…
Reference in a new issue