Hi,
Compiling make-3.79 with a current glibc snapshot. glibc-2.2 will have
new features in gettext: automatic conversion of the translation to the
right charset, and plural handling.
1) The default in all normal programs using AM_GNU_GETTEXT is to use the
included gettext only if the system does not have it (i.e. on all platforms
without glibc). The default in make-3.79 -- borrowed from libit-0.7 --
is to *always* use the included gettext! Not only does this make the
program larger by 8.5 KB = 6%, it also deprives the user of added
functionality in the glibc-2.2 gettext.
I suggest that the make-3.79 configuration be changed to follow the
behaviour of the AM_GNU_GETTEXT macro.
2) When I try --without-included-gettext, it doesn't even work!! It
leads to link errors:
gcc -O2 -g -Wall -o make ar.o arscan.o commands.o dir.o expand.o file.o function.o
getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.o signame.o variable.o
vpath.o default.o remote-stub.o version.o getopt1.o -lutil
ar.o: In function `ar_name':
/home/bin/make-3.79/ar.c:50: undefined reference to `dcgettext__'
ar.o: In function `ar_touch':
/home/bin/make-3.79/ar.c:173: undefined reference to `dcgettext__'
/home/bin/make-3.79/ar.c:176: undefined reference to `dcgettext__'
/home/bin/make-3.79/ar.c:183: undefined reference to `dcgettext__'
/home/bin/make-3.79/ar.c:190: undefined reference to `dcgettext__'
commands.o:/home/bin/make-3.79/commands.c:483: more undefined references to
`dcgettext__' follow
I'd now even suggest that you drop libit's gettext, and instead use the
same scheme as textutils, sh-utils, texinfo, lynx, tar, fileutils, gcc, etc.
and which has been working properly for 4 years.
Bruno