Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 31 lines (22 sloc) 0.621 kB
ec6e09e @epico update autogen.sh
epico authored
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
f41d1fd @epico import from pinyin.
epico authored
3
ec6e09e @epico update autogen.sh
epico authored
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
f41d1fd @epico import from pinyin.
epico authored
6
ec6e09e @epico update autogen.sh
epico authored
7 PKG_NAME="libpinyin"
ffef5f1 @epico auto download textual model data
epico authored
8
ec6e09e @epico update autogen.sh
epico authored
9 (test -f $srcdir/configure.ac \
10 && test -f $srcdir/README ) || {
11 echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
12 echo " top-level $PKG_NAME directory"
13 exit 1
14 }
f41d1fd @epico import from pinyin.
epico authored
15
ec6e09e @epico update autogen.sh
epico authored
16 which gnome-autogen.sh || {
17 echo "You need to install gnome-common from the GNOME CVS"
18 exit 1
19 }
f41d1fd @epico import from pinyin.
epico authored
20
ec6e09e @epico update autogen.sh
epico authored
21 (test -f $srcdir/ChangeLog) || {
22 touch $srcdir/ChangeLog
23 }
f41d1fd @epico import from pinyin.
epico authored
24
ec6e09e @epico update autogen.sh
epico authored
25 CFLAGS=${CFLAGS-"-Wall -Werror"}
26
27 ACLOCAL_FLAGS="$ACLOCAL_FLAGS"
28 REQUIRED_AUTOMAKE_VERSION=1.8
29
30 . gnome-autogen.sh $@
Something went wrong with that request. Please try again.