This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Add Term::ReadLine to write_buildcustomize.pl.
authorCraig A. Berry <craigberry@mac.com>
Sat, 3 Dec 2011 03:30:30 +0000 (21:30 -0600)
committerCraig A. Berry <craigberry@mac.com>
Sat, 3 Dec 2011 03:30:30 +0000 (21:30 -0600)
commitf61462d5a2594a36d2e1822eb837033198461b8b
tree852bd47938522daba525d6bc37fa04c31f28b5c1
parent1a34b28b1ed3a7c3a6b92fad22f321ae7c49f0e7
Add Term::ReadLine to write_buildcustomize.pl.

If the build fails while building extensions, it's nice to have
the debugger available to help figure out what went wrong.  You
couldn't do that before because lib/perl5db.pl depends on
Term::ReadLine, which wouldn't be available since it hadn't been
built yet.  This commit makes Term::ReadLine available via the
same mechanism that makes other libraries available to miniperl
during the build.

An alternative would be to remove the debugger's dependency on
Term::ReadLine, but that would be more work and more risk for a
situation that hopefully doesn't come up that often.
write_buildcustomize.pl