Re: possible gettext solution

[email protected]
Newsgroups gmane.comp.gnu.xboard.devel
Message-ID <[email protected]>
Some more experiments, which IMO show that our understanding of how things
work is starting to converge to reality:

First I changed in gettext2 (after unpacking it in a virgin directory) 
0.17->0.18 in configure.ac. Autopoint indeed noticies this, but does not
fall for it, as it realizes that the package requires a higher version
than I have installed:

hgm@hgm-xboard:~/fboard/xboard-gettext2$ ed configure.ac
18723
/0.17
AM_GNU_GETTEXT_VERSION(0.17)
s/17/18
AM_GNU_GETTEXT_VERSION(0.18)
w
18723
q
hgm@hgm-xboard:~/fboard/xboard-gettext2$ ./autogen.sh
autopoint: *** The AM_GNU_GETTEXT_VERSION declaration in your configure.ac
              file requires the infrastructure from gettext-0.18 but this
version               is older. Please upgrade to gettext-0.18 or newer.
autopoint: *** Stop.



Then I tried the reverse, 0.17 -> 0.16. This does work. After ./autogen.sh
I cannot find any 0.17 connected to gettext anywhere; all macros now come
from 0.16. Noticeable is that the GETTEXT_MACRO_VERSION line has
completely disappeared from po/Makefile.in.in; apparently autopoint is
confident that there is no mismatch, as it provided the macros by itself,
and therefore sees no reason to let the later build steps check it:

hgm@hgm-xboard:~/fboard/xboard-gettext2$ ed configure.ac
18723
/0.18
AM_GNU_GETTEXT_VERSION(0.18)
s//0.16
AM_GNU_GETTEXT_VERSION(0.16)
w
18723
q
hgm@hgm-xboard:~/fboard/xboard-gettext2$ ./autogen.sh
Copying file ABOUT-NLS
Copying file config.rpath
Creating directory m4
Copying file m4/codeset.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longdouble.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/uintmax_t.m4
Copying file m4/ulonglong.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/[email protected]
Copying file po/[email protected]
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
configure.ac:71: installing `./compile'
configure.ac:79: installing `./config.guess'
configure.ac:79: installing `./config.sub'
configure.ac:34: installing `./missing'
Makefile.am:70: shell sh -c 'git describe --dirty --always 2>/dev/null':
non-POSIX variable name
Makefile.am:70: (probably a GNU make extension)
Makefile.am: installing `./depcomp'
Makefile.am:77: installing `./mdate-sh'
Makefile.am:77: installing `./texinfo.tex'
hgm@hgm-xboard:~/fboard/xboard-gettext2$ grep "0\.17" *
ChangeLog:only require 0.17 of gettext
SHORTLOG:      only require 0.17 of gettext
hgm@hgm-xboard:~/fboard/xboard-gettext2$ grep "0\.17" po/*
hgm@hgm-xboard:~/fboard/xboard-gettext2$ grep "0\.17" m4/*
hgm@hgm-xboard:~/fboard/xboard-gettext2$ grep "0\.16" *
configure.ac:AM_GNU_GETTEXT_VERSION(0.16)
FAQ.html:hpux.ced.tudelft.nl (130.161.140.100). Unpack the archive using gzip
hgm@hgm-xboard:~/fboard/xboard-gettext2$ grep "0\.16" po/*
po/Makefile.in.in:# Origin: gettext-0.16
hgm@hgm-xboard:~/fboard/xboard-gettext2$ grep "0\.16" m4/*
m4/codeset.m4:# codeset.m4 serial 2 (gettext-0.16)
m4/gettext.m4:# gettext.m4 serial 58 (gettext-0.16)
m4/intldir.m4:# intldir.m4 serial 1 (gettext-0.16)
m4/intl.m4:# intl.m4 serial 3 (gettext-0.16)
m4/intmax.m4:# intmax.m4 serial 3 (gettext-0.16)
m4/inttypes-pri.m4:# inttypes-pri.m4 serial 4 (gettext-0.16)
m4/lib-link.m4:# lib-link.m4 serial 9 (gettext-0.16)
m4/lock.m4:# lock.m4 serial 6 (gettext-0.16)
hgm@hgm-xboard:~/fboard/xboard-gettext2$
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.