3
test -z "$srcdir" && srcdir=.
9
GETTEXTIZE="glib-gettextize"
10
$GETTEXTIZE --version < /dev/null > /dev/null 2>&1
11
if test $? -ne 0; then
16
if libtoolize --help >/dev/null 2>&1
19
elif glibtoolize --help >/dev/null 2>&1
21
LIBTOOLIZE=glibtoolize
27
if test "$GETTEXTIZE"; then
28
echo "Creating aclocal.m4 ..."
29
test -r aclocal.m4 || touch aclocal.m4
30
echo "Running $GETTEXTIZE... Ignore non-fatal messages."
31
echo "no" | $GETTEXTIZE --force --copy
32
echo "Making aclocal.m4 writable ..."
33
test -r aclocal.m4 && chmod u+w aclocal.m4
34
echo "Running intltoolize..."
35
intltoolize --copy --force --automake
38
cd "$ORIGDIR" || exit $?
40
if test -z "$AUTOGEN_SUBDIR_MODE"; then
41
echo Running $srcdir/configure --enable-maintainer-mode "$@"
42
$srcdir/configure --enable-maintainer-mode "$@"
45
echo "Now type 'make' to compile $PROJECT."