summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@src.gnome.org>2001-10-26 23:35:00 +0000
committerMikael Hallendal <hallski@src.gnome.org>2001-10-26 23:35:00 +0000
commitdafd2b2133152f8fd000bd486806c9a98dd254ba (patch)
tree9ffeab6d61ea40b59b044688e2e6963115f9c8df /autogen.sh
parentf096246d0c1e2a33c01da9ded3cef9a2d04c0762 (diff)
downloadyelp-dafd2b2133152f8fd000bd486806c9a98dd254ba.tar.gz
Initial revision
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 00000000..e5479add
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+(gettextize --version) < /dev/null > /dev/null 2>&1 || {
+ echo;
+ echo "You must have gettext installed to compile GtkHtml";
+ echo;
+ exit;
+}
+
+(automake --version) < /dev/null > /dev/null 2>&1 || {
+ echo;
+ echo "You must have automake installed to compile GtkHtml";
+ echo;
+ exit;
+}
+
+(autoconf --version) < /dev/null > /dev/null 2>&1 || {
+ echo;
+ echo "You must have autoconf installed to compile GtkHtml";
+ echo;
+ exit;
+}
+
+echo "Generating configuration files for GtkHtml2, please wait...."
+echo;
+
+echo n | gettextize --copy --force;
+aclocal $ACLOCAL_FLAGS;
+autoheader;
+automake --add-missing;
+autoconf;
+
+./configure $@ --enable-maintainer-mode --enable-compile-warnings
+