summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin@src.gnome.org>2003-03-17 17:53:04 +0000
committerNalin Dahyabhai <nalin@src.gnome.org>2003-03-17 17:53:04 +0000
commit8623bfb400d8f56b916f1fb5367cfaae0981445f (patch)
tree9cb2ef16eaac3b2f3177022681520a707424a31d /autogen.sh
parent160c94bbca71b9fd92113faae0bebc4cad60d7ed (diff)
downloadvte-8623bfb400d8f56b916f1fb5367cfaae0981445f.tar.gz
- warn when freetype devel stuff isn't present, becuase we need it to
supply the AC_CHECK_FT2 macro
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 9dc45bc7..65be5947 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -20,6 +20,7 @@ if libtool --version < /dev/null > /dev/null 2>&1 ; then
;;
esac
fi
+
if $have_libtool ; then : ; else
echo
echo "You must have libtool 1.4 installed to compile $PROJECT."
@@ -31,11 +32,19 @@ fi
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "You must have autoconf installed to compile $PROJECT."
- echo "libtool the appropriate package for your distribution,"
+ echo "Install the appropriate package for your distribution,"
echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
DIE=1
}
+(freetype-config --version) < /dev/null > /dev/null 2>&1 || {
+ echo
+ echo "You must have freetype 2 installed to compile $PROJECT."
+ echo "Install the appropriate package for your distribution, or get the"
+ echo "source tarball at ftp://ftp.freetype.org/freetype/freetype2"
+ DIE=1
+}
+
have_automake=false
if automake-1.6 --version < /dev/null > /dev/null 2>&1 ; then
automake_version=`automake-1.6 --version | grep 'automake-1.6 (GNU automake.*)' | sed 's/^[^0-9]*\(.*\)/\1/'`