Blame autogen.sh

Packit Service 1d8f1c
#!/bin/sh
Packit Service 1d8f1c
# Run this to generate all the initial makefiles, etc.
Packit Service 1d8f1c
Packit Service 1d8f1c
srcdir=`dirname $0`
Packit Service 1d8f1c
test -z "$srcdir" && srcdir=.
Packit Service 1d8f1c
Packit Service 1d8f1c
PKG_NAME="ibus"
Packit Service 1d8f1c
Packit Service 1d8f1c
(test -f $srcdir/configure.ac \
Packit Service 1d8f1c
  && test -f $srcdir/README ) || {
Packit Service 1d8f1c
    echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
Packit Service 1d8f1c
    echo " top-level $PKG_NAME directory"
Packit Service 1d8f1c
    exit 1
Packit Service 1d8f1c
}
Packit Service 1d8f1c
Packit Service 1d8f1c
which gnome-autogen.sh || {
Packit Service 1d8f1c
    echo "Not found gnome-autogen.sh. You may need to install gnome-common"
Packit Service 1d8f1c
    exit 1
Packit Service 1d8f1c
}
Packit Service 1d8f1c
Packit Service 1d8f1c
(test -f $srcdir/ChangeLog) || {
Packit Service 1d8f1c
    touch $srcdir/ChangeLog
Packit Service 1d8f1c
}
Packit Service 1d8f1c
Packit Service 1d8f1c
CFLAGS=${CFLAGS-"-Wall -Wformat -Werror=format-security"}
Packit Service 1d8f1c
Packit Service 1d8f1c
# need --enable-gtk-doc for gnome-autogen.sh to make dist
Packit Service 1d8f1c
ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I m4" REQUIRED_AUTOMAKE_VERSION=1.11 CFLAGS="$CFLAGS" . gnome-autogen.sh "$@"