Thanks Ralf,
Ralf Wildenhues wrote:
which Perl and M4 versions do you use?
Perl : 5.10.0
M4 : 1.4.13
When I have both LT_INIT and AC_SUBST macros inside my
"configure.ac", autoreconf fails:
$ autoreconf -vif
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
Use of uninitialized value $msg in concatenation (.) or string at
/usr/bin/autom4te line 1038.
This is very suspicious, more so since 2.64 has a comment in that line.
Does Ubuntu have local patches in its Autoconf tree not in upstream?
Indeed, ubuntu's autom4te (current version 2.64-1ubuntu1) turns out to
be different from the original 2.64. In ubuntu's version, line 1038 is
the following:
msg $cat, $loc, "warning: $msg";
Here is the diff between the original autom4te and the ubuntu version:
-------------------------------------------------------------------------------------------
30c30
< my $pkgdatadir = $ENV{'autom4te_perllibdir'} ||
'/usr/local/share/autoconf';
---
> my $pkgdatadir = $ENV{'autom4te_perllibdir'} || '/usr/share/autoconf';
50c50
< my $pkgdatadir = $ENV{'AC_MACRODIR'} || '/usr/local/share/autoconf';
---
> my $pkgdatadir = $ENV{'AC_MACRODIR'} || '/usr/share/autoconf';
548c548,549
< if ($output eq '-')
---
> my $atomic_replace;
> if ($output eq '-' || (-e $output && ! -f $output))
550a552
> $atomic_replace = 0;
554c556,562
< $out->open($output, O_CREAT | O_WRONLY | O_TRUNC, oct ($mode));
---
> $out->open("$output.tmp", O_CREAT | O_WRONLY | O_TRUNC, oct
($mode));
> if ($out) {
> $atomic_replace = 1;
> } else {
> $out->open($output, O_CREAT | O_WRONLY | O_TRUNC, oct ($mode));
> $atomic_replace = 0;
> }
592a601,605
> if ($atomic_replace && !rename("$output.tmp", "$output")) {
> move ("${output}.tmp", "$output")
> or fatal "cannot rename ${output}.tmp as $output: $!";
> }
>
990c1003,1004
< if -f $icache && mtime ($icache) > mtime ($0);
---
> if -f $icache && mtime ($icache) > mtime ($0)
> && Autom4te::C4che->good_version ($icache_file);
---------------------------------------------------------------------------------------
I don't know if this is useful, but here is the Changelog for Ubuntu's
autoconf package:
http://changelogs.ubuntu.com/changelogs/pool/main/a/autoconf/autoconf_2.64-1ubuntu1/changelog
Thanks,
Ilker
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf