Bug 258 - configure cannot be regenerated by Autoconf > 2.59
configure cannot be regenerated by Autoconf > 2.59
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Configure
1.7.0
All All
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-24 09:29 MDT by Stepan Kasal
Modified: 2007-08-24 09:51 MDT (History)
0 users

See Also:


Attachments
the patch from branch-2-0 of libtool cvs (2.19 KB, patch)
2007-08-24 09:29 MDT, Stepan Kasal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Kasal 2007-08-24 09:29:04 MDT
Created attachment 212 [details]
the patch from branch-2-0 of libtool cvs

When I try to run autoconf, I get the following message:

/usr/bin/m4:configure.in:2321: ERROR: recursion limit of 1024 exceeded, use -L<N> to change it
autom4te: /usr/bin/m4 failed with exit status: 1

The reason is that libtool-1.9f used by sudo is not compatible with Autoconf > 2.59.  A patch for this problem has been committed to the corresponding branch in the libtool CVS (branch-2-0).  Unfortunately, no release has been made on that branch since 1.9f.

The fix can be extracted this way:
  export CVSROOT=:pserver:anonymous@cvs.savannah.gnu.org:/cvsroot/libtool
  cvs -z3 co -r branch-2-0 libtool/m4
  cvs diff -u -r 1.2.2.1 libtool/m4/ltsugar.m4 >ltsugar.m4.patch

Attached please find ltsugar.m4.patch, which contains the resulting diff, together with the corresponding changelog entries.
Apply is as follows:
  patch -i ltsugar.m4.patch acsite.m4

A more detailed explanation is in https://www.redhat.com/archives/fedora-devel-list/2007-August/msg01757.html
Comment 1 Todd C. Miller 2007-08-24 09:51:13 MDT
Thanks, I've committed the fix to the sudo cvs head and the 1.6.9 branch.