Package: autoconf
Version: 2.61-4
Severity: normal

Autoconf manual tells that:

"If you want autoreconf to pass flags that are not listed here on to
aclocal, set ACLOCAL_AMFLAGS in your Makefile.am."

However, if this line is split like so:

ACLOCAL_AMFLAGS = \
        -I m4

Then, when running autoreconf -v, this happens:

autoreconf: running: aclocal \

And in this case, the -I m4 indeed is not in effect and the scripts are
not found.

Automake itself correctly handles this case, when make is used to
rebuild aclocal.m4, and so does autoreconf when the line is not split
like this:

ACLOCAL_AMFLAGS = -I m4

However, I couldn't find it mentioned anywhere that the line couldn't be
split.

The problem seems to be around lines 403-405 of /usr/bin/autoreconf
which does:

          if (/^ACLOCAL_[A-Z_]*FLAGS\s*=\s*(.*)/)
            {
              $aclocal_flags = $1;
              last;
            }

Now I don't know why I would want to split the line, but it's not obvious from
documentation that it can't be split currently, and it's not very coherent with
other lines being splittable in Makefile.am.

Leo Moisio

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (650, 'stable'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8)

Versions of packages autoconf depends on:
ii  debianutils                   2.17       Miscellaneous utilities specific t
ii  m4                            1.4.8-2    a macro processing language
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 

Versions of packages autoconf recommends:
ii  automake [automaken]     1:1.10+nogfdl-1 A tool for generating GNU Standard
ii  automake1.9 [automaken]  1.9.6+nogfdl-3  A tool for generating GNU Standard

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to