Fix up configure --help output: GST_DISABLE_SUBSYSTEM options were not displayed properly.

Original commit message from CVS:
Fix up configure --help output: GST_DISABLE_SUBSYSTEM options were not
displayed properly.
This commit is contained in:
Richard Boulton 2001-06-26 21:49:54 +00:00
parent 37c010c00d
commit 7fcf8e668c

View file

@ -862,13 +862,12 @@ AC_DEFUN(GST_SUBSYSTEM_DISABLE,
[dnl
dnl Add a subsystem --disable flag and all the necessary symbols and substitions
dnl
lower=translit([$1], A-Z, a-z)
AC_ARG_ENABLE(translit([$1], A-Z, a-z),
[ --disable-${lower} disable $2],
[ --disable-translit([$1], A-Z, a-z) disable $2],
[ case "${enableval}" in
yes) GST_DISABLE_[$1]=no ;;
no) GST_DISABLE_[$1]=yes ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-${lower}) ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-translit([$1], A-Z, a-z)) ;;
esac],
[GST_DISABLE_[$1]=no]) dnl Default value
if test x$GST_DISABLE_[$1] = xyes; then