Fix CFLAGS/LDFLAGS syntax
[platform/upstream/lrzsz.git] / README.gettext
1 In case you see a dump of your environment after running configure
2 or config.status you might want to either:
3 - downgrade to gettext-0.10.32 (maybe 33 or 34 will work too, but
4   i didn' test them)
5 - upgrade to a newer autoconf version (there is none at the moment
6   of this writing - Oct 1998 - and i suspect this state will not
7   change soon)
8 - patch your /usr/lib/acgeneral.m4 (see below).
9 In any case you should rerun "aclocal" afterwards and 
10 "configure" again.
11
12 Sorry for the trouble.
13 --------------------------------------------------------------------
14
15 This little patch solves a problem i found using gettext-0.10.35.
16 For some reason AM_GNU_GETTEXT (serial 5) calls 
17 AC_LINK_FILES($nls_cv_header_libgt, $nls_cv_header_intl)
18 with both variables being empty (at least on my redhat-5.1 
19 system).
20 This gives an config.status script like this one:
21         ac_sources=" "
22         ac_dests=" "
23
24         srcdir=$ac_given_srcdir
25         while test -n "$ac_sources"; do
26           set $ac_dests; ac_dest=$1; shift; ac_dests=$*
27           set $ac_sources; ac_source=$1; shift; ac_sources=$*
28
29 "set ; ac_source=$1; shift; ac_sources=$*" produces some not
30 so nice looking output ...
31
32 I think the right fix is something like that, but maybe Ulrich might want
33 to try something else since autoconf seems to be basically unmaintained.
34
35 don't forget to rebuild your frozen m4 files:
36         cd /usr/lib/autoconf
37         m4 -F autoconf.m4f autoconf.m4
38         m4 -F autoheader.m4f autoheader.m4
39
40 Regards, Uwe
41 ---------------------------------------------------------
42 > --- acgeneral.m4.old  Fri Oct  9 19:42:32 1998
43 > +++ acgeneral.m4      Fri Oct  9 19:43:43 1998
44 > @@ -2289,7 +2289,7 @@
45 >  [EOF
46 >  
47 >  cat >> $CONFIG_STATUS <<EOF
48 > -ac_sources="$1"
49 > +ac_sources=`echo "$1" | sed 's/^ *$//'`
50 >  ac_dests="$2"
51 >  EOF
52 >  
53 ---------------------------------------------------------
54 Well, i sent this to the gettext maintainer some months 
55 ago, but never got an answer ....
56
57