various AC_HELP_STRING changes

Original commit message from CVS:
various AC_HELP_STRING changes
This commit is contained in:
Thomas Vander Stichele 2002-05-27 20:37:17 +00:00
parent 01ea5613a7
commit 6d9dd641d0
9 changed files with 62 additions and 42 deletions

2
common

@ -1 +1 @@
Subproject commit 310f196ce90ecc57e5b0db796963a37a4cbcab8a
Subproject commit 8579ce0ed656e0c512b37ff70bebd54cab4d4e7d

View file

@ -214,7 +214,6 @@ dnl ==========================================================================
dnl ============================= sys plugins ================================
dnl ==========================================================================
dnl *** DXR3 card ***
translit(dnm, m, l) AM_CONDITIONAL(USE_DXR3, true)
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 let's try and sort them alphabetically, shall we ?
echo
echo
AC_MSG_NOTICE(Checking for plugin libraries)
dnl *** a52dec ***
@ -307,11 +304,10 @@ GST_CHECK_FEATURE(AALIB, [aasink plugin], aasink, [
dnl *** alsa ***
translit(dnm, m, l) AM_CONDITIONAL(USE_ALSA, true)
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 if mcopidl can't be found there's no use in compiling it
AC_CHECK_PROG(MCOPIDL, mcopidl, yes, no)
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, [
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 ***
translit(dnm, m, l) AM_CONDITIONAL(USE_ARTSC, true)
@ -655,7 +645,7 @@ dnl ######################################################################
GST_DEBUGINFO
AC_ARG_ENABLE(libmmx,
[ --enable-libmmx use libmmx, if available],
AC_HELP_STRING([--enable-libmmx],[use libmmx, if available]),
[case "${enableval}" in
yes) USE_LIBMMX=$HAVE_LIBMMX ;;
no) USE_LIBMMX=no ;;
@ -664,7 +654,7 @@ esac],
[USE_LIBMMX=$HAVE_LIBMMX]) dnl Default value
AC_ARG_ENABLE(atomic,
[ --enable-atomic use atomic reference counting header],
AC_HELP_STRING([--enable-atomic],[use atomic reference counting header]),
[case "${enableval}" in
yes) 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
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
yes) USE_PROFILING=yes ;;
no) UES_PROFILING=no ;;
@ -683,7 +674,7 @@ esac],
[USE_PROFILING=no]) dnl Default value
AC_ARG_ENABLE(tests,
[ --disable-tests disable building test apps],
AC_HELP_STRING([--disable-tests],[disable building test apps]),
[case "${enableval}" in
yes) BUILD_TESTS=yes ;;
no) BUILD_TESTS=no ;;
@ -692,7 +683,7 @@ esac],
[BUILD_TESTS=yes]) dnl Default value
AC_ARG_ENABLE(examples,
[ --disable-examples disable building examples],
AC_HELP_STRING([--disable-examples],[disable building examples]),
[case "${enableval}" in
yes) BUILD_EXAMPLES=yes ;;
no) BUILD_EXAMPLES=no ;;

View file

@ -52,7 +52,8 @@ dnl
AC_DEFUN(AC_CHECK_A52DEC,
[dnl
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="")
if test x$a52dec_config_prefix = x ; then

View file

@ -16,17 +16,17 @@ dnl Get the cflags and libraries from the aalib-config script
dnl
AC_ARG_WITH(aalib-prefix,
AC_HELP_STRING([--with-aalib-prefix=PFX],
[Prefix where AALIB is installed (optional)]),
[prefix where AALIB is installed (optional)]),
aalib_prefix="$withval", aalib_prefix="")
AC_ARG_WITH(aalib-exec-prefix,
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="")
AC_ARG_ENABLE(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)
if test x$aalib_exec_prefix != x ; then

View file

@ -11,12 +11,20 @@ AC_DEFUN([AM_PATH_ARTS],
[dnl
dnl Get the cflags and libraries from the artsc-config script
dnl
AC_ARG_WITH(arts-prefix,[ --with-arts-prefix=PFX Prefix where ARTS is installed (optional)],
arts_prefix="$withval", arts_prefix="")
AC_ARG_WITH(arts-exec-prefix,[ --with-arts-exec-prefix=PFX Exec prefix where ARTS is installed (optional)],
arts_exec_prefix="$withval", arts_exec_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-prefix,
AC_HELP_STRING([--with-arts-prefix=PFX],
[prefix where ARTS is installed (optional)]),
arts_prefix="$withval", arts_prefix="")
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
arts_args="$arts_args --exec-prefix=$arts_exec_prefix"

View file

@ -11,12 +11,20 @@ AC_DEFUN(AM_PATH_ESD,
[dnl
dnl Get the cflags and libraries from the esd-config script
dnl
AC_ARG_WITH(esd-prefix,[ --with-esd-prefix=PFX Prefix where ESD is installed (optional)],
esd_prefix="$withval", esd_prefix="")
AC_ARG_WITH(esd-exec-prefix,[ --with-esd-exec-prefix=PFX Exec prefix where ESD is installed (optional)],
esd_exec_prefix="$withval", esd_exec_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-prefix,
AC_HELP_STRING([--with-esd-prefix=PFX],
[prefix where ESD is installed (optional)]),
esd_prefix="$withval", esd_prefix="")
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
esd_args="$esd_args --exec-prefix=$esd_exec_prefix"

View file

@ -1,4 +1,3 @@
dnl
dnl MPEG2DEC_CHECK-LIBHEADER(FEATURE-NAME, LIB-NAME, LIB-FUNCTION, HEADER-NAME,
dnl ACTION-IF-FOUND, ACTION-IF-NOT-FOUND,
dnl EXTRA-LDFLAGS, EXTRA-CPPFLAGS)
@ -52,8 +51,9 @@ dnl
AC_DEFUN(AC_CHECK_MPEG2DEC,
[dnl
AC_ARG_WITH(mpeg2dec-prefix,
[ --with-mpeg2dec-prefix=PFX Prefix where mpeg2dec is installed (optional)],
mpeg2dec_config_prefix="$withval", mpeg2dec_config_prefix="")
AC_HELP_STRING([--with-mpeg2dec-prefix=PFX],
[prefix where mpeg2dec is installed (optional)]),
mpeg2dec_config_prefix="$withval", mpeg2dec_config_prefix="")
if test x$mpeg2dec_config_prefix = x ; then
MPEG2DEC_CHECK_LIBHEADER(MPEG2DEC, mpeg2, mpeg2_init, mpeg2dec/mpeg2.h,

View file

@ -9,8 +9,15 @@ AC_DEFUN(AM_PATH_VORBIS,
[dnl
dnl Get the cflags and libraries
dnl
AC_ARG_WITH(vorbis-prefix,[ --with-vorbis-prefix=PFX Prefix where libvorbis is installed (optional)], vorbis_prefix="$withval", vorbis_prefix="")
AC_ARG_ENABLE(vorbistest, [ --disable-vorbistest Do not try to compile and run a test Vorbis program],, enable_vorbistest=yes)
AC_ARG_WITH(vorbis-prefix,
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
vorbis_args="$vorbis_args --prefix=$vorbis_prefix"

View file

@ -61,10 +61,15 @@ function vercmp(ver1, ver2, ver1arr, ver2arr, \
AC_DEFUN(AM_PATH_XMMS,
[
AC_ARG_WITH(xmms-prefix,[ --with-xmms-prefix=PFX Prefix where XMMS is installed (optional)],
xmms_config_prefix="$withval", xmms_config_prefix="")
AC_ARG_WITH(xmms-exec-prefix,[ --with-xmms-exec-prefix=PFX Exec prefix where XMMS is installed (optional)],
xmms_config_exec_prefix="$withval", xmms_config_exec_prefix="")
AC_ARG_WITH(xmms-prefix,
AC_HELP_STRING([--with-xmms-prefix=PFX],
[prefix where XMMS is installed (optional)]),
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
xmms_config_args="$xmms_config_args --exec-prefix=$xmms_config_exec_prefix"