mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
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:
parent
912d0fd85c
commit
99ac7168af
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue