+2003-03-07 Malcolm Tredinnick <malcolm@commsecure.com.au>
+
+ * autogen.sh: Replace PACKAGE with PKG_NAME, since PKG_NAME is
+ what is defined by the various applications' autogen.sh. Also,
+ call autopoint rather than gettextize when appropriate (when
+ AM_GNU_GETTEXT_VERSION is present).
+
2003-02-27 Mark McLoughlin <mark@skynet.ie>
* compiler-flags.m4: fix mixed up order of arguments to
# Run this to generate all the initial makefiles, etc.
#name of package
-PACKAGE=${PACKAGE:-Package}
+PKG_NAME=${PKG_NAME:-Package}
srcdir=${srcdir:-.}
# default version requirements ...
printbold "Running $GLIB_GETTEXTIZE... Ignore non-fatal messages."
echo "no" | $GLIB_GETTEXTIZE --force --copy || exit 1
elif grep "^AM_GNU_GETTEXT" $basename >/dev/null; then
- printbold "Running $GETTEXTIZE... Ignore non-fatal messages."
- echo "no" | $GETTEXTIZE --force --copy || exit 1
+ if grep "^AM_GNU_GETTEXT_VERSION" $basename > /dev/null; then
+ printbold "Running autopoint..."
+ autopoint --force || exit 1
+ else
+ printbold "Running $GETTEXTIZE... Ignore non-fatal messages."
+ echo "no" | $GETTEXTIZE --force --copy || exit 1
+ fi
fi
if grep "^AC_PROG_INTLTOOL" $basename >/dev/null; then
printbold "Running $INTLTOOLIZE..."