autopoint=:
GETTEXT=old
fi;else
- # we don't have gettext. grmbl. try to continue anyway.
- autopoint=:
- GETTEXT=no
+ set +x
+ echo "you need gettextize (package gettext-devel or gettext)"
+ exit 1
fi
# Check for pkg-config
##
## Tell the user about gettext, pkg-config and sed
##
-case "${GETTEXT}" in
- yes) ;;
- no) cat << EOF
-
-===========================================================
-IMPORTANT NOTE: you do not have gettext installed on your
-system. The vlc build will work, but you will not have
-internationalization support. We suggest installing gettext.
-EOF
- ;;
- old) cat << EOF
+if [ "${GETTEXT}" == "old" ]; then
+ cat << EOF
==========================================================
NOTE: you have an old version of gettext installed on your
We suggest upgrading to gettext 0.11.5 or later.
EOF
;;
-esac
+fi
-case "$PKGCONFIG" in
- yes) ;;
- no) cat << EOF
+if [ "$PKGCONFIG" == "no" ]; then
+ cat << EOF
==============================================================
NOTE: you do not have the "pkg-config" utility on your system;
reliable.
EOF
;;
-esac
+fi
-case "$AUTOMAKESUCKS" in
- no) ;;
- yes) cat << EOF
+if [ "$AUTOMAKESUCKS" == "yes" ]; then
+ cat << EOF
=============================================================
IMPORTANT NOTE: your version of automake has a bug which will
than 1.6.1 (1.6.2 is OK, and so are the 1.5 series).
EOF
;;
-esac
+fi
-case "$INSTALLSUCKS" in
- no) ;;
- yes) cat << EOF
+if [ "$INSTALLSUCKS" == "yes" ]; then
+ cat << EOF
=============================================================
IMPORTANT NOTE: your version of automake has a bug which will
(such as 1.6 or 1.7).
EOF
;;
-esac
+fi