Commit 9621628b authored by Sam Hocevar's avatar Sam Hocevar

* bootstrap: issue an error if gettextize is not present.

parent 4293db95
...@@ -95,9 +95,9 @@ else ...@@ -95,9 +95,9 @@ else
autopoint=: autopoint=:
GETTEXT=old GETTEXT=old
fi;else fi;else
# we don't have gettext. grmbl. try to continue anyway. set +x
autopoint=: echo "you need gettextize (package gettext-devel or gettext)"
GETTEXT=no exit 1
fi fi
# Check for pkg-config # Check for pkg-config
...@@ -439,17 +439,8 @@ set +x ...@@ -439,17 +439,8 @@ set +x
## ##
## Tell the user about gettext, pkg-config and sed ## Tell the user about gettext, pkg-config and sed
## ##
case "${GETTEXT}" in if [ "${GETTEXT}" == "old" ]; then
yes) ;; cat << EOF
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
========================================================== ==========================================================
NOTE: you have an old version of gettext installed on your NOTE: you have an old version of gettext installed on your
...@@ -458,11 +449,10 @@ have libintl you will not have internationalization support. ...@@ -458,11 +449,10 @@ have libintl you will not have internationalization support.
We suggest upgrading to gettext 0.11.5 or later. We suggest upgrading to gettext 0.11.5 or later.
EOF EOF
;; ;;
esac fi
case "$PKGCONFIG" in if [ "$PKGCONFIG" == "no" ]; then
yes) ;; cat << EOF
no) cat << EOF
============================================================== ==============================================================
NOTE: you do not have the "pkg-config" utility on your system; NOTE: you do not have the "pkg-config" utility on your system;
...@@ -470,11 +460,10 @@ detection of the Gtk-2.0 and GNOME 2.0 libraries will not be ...@@ -470,11 +460,10 @@ detection of the Gtk-2.0 and GNOME 2.0 libraries will not be
reliable. reliable.
EOF EOF
;; ;;
esac fi
case "$AUTOMAKESUCKS" in if [ "$AUTOMAKESUCKS" == "yes" ]; then
no) ;; cat << EOF
yes) cat << EOF
============================================================= =============================================================
IMPORTANT NOTE: your version of automake has a bug which will IMPORTANT NOTE: your version of automake has a bug which will
...@@ -483,11 +472,10 @@ the --disable-plugins flag, or use a version of automake newer ...@@ -483,11 +472,10 @@ the --disable-plugins flag, or use a version of automake newer
than 1.6.1 (1.6.2 is OK, and so are the 1.5 series). than 1.6.1 (1.6.2 is OK, and so are the 1.5 series).
EOF EOF
;; ;;
esac fi
case "$INSTALLSUCKS" in if [ "$INSTALLSUCKS" == "yes" ]; then
no) ;; cat << EOF
yes) cat << EOF
============================================================= =============================================================
IMPORTANT NOTE: your version of automake has a bug which will IMPORTANT NOTE: your version of automake has a bug which will
...@@ -496,5 +484,5 @@ version of automake, or use a version of automake newer than 1.5 ...@@ -496,5 +484,5 @@ version of automake, or use a version of automake newer than 1.5
(such as 1.6 or 1.7). (such as 1.6 or 1.7).
EOF EOF
;; ;;
esac fi
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment