summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@unixuser.org>2013-04-02 16:30:03 +0900
committerDaiki Ueno <ueno@unixuser.org>2013-04-02 16:30:03 +0900
commita336524bfed897ee528743f3692e191c66b3d3dd (patch)
tree8e4d744d63f56acb0b6f90f03be33208cfbda60e
parent8b59edf013410bef29fc96af8347ffbd17e901d1 (diff)
downloadibus-hangul-a336524bfed897ee528743f3692e191c66b3d3dd.tar.gz
build: use gnome-common to bootstrap
-rwxr-xr-xautogen.sh37
1 files changed, 23 insertions, 14 deletions
diff --git a/autogen.sh b/autogen.sh
index b8a5a4c..c741591 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,15 +1,24 @@
#!/bin/sh
-set -e
-set -x
-
-touch ChangeLog
-autopoint --force
-libtoolize --automake --copy
-intltoolize --copy --force
-aclocal -I m4
-autoheader
-automake --add-missing --copy
-autoconf
-export CFLAGS="-Wall -g -O0 -Wl,--no-undefined"
-export CXXFLAGS="$CFLAGS"
-./configure --enable-maintainer-mode $*
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+PKG_NAME="ibus-hangul"
+
+(test -f $srcdir/configure.ac \
+ && test -f $srcdir/README ) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level $PKG_NAME directory"
+ exit 1
+}
+
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common from the GNOME CVS"
+ exit 1
+}
+
+ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4"
+REQUIRED_AUTOMAKE_VERSION=1.8
+
+. gnome-autogen.sh