|
|
@ -6,14 +6,6 @@ test -z "$srcdir" && srcdir=.
|
|
|
|
|
|
|
|
|
|
|
|
DIE=0
|
|
|
|
DIE=0
|
|
|
|
|
|
|
|
|
|
|
|
if [ -n "$GNOME2_DIR" ]; then
|
|
|
|
|
|
|
|
ACLOCAL_FLAGS="-I $GNOME2_DIR/share/aclocal $ACLOCAL_FLAGS"
|
|
|
|
|
|
|
|
LD_LIBRARY_PATH="$GNOME2_DIR/lib:$LD_LIBRARY_PATH"
|
|
|
|
|
|
|
|
PATH="$GNOME2_DIR/bin:$PATH"
|
|
|
|
|
|
|
|
export PATH
|
|
|
|
|
|
|
|
export LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(test -f $srcdir/configure.ac) || {
|
|
|
|
(test -f $srcdir/configure.ac) || {
|
|
|
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
|
|
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
|
|
|
echo " top-level package directory"
|
|
|
|
echo " top-level package directory"
|
|
|
@ -28,26 +20,6 @@ fi
|
|
|
|
DIE=1
|
|
|
|
DIE=1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
(grep "^IT_PROG_INTLTOOL" $srcdir/configure.ac >/dev/null) && {
|
|
|
|
|
|
|
|
(intltoolize --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
echo "**Error**: You must have \`intltool' installed."
|
|
|
|
|
|
|
|
echo "You can get it from:"
|
|
|
|
|
|
|
|
echo " ftp://ftp.gnome.org/pub/GNOME/"
|
|
|
|
|
|
|
|
DIE=1
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(grep "^AM_PROG_XML_I18N_TOOLS" $srcdir/configure.ac >/dev/null) && {
|
|
|
|
|
|
|
|
(xml-i18n-toolize --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
echo "**Error**: You must have \`xml-i18n-toolize' installed."
|
|
|
|
|
|
|
|
echo "You can get it from:"
|
|
|
|
|
|
|
|
echo " ftp://ftp.gnome.org/pub/GNOME/"
|
|
|
|
|
|
|
|
DIE=1
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(grep "^LT_INIT" $srcdir/configure.ac >/dev/null) && {
|
|
|
|
(grep "^LT_INIT" $srcdir/configure.ac >/dev/null) && {
|
|
|
|
(libtool --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
(libtool --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
echo
|
|
|
|
echo
|
|
|
@ -57,16 +29,6 @@ fi
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
(grep "^AM_GLIB_GNU_GETTEXT" $srcdir/configure.ac >/dev/null) && {
|
|
|
|
|
|
|
|
(grep "sed.*POTFILES" $srcdir/configure.ac) > /dev/null || \
|
|
|
|
|
|
|
|
(glib-gettextize --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
echo "**Error**: You must have \`glib' installed."
|
|
|
|
|
|
|
|
echo "You can get it from: ftp://ftp.gtk.org/pub/gtk"
|
|
|
|
|
|
|
|
DIE=1
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(automake --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
(automake --version) < /dev/null > /dev/null 2>&1 || {
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
echo "**Error**: You must have \`automake' installed."
|
|
|
|
echo "**Error**: You must have \`automake' installed."
|
|
|
@ -112,22 +74,6 @@ do
|
|
|
|
|
|
|
|
|
|
|
|
aclocalinclude="$ACLOCAL_FLAGS"
|
|
|
|
aclocalinclude="$ACLOCAL_FLAGS"
|
|
|
|
|
|
|
|
|
|
|
|
if grep "^AM_GLIB_GNU_GETTEXT" configure.ac >/dev/null; then
|
|
|
|
|
|
|
|
echo "Creating $dr/aclocal.m4 ..."
|
|
|
|
|
|
|
|
test -r $dr/aclocal.m4 || touch $dr/aclocal.m4
|
|
|
|
|
|
|
|
echo "Running glib-gettextize... Ignore non-fatal messages."
|
|
|
|
|
|
|
|
echo "no" | glib-gettextize --force --copy
|
|
|
|
|
|
|
|
echo "Making $dr/aclocal.m4 writable ..."
|
|
|
|
|
|
|
|
test -r $dr/aclocal.m4 && chmod u+w $dr/aclocal.m4
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
if grep "^IT_PROG_INTLTOOL" configure.ac >/dev/null; then
|
|
|
|
|
|
|
|
echo "Running intltoolize..."
|
|
|
|
|
|
|
|
intltoolize --copy --force --automake
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
if grep "^AM_PROG_XML_I18N_TOOLS" configure.ac >/dev/null; then
|
|
|
|
|
|
|
|
echo "Running xml-i18n-toolize..."
|
|
|
|
|
|
|
|
xml-i18n-toolize --copy --force --automake
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
if grep "^LT_INIT" configure.ac >/dev/null; then
|
|
|
|
if grep "^LT_INIT" configure.ac >/dev/null; then
|
|
|
|
if test -z "$NO_LIBTOOLIZE" ; then
|
|
|
|
if test -z "$NO_LIBTOOLIZE" ; then
|
|
|
|
echo "Running libtoolize..."
|
|
|
|
echo "Running libtoolize..."
|
|
|
|