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
29 if test "$GETTEXTIZE"; then
30 echo "Creating aclocal.m4 ..."
31 test -r aclocal.
m4 ||
touch aclocal.
m4
32 echo "Running $GETTEXTIZE... Ignore non-fatal messages."
33 echo "no" |
$GETTEXTIZE --force --copy
34 echo "Making aclocal.m4 writable ..."
35 test -r aclocal.
m4 && chmod u
+w aclocal.
m4
36 echo "Running intltoolize..."
37 intltoolize
--copy --force --automake
40 cd "$ORIGDIR" ||
exit $?
42 if test -z "$AUTOGEN_SUBDIR_MODE"; then
43 echo Running
$srcdir/configure
"$@"
44 $srcdir/configure
"$@"
47 echo "Now type 'make' to compile $PROJECT."