gtk3: use different prev/next icons depending on orientation
[platform/upstream/ibus.git] / autogen.sh
1 #!/bin/sh
2 # Run this to generate all the initial makefiles, etc.
3
4 srcdir=`dirname $0`
5 test -z "$srcdir" && srcdir=.
6
7 PKG_NAME="ibus"
8
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 }
15
16 which gnome-autogen.sh || {
17     echo "You need to install gnome-common from the GNOME CVS"
18     exit 1
19 }
20
21 (test -f $srcdir/ChangeLog) || {
22     touch $srcdir/ChangeLog
23 }
24
25 CFLAGS=${CFLAGS-"-Wall -Werror"}
26
27 # need --enable-gtk-doc for gnome-autogen.sh to make dist
28 ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" REQUIRED_AUTOMAKE_VERSION=1.10 CFLAGS="$CFLAGS" . gnome-autogen.sh $@