mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
various AC_HELP_STRING changes
Original commit message from CVS: various AC_HELP_STRING changes
This commit is contained in:
parent
01ea5613a7
commit
6d9dd641d0
9 changed files with 62 additions and 42 deletions
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 310f196ce90ecc57e5b0db796963a37a4cbcab8a
|
Subproject commit 8579ce0ed656e0c512b37ff70bebd54cab4d4e7d
|
23
configure.ac
23
configure.ac
|
@ -214,7 +214,6 @@ dnl ==========================================================================
|
||||||
dnl ============================= sys plugins ================================
|
dnl ============================= sys plugins ================================
|
||||||
dnl ==========================================================================
|
dnl ==========================================================================
|
||||||
|
|
||||||
|
|
||||||
dnl *** DXR3 card ***
|
dnl *** DXR3 card ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_DXR3, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_DXR3, true)
|
||||||
GST_CHECK_FEATURE(DXR3, [DXR3 hardware mpeg video decoder], dxr3videosink, [
|
GST_CHECK_FEATURE(DXR3, [DXR3 hardware mpeg video decoder], dxr3videosink, [
|
||||||
|
@ -288,8 +287,6 @@ dnl These are all libraries used in building plugins
|
||||||
dnl ================================================
|
dnl ================================================
|
||||||
dnl let's try and sort them alphabetically, shall we ?
|
dnl let's try and sort them alphabetically, shall we ?
|
||||||
|
|
||||||
echo
|
|
||||||
echo
|
|
||||||
AC_MSG_NOTICE(Checking for plugin libraries)
|
AC_MSG_NOTICE(Checking for plugin libraries)
|
||||||
|
|
||||||
dnl *** a52dec ***
|
dnl *** a52dec ***
|
||||||
|
@ -307,11 +304,10 @@ GST_CHECK_FEATURE(AALIB, [aasink plugin], aasink, [
|
||||||
dnl *** alsa ***
|
dnl *** alsa ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_ALSA, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_ALSA, true)
|
||||||
GST_CHECK_FEATURE(ALSA, [alsa plugins], gstalsa, [
|
GST_CHECK_FEATURE(ALSA, [alsa plugins], gstalsa, [
|
||||||
AM_PATH_ALSA(0.9.0, HAVE_ALSA=yes, HAVE_ALSA=no)
|
AM_PATH_ALSA(0.9.0, HAVE_ALSA=yes, HAVE_ALSA=no)
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl *** arts ***
|
dnl *** arts ***
|
||||||
|
|
||||||
dnl if mcopidl can't be found there's no use in compiling it
|
dnl if mcopidl can't be found there's no use in compiling it
|
||||||
AC_CHECK_PROG(MCOPIDL, mcopidl, yes, no)
|
AC_CHECK_PROG(MCOPIDL, mcopidl, yes, no)
|
||||||
if test "xHAVE_MCOPIDL" = "xno";
|
if test "xHAVE_MCOPIDL" = "xno";
|
||||||
|
@ -323,12 +319,6 @@ translit(dnm, m, l) AM_CONDITIONAL(USE_ARTS, true)
|
||||||
GST_CHECK_FEATURE(ARTS, [arts plugins], arts, [
|
GST_CHECK_FEATURE(ARTS, [arts plugins], arts, [
|
||||||
AM_PATH_ARTS(, HAVE_ARTS=yes, HAVE_ARTS=no)
|
AM_PATH_ARTS(, HAVE_ARTS=yes, HAVE_ARTS=no)
|
||||||
])
|
])
|
||||||
dnl if mcopidl can't be found there's no use in compiling it
|
|
||||||
AC_PATH_PROG(MCOPIDL, mcopidl, yes, no)
|
|
||||||
if test "xHAVE_MCOPIDL" = "xno";
|
|
||||||
then
|
|
||||||
USE_ARTS=NO
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl *** artsc ***
|
dnl *** artsc ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_ARTSC, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_ARTSC, true)
|
||||||
|
@ -655,7 +645,7 @@ dnl ######################################################################
|
||||||
GST_DEBUGINFO
|
GST_DEBUGINFO
|
||||||
|
|
||||||
AC_ARG_ENABLE(libmmx,
|
AC_ARG_ENABLE(libmmx,
|
||||||
[ --enable-libmmx use libmmx, if available],
|
AC_HELP_STRING([--enable-libmmx],[use libmmx, if available]),
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) USE_LIBMMX=$HAVE_LIBMMX ;;
|
yes) USE_LIBMMX=$HAVE_LIBMMX ;;
|
||||||
no) USE_LIBMMX=no ;;
|
no) USE_LIBMMX=no ;;
|
||||||
|
@ -664,7 +654,7 @@ esac],
|
||||||
[USE_LIBMMX=$HAVE_LIBMMX]) dnl Default value
|
[USE_LIBMMX=$HAVE_LIBMMX]) dnl Default value
|
||||||
|
|
||||||
AC_ARG_ENABLE(atomic,
|
AC_ARG_ENABLE(atomic,
|
||||||
[ --enable-atomic use atomic reference counting header],
|
AC_HELP_STRING([--enable-atomic],[use atomic reference counting header]),
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) USE_ATOMIC_H=$HAVE_ATOMIC_H;;
|
yes) USE_ATOMIC_H=$HAVE_ATOMIC_H;;
|
||||||
noset) USE_ATOMIC_H=$HAVE_ATOMIC_H;;
|
noset) USE_ATOMIC_H=$HAVE_ATOMIC_H;;
|
||||||
|
@ -674,7 +664,8 @@ esac],
|
||||||
[USE_ATOMIC_H=$HAVE_ATOMIC_H]) dnl Default value
|
[USE_ATOMIC_H=$HAVE_ATOMIC_H]) dnl Default value
|
||||||
|
|
||||||
AC_ARG_ENABLE(profiling,
|
AC_ARG_ENABLE(profiling,
|
||||||
[ --enable-profiling adds -pg to compiler commandline, for profiling],
|
AC_HELP_STRING([--enable-profiling],
|
||||||
|
[-pg to compiler commandline, for profiling]),
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) USE_PROFILING=yes ;;
|
yes) USE_PROFILING=yes ;;
|
||||||
no) UES_PROFILING=no ;;
|
no) UES_PROFILING=no ;;
|
||||||
|
@ -683,7 +674,7 @@ esac],
|
||||||
[USE_PROFILING=no]) dnl Default value
|
[USE_PROFILING=no]) dnl Default value
|
||||||
|
|
||||||
AC_ARG_ENABLE(tests,
|
AC_ARG_ENABLE(tests,
|
||||||
[ --disable-tests disable building test apps],
|
AC_HELP_STRING([--disable-tests],[disable building test apps]),
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) BUILD_TESTS=yes ;;
|
yes) BUILD_TESTS=yes ;;
|
||||||
no) BUILD_TESTS=no ;;
|
no) BUILD_TESTS=no ;;
|
||||||
|
@ -692,7 +683,7 @@ esac],
|
||||||
[BUILD_TESTS=yes]) dnl Default value
|
[BUILD_TESTS=yes]) dnl Default value
|
||||||
|
|
||||||
AC_ARG_ENABLE(examples,
|
AC_ARG_ENABLE(examples,
|
||||||
[ --disable-examples disable building examples],
|
AC_HELP_STRING([--disable-examples],[disable building examples]),
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) BUILD_EXAMPLES=yes ;;
|
yes) BUILD_EXAMPLES=yes ;;
|
||||||
no) BUILD_EXAMPLES=no ;;
|
no) BUILD_EXAMPLES=no ;;
|
||||||
|
|
|
@ -52,7 +52,8 @@ dnl
|
||||||
AC_DEFUN(AC_CHECK_A52DEC,
|
AC_DEFUN(AC_CHECK_A52DEC,
|
||||||
[dnl
|
[dnl
|
||||||
AC_ARG_WITH(a52dec-prefix,
|
AC_ARG_WITH(a52dec-prefix,
|
||||||
AC_HELP_STRING([--with-a52dec-prefix=PFX],[Prefix where a52dec is installed (optional)]),
|
AC_HELP_STRING([--with-a52dec-prefix=PFX],
|
||||||
|
[prefix where a52dec is installed (optional)]),
|
||||||
a52dec_config_prefix="$withval", a52dec_config_prefix="")
|
a52dec_config_prefix="$withval", a52dec_config_prefix="")
|
||||||
|
|
||||||
if test x$a52dec_config_prefix = x ; then
|
if test x$a52dec_config_prefix = x ; then
|
||||||
|
|
|
@ -16,17 +16,17 @@ dnl Get the cflags and libraries from the aalib-config script
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_WITH(aalib-prefix,
|
AC_ARG_WITH(aalib-prefix,
|
||||||
AC_HELP_STRING([--with-aalib-prefix=PFX],
|
AC_HELP_STRING([--with-aalib-prefix=PFX],
|
||||||
[Prefix where AALIB is installed (optional)]),
|
[prefix where AALIB is installed (optional)]),
|
||||||
aalib_prefix="$withval", aalib_prefix="")
|
aalib_prefix="$withval", aalib_prefix="")
|
||||||
|
|
||||||
AC_ARG_WITH(aalib-exec-prefix,
|
AC_ARG_WITH(aalib-exec-prefix,
|
||||||
AC_HELP_STRING([--with-aalib-exec-prefix=PFX],
|
AC_HELP_STRING([--with-aalib-exec-prefix=PFX],
|
||||||
[Exec prefix where AALIB is installed (optional)]),
|
[exec prefix where AALIB is installed (optional)]),
|
||||||
aalib_exec_prefix="$withval", aalib_exec_prefix="")
|
aalib_exec_prefix="$withval", aalib_exec_prefix="")
|
||||||
|
|
||||||
AC_ARG_ENABLE(aalibtest,
|
AC_ARG_ENABLE(aalibtest,
|
||||||
AC_HELP_STRING([--disable-aalibtest],
|
AC_HELP_STRING([--disable-aalibtest],
|
||||||
[Do not try to compile and run a test AALIB program]),
|
[do not try to compile and run a test AALIB program]),
|
||||||
, enable_aalibtest=yes)
|
, enable_aalibtest=yes)
|
||||||
|
|
||||||
if test x$aalib_exec_prefix != x ; then
|
if test x$aalib_exec_prefix != x ; then
|
||||||
|
|
|
@ -11,12 +11,20 @@ AC_DEFUN([AM_PATH_ARTS],
|
||||||
[dnl
|
[dnl
|
||||||
dnl Get the cflags and libraries from the artsc-config script
|
dnl Get the cflags and libraries from the artsc-config script
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_WITH(arts-prefix,[ --with-arts-prefix=PFX Prefix where ARTS is installed (optional)],
|
AC_ARG_WITH(arts-prefix,
|
||||||
arts_prefix="$withval", arts_prefix="")
|
AC_HELP_STRING([--with-arts-prefix=PFX],
|
||||||
AC_ARG_WITH(arts-exec-prefix,[ --with-arts-exec-prefix=PFX Exec prefix where ARTS is installed (optional)],
|
[prefix where ARTS is installed (optional)]),
|
||||||
arts_exec_prefix="$withval", arts_exec_prefix="")
|
arts_prefix="$withval", arts_prefix="")
|
||||||
AC_ARG_ENABLE(artstest, [ --disable-artstest Do not try to compile and run a test ARTS program],
|
|
||||||
, enable_artstest=yes)
|
AC_ARG_WITH(arts-exec-prefix,
|
||||||
|
AC_HELP_STRING([--with-arts-exec-prefix=PFX],
|
||||||
|
[exec prefix where ARTS is installed (optional)]),
|
||||||
|
arts_exec_prefix="$withval", arts_exec_prefix="")
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(artstest,
|
||||||
|
AC_HELP_STRING([--disable-artstest],
|
||||||
|
[do not try to compile and run a test ARTS program]),
|
||||||
|
, enable_artstest=yes)
|
||||||
|
|
||||||
if test x$arts_exec_prefix != x ; then
|
if test x$arts_exec_prefix != x ; then
|
||||||
arts_args="$arts_args --exec-prefix=$arts_exec_prefix"
|
arts_args="$arts_args --exec-prefix=$arts_exec_prefix"
|
||||||
|
|
20
m4/esd.m4
20
m4/esd.m4
|
@ -11,12 +11,20 @@ AC_DEFUN(AM_PATH_ESD,
|
||||||
[dnl
|
[dnl
|
||||||
dnl Get the cflags and libraries from the esd-config script
|
dnl Get the cflags and libraries from the esd-config script
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_WITH(esd-prefix,[ --with-esd-prefix=PFX Prefix where ESD is installed (optional)],
|
AC_ARG_WITH(esd-prefix,
|
||||||
esd_prefix="$withval", esd_prefix="")
|
AC_HELP_STRING([--with-esd-prefix=PFX],
|
||||||
AC_ARG_WITH(esd-exec-prefix,[ --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)],
|
[prefix where ESD is installed (optional)]),
|
||||||
esd_exec_prefix="$withval", esd_exec_prefix="")
|
esd_prefix="$withval", esd_prefix="")
|
||||||
AC_ARG_ENABLE(esdtest, [ --disable-esdtest Do not try to compile and run a test ESD program],
|
|
||||||
, enable_esdtest=yes)
|
AC_ARG_WITH(esd-exec-prefix,
|
||||||
|
AC_HELP_STRING([--with-esd-exec-prefix=PFX],
|
||||||
|
[exec prefix where ESD is installed (optional)]),
|
||||||
|
esd_exec_prefix="$withval", esd_exec_prefix="")
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(esdtest,
|
||||||
|
AC_HELP_STRING([--disable-esdtest],
|
||||||
|
[do not try to compile and run a test ESD program]),
|
||||||
|
, enable_esdtest=yes)
|
||||||
|
|
||||||
if test x$esd_exec_prefix != x ; then
|
if test x$esd_exec_prefix != x ; then
|
||||||
esd_args="$esd_args --exec-prefix=$esd_exec_prefix"
|
esd_args="$esd_args --exec-prefix=$esd_exec_prefix"
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
dnl
|
|
||||||
dnl MPEG2DEC_CHECK-LIBHEADER(FEATURE-NAME, LIB-NAME, LIB-FUNCTION, HEADER-NAME,
|
dnl MPEG2DEC_CHECK-LIBHEADER(FEATURE-NAME, LIB-NAME, LIB-FUNCTION, HEADER-NAME,
|
||||||
dnl ACTION-IF-FOUND, ACTION-IF-NOT-FOUND,
|
dnl ACTION-IF-FOUND, ACTION-IF-NOT-FOUND,
|
||||||
dnl EXTRA-LDFLAGS, EXTRA-CPPFLAGS)
|
dnl EXTRA-LDFLAGS, EXTRA-CPPFLAGS)
|
||||||
|
@ -52,8 +51,9 @@ dnl
|
||||||
AC_DEFUN(AC_CHECK_MPEG2DEC,
|
AC_DEFUN(AC_CHECK_MPEG2DEC,
|
||||||
[dnl
|
[dnl
|
||||||
AC_ARG_WITH(mpeg2dec-prefix,
|
AC_ARG_WITH(mpeg2dec-prefix,
|
||||||
[ --with-mpeg2dec-prefix=PFX Prefix where mpeg2dec is installed (optional)],
|
AC_HELP_STRING([--with-mpeg2dec-prefix=PFX],
|
||||||
mpeg2dec_config_prefix="$withval", mpeg2dec_config_prefix="")
|
[prefix where mpeg2dec is installed (optional)]),
|
||||||
|
mpeg2dec_config_prefix="$withval", mpeg2dec_config_prefix="")
|
||||||
|
|
||||||
if test x$mpeg2dec_config_prefix = x ; then
|
if test x$mpeg2dec_config_prefix = x ; then
|
||||||
MPEG2DEC_CHECK_LIBHEADER(MPEG2DEC, mpeg2, mpeg2_init, mpeg2dec/mpeg2.h,
|
MPEG2DEC_CHECK_LIBHEADER(MPEG2DEC, mpeg2, mpeg2_init, mpeg2dec/mpeg2.h,
|
||||||
|
|
11
m4/vorbis.m4
11
m4/vorbis.m4
|
@ -9,8 +9,15 @@ AC_DEFUN(AM_PATH_VORBIS,
|
||||||
[dnl
|
[dnl
|
||||||
dnl Get the cflags and libraries
|
dnl Get the cflags and libraries
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_WITH(vorbis-prefix,[ --with-vorbis-prefix=PFX Prefix where libvorbis is installed (optional)], vorbis_prefix="$withval", vorbis_prefix="")
|
AC_ARG_WITH(vorbis-prefix,
|
||||||
AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile and run a test Vorbis program],, enable_vorbistest=yes)
|
AC_HELP_STRING([--with-vorbis-prefix=PFX],
|
||||||
|
[prefix where libvorbis is installed (optional)]),
|
||||||
|
vorbis_prefix="$withval", vorbis_prefix="")
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(vorbistest,
|
||||||
|
AC_HELP_STRING([--disable-vorbistest],
|
||||||
|
[do not try to compile and run a test Vorbis program]),
|
||||||
|
, enable_vorbistest=yes)
|
||||||
|
|
||||||
if test "x$vorbis_prefix" != "xNONE" ; then
|
if test "x$vorbis_prefix" != "xNONE" ; then
|
||||||
vorbis_args="$vorbis_args --prefix=$vorbis_prefix"
|
vorbis_args="$vorbis_args --prefix=$vorbis_prefix"
|
||||||
|
|
13
m4/xmms.m4
13
m4/xmms.m4
|
@ -61,10 +61,15 @@ function vercmp(ver1, ver2, ver1arr, ver2arr, \
|
||||||
|
|
||||||
AC_DEFUN(AM_PATH_XMMS,
|
AC_DEFUN(AM_PATH_XMMS,
|
||||||
[
|
[
|
||||||
AC_ARG_WITH(xmms-prefix,[ --with-xmms-prefix=PFX Prefix where XMMS is installed (optional)],
|
AC_ARG_WITH(xmms-prefix,
|
||||||
xmms_config_prefix="$withval", xmms_config_prefix="")
|
AC_HELP_STRING([--with-xmms-prefix=PFX],
|
||||||
AC_ARG_WITH(xmms-exec-prefix,[ --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)],
|
[prefix where XMMS is installed (optional)]),
|
||||||
xmms_config_exec_prefix="$withval", xmms_config_exec_prefix="")
|
xmms_config_prefix="$withval", xmms_config_prefix="")
|
||||||
|
|
||||||
|
AC_ARG_WITH(xmms-exec-prefix,
|
||||||
|
AC_HELP_STRING([--with-xmms-exec-prefix=PFX],
|
||||||
|
[exec prefix where XMMS is installed (optional)]),
|
||||||
|
xmms_config_exec_prefix="$withval", xmms_config_exec_prefix="")
|
||||||
|
|
||||||
if test x$xmms_config_exec_prefix != x; then
|
if test x$xmms_config_exec_prefix != x; then
|
||||||
xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
|
xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"
|
||||||
|
|
Loading…
Reference in a new issue