Fixes to work properly with automake 1.4

Original commit message from CVS:
Fixes to work properly with automake 1.4
This commit is contained in:
Richard Boulton 2001-06-26 02:27:14 +00:00
parent 912d0fd85c
commit 99ac7168af

View file

@ -153,12 +153,13 @@ dnl
dnl dnl
AC_DEFUN(GST_CHECK_FEATURE, AC_DEFUN(GST_CHECK_FEATURE,
[ [
AC_ARG_ENABLE(translit($1, `A-Z', `a-z'), lower=translit([$1], A-Z, a-z)
[ --enable-translit($1, `A-Z', `a-z') enable [$2]: [$3]], AC_ARG_ENABLE(translit([$1], A-Z, a-z),
[ ]--enable-translit([$1], A-Z, a-z) enable [$2]: [$3],
[ case "${enableval}" in [ case "${enableval}" in
yes) USE_[$1]=yes ;; yes) USE_[$1]=yes ;;
no) USE_[$1]=no ;; no) USE_[$1]=no ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-translit($1, `A-Z', `a-z')) ;; *) AC_MSG_ERROR(bad value ${enableval} for --enable-${lower}) ;;
esac], esac],
[ USE_$1=yes ]) dnl DEFAULT [ USE_$1=yes ]) dnl DEFAULT