Include the full version number in the directory paths installed.
Change the version string so that it does not break 'make', and so that it has no '/' (it would be a hell if installed directories would mirror the SVN branches... :-/ )
Do not use implicit rules for the Makefile.
Simplify and enc=hance the --local test to refuse (un)installing.
Double-quotes variables, they are based on user input.
Eye-candy in the 'compile' and install messages.
/trunk/configure | 26 14 12 0 ++++++++++---------
/trunk/Makefile.in | 83 45 38 0 +++++++++++++++++++++++++++++++++---------------------------
2 files changed, 59 insertions(+), 50 deletions(-)
1 [See also http://gcc.gnu.org/ml/libstdc++/2001-11/msg00133.html ]
3 Date: Fri, 16 Nov 2001 16:06:22 -0500
4 From: Phil Edwards <pedwards at disaster dot jaj dot com>
5 To: gcc-patches at gcc dot gnu dot org
6 Subject: [libstdc++ trunk & 3.0] Fix deque memory leak
7 Message-ID: <20011116160622.A23094@disaster.jaj.com>
10 As discussed on the libstdc++ mailing list. Tested on i686/linux.
14 2001-11-16 Paolo Carlini <pcarlini@unitus.it>
16 * include/bits/stl_deque.h (deque::erase()): Fix memory leak.
19 [rediffed against 2.95.3 -- dank]
21 --- gcc-2.95.3/libstdc++/stl/stl_deque.h.old 2001-01-01 09:48:22.000000000 -0800
22 +++ gcc-2.95.3/libstdc++/stl/stl_deque.h 2006-02-18 15:24:17.000000000 -0800
24 copy_backward(_M_start, __first, __last);
25 iterator __new_start = _M_start + __n;
26 destroy(_M_start, __new_start);
27 - _M_destroy_nodes(__new_start._M_node, _M_start._M_node);
28 + _M_destroy_nodes(_M_start._M_node, __new_start._M_node); /* fixed per http://gcc.gnu.org/ml/libstdc++/2001-11/msg00139.html */
29 _M_start = __new_start;