Porting to gnome2 - gettext



I don't understand the attached instructions from the porting guide,
even after doing the attached greps.  I would like to use
AM_GLIB_GNU_GETTEXT, but I can't figure out what I am missing.  I
started with gnome1 configuration files, and the last messages I am
getting from autogen.sh and don't understand are:

Please use AM_GNU_GETTEXT([external]) in order to cause
autoconfiguration to look for an external libintl. 

Please run 'aclocal -I m4' to regenerate the aclocal.m4 file.

Makefile.am:2: AM_GNU_GETTEXT used but `intl' not in SUBDIRS

How do I put all this together?


----------------------------------------------------------------------


Finally, in order to use a locally installed version of gettext, it is
recommended to use AM_GLIB_GNU_GETTEXT. This replaces any call to
AM_GNOME_GETTEXT or even AM_GNOME2_GETTEXT.

You will also need to define the GETTEXT_PACKAGE constant using
something like the following.

GETTEXT_PACKAGE=foo
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
               
[Tom localhost Tom]$  grep  ".*AM_.*GETTEXT.*.*"
/home/Tom/gnucash-g2/gnucash/macros/autogen.sh#grep "^AM_GNU_GETTEXT"
$srcdir/configure.in >/dev/null && {#grep "^AM_GNOME_GETTEXT"
$srcdir/configure.in >/dev/null && {      if grep "^AM_GNU_GETTEXT"
configure.in >/dev/null; then      if grep "^AM_GNOME_GETTEXT"
configure.in >/dev/null; then[Tom localhost Tom]$  grep 
".*AM_.*GETTEXT.*.*" /home/Tom/gnucash-g2/gnucash/configure.in
AM_GNU_GETTEXT([use-libtool])[Tom localhost Tom]$



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]