3 # Bootstrap script for nALFS, used to get a CVS checkout ready for use.
7 # Kevin P. Fleming <kpfleming@linuxfromscratch.org>
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2 of the License, or
12 # (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 grep -q preserve_args gnubuild
/ltmain.sh
&& exit 0
26 # libtool supports a --silent argument, but does not pass it to
27 # itself when it is reinvoked at the end of --mode=install processing
28 # this patch corrects that behavior to keep the "noise" down
30 patch -d gnubuild
-p1 <<"EOF"
31 --- libtool-1.5/ltmain.sh~ Mon Apr 14 14:58:24 2003
32 +++ libtool-1.5/ltmain.sh Thu Oct 16 09:02:56 2003
35 $echo "$progname: enabling shell trace mode"
37 + preserve_args="$preserve_args $arg"
45 + preserve_args="$preserve_args $arg"
48 --tag) prevopt="--tag" prev=tag ;;
50 if test -n "$current_libdirs"; then
51 # Maybe just do a dry run.
52 test -n "$run" && current_libdirs=" -n$current_libdirs"
53 - exec_cmd='$SHELL $0 --finish$current_libdirs'
54 + exec_cmd='$SHELL $0 $preserve_args --finish$current_libdirs'